Home
last modified time | relevance | path

Searched refs:DecodeTviType (Results 1 – 3 of 3) sorted by relevance

/external/icing/icing/index/
Dterm-id-codec_test.cc92 EXPECT_THAT(codec->DecodeTviType(0), IsOkAndHolds(Eq(TviType::MAIN))); in TEST()
93 EXPECT_THAT(codec->DecodeTviType(2), IsOkAndHolds(Eq(TviType::MAIN))); in TEST()
94 EXPECT_THAT(codec->DecodeTviType(3), IsOkAndHolds(Eq(TviType::LITE))); in TEST()
95 EXPECT_THAT(codec->DecodeTviType(9), IsOkAndHolds(Eq(TviType::LITE))); in TEST()
96 EXPECT_THAT(codec->DecodeTviType(10), in TEST()
Dterm-id-codec.cc70 libtextclassifier3::StatusOr<TviType> TermIdCodec::DecodeTviType( in DecodeTviType() function in icing::lib::TermIdCodec
85 ICING_ASSIGN_OR_RETURN(result.tvi_type, DecodeTviType(term_id)); in DecodeTermInfo()
Dterm-id-codec.h82 libtextclassifier3::StatusOr<TviType> DecodeTviType(uint32_t term_id) const;