/third_party/mbedtls/programs/ |
H A D | demo_common.sh | 19 ## $root_dir is the root directory of the Mbed TLS source tree. 20 root_dir="${0%/*}" 26 while ! [ -d "$root_dir/programs" ] || ! [ -d "$root_dir/library" ]; do 32 case $root_dir in 33 .) root_dir="..";; 34 ..|?*/..) root_dir="$root_dir/..";; 35 ?*/*) root_dir="${root_dir [all...] |
/third_party/node/deps/v8/tools/ |
H A D | find_depot_tools.py | 33 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)
|
H A D | gen-keywords-gen-h.py | 222 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/python/Lib/ |
H A D | glob.py | 13 def glob(pathname, *, root_dir=None, dir_fd=None, recursive=False, 28 return list(iglob(pathname, root_dir=root_dir, dir_fd=dir_fd, recursive=recursive, 31 def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False, 44 sys.audit("glob.glob/2", pathname, recursive, root_dir, dir_fd) 45 if root_dir is not None: 46 root_dir = os.fspath(root_dir) 48 root_dir = pathname[:0] 49 it = _iglob(pathname, root_dir, dir_f [all...] |
H A D | shutil.py | 900 owner=None, group=None, logger=None, root_dir=None): 958 if root_dir is not None: 959 base_dir = os.path.join(root_dir, base_dir) 965 if root_dir is not None: 970 logger=None, owner=None, group=None, root_dir=None): 995 if root_dir is not None: 996 base_dir = os.path.join(root_dir, base_dir) 1004 if root_dir is not None: 1005 arcdirpath = os.path.relpath(arcdirpath, root_dir) 1022 if root_dir i [all...] |
/third_party/skia/build/fuchsia/skqp/ |
H A D | append_assets_to_manifest | 9 |root_dir| and appends every file as a Fuchsia package manifest entry to 18 parser.add_argument('--root_dir', dest='root_dir', action='store', required=True) 25 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" 57 # Append all files discovered under |root_dir| to |manifest|. 58 files = subprocess.check_output(["find", root_dir, " [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | test_psa_compliance.py | 37 root_dir = os.getcwd() 39 in_tf_psa_crypto_repo = build_tree.looks_like_tf_psa_crypto_root(root_dir) 41 crypto_name = build_tree.crypto_library_filename(root_dir) 42 library_subdir = build_tree.crypto_core_directory(root_dir, relative=True) 76 extra_includes = (';{}/drivers/builtin/include'.format(root_dir) 86 '-DPSA_CRYPTO_LIB_FILENAME={}/{}'.format(root_dir, 88 ('-DPSA_INCLUDE_PATHS={}/include' + extra_includes).format(root_dir) 145 os.chdir(root_dir)
|
/third_party/json/tools/serve_header/ |
H A D | serve_header.py | 97 def __init__(self, root_dir, tree_dir): 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): 151 self.root_dir = root_dir 154 self.scan(root_dir) 157 self.observer.schedule(self, root_dir, recursiv [all...] |
/third_party/skia/third_party/externals/dawn/generator/ |
H A D | remove_files.py | 58 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)
|
H A D | generator_lib.py | 193 def _compute_python_dependencies(root_dir=None): 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/ |
H A D | zip_writer.cc | 90 const base::FilePath& root_dir, in CreateWithFd() 100 new ZipWriter(zip_file, root_dir, file_accessor)); in CreateWithFd() 107 const base::FilePath& root_dir, in Create() 117 new ZipWriter(zip_file, root_dir, file_accessor)); in Create() 121 const base::FilePath& root_dir, in ZipWriter() 123 : zip_file_(zip_file), root_dir_(root_dir), file_accessor_(file_accessor) {} in ZipWriter() 88 CreateWithFd( int zip_file_fd, const base::FilePath& root_dir, FileAccessor* file_accessor) CreateWithFd() argument 105 Create( const base::FilePath& zip_file_path, const base::FilePath& root_dir, FileAccessor* file_accessor) Create() argument 120 ZipWriter(zipFile zip_file, const base::FilePath& root_dir, FileAccessor* file_accessor) ZipWriter() argument
|
H A D | zip_writer.h | 34 // and which entries (specifies with AddEntries) are relative to |root_dir|. 38 const base::FilePath& root_dir, 42 const base::FilePath& root_dir, 47 // Note that the the FilePaths must be relative to |root_dir| specified in the 54 const base::FilePath& root_dir, 65 // to |root_dir| specified in the Create method.
|
/third_party/python/Lib/distutils/ |
H A D | archive_util.py | 206 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, 214 'root_dir' is a directory that will be the root directory of the 215 archive; ie. we typically chdir into 'root_dir' before creating the 218 directories in the archive. 'root_dir' and 'base_dir' both default 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/ |
H A D | generate_test_trace_a64_reference.py | 47 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)
|
H A D | generate_simulator_traces.py | 136 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) 137 os.chdir(root_dir) 139 args = BuildOptions(root_dir)
|
/third_party/ninja/misc/ |
H A D | write_fake_manifests.py | 136 def write_sources(target, root_dir): 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/jerryscript/targets/mbedos5/tools/ |
H A D | generate_pins.py | 57 def find_file(root_dir, directories, name): 60 starting with 'root_dir'. 69 for root, dirs, files in os.walk(root_dir, topdown=True): 77 def enumerate_includes(root_dir, directories): 79 Walk through the directory tree, starting at root_dir, and enumerate all 82 for root, dirs, _ in os.walk(root_dir, topdown=True):
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | run_code_generation.py | 18 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/jerryscript/targets/curie_bsp/ |
H A D | setup.py | 53 def find_sources(root_dir, sub_dir): 55 Find .c and .S files inside the @root_dir/@sub_dir directory. 56 Note: the returned paths will be relative to the @root_dir directory. 58 src_dir = os.path.join(root_dir, sub_dir) 64 relative_path = os.path.relpath(file_path, root_dir)
|
/third_party/rust/crates/rust-openssl/openssl-sys/build/ |
H A D | find_normal.rs | 63 let root_dir = Path::new(dir); in resolve_with_wellknown_location() 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/python/Lib/distutils/tests/ |
H A D | test_archive_util.py | 296 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/skia/tools/skqp/ |
H A D | gn_to_bp.py | 19 root_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), variable 21 skia_gn_dir = os.path.join(root_dir, 'gn')
|
/third_party/gn/src/gn/ |
H A D | create_bundle_target_generator.cc | 63 &bundle_data.root_dir())) in DoRun() 65 if (!FillBundleDir(bundle_data.root_dir(), variables::kBundleContentsDir, in DoRun() 68 if (!FillBundleDir(bundle_data.root_dir(), variables::kBundleResourcesDir, in DoRun() 71 if (!FillBundleDir(bundle_data.root_dir(), variables::kBundleExecutableDir, in DoRun()
|
/third_party/python/Lib/test/ |
H A D | test_shutil.py | 1345 root_dir, base_dir = self._create_files('') 1356 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.') 1369 tarball = make_archive(rel_base_name, 'tar', root_dir, '.') 1386 root_dir = self.mkdtemp() 1387 dist = os.path.join(root_dir, base_dir) 1395 write_file((root_dir, 'outer'), 'xxx') 1396 return root_dir, base_dir 1402 root_dir, base_dir = self._create_files() 1405 tarball = make_archive(base_name, 'gztar', root_dir, base_dir) 1412 tarball2 = os.path.join(root_dir, 'archive [all...] |
H A D | test_glob.py | 83 self.assertCountEqual(glob.glob(pattern, root_dir=self.tempdir, **kwargs), res2) 84 self.assertCountEqual(glob.iglob(pattern, root_dir=self.tempdir, **kwargs), res2) 87 glob.glob(bpattern, root_dir=btempdir, **kwargs), bres2) 89 glob.iglob(bpattern, root_dir=btempdir, **kwargs), bres2) 129 self.assertEqual(glob.glob('', root_dir=self.tempdir), []) 130 self.assertEqual(glob.glob(b'', root_dir=os.fsencode(self.tempdir)), [])
|