Home
last modified time | relevance | path

Searched refs:index_dir (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/python/generators/diff_tests/
Dtesting.py138 os.path.join(self.index_dir, self.blueprint.query.filename))
153 os.path.join(self.index_dir, self.blueprint.trace.filename))
168 os.path.join(self.index_dir, self.blueprint.out.filename))
176 index_dir: str) -> None:
179 self.index_dir = index_dir
180 self.test_dir = os.path.dirname(os.path.dirname(os.path.dirname(index_dir)))
208 self.index_dir = os.path.join(include_index_dir, dir_name)
218 TestCase(self.__test_name(method.__name__), method(), self.index_dir)
/external/python/parse_type/bin/
Dmake_localpi.py118 def make_index_for(package, index_dir, verbose=True): argument
137 index_filename = os.path.join(index_dir, "index.html")
138 if not os.path.isdir(index_dir):
139 os.makedirs(index_dir)
149 pkg_relpath_to = os.path.relpath(pkg_filename, index_dir)
232 index_dir = os.path.join(pkg_rootdir, package.name)
233 make_index_for(package, index_dir)
/external/icing/icing/query/
Dquery-processor_benchmark.cc83 const std::string& index_dir) { in CreateIndex() argument
84 Index::Options options(index_dir, /*index_merge_size=*/1024 * 1024 * 10); in CreateIndex()
116 const std::string index_dir = base_dir + "/index"; in BM_QueryOneTerm() local
122 if (!filesystem.CreateDirectoryRecursively(index_dir.c_str()) || in BM_QueryOneTerm()
129 CreateIndex(icing_filesystem, filesystem, index_dir); in BM_QueryOneTerm()
245 const std::string index_dir = base_dir + "/index"; in BM_QueryFiveTerms() local
251 if (!filesystem.CreateDirectoryRecursively(index_dir.c_str()) || in BM_QueryFiveTerms()
258 CreateIndex(icing_filesystem, filesystem, index_dir); in BM_QueryFiveTerms()
392 const std::string index_dir = base_dir + "/index"; in BM_QueryDiacriticTerm() local
398 if (!filesystem.CreateDirectoryRecursively(index_dir.c_str()) || in BM_QueryDiacriticTerm()
[all …]
/external/icing/icing/index/
Dindex-processor_benchmark.cc152 const std::string& index_dir) { in CreateIndex() argument
153 Index::Options options(index_dir, /*index_merge_size=*/1024 * 1024 * 10); in CreateIndex()
218 std::string index_dir = base_dir + "/index_test/"; in BM_IndexDocumentWithOneProperty() local
226 CreateIndex(icing_filesystem, filesystem, index_dir); in BM_IndexDocumentWithOneProperty()
293 std::string index_dir = base_dir + "/index_test/"; in BM_IndexDocumentWithTenProperties() local
301 CreateIndex(icing_filesystem, filesystem, index_dir); in BM_IndexDocumentWithTenProperties()
369 std::string index_dir = base_dir + "/index_test/"; in BM_IndexDocumentWithDiacriticLetters() local
377 CreateIndex(icing_filesystem, filesystem, index_dir); in BM_IndexDocumentWithDiacriticLetters()
445 std::string index_dir = base_dir + "/index_test/"; in BM_IndexDocumentWithHiragana() local
453 CreateIndex(icing_filesystem, filesystem, index_dir); in BM_IndexDocumentWithHiragana()
/external/cronet/net/disk_cache/simple/
Dsimple_version_upgrade.cc244 const base::FilePath index_dir = path.AppendASCII(kIndexDirName); in DeleteIndexFilesIfCacheIsEmpty() local
252 if (name == fake_index || name == index_dir || name == legacy_index_file) in DeleteIndexFilesIfCacheIsEmpty()
257 bool deleted_index_dir = base::DeletePathRecursively(index_dir); in DeleteIndexFilesIfCacheIsEmpty()
/external/icing/icing/
Dicing-search-engine.cc574 const std::string index_dir = MakeIndexDirectoryPath(options_.base_dir()); in InitializeMembers() local
577 version_util::ReadVersion(*filesystem_, version_filepath, index_dir)); in InitializeMembers()
622 !filesystem_->DeleteDirectoryRecursively(index_dir.c_str()) || in InitializeMembers()
628 "Could not delete directories: ", index_dir, ", ", integer_index_dir, in InitializeMembers()
646 Index::Options index_options(index_dir, options_.index_merge_size()); in InitializeMembers()
647 if (!filesystem_->DeleteDirectoryRecursively(index_dir.c_str()) || in InitializeMembers()
648 !filesystem_->CreateDirectoryRecursively(index_dir.c_str())) { in InitializeMembers()
650 absl_ports::StrCat("Could not recreate directory: ", index_dir)); in InitializeMembers()
782 const std::string index_dir = MakeIndexDirectoryPath(options_.base_dir()); in InitializeIndex() local
784 if (!filesystem_->CreateDirectoryRecursively(index_dir.c_str())) { in InitializeIndex()
[all …]