Home
last modified time | relevance | path

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

12

/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, cmd_executer): argument
43 for dirpath, dirnames, files in os.walk(root_dir)
51 for dirpath, dirnames, 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 …]
Drepo_to_repo.py281 def MapSources(self, root_dir): argument
283 self._RsyncExcludingRepoDirs(self._root_dir, root_dir)
290 full_local_path = os.path.join(root_dir, local_path)
/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.py377 root_dir, base_dir = self._create_files('')
388 tarball = make_archive(rel_base_name, 'gztar', root_dir, '.')
401 tarball = make_archive(rel_base_name, 'tar', root_dir, '.')
418 root_dir = self.mkdtemp()
419 dist = os.path.join(root_dir, base_dir)
428 self.write_file((root_dir, 'outer'), 'xxx')
429 return root_dir, base_dir
435 root_dir, base_dir = self._create_files()
437 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
444 tarball2 = os.path.join(root_dir, 'archive2.tar')
[all …]
/external/libmojo/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/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/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/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/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.py129 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) variable
130 os.chdir(root_dir)
132 args = BuildOptions(root_dir)
/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/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/valgrind/
Druntest.sh17 root_dir=`realpath \`dirname $0\`/../../`
34 cd $root_dir
/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/selinux/policycoreutils/sestatus/
Dsestatus.c196 const char *pol_name, *root_dir; in main() local
247 root_dir = selinux_path(); in main()
248 if (root_dir == NULL) { in main()
253 root_path = strdup(root_dir); in main()
/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/python/cpython2/Lib/
Dshutil.py513 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
532 if root_dir is not None:
534 logger.debug("changing into '%s'", root_dir)
537 os.chdir(root_dir)
560 if root_dir is not None:
/external/flatbuffers/docs/source/
DPHPUsage.md56 $root_dir = join(DIRECTORY_SEPARATOR, array(dirname(dirname(__FILE__)))); // `flatbuffers` root.
59 $paths = array(join(DIRECTORY_SEPARATOR, array($root_dir, "php")),
60 join(DIRECTORY_SEPARATOR, array($root_dir, "tests", "MyGame", "Example")));
/external/wpa_supplicant_8/hs20/server/
Dhs20_spp_server.c159 ctx.root_dir = optarg; in main()
166 if (ctx.root_dir == NULL) { in main()
Dspp_server.h15 char *root_dir; member
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py767 root_dir = project_dir
768 one_up_dir = os.path.dirname(root_dir)
770 root_dir = os.path.dirname(root_dir)
773 prefix = os.path.commonprefix([root_dir, project_dir])
778 root_dir = os.path.dirname(fullname)
779 while (root_dir != os.path.dirname(root_dir) and
780 not os.path.exists(os.path.join(root_dir, ".git")) and
781 not os.path.exists(os.path.join(root_dir, ".hg")) and
782 not os.path.exists(os.path.join(root_dir, ".svn"))):
783 root_dir = os.path.dirname(root_dir)
[all …]
/external/libvpx/libvpx/tools/
Dcpplint.py892 root_dir = project_dir
893 one_up_dir = os.path.dirname(root_dir)
895 root_dir = os.path.dirname(root_dir)
898 prefix = os.path.commonprefix([root_dir, project_dir])
903 root_dir = os.path.dirname(fullname)
904 while (root_dir != os.path.dirname(root_dir) and
905 not os.path.exists(os.path.join(root_dir, ".git")) and
906 not os.path.exists(os.path.join(root_dir, ".hg")) and
907 not os.path.exists(os.path.join(root_dir, ".svn"))):
908 root_dir = os.path.dirname(root_dir)
[all …]
/external/python/cpython2/Doc/library/
Dshutil.rst264 .. function:: make_archive(base_name, format, [root_dir, [base_dir, [verbose, [dry_run, [owner, [gr…
272 *root_dir* is a directory that will be the root directory of the
273 archive; ie. we typically chdir into *root_dir* before creating the
280 *root_dir* and *base_dir* both default to the current directory.
341 >>> root_dir = os.path.expanduser(os.path.join('~', '.ssh'))
342 >>> make_archive(archive_name, 'gztar', root_dir)

12