Searched refs:posting_list_id (Results 1 – 2 of 2) sorted by relevance
/external/icing/icing/index/main/ |
D | main-index.cc | 61 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in FindShortestValidTermWithPrefixHits() local 62 memcpy(&posting_list_id, it.GetValue(), sizeof(posting_list_id)); in FindShortestValidTermWithPrefixHits() 72 if (posting_list_id.is_valid()) { in FindShortestValidTermWithPrefixHits() 156 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in GetAccessorForExactTerm() local 157 if (!main_lexicon_->Find(term.c_str(), &posting_list_id)) { in GetAccessorForExactTerm() 163 flash_index_storage_.get(), posting_list_id)); in GetAccessorForExactTerm() 191 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in GetAccessorForPrefixTerm() local 192 memcpy(&posting_list_id, main_itr.GetValue(), sizeof(posting_list_id)); in GetAccessorForPrefixTerm() 195 flash_index_storage_.get(), posting_list_id)); in GetAccessorForPrefixTerm() 238 PostingListIdentifier posting_list_id = PostingListIdentifier::kInvalid; in FindTermsByPrefix() local [all …]
|
D | flash-index-storage.cc | 313 ICING_ASSIGN_OR_RETURN(PostingListIdentifier posting_list_id, in GetPostingListFromInMemoryFreeList() 319 GetIndexBlock(posting_list_id.block_index())); in GetPostingListFromInMemoryFreeList() 320 block.FreePostingList(posting_list_id.posting_list_index()); in GetPostingListFromInMemoryFreeList() 326 posting_list_id = in GetPostingListFromInMemoryFreeList() 327 PostingListIdentifier(posting_list_id.block_index(), posting_list_index, in GetPostingListFromInMemoryFreeList() 328 posting_list_id.posting_list_index_bits()); in GetPostingListFromInMemoryFreeList() 331 block.GetAllocatedPostingList(posting_list_id.posting_list_index())); in GetPostingListFromInMemoryFreeList() 333 posting_list_id}; in GetPostingListFromInMemoryFreeList() 351 PostingListIdentifier posting_list_id = PostingListIdentifier( in GetPostingListFromOnDiskFreeList() local 355 block.GetAllocatedPostingList(posting_list_id.posting_list_index())); in GetPostingListFromOnDiskFreeList() [all …]
|