Searched refs:PostingListIdentifier (Results 1 – 11 of 11) sorted by relevance
/external/icing/icing/index/main/ |
D | main-index.cc | 61 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in FindShortestValidTermWithPrefixHits() 156 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in GetAccessorForExactTerm() 191 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in GetAccessorForPrefixTerm() 238 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in FindTermsByPrefix() 299 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in AddBackfillBranchPoints() 327 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in AddTerms() 387 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in AddBranchPoints() 479 PostingListIdentifier backfill_posting_list_id = in AddHits() 480 PostingListIdentifier::kInvalid; in AddHits() 501 PostingListIdentifier backfill_posting_list_id = in AddHits() [all …]
|
D | posting-list-identifier.h | 48 class PostingListIdentifier { 59 static PostingListIdentifier kInvalid; 65 PostingListIdentifier(uint32_t block_index, in PostingListIdentifier() function 102 bool operator==(const PostingListIdentifier& rhs) const { 105 bool operator!=(const PostingListIdentifier& rhs) const {
|
D | posting-list-accessor.h | 65 PostingListIdentifier existing_posting_list_id); 100 PostingListIdentifier id; 116 prev_block_identifier_(PostingListIdentifier::kInvalid), in PostingListAccessor() 143 PostingListIdentifier prev_block_identifier_;
|
D | posting-list-identifier.cc | 20 PostingListIdentifier PostingListIdentifier::kInvalid( 22 PostingListIdentifier::kEncodedPostingListIndexBits - 1);
|
D | flash-index-storage.h | 47 PostingListIdentifier id; 100 PostingListIdentifier id) const; 263 void Push(PostingListIdentifier id); 270 libtextclassifier3::StatusOr<PostingListIdentifier> TryPop(); 275 std::vector<PostingListIdentifier> free_list_;
|
D | flash-index-storage.cc | 263 FlashIndexStorage::GetPostingList(PostingListIdentifier id) const { in GetPostingList() 313 ICING_ASSIGN_OR_RETURN(PostingListIdentifier posting_list_id, in GetPostingListFromInMemoryFreeList() 327 PostingListIdentifier(posting_list_id.block_index(), posting_list_index, in GetPostingListFromInMemoryFreeList() 351 PostingListIdentifier posting_list_id = PostingListIdentifier( in GetPostingListFromOnDiskFreeList() 378 PostingListIdentifier posting_list_id = PostingListIdentifier( in AllocateNewPostingList() 481 PostingListIdentifier freelist_elt = freelist_elt_or.ValueOrDie(); in FlushInMemoryFreeList() 552 void FlashIndexStorage::FreeList::Push(PostingListIdentifier id) { in Push() 569 libtextclassifier3::StatusOr<PostingListIdentifier> 575 PostingListIdentifier id = free_list_.back(); in TryPop()
|
D | posting-list-accessor_test.cc | 195 PostingListIdentifier second_block_id = result1.id; in TEST() 198 EXPECT_THAT(second_block_id, Eq(PostingListIdentifier( in TEST() 219 PostingListIdentifier pl_id(first_block_id, /*posting_list_index=*/0, in TEST() 249 PostingListIdentifier first_add_id = result1.id; in TEST() 250 EXPECT_THAT(first_add_id, Eq(PostingListIdentifier( in TEST() 269 PostingListIdentifier second_add_id = result2.id; in TEST() 291 PostingListIdentifier pl_id(first_block_id, /*posting_list_index=*/0, in TEST()
|
D | posting-list-accessor.cc | 46 PostingListIdentifier existing_posting_list_id) { in CreateFromExisting() 71 PostingListIdentifier next_posting_list_id( in GetNextHitsBatch() 156 PostingListIdentifier::kInvalid}; in Finalize()
|
D | doc-hit-info-iterator-term-main.h | 42 next_posting_list_id_(PostingListIdentifier::kInvalid), in DocHitInfoIteratorTermMain() 99 PostingListIdentifier next_posting_list_id_;
|
D | flash-index-storage_test.cc | 156 PostingListIdentifier id1 = posting_list_holder1.id; in TEST_F() 252 PostingListIdentifier id1 = posting_list_holder1.id; in TEST_F() 331 PostingListIdentifier id1 = PostingListIdentifier::kInvalid; in TEST_F() 462 PostingListIdentifier id1 = posting_list_holder1.id; in TEST_F()
|
D | main-index.h | 270 uint32_t tvi, PostingListIdentifier backfill_posting_list_id, 286 PostingListIdentifier backfill_posting_list_id,
|