Searched refs:TermIdCodec (Results 1 – 12 of 12) sorted by relevance
/external/icing/icing/index/ |
D | term-id-codec_test.cc | 32 EXPECT_THAT(TermIdCodec::Create( in TEST() 40 std::unique_ptr<TermIdCodec> codec, in TEST() 41 TermIdCodec::Create(/*max_main_tvi=*/10, /*max_lite_tvi=*/10)); in TEST() 46 std::unique_ptr<TermIdCodec> codec, in TEST() 47 TermIdCodec::Create(/*max_main_tvi=*/0, /*max_lite_tvi=*/0)); in TEST() 53 std::unique_ptr<TermIdCodec> codec, in TEST() 54 TermIdCodec::Create(/*max_main_tvi=*/3, /*max_lite_tvi=*/7)); in TEST() 70 std::unique_ptr<TermIdCodec> codec, in TEST() 71 TermIdCodec::Create(/*max_main_tvi=*/3, /*max_lite_tvi=*/7)); in TEST() 73 ICING_ASSERT_OK_AND_ASSIGN(TermIdCodec::DecodedTermInfo decoded_term, in TEST() [all …]
|
D | term-id-codec.cc | 29 libtextclassifier3::StatusOr<std::unique_ptr<TermIdCodec>> TermIdCodec::Create( in Create() 43 return std::unique_ptr<TermIdCodec>( in Create() 44 new TermIdCodec(max_main_tvi, max_lite_tvi)); in Create() 47 libtextclassifier3::StatusOr<uint32_t> TermIdCodec::EncodeTvi( in EncodeTvi() 70 libtextclassifier3::StatusOr<TviType> TermIdCodec::DecodeTviType( in DecodeTviType() 82 libtextclassifier3::StatusOr<TermIdCodec::DecodedTermInfo> 83 TermIdCodec::DecodeTermInfo(uint32_t term_id) const { in DecodeTermInfo()
|
D | term-id-codec.h | 54 class TermIdCodec { 70 static libtextclassifier3::StatusOr<std::unique_ptr<TermIdCodec>> Create( 97 explicit TermIdCodec(uint32_t max_main_tvi, uint32_t max_lite_tvi) in TermIdCodec() function
|
D | index.h | 207 Editor(const TermIdCodec* term_id_codec, LiteIndex* lite_index, in Editor() 227 const TermIdCodec* term_id_codec_; 260 Index(const Options& options, std::unique_ptr<TermIdCodec> term_id_codec, in Index() 276 std::unique_ptr<TermIdCodec> term_id_codec_;
|
D | index.cc | 153 std::unique_ptr<TermIdCodec> term_id_codec, in Create() 154 TermIdCodec::Create( in Create()
|
/external/icing/icing/index/lite/ |
D | doc-hit-info-iterator-term-lite.h | 33 explicit DocHitInfoIteratorTermLite(const TermIdCodec* term_id_codec, in DocHitInfoIteratorTermLite() 94 const TermIdCodec* term_id_codec_; 103 explicit DocHitInfoIteratorTermLiteExact(const TermIdCodec* term_id_codec, in DocHitInfoIteratorTermLiteExact() 118 explicit DocHitInfoIteratorTermLitePrefix(const TermIdCodec* term_id_codec, in DocHitInfoIteratorTermLitePrefix()
|
/external/icing/icing/index/main/ |
D | main-index-merger.cc | 139 const TermIdCodec& term_id_codec, in HitComparator() 169 TermIdCodec::DecodedTermInfo term_info = in GetIndexBlock() 178 const TermIdCodec* term_id_codec_; 201 std::vector<TermIdHitPair>* hits, const TermIdCodec& term_id_codec, in DedupeHits() 234 const LiteIndex& lite_index, const TermIdCodec& term_id_codec, in TranslateAndExpandLiteHits() 247 ICING_ASSIGN_OR_RETURN(TermIdCodec::DecodedTermInfo cur_decoded_term, in TranslateAndExpandLiteHits()
|
D | main-index-merger.h | 42 const LiteIndex& lite_index, const TermIdCodec& term_id_codec,
|
D | main-index-merger_test.cc | 54 TermIdCodec::Create( in SetUp() 67 std::unique_ptr<TermIdCodec> term_id_codec_;
|
D | main-index.h | 148 const TermIdCodec& term_id_codec,
|
D | main-index_test.cc | 72 const TermIdCodec& term_id_codec, in Merge() 98 TermIdCodec::Create( in SetUp() 111 std::unique_ptr<TermIdCodec> term_id_codec_;
|
D | main-index.cc | 458 const TermIdCodec& term_id_codec, in AddHits() 466 ICING_ASSIGN_OR_RETURN(TermIdCodec::DecodedTermInfo cur_decoded_term, in AddHits()
|