Home
last modified time | relevance | path

Searched refs:TermIdCodec (Results 1 – 12 of 12) sorted by relevance

/external/icing/icing/index/
Dterm-id-codec_test.cc32 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 …]
Dterm-id-codec.cc29 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()
Dterm-id-codec.h54 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
Dindex.h207 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_;
Dindex.cc153 std::unique_ptr<TermIdCodec> term_id_codec, in Create()
154 TermIdCodec::Create( in Create()
/external/icing/icing/index/lite/
Ddoc-hit-info-iterator-term-lite.h33 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/
Dmain-index-merger.cc139 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()
Dmain-index-merger.h42 const LiteIndex& lite_index, const TermIdCodec& term_id_codec,
Dmain-index-merger_test.cc54 TermIdCodec::Create( in SetUp()
67 std::unique_ptr<TermIdCodec> term_id_codec_;
Dmain-index.h148 const TermIdCodec& term_id_codec,
Dmain-index_test.cc72 const TermIdCodec& term_id_codec, in Merge()
98 TermIdCodec::Create( in SetUp()
111 std::unique_ptr<TermIdCodec> term_id_codec_;
Dmain-index.cc458 const TermIdCodec& term_id_codec, in AddHits()
466 ICING_ASSIGN_OR_RETURN(TermIdCodec::DecodedTermInfo cur_decoded_term, in AddHits()