Searched refs:KeyMapper (Results 1 – 9 of 9) sorted by relevance
/external/icing/icing/store/ |
D | key-mapper_test.cc | 48 KeyMapper<DocumentId>::Create(filesystem_, "/dev/null", kMaxKeyMapperSize) in TEST_F() 55 ASSERT_THAT(KeyMapper<DocumentId>::Create(filesystem_, base_dir_, -1), in TEST_F() 60 ASSERT_THAT(KeyMapper<DocumentId>::Create(filesystem_, base_dir_, in TEST_F() 67 std::unique_ptr<KeyMapper<DocumentId>> key_mapper, in TEST_F() 68 KeyMapper<DocumentId>::Create(filesystem_, base_dir_, kMaxKeyMapperSize)); in TEST_F() 74 std::unique_ptr<KeyMapper<DocumentId>> key_mapper, in TEST_F() 75 KeyMapper<DocumentId>::Create(filesystem_, base_dir_, kMaxKeyMapperSize)); in TEST_F() 93 std::unique_ptr<KeyMapper<DocumentId>> key_mapper, in TEST_F() 94 KeyMapper<DocumentId>::Create(filesystem_, base_dir_, kMaxKeyMapperSize)); in TEST_F() 104 std::unique_ptr<KeyMapper<DocumentId>> key_mapper, in TEST_F() [all …]
|
D | key-mapper.h | 43 class KeyMapper { 54 static libtextclassifier3::StatusOr<std::unique_ptr<KeyMapper<T>>> Create( 66 ~KeyMapper() = default; 133 explicit KeyMapper(std::string_view key_mapper_dir); 157 libtextclassifier3::StatusOr<std::unique_ptr<KeyMapper<T>>> 158 KeyMapper<T>::Create(const Filesystem& filesystem, std::string_view base_dir, in Create() 169 auto mapper = std::unique_ptr<KeyMapper<T>>(new KeyMapper<T>(key_mapper_dir)); in Create() 175 libtextclassifier3::Status KeyMapper<T>::Delete(const Filesystem& filesystem, in Delete() 186 KeyMapper<T>::KeyMapper(std::string_view key_mapper_dir) in KeyMapper() function 194 libtextclassifier3::Status KeyMapper<T>::Initialize(int maximum_size_bytes) { in Initialize() [all …]
|
D | document-store.h | 446 std::unique_ptr<KeyMapper<DocumentId>> document_key_mapper_; 476 std::unique_ptr<KeyMapper<NamespaceId>> namespace_mapper_; 482 std::unique_ptr<KeyMapper<CorpusId>> corpus_mapper_;
|
D | document-store.cc | 336 KeyMapper<DocumentId>::Create(*filesystem_, base_dir_, kUriMapperMaxSize); in InitializeExistingDerivedFiles() 368 KeyMapper<NamespaceId>::Create(*filesystem_, in InitializeExistingDerivedFiles() 377 KeyMapper<CorpusId>::Create( in InitializeExistingDerivedFiles() 536 KeyMapper<DocumentId>::Delete(*filesystem_, base_dir_); in ResetDocumentKeyMapper() 546 KeyMapper<DocumentId>::Create(*filesystem_, base_dir_, kUriMapperMaxSize); in ResetDocumentKeyMapper() 623 libtextclassifier3::Status status = KeyMapper<NamespaceId>::Delete( in ResetNamespaceMapper() 632 KeyMapper<NamespaceId>::Create(*filesystem_, in ResetNamespaceMapper() 643 libtextclassifier3::Status status = KeyMapper<CorpusId>::Delete( in ResetCorpusMapper() 651 KeyMapper<CorpusId>::Create( in ResetCorpusMapper()
|
/external/icing/icing/schema/ |
D | section-manager.h | 56 const KeyMapper<SchemaTypeId>* schema_type_mapper); 108 const KeyMapper<SchemaTypeId>* schema_type_mapper, 112 const KeyMapper<SchemaTypeId>& schema_type_mapper_;
|
D | section-manager_test.cc | 85 KeyMapper<SchemaTypeId>::Create( in SetUp() 153 std::unique_ptr<KeyMapper<SchemaTypeId>> schema_type_mapper_; 405 std::unique_ptr<KeyMapper<SchemaTypeId>> schema_type_mapper, in TEST_F() 406 KeyMapper<SchemaTypeId>::Create(filesystem_, dir, key_mapper_size)); in TEST_F() 494 std::unique_ptr<KeyMapper<SchemaTypeId>> schema_type_mapper, in TEST_F() 495 KeyMapper<SchemaTypeId>::Create(filesystem_, dir, key_mapper_size)); in TEST_F() 568 std::unique_ptr<KeyMapper<SchemaTypeId>> schema_type_mapper, in TEST_F() 569 KeyMapper<SchemaTypeId>::Create(filesystem_, dir, key_mapper_size)); in TEST_F()
|
D | section-manager.cc | 134 const KeyMapper<SchemaTypeId>& schema_type_mapper) { in BuildSectionMetadataCache() 171 const KeyMapper<SchemaTypeId>* schema_type_mapper, in SectionManager() 178 const KeyMapper<SchemaTypeId>* schema_type_mapper) { in Create()
|
D | schema-store.cc | 188 KeyMapper<SchemaTypeId>::Create(filesystem_, in InitializeDerivedFiles() 273 libtextclassifier3::Status status = KeyMapper<SchemaTypeId>::Delete( in ResetSchemaTypeMapper() 282 KeyMapper<SchemaTypeId>::Create(filesystem_, in ResetSchemaTypeMapper()
|
D | schema-store.h | 313 std::unique_ptr<KeyMapper<SchemaTypeId>> schema_type_mapper_;
|