Searched refs:IndexBlock (Results 1 – 11 of 11) sorted by relevance
/external/icing/icing/index/main/ |
D | index-block.h | 50 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);
|
D | index-block.cc | 39 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 …]
|
D | index-block_test.cc | 58 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 …]
|
D | flash-index-storage.h | 44 IndexBlock block; 188 IndexBlock* index_block); 193 IndexBlock* index_block); 226 libtextclassifier3::StatusOr<IndexBlock> CreateIndexBlock( 233 libtextclassifier3::StatusOr<IndexBlock> GetIndexBlock(int block_index) const;
|
D | flash-index-storage.cc | 131 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 …]
|
D | posting-list-accessor.cc | 32 IndexBlock::CalculateMaxPostingListBytes(storage->block_size()); in Create() 135 IndexBlock::CalculateMaxPostingListBytes(storage_->block_size()); in FlushInMemoryPostingList() 162 posting_list_bytes = IndexBlock::CalculateMaxPostingListBytes( in Finalize()
|
D | main-index.cc | 246 int approx_hit_count = IndexBlock::ApproximateFullPostingListHitsForBlock( in FindTermsByPrefix()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | ConfigFragment.h | 160 struct IndexBlock { struct 182 IndexBlock Index;
|
D | ConfigYAML.cpp | 109 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()
|
D | ConfigCompile.cpp | 265 void compile(Fragment::IndexBlock &&F) { in compile() 279 void compile(Fragment::IndexBlock::ExternalBlock &&External, in compile()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ConfigCompileTests.cpp | 206 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()
|