Home
last modified time | relevance | path

Searched refs:IndexBlock (Results 1 – 11 of 11) sorted by relevance

/external/icing/icing/index/main/
Dindex-block.h50 class IndexBlock {
74 static libtextclassifier3::StatusOr<IndexBlock>
90 static libtextclassifier3::StatusOr<IndexBlock> CreateFromUninitializedRegion(
94 IndexBlock(const IndexBlock&) = delete;
95 IndexBlock& operator=(const IndexBlock&) = delete;
96 IndexBlock(IndexBlock&&) = default;
97 IndexBlock& operator=(IndexBlock&&) = default;
99 ~IndexBlock() { in ~IndexBlock()
177 IndexBlock(MemoryMappedFile mmapped_block);
Dindex-block.cc39 IndexBlock::CalculateMaxPostingListBytes(block_size) || in ValidatePostingListBytes()
45 IndexBlock::CalculateMaxPostingListBytes(block_size))); in ValidatePostingListBytes()
52 uint32_t IndexBlock::ApproximateFullPostingListHitsForBlock( in ApproximateFullPostingListHitsForBlock()
60 libtextclassifier3::StatusOr<IndexBlock>
61 IndexBlock::CreateFromPreexistingIndexBlockRegion(const Filesystem& filesystem, in CreateFromPreexistingIndexBlockRegion()
73 IndexBlock block(std::move(mmapped_file)); in CreateFromPreexistingIndexBlockRegion()
79 libtextclassifier3::StatusOr<IndexBlock>
80 IndexBlock::CreateFromUninitializedRegion(const Filesystem& filesystem, in CreateFromUninitializedRegion()
94 IndexBlock block(std::move(mmapped_file)); in CreateFromUninitializedRegion()
103 IndexBlock::IndexBlock(MemoryMappedFile mmapped_block) in IndexBlock() function in icing::lib::IndexBlock
[all …]
Dindex-block_test.cc58 IndexBlock block, IndexBlock::CreateFromUninitializedRegion( in TEST()
75 IndexBlock block, IndexBlock::CreateFromUninitializedRegion( in TEST()
88 ICING_ASSERT_OK_AND_ASSIGN(block, IndexBlock::CreateFromUninitializedRegion( in TEST()
118 IndexBlock block, IndexBlock::CreateFromUninitializedRegion( in TEST()
135 IndexBlock block, in TEST()
136 IndexBlock::CreateFromPreexistingIndexBlockRegion( in TEST()
173 IndexBlock block, IndexBlock::CreateFromUninitializedRegion( in TEST()
208 IndexBlock block, in TEST()
209 IndexBlock::CreateFromPreexistingIndexBlockRegion( in TEST()
239 IndexBlock block, in TEST()
[all …]
Dflash-index-storage.h44 IndexBlock block;
188 IndexBlock* index_block);
193 IndexBlock* index_block);
226 libtextclassifier3::StatusOr<IndexBlock> CreateIndexBlock(
233 libtextclassifier3::StatusOr<IndexBlock> GetIndexBlock(int block_index) const;
Dflash-index-storage.cc131 IndexBlock::CalculateMaxPostingListBytes(block_size); in CreateHeader()
264 ICING_ASSIGN_OR_RETURN(IndexBlock block, GetIndexBlock(id.block_index())); in GetPostingList()
272 libtextclassifier3::StatusOr<IndexBlock> FlashIndexStorage::GetIndexBlock( in GetIndexBlock()
281 return IndexBlock::CreateFromPreexistingIndexBlockRegion( in GetIndexBlock()
285 libtextclassifier3::StatusOr<IndexBlock> FlashIndexStorage::CreateIndexBlock( in CreateIndexBlock()
294 return IndexBlock::CreateFromUninitializedRegion( in CreateIndexBlock()
318 ICING_ASSIGN_OR_RETURN(IndexBlock block, in GetPostingListFromInMemoryFreeList()
348 ICING_ASSIGN_OR_RETURN(IndexBlock block, GetIndexBlock(block_index)); in GetPostingListFromOnDiskFreeList()
372 IndexBlock block, in AllocateNewPostingList()
393 int max_block_size = IndexBlock::CalculateMaxPostingListBytes(block_size()); in AllocatePostingList()
[all …]
Dposting-list-accessor.cc32 IndexBlock::CalculateMaxPostingListBytes(storage->block_size()); in Create()
135 IndexBlock::CalculateMaxPostingListBytes(storage_->block_size()); in FlushInMemoryPostingList()
162 posting_list_bytes = IndexBlock::CalculateMaxPostingListBytes( in Finalize()
Dmain-index.cc246 int approx_hit_count = IndexBlock::ApproximateFullPostingListHitsForBlock( in FindTermsByPrefix()
/external/llvm-project/clang-tools-extra/clangd/
DConfigFragment.h160 struct IndexBlock { struct
182 IndexBlock Index;
DConfigYAML.cpp109 void parse(Fragment::IndexBlock &F, Node &N) { in parse()
114 Fragment::IndexBlock::ExternalBlock External; in parse()
122 void parse(Fragment::IndexBlock::ExternalBlock &F, Node &N) { in parse()
DConfigCompile.cpp265 void compile(Fragment::IndexBlock &&F) { in compile()
279 void compile(Fragment::IndexBlock::ExternalBlock &&External, in compile()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DConfigCompileTests.cpp206 Fragment::IndexBlock::ExternalBlock External; in TEST_F()
223 Frag.Index.External.emplace(Fragment::IndexBlock::ExternalBlock{}); in TEST_F()
235 Fragment::IndexBlock::ExternalBlock External; in TEST_F()
249 Fragment::IndexBlock::ExternalBlock External; in TEST_F()