Home
last modified time | relevance | path

Searched refs:root_dir (Results 1 – 25 of 28) 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/autotest/client/site_tests/platform_CrosDisksArchive/
Dplatform_CrosDisksArchive.py25 def _find_all_files(self, root_dir): argument
39 for path in os.listdir(os.path.join(root_dir, current_dir)):
40 expanded_path = os.path.join(root_dir, current_dir, path)
47 def _make_tar_archive(self, archive_path, root_dir, compression=None): argument
62 for path in self._find_all_files(root_dir):
63 archive.add(os.path.join(root_dir, path), path)
66 def _make_zip_archive(self, archive_path, root_dir, argument
81 for path in self._find_all_files(root_dir):
82 archive.write(os.path.join(root_dir, path), path)
85 def _make_archive(self, archive_type, archive_path, root_dir): argument
[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/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/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/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/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
Dspp_server.c967 ctx->root_dir, policy_id); in build_policy()
1104 snprintf(fname, sizeof(fname), "%s/spp/dm_ddf-v1_2.dtd", ctx->root_dir); in spp_get_mo()
2188 snprintf(fname, sizeof(fname), "%s/spp/spp.xsd", ctx->root_dir); in hs20_spp_server_process()
2274 snprintf(fname, sizeof(fname), "%s/AS/DB/eap_user.db", ctx->root_dir); in hs20_spp_server_init()
/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/skia/site/dev/chrome/
Dmulti_repo_trybots.md26 '--root_dir', 'src/third_party/skia',
40 If this is for a project other than Skia, update the 'root_dir' and 'server'.
/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c311 struct dir_info *root_dir; variable
1687 fragment = eval_frag_actions(root_dir, dir_ent); in get_and_fill_fragment()
3256 root_dir = dir_scan1(pathname, "", paths, _readdir, 1); in dir_scan()
3257 if(root_dir == NULL) in dir_scan()
3302 dir_ent->dir = root_dir; in dir_scan()
3303 root_dir->dir_ent = dir_ent; in dir_scan()
3309 dir_scan2(root_dir, get_pseudo()); in dir_scan()
3315 dir_scan3(root_dir); in dir_scan()
3323 dir_scan4(root_dir); in dir_scan()
3329 dir_scan5(root_dir); in dir_scan()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_i.h125 char *root_dir; member
/external/libcxx/src/experimental/filesystem/
Doperations.cpp913 auto root_dir = p.root_directory(); in absolute() local
915 if (!root_name.empty() && !root_dir.empty()) in absolute()
921 if (root_name.empty() && root_dir.empty()) in absolute()

12