Home
last modified time | relevance | path

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

123

/external/webrtc/tools/sslroots/
Dgenerate_sslroots.py52 root_dir = _SplitCrt(args[0], options)
53 _GenCFiles(root_dir, options)
54 _Cleanup(root_dir)
60 root_dir = os.path.dirname(os.path.abspath(source_file)) + '/'
61 _PrintOutput(root_dir, options)
72 new_file_name = root_dir + _PREFIX + label_name + _EXTENSION
82 return root_dir
85 def _GenCFiles(root_dir, options): argument
86 output_header_file = open(root_dir + _GENERATED_FILE, 'w')
98 for _, _, files in os.walk(root_dir):
[all …]
/external/toolchain-utils/
Dverify_compiler.py37 def FindAllFiles(root_dir): argument
43 for dirpath, _, files in os.walk(root_dir)
51 for dirpath, _, files in os.walk(root_dir)
58 def VerifyArgs(compiler, filename, tmp_dir, root_dir, options, parser): argument
63 if options.filename and options.root_dir:
65 if options.all_files and not options.root_dir:
67 if options.root_dir and not options.all_files:
79 if root_dir and not os.path.exists(root_dir):
80 UsageError(parser, '%s does not exist.' % root_dir)
182 root_dir = None
[all …]
/external/v8/tools/
Dfind_depot_tools.py30 root_dir = os.path.dirname(os.path.abspath(__file__))
32 while root_dir and root_dir != previous_dir:
33 if directory_really_is_depot_tools(os.path.join(root_dir, 'depot_tools')):
34 i = os.path.join(root_dir, 'depot_tools')
37 previous_dir = root_dir
38 root_dir = os.path.dirname(root_dir)
/external/python/cpython2/Lib/test/
Dtest_shutil.py378 root_dir, base_dir = self._create_files('')
389 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
402 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
419 root_dir = self.mkdtemp()
420 dist = os.path.join(root_dir, base_dir)
429 self.write_file((root_dir, 'outer'), 'xxx')
430 return root_dir, base_dir
436 root_dir, base_dir = self._create_files()
438 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
445 tarball2 = os.path.join(root_dir, 'archive2.tar')
[all …]
/external/libbrillo/brillo/
Dosrelease_reader.cc24 void OsReleaseReader::LoadTestingOnly(const base::FilePath& root_dir) { in LoadTestingOnly() argument
25 Load(root_dir); in LoadTestingOnly()
28 void OsReleaseReader::Load(const base::FilePath& root_dir) { in Load() argument
29 base::FilePath osrelease = root_dir.Append("etc").Append("os-release"); in Load()
36 base::FilePath osreleased = root_dir.Append("etc").Append("os-release.d"); in Load()
Dosrelease_reader.h34 void LoadTestingOnly(const base::FilePath& root_dir);
47 BRILLO_PRIVATE void Load(const base::FilePath& root_dir);
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/support/
Drun_bindings_generator.py10 def RunBindingsGenerator(out_dir, root_dir, mojom_file, extra_flags=None): argument
12 root_dir = os.path.abspath(root_dir)
16 assert mojom_file.startswith(root_dir)
17 mojom_reldir = os.path.dirname(os.path.relpath(mojom_file, root_dir))
/external/autotest/client/site_tests/platform_CrosDisksArchive/
Dplatform_CrosDisksArchive.py24 def _find_all_files(self, root_dir): argument
38 for path in os.listdir(os.path.join(root_dir, current_dir)):
39 expanded_path = os.path.join(root_dir, current_dir, path)
46 def _make_rar_archive(self, archive_path, root_dir): argument
62 def _make_archive(self, archive_type, archive_path, root_dir): argument
75 self._make_rar_archive(archive_path, root_dir)
/external/perfetto/tools/
Drun_android_emulator28 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
32 root_dir, 'buildtools', 'emulator', 'linux-x86_64')
36 root_dir, 'buildtools', 'emulator', 'darwin-x86_64')
39 aosp_path = os.path.join(root_dir, 'buildtools', 'aosp-arm')
Dgen_merged_protos108 root_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
111 path = os.path.join(root_dir, proto)
147 out_path = os.path.join(root_dir, output_path)
/external/grpc-grpc/src/ruby/end2end/
Dpackage_with_underscore_checker.rb19 root_dir = File.join(File.dirname(__FILE__), '..', '..', '..')
20 pb_dir = File.join(root_dir, 'src', 'ruby', 'end2end', 'protos')
24 bins_dir = File.join(root_dir, 'bins', bins_sub_dir)
/external/grpc-grpc/src/ruby/spec/pb/duplicate/
Dcodegen_spec.rb28 root_dir = File.join(File.dirname(__FILE__), '..', '..', '..', '..', '..')
31 service_path = File.join(root_dir, 'src', 'ruby', 'pb', 'grpc',
50 chdir: root_dir)
/external/google-benchmark/
Dmingw.py233 root_dir = os.path.join(location, slug, 'mingw64')
235 root_dir = os.path.join(location, slug, 'mingw32')
240 if not os.path.exists(root_dir):
242 if downloaded != root_dir:
244 % (downloaded, root_dir))
246 return root_dir
302 root_dir = root(location = args.location, arch = args.arch,
307 sys.stdout.write('%s\n' % os.path.join(root_dir, 'bin'))
/external/libcxx/utils/google-benchmark/
Dmingw.py233 root_dir = os.path.join(location, slug, 'mingw64')
235 root_dir = os.path.join(location, slug, 'mingw32')
240 if not os.path.exists(root_dir):
242 if downloaded != root_dir:
244 % (downloaded, root_dir))
246 return root_dir
302 root_dir = root(location = args.location, arch = args.arch,
307 sys.stdout.write('%s\n' % os.path.join(root_dir, 'bin'))
/external/python/cpython2/Lib/distutils/
Darchive_util.py193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
212 if root_dir is not None:
213 log.debug("changing into '%s'", root_dir)
216 os.chdir(root_dir)
239 if root_dir is not None:
/external/python/cpython3/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:
/external/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)
/external/python/cpython3/Lib/test/
Dtest_shutil.py959 root_dir, base_dir = self._create_files('')
970 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
983 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
1000 root_dir = self.mkdtemp()
1001 dist = os.path.join(root_dir, base_dir)
1009 write_file((root_dir, 'outer'), 'xxx')
1010 return root_dir, base_dir
1016 root_dir, base_dir = self._create_files()
1018 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
1025 tarball2 = os.path.join(root_dir, 'archive2.tar')
[all …]
/external/python/cpython2/Lib/distutils/tests/
Dtest_archive_util.py240 base_dir, root_dir, base_name = self._create_files()
242 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
246 res = make_archive(base_name, 'zip', root_dir, base_dir)
249 res = make_archive(base_name, 'tar', root_dir, base_dir,
253 res = make_archive(base_name, 'tar', root_dir, base_dir,
290 make_archive('xxx', 'xxx', root_dir=self.mkdtemp())
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dfile_utils.cc33 DIR* root_dir = opendir(proc_path); in ForEachPidInProcPath() local
34 ScopedDir autoclose(root_dir); in ForEachPidInProcPath()
36 while ((child_dir = readdir(root_dir))) { in ForEachPidInProcPath()
/external/grpc-grpc/src/ruby/spec/
Dspec_helper.rb16 root_dir = File.expand_path(File.join(spec_dir, '..'))
17 lib_dir = File.expand_path(File.join(root_dir, 'lib'))
/external/flatbuffers/samples/
DSampleBinary.php23 $root_dir = join(DIRECTORY_SEPARATOR, array(dirname(dirname(__FILE__)))); // `flatbuffers` root.
24 $paths = array(join(DIRECTORY_SEPARATOR, array($root_dir, "php")),
25 join(DIRECTORY_SEPARATOR, array($root_dir, "samples", "MyGame", "Sample")));
/external/autotest/client/common_lib/
Dglobal_config.py41 root_dir = os.path.dirname(client_dir) variable
46 global_config_path_root = os.path.join(root_dir, 'global_config.ini')
47 moblab_config_path_root = os.path.join(root_dir, 'moblab_config.ini')
48 shadow_config_path_root = os.path.join(root_dir, 'shadow_config.ini')
/external/selinux/policycoreutils/sestatus/
Dsestatus.c203 const char *pol_name, *root_dir; in main() local
254 root_dir = selinux_path(); in main()
255 if (root_dir == NULL) { in main()
260 root_path = strdup(root_dir); in main()

123