Home
last modified time | relevance | path

Searched refs:base_dir (Results 1 – 25 of 118) sorted by relevance

12345

/external/rust/crates/grpcio-sys/grpc/
Dconfig.w32998 base_dir = get_define('BUILD_DIR');
999 FSO.CreateFolder(base_dir+"\\ext");
1000 FSO.CreateFolder(base_dir+"\\ext\\grpc");
1001 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src");
1002 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core");
1003 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext");
1004 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters");
1005 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\census");
1006 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel");
1007 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel\\health");
[all …]
/external/icing/icing/store/
Ddocument-log-creator.cc51 std::string MakeDocumentLogFilenameV0(const std::string& base_dir) { in MakeDocumentLogFilenameV0() argument
52 return absl_ports::StrCat(base_dir, "/", DocumentLogFilenameV0()); in MakeDocumentLogFilenameV0()
55 std::string MakeDocumentLogFilenameV1(const std::string& base_dir) { in MakeDocumentLogFilenameV1() argument
56 return absl_ports::StrCat(base_dir, "/", DocumentLogFilenameV1()); in MakeDocumentLogFilenameV1()
69 const std::string& base_dir) { in Create() argument
71 filesystem->FileExists(MakeDocumentLogFilenameV0(base_dir).c_str()); in Create()
76 filesystem->FileExists(MakeDocumentLogFilenameV1(base_dir).c_str()); in Create()
79 ICING_RETURN_IF_ERROR(MigrateFromV0ToV1(filesystem, base_dir)); in Create()
96 filesystem->DeleteFile(MakeDocumentLogFilenameV0(base_dir).c_str()); in Create()
104 filesystem, MakeDocumentLogFilenameV1(base_dir), in Create()
[all …]
Dusage-store.cc25 std::string MakeUsageScoreCacheFilename(const std::string& base_dir) { in MakeUsageScoreCacheFilename() argument
26 return absl_ports::StrCat(base_dir, "/usage-scores"); in MakeUsageScoreCacheFilename()
31 const Filesystem* filesystem, const std::string& base_dir) { in Create() argument
34 if (!filesystem->CreateDirectoryRecursively(base_dir.c_str())) { in Create()
36 "Failed to create UsageStore directory: ", base_dir)); in Create()
40 MakeUsageScoreCacheFilename(base_dir); in Create()
67 std::move(usage_score_cache_or).ValueOrDie(), *filesystem, base_dir)); in Create()
/external/grpc-grpc/
Dconfig.w32663 base_dir = get_define('BUILD_DIR');
664 FSO.CreateFolder(base_dir+"\\ext");
665 FSO.CreateFolder(base_dir+"\\ext\\grpc");
666 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src");
667 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\boringssl");
668 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core");
669 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext");
670 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters");
671 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\census");
672 FSO.CreateFolder(base_dir+"\\ext\\grpc\\src\\core\\ext\\filters\\client_channel");
[all …]
/external/rust/crates/tokio/tests/
Dfs_dir.rs12 let base_dir = tempdir().unwrap(); in create_dir() localVariable
13 let new_dir = base_dir.path().join("foo"); in create_dir()
23 let base_dir = tempdir().unwrap(); in create_all() localVariable
24 let new_dir = base_dir.path().join("foo").join("bar"); in create_all()
33 let base_dir = tempdir().unwrap(); in build_dir() localVariable
34 let new_dir = base_dir.path().join("foo").join("bar"); in build_dir()
50 let base_dir = tempdir().unwrap(); in remove() localVariable
51 let new_dir = base_dir.path().join("foo"); in remove()
62 let base_dir = tempdir().unwrap(); in read_inherent() localVariable
64 let p = base_dir.path(); in read_inherent()
/external/icing/icing/scoring/
Dscore-and-rank_benchmark.cc92 const std::string base_dir = GetTestTempDir() + "/score_and_rank_benchmark"; in BM_ScoreAndRankDocumentHitsByDocumentScore() local
93 const std::string document_store_dir = base_dir + "/document_store"; in BM_ScoreAndRankDocumentHitsByDocumentScore()
94 const std::string schema_store_dir = base_dir + "/schema_store"; in BM_ScoreAndRankDocumentHitsByDocumentScore()
98 filesystem.DeleteDirectoryRecursively(base_dir.c_str()); in BM_ScoreAndRankDocumentHitsByDocumentScore()
105 SchemaStore::Create(&filesystem, base_dir, &clock)); in BM_ScoreAndRankDocumentHitsByDocumentScore()
165 filesystem.DeleteDirectoryRecursively(base_dir.c_str()); in BM_ScoreAndRankDocumentHitsByDocumentScore()
194 const std::string base_dir = GetTestTempDir() + "/score_and_rank_benchmark"; in BM_ScoreAndRankDocumentHitsByCreationTime() local
195 const std::string document_store_dir = base_dir + "/document_store"; in BM_ScoreAndRankDocumentHitsByCreationTime()
196 const std::string schema_store_dir = base_dir + "/schema_store"; in BM_ScoreAndRankDocumentHitsByCreationTime()
200 filesystem.DeleteDirectoryRecursively(base_dir.c_str()); in BM_ScoreAndRankDocumentHitsByCreationTime()
[all …]
/external/python/cpython3/Lib/distutils/
Darchive_util.py55 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
109 tar.add(base_dir, filter=_set_uid_gid)
127 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): argument
148 spawn(["zip", zipoptions, zip_filename, base_dir],
159 zip_filename, base_dir)
170 if base_dir != os.curdir:
171 path = os.path.normpath(os.path.join(base_dir, ''))
174 for dirpath, dirnames, filenames in os.walk(base_dir):
206 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
231 if base_dir is None:
[all …]
/external/icing/icing/query/
Dquery-processor_benchmark.cc100 const std::string base_dir = GetTestTempDir() + "/query_processor_benchmark"; in BM_QueryOneTerm() local
101 const std::string index_dir = base_dir + "/index"; in BM_QueryOneTerm()
102 const std::string schema_dir = base_dir + "/schema"; in BM_QueryOneTerm()
103 const std::string doc_store_dir = base_dir + "/store"; in BM_QueryOneTerm()
105 filesystem.DeleteDirectoryRecursively(base_dir.c_str()); in BM_QueryOneTerm()
168 filesystem.DeleteDirectoryRecursively(base_dir.c_str()); in BM_QueryOneTerm()
217 const std::string base_dir = GetTestTempDir() + "/query_processor_benchmark"; in BM_QueryFiveTerms() local
218 const std::string index_dir = base_dir + "/index"; in BM_QueryFiveTerms()
219 const std::string schema_dir = base_dir + "/schema"; in BM_QueryFiveTerms()
220 const std::string doc_store_dir = base_dir + "/store"; in BM_QueryFiveTerms()
[all …]
/external/python/cpython2/Lib/distutils/
Darchive_util.py51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
103 tar.add(base_dir, filter=_set_uid_gid)
121 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): argument
147 spawn(["zip", zipoptions, zip_filename, base_dir],
159 zip_filename, base_dir)
165 for dirpath, dirnames, filenames in os.walk(base_dir):
193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
218 if base_dir is None:
219 base_dir = os.curdir
237 filename = func(base_name, base_dir, **kwargs)
/external/python/cpython2/Lib/distutils/command/
Dsdist.py342 base_dir = self.distribution.get_fullname()
345 self.filelist.exclude_pattern(None, prefix=base_dir)
401 def make_release_tree(self, base_dir, files): argument
413 self.mkpath(base_dir)
414 dir_util.create_tree(base_dir, files, dry_run=self.dry_run)
425 msg = "making hard links in %s..." % base_dir
428 msg = "copying files to %s..." % base_dir
438 dest = os.path.join(base_dir, file)
441 self.distribution.metadata.write_pkg_info(base_dir)
453 base_dir = self.distribution.get_fullname()
[all …]
/external/tensorflow/tensorflow/c/experimental/saved_model/internal/testdata/
Dgen_saved_models.py44 def _gen_uninitialized_variable(base_dir): argument
74 to_save, export_dir=os.path.join(base_dir, "UninitializedVariable"))
77 def _gen_simple_while_loop(base_dir): argument
94 to_save, export_dir=os.path.join(base_dir, "SimpleWhileLoop"))
100 _, base_dir = args
101 _gen_uninitialized_variable(base_dir)
102 _gen_simple_while_loop(base_dir)
/external/jsoncpp/devtools/
Dtarball.py12 def make_tarball(tarball_path, sources, base_dir, prefix_dir=''): argument
21 base_dir = os.path.normpath(os.path.abspath(base_dir))
25 common_path = os.path.commonprefix((base_dir, path))
48 def decompress(tarball_path, base_dir): argument
52 tar.extractall(base_dir)
/external/python/cpython3/Lib/distutils/command/
Dsdist.py362 base_dir = self.distribution.get_fullname()
365 self.filelist.exclude_pattern(None, prefix=base_dir)
418 def make_release_tree(self, base_dir, files): argument
430 self.mkpath(base_dir)
431 dir_util.create_tree(base_dir, files, dry_run=self.dry_run)
442 msg = "making hard links in %s..." % base_dir
445 msg = "copying files to %s..." % base_dir
455 dest = os.path.join(base_dir, file)
458 self.distribution.metadata.write_pkg_info(base_dir)
470 base_dir = self.distribution.get_fullname()
[all …]
/external/libchrome/mojo/public/tools/gn/
Dzip.py29 def DoZip(inputs, link_inputs, zip_inputs, output, base_dir): argument
33 file_name = os.path.relpath(f, base_dir)
38 file_name = os.path.relpath(realf, base_dir)
81 base_dir = options.base_dir
83 DoZip(inputs, link_inputs, zip_inputs, output, base_dir)
/external/llvm-project/openmp/runtime/cmake/
DLibompCheckLinkerFlag.cmake25 set(base_dir ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/link_flag_check_${boolean}) variable
26 file(MAKE_DIRECTORY ${base_dir})
27 file(MAKE_DIRECTORY ${base_dir}/build)
28 file(WRITE ${base_dir}/src_to_link.c "${library_source}")
29 file(WRITE ${base_dir}/CMakeLists.txt "${cmake_source}")
34 ${base_dir}/build
35 ${base_dir}
/external/rust/crates/criterion/src/analysis/
Dmod.rs262 let mut base_dir = output_directory.to_owned(); in base_dir_exists() localVariable
263 base_dir.push(id.as_directory_name()); in base_dir_exists()
264 base_dir.push(baseline); in base_dir_exists()
265 base_dir.exists() in base_dir_exists()
341 let base_dir = root_dir.join(baseline); in copy_new_dir_to_base() localVariable
347 if !base_dir.exists() { in copy_new_dir_to_base()
348 try_else_return!(fs::mkdirp(&base_dir)); in copy_new_dir_to_base()
354 &base_dir.join("estimates.json") in copy_new_dir_to_base()
358 &base_dir.join("sample.json") in copy_new_dir_to_base()
362 &base_dir.join("tukey.json") in copy_new_dir_to_base()
[all …]
/external/autotest/client/cros/
Dcros_disks.py481 def create(self, base_dir): argument
490 if not self._create(base_dir):
492 os.path.join(base_dir, self._path))
496 def verify(self, base_dir): argument
507 if not self._verify(base_dir):
509 os.path.join(base_dir, self._path))
513 def _create(self, base_dir): argument
516 def _verify(self, base_dir): argument
538 def _create(self, base_dir): argument
539 path = os.path.join(base_dir, self._path) if self._path else base_dir
[all …]
/external/python/cpython2/Lib/
Dshutil.py352 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
410 tar.add(base_dir, filter=_set_uid_gid)
416 def _call_external_zip(base_dir, zip_filename, verbose, dry_run, logger): argument
422 cmd = ["zip", zipoptions, zip_filename, base_dir]
438 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): argument
465 _call_external_zip(base_dir, zip_filename, verbose, dry_run, logger)
469 zip_filename, base_dir)
474 path = os.path.normpath(base_dir)
479 for dirpath, dirnames, filenames in os.walk(base_dir):
541 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
[all …]
/external/python/cpython3/Lib/distutils/tests/
Dtest_archive_util.py302 base_dir = self._create_files()
304 res = make_archive(base_name, 'tar', base_dir, 'dist')
311 base_dir = self._create_files()
313 res = make_archive(base_name, 'gztar', base_dir, 'dist')
320 base_dir = self._create_files()
322 res = make_archive(base_name, 'bztar', base_dir, 'dist')
329 base_dir = self._create_files()
331 res = make_archive(base_name, 'xztar', base_dir, 'dist')
345 base_dir = self._create_files()
348 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
[all …]
/external/perfetto/gn/standalone/toolchain/
Dwin_find_msvc.py41 def find_max_subdir(base_dir, filter=lambda x: True): argument
44 for ver in os.listdir(base_dir) if os.path.exists(base_dir) else []:
45 cur = os.path.join(base_dir, ver)
/external/tensorflow/tensorflow/lite/testing/
Dnnapi_example.cc73 std::string base_dir = dirname(argv[1]); in main() local
74 DIR* dir = opendir(base_dir.c_str()); in main()
76 fprintf(stderr, "Can't open dir %s\n", base_dir.c_str()); in main()
83 if (Interpret((base_dir + "/" + name).c_str(), use_nnapi)) { in main()
/external/linux-kselftest/tools/testing/selftests/
Dkselftest_install.sh11 base_dir=`pwd`
12 install_dir="$base_dir"/kselftest_install
15 if [ $(basename "$base_dir") != "selftests" ]; then
/external/python/cryptography/
Dsetup.py32 base_dir = os.path.dirname(__file__) variable
33 src_dir = os.path.join(base_dir, "src")
67 if not os.path.exists(os.path.join(base_dir, "vectors/setup.py")):
88 test_args = [os.path.join(base_dir, "tests")]
243 with open(os.path.join(base_dir, "README.rst")) as f:
/external/python/cpython2/Lib/test/
Dtest_shutil.py378 root_dir, base_dir = self._create_files('')
417 def _create_files(self, base_dir='dist'): argument
420 dist = os.path.join(root_dir, base_dir)
428 if base_dir:
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)
446 tar_cmd = ['tar', '-cf', 'archive2.tar', base_dir]
454 tarball = make_archive(base_name, 'tar', root_dir, base_dir)
459 tarball = make_archive(base_name, 'tar', root_dir, base_dir,
[all …]
/external/icing/icing/
Dicing-search-engine.cc143 std::string MakeDocumentDirectoryPath(const std::string& base_dir) { in MakeDocumentDirectoryPath() argument
144 return absl_ports::StrCat(base_dir, "/", kDocumentSubfolderName); in MakeDocumentDirectoryPath()
149 std::string MakeDocumentTemporaryDirectoryPath(const std::string& base_dir) { in MakeDocumentTemporaryDirectoryPath() argument
150 return absl_ports::StrCat(base_dir, "/", kDocumentSubfolderName, in MakeDocumentTemporaryDirectoryPath()
157 std::string MakeIndexDirectoryPath(const std::string& base_dir) { in MakeIndexDirectoryPath() argument
158 return absl_ports::StrCat(base_dir, "/", kIndexSubfolderName); in MakeIndexDirectoryPath()
164 std::string MakeSchemaDirectoryPath(const std::string& base_dir) { in MakeSchemaDirectoryPath() argument
165 return absl_ports::StrCat(base_dir, "/", kSchemaSubfolderName); in MakeSchemaDirectoryPath()
167 std::string MakeSetSchemaMarkerFilePath(const std::string& base_dir) { in MakeSetSchemaMarkerFilePath() argument
168 return absl_ports::StrCat(base_dir, "/", kSetSchemaMarkerFilename); in MakeSetSchemaMarkerFilePath()
[all …]

12345