Searched refs:doc_tote (Results 1 – 1 of 1) sorted by relevance
1106 void RemoveExtendedLanguages(ToteWithReliability* doc_tote) { in RemoveExtendedLanguages() argument1107 for (int sub = 0; sub < doc_tote->MaxSize(); ++sub) { in RemoveExtendedLanguages()1108 if (cld::UnpackLanguage(doc_tote->Key(sub)) >= NUM_LANGUAGES) { in RemoveExtendedLanguages()1112 ExtLanguageCode(cld::UnpackLanguage(doc_tote->Key(sub)))); in RemoveExtendedLanguages()1116 doc_tote->SetKey(sub, 0); in RemoveExtendedLanguages()1117 doc_tote->SetValue(sub, 0); in RemoveExtendedLanguages()1118 doc_tote->SetReliability(sub, 0); in RemoveExtendedLanguages()1139 void RemoveUnreliableLanguages(ToteWithReliability* doc_tote) { in RemoveUnreliableLanguages() argument1142 for (int sub = 0; sub < doc_tote->MaxSize(); ++sub) { in RemoveUnreliableLanguages()1143 int plang = doc_tote->Key(sub); in RemoveUnreliableLanguages()[all …]