Home
last modified time | relevance | path

Searched refs:path (Results 976 - 1000 of 8579) sorted by relevance

1...<<31323334353637383940>>...344

/third_party/skia/third_party/externals/dawn/generator/
H A Dremove_files.py19 def check_in_subdirectory(path, directory):
20 return path.startswith(directory) and not '/' in path[len(directory):]
23 def check_is_allowed(path, allowed_dirs):
25 check_in_subdirectory(path, directory) for directory in allowed_dirs)
31 result += [os.path.join(directory, filename) for filename in files]
64 [os.path.join(root_dir, line.strip()) for line in f.readlines()])
77 stale_dir = os.path.join(root_dir, stale_dir)
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
H A Drun-draw-fuzzer-tests.py27 hb_draw_fuzzer = os.path.join (top_builddir, "hb-draw-fuzzer" + EXEEXT)
29 if not os.path.exists (hb_draw_fuzzer):
30 if len (sys.argv) == 1 or not os.path.exists (sys.argv[1]):
45 parent_path = os.path.join (srcdir, "fonts")
48 path = os.path.join (parent_path, file) variable
51 text, returncode = cmd ([valgrind, '--leak-check=full', '--error-exitcode=1', hb_draw_fuzzer, path])
53 text, returncode = cmd ([hb_draw_fuzzer, path])
H A Drun-shape-fuzzer-tests.py27 hb_shape_fuzzer = os.path.join (top_builddir, "hb-shape-fuzzer" + EXEEXT)
29 if not os.path.exists (hb_shape_fuzzer):
30 if len (sys.argv) == 1 or not os.path.exists (sys.argv[1]):
45 parent_path = os.path.join (srcdir, "fonts")
47 path = os.path.join (parent_path, file) variable
50 text, returncode = cmd ([valgrind, '--leak-check=full', '--error-exitcode=1', hb_shape_fuzzer, path])
52 text, returncode = cmd ([hb_shape_fuzzer, path])
/third_party/protobuf/src/google/protobuf/io/
H A Dio_win32.h65 PROTOBUF_EXPORT FILE* fopen(const char* path, const char* mode);
66 PROTOBUF_EXPORT int access(const char* path, int mode);
67 PROTOBUF_EXPORT int chdir(const char* path);
71 PROTOBUF_EXPORT int mkdir(const char* path, int _mode);
72 PROTOBUF_EXPORT int open(const char* path, int flags, int mode = 0);
75 PROTOBUF_EXPORT int stat(const char* path, struct _stat* buffer);
77 PROTOBUF_EXPORT std::wstring testonly_utf8_to_winpath(const char* path);
86 // Expand wildcards in a path pattern, feed the result to a consumer function.
88 // `path` must be a valid, Windows-style path
[all...]
/third_party/skia/gm/
H A Dhittestpath.cpp18 static void test_hittest(SkCanvas* canvas, const SkPath& path) { in test_hittest() argument
20 SkRect r = path.getBounds(); in test_hittest()
23 canvas->drawPath(path, paint); in test_hittest()
30 if (path.contains(x, y)) { in test_hittest()
66 SkPath path = b.detach(); in DEF_SIMPLE_GM_CAN_FAIL() local
68 test_hittest(canvas, path); in DEF_SIMPLE_GM_CAN_FAIL()
71 path.setFillType(SkPathFillType::kWinding); in DEF_SIMPLE_GM_CAN_FAIL()
73 test_hittest(canvas, path); in DEF_SIMPLE_GM_CAN_FAIL()
H A Dgetpostextpath.cpp26 static void strokePath(SkCanvas* canvas, const SkPath& path) { in strokePath() argument
31 canvas->drawPath(path, paint); in strokePath()
37 SkPath path; in DEF_SIMPLE_GM() local
49 ToolUtils::get_text_path(font, text, len, SkTextEncoding::kUTF8, &path, nullptr); in DEF_SIMPLE_GM()
50 strokePath(canvas, path); in DEF_SIMPLE_GM()
51 path.reset(); in DEF_SIMPLE_GM()
70 ToolUtils::get_text_path(font, text, len, SkTextEncoding::kUTF8, &path, &pos[0]); in DEF_SIMPLE_GM()
71 strokePath(canvas, path); in DEF_SIMPLE_GM()
H A Ddashcubics.cpp30 static void flower(SkCanvas* canvas, const SkPath& path, SkScalar intervals[2], in flower() argument
37 canvas->drawPath(path, paint); in flower()
42 canvas->drawPath(path, paint); in flower()
47 canvas->drawPath(path, paint); in flower()
51 SkPath path; in DEF_SIMPLE_GM() local
62 SkParsePath::FromSVGString(d, &path); in DEF_SIMPLE_GM()
69 flower(canvas, path, intervals, y ? SkPaint::kDefault_Join : SkPaint::kRound_Join); in DEF_SIMPLE_GM()
154 for (const auto& path : fPaths) {
155 canvas->drawPath(path, normalPaint);
156 canvas->drawPath(path, invertedPain
[all...]
/third_party/skia/platform_tools/android/bin/
H A Dandroid_build_app28 args_gn_path = os.path.join(args.output_dir, "args.gn")
29 if os.path.exists(args_gn_path):
39 '-P' + target_cpu + '.out.dir=' + os.path.abspath(args.output_dir)]
43 subprocess.check_call(cmd, cwd=os.path.join(os.path.dirname(__file__), ".."))
49 current_dir = os.path.dirname(__file__)
50 apk_src = os.path.join(current_dir, "..", "apps", args.app_name, "build", "outputs", "apk",
53 apk_dst = os.path.join(args.output_dir, args.app_name + ".apk")
/third_party/skia/infra/bots/recipe_modules/flavor/resources/
H A Dsymbolize_stack_trace.py55 stack_line = r'^(?P<path>.+)\(\+?(?P<addr>.*)\) ?\[(?P<addr2>.+)\]'
73 path = m.group('path')
76 if os.path.exists(path):
80 sym = subprocess.check_output(['addr2line', '-Cfpe', path, addr])
87 if path.startswith(basedir):
88 path = path[len(basedir)+1:]
90 line = path
[all...]
/third_party/vk-gl-cts/scripts/src_util/
H A Dpre_commit.py51 def croak(path, line, msg, *args):
54 if path is not None:
55 sys.stderr.write("%s:%d: " % (path, line or 0))
69 for path in get_changed_paths('ACR'):
71 path.decode('ascii')
73 croak(path, 0, "Non-ASCII file name")
96 for path in get_changed_paths('AM'):
97 check_external_guards(open(path))
/third_party/vk-gl-cts/external/vulkancts/scripts/
H A Damber_verify.py28 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")
29 sys.path.insert(0, scriptPath)
42 DEFAULT_BUILD_DIR = os.path.join(tempfile.gettempdir(), "amber-verify", "{targetName}-{buildType}")
44 DEFAULT_DST_DIR = os.path.join(DEQP_DIR, "external", "vulkancts", "data", "vulkan", "prebuilt")
54 workDir = os.path.join(buildCfg.getBuildDir(), "modules", module.dirName)
59 binPath = generator.getBinaryPath(buildCfg.getBuildType(), os.path.join(".", "deqp-vk"))
83 "--dst-path",
86 help="Destination path")
98 if not os.path
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/
H A DSerializableChecker.java43 private String path = null; field in SerializableChecker
47 public SerializableChecker(String path) in SerializableChecker() argument
49 this.path = path; in SerializableChecker()
51 if (path != null) { in SerializableChecker()
52 File dir = new File(path); in SerializableChecker()
72 File file = new File(path + File.separator + className + ".dat"); in writeFile()
134 if (path != null) { in visit()
179 String path = null; in main()
186 path in main()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
H A DSerializableChecker.java40 private String path = null; field in SerializableChecker
44 public SerializableChecker(String path) in SerializableChecker() argument
46 this.path = path; in SerializableChecker()
48 if (path != null) { in SerializableChecker()
49 File dir = new File(path); in SerializableChecker()
69 File file = new File(path + File.separator + className + ".dat"); in writeFile()
131 if (path != null) { in visit()
176 String path = null; in main()
183 path in main()
[all...]
/third_party/lzma/CPP/Common/
H A DWildcard.h15 void SplitPathToParts(const UString &path, UStringVector &pathParts);
16 void SplitPathToParts_2(const UString &path, UString &dirPrefix, UString &name);
17 void SplitPathToParts_Smart(const UString &path, UString &dirPrefix, UString &name); // ignores dir delimiter at the end of (path)
19 UString ExtractDirPrefixFromPath(const UString &path);
20 UString ExtractFileNameFromPath(const UString &path);
22 bool DoesNameContainWildcard(const UString &path);
113 int FindSubNode(const UString &path) const;
116 // void AddItem(bool include, const UString &path, const CCensorPathProps &props);
135 CheckPathVect() doesn't check path i
211 AddPreItem_NoWildcard(const UString &path) AddPreItem_NoWildcard() argument
[all...]
/third_party/mesa3d/src/hgl/
H A DGLRendererRoster.cpp122 BPath path; in AddDefaultPaths() local
123 status_t status = find_directory(paths[i], &path, true); in AddDefaultPaths()
124 if (status == B_OK && path.Append("opengl") == B_OK) in AddDefaultPaths()
125 AddPath(path.Path()); in AddDefaultPaths()
131 GLRendererRoster::AddPath(const char* path) in AddPath() argument
133 BDirectory directory(path); in AddPath()
206 BPath path(&ref); in CreateRenderer()
207 printf("OpenGL load add-on: %s\n", path.Path()); in CreateRenderer()
209 image_id image = load_add_on(path.Path()); in CreateRenderer()
225 printf("OpenGL add-on registered: %s\n", path in CreateRenderer()
[all...]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/
H A Dscript_mutator.js12 const path = require('path');
54 this.mutateDb = new db.MutateDb(db_path || path.join(process.cwd(), 'db'));
79 while (path.dirname(mjsunitPath) != mjsunitPath &&
80 path.basename(mjsunitPath) != 'mjsunit') {
81 mjsunitPath = path.dirname(mjsunitPath);
84 if (path.basename(mjsunitPath) == 'mjsunit') {
85 mjsunitPath = path.join(mjsunitPath, 'mjsunit.js');
97 let currentDir = path.dirname(input.absPath);
99 while (path
[all...]
/third_party/node/test/parallel/
H A Dtest-runner-coverage.js19 return readdirSync(tmpdir.path).find((file) => {
73 const fixture = fixtures.path('test-runner', 'coverage.js');
86 const fixture = fixtures.path('test-runner', 'coverage.js');
88 const options = { env: { ...process.env, NODE_V8_COVERAGE: tmpdir.path } };
99 const fixture = fixtures.path('test-runner', 'coverage.js');
113 const fixture = fixtures.path('test-runner', 'coverage.js');
115 const options = { env: { ...process.env, NODE_V8_COVERAGE: tmpdir.path } };
126 const fixture = fixtures.path('test-runner', 'coverage.js');
139 const fixture = fixtures.path('test-runner', 'coverage.js');
172 const fixture = fixtures.path('v
[all...]
/third_party/node/deps/v8/tools/
H A Drun-wasm-api-tests.py35 CHECKOUT_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
36 WASM_PATH = os.path.join(CHECKOUT_PATH, "third_party", "wasm-api")
37 CLANG_PATH = os.path.join(CHECKOUT_PATH, "third_party", "llvm-build",
46 "c": os.path.join(CLANG_PATH, "clang"),
47 "cc": os.path.join(CLANG_PATH, "clang++"),
80 self.src_file_basename = os.path.join(WASM_PATH, "example", name)
81 self.dst_file_basename = os.path.join(tempdir, name)
82 self.lib_file = os.path
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/lib/
H A Dprocess-release.js7 const path = require('path')
112 libPath: normalizePath(path.relative(url.parse(baseUrl).path, url.parse(libUrl32).path))
116 libPath: normalizePath(path.relative(url.parse(baseUrl).path, url.parse(libUrl64).path))
120 libPath: normalizePath(path.relative(url.parse(baseUrl).path, ur
[all...]
/third_party/python/Tools/freeze/
H A Dcheckextensions_win32.py60 defaultMapName = os.path.join( os.path.split(sys.argv[0])[0], "extensions_win32.ini")
61 if not os.path.isfile(defaultMapName):
91 # If the path to the .DSP file is not absolute, assume it is relative
93 if not os.path.isabs(dsp):
94 dsp = os.path.join( os.path.split(mapFileName)[0], dsp)
101 # Put the path to the DSP into the environment so entries can reference it.
102 os.environ['dsp_path'] = os.path.split(dsp)[0]
103 os.environ['ini_path'] = os.path
[all...]
/third_party/skia/third_party/externals/tint/tools/src/glob/
H A Dglob.go24 "path/filepath"
34 err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
35 rel, err := filepath.Rel(root, path)
37 rel = path
44 if !cfg.shouldExamine(root, path) {
66 // "excludes" key to an array of path patterns.
67 // Each path pattern is considered in turn to either include or exclude the
68 // file path for license scanning. Pattern use forward-slashes '/' for
90 // LoadConfig loads a config file at path.
91 func LoadConfig(path strin
[all...]
/third_party/typescript/tests/baselines/reference/
H A DtypeGuardOfFormThisMember.js16 constructor(public path: string) {}
20 constructor(path: string, public content: string) { super(path); }
105 function FileSystemObject(path) {
106 this.path = path;
130 function File(path, content) {
131 var _this = _super.call(this, path) || this;
181 path: string;
187 constructor(path
[all...]
/third_party/skia/gn/
H A Dgn_meta_sln.py14 def ensureExists(path):
16 os.makedirs(path)
21 ensureExists(os.path.dirname(fileName))
44 gnFile = os.path.join("out", outDir, "build.ninja.d")
45 if os.path.exists(gnFile):
46 slnFile = os.path.join("out", outDir, "all.sln")
47 configs.append((outDir, os.path.exists(slnFile)))
124 srcProjPath = os.path.join("out", projConfigs[0][0], projConfigs[0][1])
125 dstProjPath = os.path.join("out", "sln", projConfigs[0][1])
130 ensureExists(os.path
[all...]
/third_party/rust/crates/rustix/tests/net/
H A Dunix.rs22 use rustix::path::DecInt;
23 use std::path::Path;
30 fn server(ready: Arc<(Mutex<bool>, Condvar)>, path: &Path) { in server()
38 let name = SocketAddrUnix::new(path).unwrap(); in server()
69 unlinkat(cwd(), path, AtFlags::empty()).unwrap();
72 fn client(ready: Arc<(Mutex<bool>, Condvar)>, path: &Path, runs: &[(&[&str], i32)]) { in client()
81 let addr = SocketAddrUnix::new(path).unwrap(); in client()
121 let path = tmp.path().join("soccer"); in test_unix()
122 let send_path = path in test_unix()
[all...]
/third_party/vk-gl-cts/scripts/
H A Dbuild_caselists.py50 DEFAULT_BUILD_DIR = os.path.join(tempfile.gettempdir(), "deqp-caselists", "{targetName}-{buildType}")
68 return os.path.join(buildCfg.getBuildDir(), "modules")
75 fullPath = os.path.join(modulesDir, module.dirName)
76 if os.path.exists(fullPath) and os.path.isdir(fullPath):
85 return os.path.join(getModulesPath(buildCfg), module.dirName, getCaseListFileName(module, caseListType))
88 workDir = os.path.join(getModulesPath(buildCfg), module.dirName)
93 binPath = generator.getBinaryPath(buildCfg.getBuildType(), os.path.join(".", module.binName))
101 dstPath = os.path.join(dstDir, caseListFile)
103 if os.path
[all...]

Completed in 11 milliseconds

1...<<31323334353637383940>>...344