Searched refs:flash_index_storage_ (Results 1 – 6 of 6) sorted by relevance
/external/icing/icing/index/numeric/ |
D | posting-list-integer-index-accessor_test.cc | 63 flash_index_storage_ = in SetUp() 68 flash_index_storage_.reset(); in TearDown() 77 std::unique_ptr<FlashIndexStorage> flash_index_storage_; member in icing::lib::__anon7d9990110111::PostingListIntegerIndexAccessorTest 104 PostingListIntegerIndexAccessor::Create(flash_index_storage_.get(), in TEST_F() 120 flash_index_storage_->GetPostingList(result.id)); in TEST_F() 130 PostingListIntegerIndexAccessor::Create(flash_index_storage_.get(), in TEST_F() 147 flash_index_storage_.get(), serializer_.get(), result1.id)); in TEST_F() 159 flash_index_storage_->GetPostingList(result2.id)); in TEST_F() 167 PostingListIntegerIndexAccessor::Create(flash_index_storage_.get(), in TEST_F() 187 flash_index_storage_.get(), serializer_.get(), result1.id)); in TEST_F() [all …]
|
D | integer-index-storage.cc | 593 flash_index_storage_.get(), posting_list_serializer_, in GetIterator() 613 flash_index_storage_.get(), posting_list_serializer_, in GetIterator() 662 flash_index_storage_.get(), posting_list_serializer_, in TransferIndex() 889 FlushDataIntoPostingLists(storage->flash_index_storage_.get(), in FlushDataIntoNewSortedBucket() 900 if (!flash_index_storage_->PersistToDisk()) { in PersistStoragesToDisk() 940 flash_index_storage_.get(), posting_list_serializer_, in AddKeysIntoBucketAndSplitIfNecessary() 945 flash_index_storage_.get(), posting_list_serializer_)); in AddKeysIntoBucketAndSplitIfNecessary() 966 flash_index_storage_.get(), posting_list_serializer_, result.id)); in AddKeysIntoBucketAndSplitIfNecessary() 995 flash_index_storage_.get(), posting_list_serializer_, in AddKeysIntoBucketAndSplitIfNecessary()
|
D | integer-index-storage.h | 332 flash_index_storage_(std::move(flash_index_storage)) {} in IntegerIndexStorage() 452 std::unique_ptr<FlashIndexStorage> flash_index_storage_; variable
|
/external/icing/icing/index/main/ |
D | posting-list-hit-accessor_test.cc | 57 flash_index_storage_ = in SetUp() 62 flash_index_storage_.reset(); in TearDown() 71 std::unique_ptr<FlashIndexStorage> flash_index_storage_; member in icing::lib::__anone37cde350111::PostingListHitAccessorTest 77 PostingListHitAccessor::Create(flash_index_storage_.get(), in TEST_F() 93 flash_index_storage_->GetPostingList(result.id)); in TEST_F() 102 PostingListHitAccessor::Create(flash_index_storage_.get(), in TEST_F() 120 flash_index_storage_.get(), serializer_.get(), result1.id)); in TEST_F() 132 flash_index_storage_->GetPostingList(result2.id)); in TEST_F() 140 PostingListHitAccessor::Create(flash_index_storage_.get(), in TEST_F() 162 flash_index_storage_.get(), serializer_.get(), result1.id)); in TEST_F() [all …]
|
D | main-index.cc | 136 flash_index_storage_ = in Init() 167 Filesystem::SanitizeFileSize(flash_index_storage_->GetElementsSize())); in GetStorageInfo() 168 storage_info.set_main_index_block_size(flash_index_storage_->block_size()); in GetStorageInfo() 169 storage_info.set_num_blocks(flash_index_storage_->num_blocks()); in GetStorageInfo() 170 storage_info.set_min_free_fraction(flash_index_storage_->min_free_fraction()); in GetStorageInfo() 182 flash_index_storage_.get(), posting_list_hit_serializer_.get(), in GetAccessorForExactTerm() 215 flash_index_storage_.get(), posting_list_hit_serializer_.get(), in GetAccessorForPrefixTerm() 256 flash_index_storage_.get(), posting_list_hit_serializer_.get(), in FindTermsByPrefix() 525 flash_index_storage_->set_last_indexed_docid(last_added_document_id); in AddHits() 570 PostingListHitAccessor::Create(flash_index_storage_.get(), in AddHits() [all …]
|
D | main-index.h | 171 if (main_lexicon_->Sync() && flash_index_storage_->PersistToDisk()) { in PersistToDisk() 178 return flash_index_storage_->get_last_indexed_docid(); in last_added_document_id() 182 ICING_RETURN_IF_ERROR(flash_index_storage_->Reset()); in Reset() 343 std::unique_ptr<FlashIndexStorage> flash_index_storage_; variable
|