Home
last modified time | relevance | path

Searched refs:root_dir (Results 1 – 25 of 65) sorted by relevance

123

/third_party/python/Lib/
Dglob.py13 def glob(pathname, *, root_dir=None, dir_fd=None, recursive=False): argument
24 return list(iglob(pathname, root_dir=root_dir, dir_fd=dir_fd, recursive=recursive))
26 def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False): argument
38 sys.audit("glob.glob/2", pathname, recursive, root_dir, dir_fd)
39 if root_dir is not None:
40 root_dir = os.fspath(root_dir)
42 root_dir = pathname[:0]
43 it = _iglob(pathname, root_dir, dir_fd, recursive, False)
53 def _iglob(pathname, root_dir, dir_fd, recursive, dironly): argument
58 if _lexists(_join(root_dir, pathname), dir_fd):
[all …]
/third_party/node/deps/v8/tools/
Dfind_depot_tools.py33 root_dir = os.path.dirname(os.path.abspath(__file__))
35 while root_dir and root_dir != previous_dir:
36 if directory_really_is_depot_tools(os.path.join(root_dir, 'depot_tools')):
37 i = os.path.join(root_dir, 'depot_tools')
40 previous_dir = root_dir
41 root_dir = os.path.dirname(root_dir)
Dgen-keywords-gen-h.py222 root_dir = os.path.join(script_dir, '..')
224 out = subprocess.check_output(["gperf", "-m100", INPUT_PATH], cwd=root_dir)
238 clang_format_path = os.path.join(root_dir,
242 with open(os.path.join(root_dir, OUTPUT_PATH), 'w') as f:
/third_party/skia/build/fuchsia/skqp/
Dappend_assets_to_manifest25 root_dir = args.root_dir variable
26 if not os.path.exists(root_dir):
27 print "--root_dir path specified: " + root_dir + " doesn't exist.\n"
58 files = subprocess.check_output(["find", root_dir, "-type", "f"])
63 if not source.startswith(root_dir):
66 dest = source[len(root_dir):]
/third_party/json/tools/serve_header/
Dserve_header.py97 def __init__(self, root_dir, tree_dir): argument
99 self.root_dir = root_dir
101 self.rel_dir = os.path.relpath(tree_dir, root_dir)
105 self.rel_header = os.path.relpath(self.header, root_dir)
148 def __init__(self, root_dir): argument
151 self.root_dir = root_dir
154 self.scan(root_dir)
157 self.observer.schedule(self, root_dir, recursive=True)
184 tree = WorkTree(self.root_dir, scan_dir)
250 directory=server.worktrees.root_dir)
/third_party/skia/third_party/externals/dawn/generator/
Dremove_files.py58 root_dir = args.root_dir
64 [os.path.join(root_dir, line.strip()) for line in f.readlines()])
77 stale_dir = os.path.join(root_dir, stale_dir)
Dgenerator_lib.py193 def _compute_python_dependencies(root_dir=None): argument
194 if not root_dir:
196 root_dir = os.path.join(os.path.dirname(__file__), os.pardir)
197 root_dir = os.path.abspath(root_dir)
210 if not path.startswith(root_dir):
294 dependencies += _compute_python_dependencies(args.root_dir)
/third_party/skia/third_party/externals/zlib/google/
Dzip_writer.cc90 const base::FilePath& root_dir, in CreateWithFd() argument
100 new ZipWriter(zip_file, root_dir, file_accessor)); in CreateWithFd()
107 const base::FilePath& root_dir, in Create() argument
117 new ZipWriter(zip_file, root_dir, file_accessor)); in Create()
121 const base::FilePath& root_dir, in ZipWriter() argument
123 : zip_file_(zip_file), root_dir_(root_dir), file_accessor_(file_accessor) {} in ZipWriter()
Dzip_writer.h38 const base::FilePath& root_dir,
42 const base::FilePath& root_dir,
54 const base::FilePath& root_dir,
/third_party/python/Doc/library/
Dglob.rst39 .. function:: glob(pathname, *, root_dir=None, dir_fd=None, recursive=False)
50 If *root_dir* is not ``None``, it should be a :term:`path-like object`
54 *root_dir*.
68 .. audit-event:: glob.glob/2 pathname,recursive,root_dir,dir_fd glob.glob
78 Added the *root_dir* and *dir_fd* parameters.
81 .. function:: iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False)
87 .. audit-event:: glob.glob/2 pathname,recursive,root_dir,dir_fd glob.iglob
93 Added the *root_dir* and *dir_fd* parameters.
/third_party/python/Lib/distutils/
Darchive_util.py206 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
225 if root_dir is not None:
226 log.debug("changing into '%s'", root_dir)
229 os.chdir(root_dir)
252 if root_dir is not None:
/third_party/vixl/tools/
Dgenerate_test_trace_a64_reference.py47 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) variable
48 os.chdir(root_dir)
50 args = BuildOptions(root_dir)
Dgenerate_simulator_traces.py136 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) variable
137 os.chdir(root_dir)
139 args = BuildOptions(root_dir)
/third_party/jerryscript/targets/mbedos5/tools/
Dgenerate_pins.py57 def find_file(root_dir, directories, name): argument
69 for root, dirs, files in os.walk(root_dir, topdown=True):
77 def enumerate_includes(root_dir, directories): argument
82 for root, dirs, _ in os.walk(root_dir, topdown=True):
/third_party/ninja/misc/
Dwrite_fake_manifests.py136 def write_sources(target, root_dir): argument
154 cc_path = os.path.join(root_dir, cc_filename)
251 root_dir = args.outdir
260 with FileWriter(os.path.join(root_dir, target.ninja_file_path)) as n:
264 write_sources(target, root_dir)
266 with FileWriter(os.path.join(root_dir, 'build.ninja')) as master_ninja:
/third_party/cef/tools/
Dyapf_util.py13 root_dir = os.path.join(script_dir, os.pardir) variable
18 result = exec_cmd("%s %s/yapf" % (sys.executable, script_dir), root_dir,
Dclang_util.py13 root_dir = os.path.join(script_dir, os.pardir) variable
26 root_dir, file_contents.encode('utf-8'))
Dtranslator.py72 root_dir = os.path.abspath(options.rootdir) variable
73 cpp_header_dir = os.path.join(root_dir, 'include')
78 libcef_dll_dir = os.path.join(root_dir, 'libcef_dll')
85 gypi_file = os.path.join(root_dir, 'cef_paths.gypi')
/third_party/skia/third_party/externals/angle2/scripts/
Drun_code_generation.py18 root_dir = os.path.abspath(os.path.join(script_dir, '..')) variable
27 return os.path.dirname(os.path.abspath(os.path.join(root_dir, script)))
38 return os.path.relpath(os.path.join(os.path.dirname(script_path), relative_path), root_dir)
77 os.chdir(root_dir)
/third_party/gn/src/gn/
Dcreate_bundle_target_generator.cc34 &bundle_data.root_dir())) in DoRun()
36 if (!FillBundleDir(bundle_data.root_dir(), variables::kBundleContentsDir, in DoRun()
39 if (!FillBundleDir(bundle_data.root_dir(), variables::kBundleResourcesDir, in DoRun()
42 if (!FillBundleDir(bundle_data.root_dir(), variables::kBundleExecutableDir, in DoRun()
/third_party/python/Lib/distutils/tests/
Dtest_archive_util.py296 make_archive('xxx', 'xxx', root_dir=self.mkdtemp())
348 root_dir = self.mkdtemp()
350 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
354 res = make_archive(base_name, 'zip', root_dir, base_dir)
357 res = make_archive(base_name, 'tar', root_dir, base_dir,
361 res = make_archive(base_name, 'tar', root_dir, base_dir,
/third_party/python/Lib/test/
Dtest_shutil.py1310 root_dir, base_dir = self._create_files('')
1321 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
1334 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
1351 root_dir = self.mkdtemp()
1352 dist = os.path.join(root_dir, base_dir)
1360 write_file((root_dir, 'outer'), 'xxx')
1361 return root_dir, base_dir
1367 root_dir, base_dir = self._create_files()
1369 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
1376 tarball2 = os.path.join(root_dir, 'archive2.tar')
[all …]
/third_party/rust/crates/rust-openssl/openssl-sys/build/
Dfind_normal.rs63 let root_dir = Path::new(dir); in resolve_with_wellknown_location() localVariable
64 let include_openssl = root_dir.join("include/openssl"); in resolve_with_wellknown_location()
66 Some(root_dir.to_path_buf()) in resolve_with_wellknown_location()
/third_party/jerryscript/targets/curie_bsp/
Dsetup.py53 def find_sources(root_dir, sub_dir): argument
58 src_dir = os.path.join(root_dir, sub_dir)
64 relative_path = os.path.relpath(file_path, root_dir)
/third_party/ltp/testcases/kernel/fs/read_all/
Dread_all.c74 static char *root_dir; variable
365 if (!root_dir) in setup()
443 visit_dir(root_dir); in run()
456 {"d:", &root_dir,

123