Home
last modified time | relevance | path

Searched refs:ParseLocales (Results 1 – 8 of 8) sorted by relevance

/external/libtextclassifier/native/utils/i18n/
Dlocale.h90 bool ParseLocales(StringPiece locales_list, std::vector<Locale>* locales);
Dlocale.cc224 bool ParseLocales(StringPiece locales_list, std::vector<Locale>* locales) { in ParseLocales() function
/external/libtextclassifier/native/annotator/vocab/
Dvocab-annotator-impl.cc49 !ParseLocales(model->triggering_locales()->c_str(), in Create()
/external/libtextclassifier/native/actions/
Dgrammar-actions.cc138 if (!ParseLocales(conversation.messages.back().detected_text_language_tags, in SuggestActions()
Dactions-suggestions.cc273 !ParseLocales(model_->locales()->c_str(), &locales_)) { in ValidateAndInitialize()
1334 if (!ParseLocales( in GatherActionsSuggestions()
/external/libtextclassifier/native/utils/intents/
Dintent-generator.cc166 if (!ParseLocales(status_or_locales_str.ValueOrDie(), &locales)) { in ParseDeviceLocales()
/external/libtextclassifier/native/annotator/translate/
Dtranslate.cc51 if (!ParseLocales(user_familiar_language_tags, &user_familiar_languages)) { in ClassifyText()
/external/libtextclassifier/native/annotator/
Dannotator.cc516 !ParseLocales(model_->triggering_locales()->c_str(), in ValidateAndInitialize()
524 !ParseLocales(model_->triggering_options()->locales()->c_str(), in ValidateAndInitialize()
532 !ParseLocales(model_->triggering_options()->dictionary_locales()->c_str(), in ValidateAndInitialize()
830 if (!ParseLocales(options.detected_text_language_tags, in SuggestSelection()
1742 if (!ParseLocales(options.detected_text_language_tags, in ClassifyText()
2169 if (!ParseLocales(options.detected_text_language_tags, in AnnotateSingleInput()