Home
last modified time | relevance | path

Searched refs:tvi (Results 1 – 24 of 24) sorted by relevance

/external/icing/icing/index/main/
Dmain-index_test.cc143 uint32_t tvi, in TEST_F()
146 term_id_codec_->EncodeTvi(tvi, TviType::LITE)); in TEST_F()
180 uint32_t tvi, in TEST_F()
183 term_id_codec_->EncodeTvi(tvi, TviType::LITE)); in TEST_F()
208 uint32_t tvi, in TEST_F()
211 term_id_codec_->EncodeTvi(tvi, TviType::LITE)); in TEST_F()
213 tvi, lite_index_->InsertTerm("fool", TermMatchType::PREFIX, kNamespace0)); in TEST_F()
215 term_id_codec_->EncodeTvi(tvi, TviType::LITE)); in TEST_F()
217 tvi, in TEST_F()
220 term_id_codec_->EncodeTvi(tvi, TviType::LITE)); in TEST_F()
[all …]
Dmain-index.cc43 uint32_t tvi; member
56 uint32_t tvi = 0; in FindShortestValidTermWithPrefixHits() local
74 tvi = it.GetValueIndex(); in FindShortestValidTermWithPrefixHits()
76 found = exact || hits_in_prefix_section.HasProperty(tvi); in FindShortestValidTermWithPrefixHits()
80 FindTermResult result = {tvi, found, exact}; in FindShortestValidTermWithPrefixHits()
315 outputs.backfill_map[branching_prefix_tvi] = result.tvi; in AddBackfillBranchPoints()
481 auto itr = backfill_map.find(cur_decoded_term.tvi); in AddHits()
488 ICING_RETURN_IF_ERROR(AddHitsForTerm(cur_decoded_term.tvi, in AddHits()
522 uint32_t tvi, PostingListIdentifier backfill_posting_list_id, in AddHitsForTerm() argument
527 memcpy(&posting_list_id, main_lexicon_->GetValueAtIndex(tvi), in AddHitsForTerm()
[all …]
Dmain-index-merger.cc171 auto itr = main_tvi_to_block_index_->find(term_info.tvi); in GetIndexBlock()
253 lexicon_merge_outputs.other_tvi_to_main_tvi.find(cur_decoded_term.tvi); in TranslateAndExpandLiteHits()
258 cur_decoded_term.tvi)); in TranslateAndExpandLiteHits()
269 cur_decoded_term.tvi); in TranslateAndExpandLiteHits()
273 << cur_decoded_term.tvi; in TranslateAndExpandLiteHits()
Dmain-index.h270 uint32_t tvi, PostingListIdentifier backfill_posting_list_id,
/external/icing/icing/index/
Dterm-id-codec.cc48 uint32_t tvi, TviType tvi_type) const { in EncodeTvi() argument
51 if (tvi >= max_main_tvi_) { in EncodeTvi()
55 tvi, max_main_tvi_)); in EncodeTvi()
57 return tvi; in EncodeTvi()
59 if (tvi >= max_lite_tvi_) { in EncodeTvi()
63 tvi, max_lite_tvi_)); in EncodeTvi()
65 return max_main_tvi_ + tvi; in EncodeTvi()
88 result.tvi = term_id; in DecodeTermInfo()
91 result.tvi = term_id - max_main_tvi_; in DecodeTermInfo()
Dindex.cc294 uint32_t tvi; in BufferTerm() local
299 tvi = tvi_or.ValueOrDie(); in BufferTerm()
300 if (seen_tokens_.find(tvi) != seen_tokens_.end()) { in BufferTerm()
302 if (seen_tokens_[tvi] != Hit::kMaxTermFrequency) { in BufferTerm()
303 ++seen_tokens_[tvi]; in BufferTerm()
311 tvi, term_match_type_ == TermMatchType::PREFIX, namespace_id_)); in BufferTerm()
316 tvi, lite_index_->InsertTerm(term, term_match_type_, namespace_id_)); in BufferTerm()
319 seen_tokens_[tvi] = 1; in BufferTerm()
Dterm-id-codec.h58 uint32_t tvi; member
76 libtextclassifier3::StatusOr<uint32_t> EncodeTvi(uint32_t tvi,
Dterm-id-codec_test.cc76 EXPECT_THAT(decoded_term.tvi, Eq(0)); in TEST()
80 EXPECT_THAT(decoded_term.tvi, Eq(0)); in TEST()
/external/icing/icing/index/lite/
Dlite-index.cc282 uint32_t tvi; in InsertTerm() local
283 if (!lexicon_.Insert(term.c_str(), "", &tvi, false)) { in InsertTerm()
288 tvi, term_match_type == TermMatchType::PREFIX, namespace_id)); in InsertTerm()
289 return tvi; in InsertTerm()
293 uint32_t tvi, bool hasPrefixHits, NamespaceId namespace_id) { in UpdateTermProperties() argument
295 !lexicon_.SetProperty(tvi, GetHasHitsInPrefixSectionPropertyId())) { in UpdateTermProperties()
300 if (!lexicon_.SetProperty(tvi, GetNamespacePropertyId(namespace_id))) { in UpdateTermProperties()
330 uint32_t tvi; in GetTermId() local
331 if (!lexicon_.Find(term.c_str(), &dummy, &tvi)) { in GetTermId()
335 return tvi; in GetTermId()
Ddoc-hit-info-iterator-term-lite.cc71 ICING_ASSIGN_OR_RETURN(uint32_t tvi, lite_index_->GetTermId(term_)); in RetrieveMoreHits()
73 term_id_codec_->EncodeTvi(tvi, TviType::LITE)); in RetrieveMoreHits()
Dlite-index.h127 libtextclassifier3::Status UpdateTermProperties(uint32_t tvi,
/external/icu/icu4c/source/data/lang/
Dpcm.txt146 lv{"Látvián Lángwej"}
Daz.txt481 tw{"tvi"}
Dsr_Latn.txt487 tw{"tvi"}
Dbs.txt492 tw{"tvi"}
Dsl.txt489 tw{"tvi"}
Dlt.txt585 tw{"tvi"}
/external/guice/extensions/struts2/lib/
Djsp-api-2.1.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/ ...
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/libxml2/result/
Drdf2.rdr1560 /usr/share/ncurses4/terminfo/t/tvi-2p
Drdf2.rde1560 /usr/share/ncurses4/terminfo/t/tvi-2p
/external/hyphenation-patterns/hu/
Dhyph-hu.pat.txt20324 g1átvi
26567 2j1átvi
30118 l1átvi
35148 2n1átvi
49272 s1átvi
52184 2t1átvi
/external/one-true-awk/testdir/
Dfunstack.in144 …i Haw-thorn Hem-men-ding-er Hor-o-witz Hour-vitz Hirsch-berg Ike-da Ka-chi-tvi-chyan-u-kul Kat-ze-…
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Den-IPA.txt20313 $x{latvia → lætviə ; # lætvɑɪɑ