Home
last modified time | relevance | path

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

/external/libtextclassifier/utils/i18n/
Dlocale.h82 bool ParseLocales(StringPiece locales_list, std::vector<Locale>* locales);
Dlocale.cc180 bool ParseLocales(StringPiece locales_list, std::vector<Locale>* locales) { in ParseLocales() function
/external/libtextclassifier/annotator/
Dannotator.cc438 !ParseLocales(model_->triggering_locales()->c_str(), in ValidateAndInitialize()
446 !ParseLocales(model_->triggering_options()->locales()->c_str(), in ValidateAndInitialize()
454 !ParseLocales(model_->triggering_options()->dictionary_locales()->c_str(), in ValidateAndInitialize()
667 if (!ParseLocales(options.detected_text_language_tags, in SuggestSelection()
1487 if (!ParseLocales(options.detected_text_language_tags, in ClassifyText()
1787 if (!ParseLocales(options.detected_text_language_tags, in Annotate()
/external/libtextclassifier/actions/
Dactions-suggestions.cc245 !ParseLocales(model_->locales()->c_str(), &locales_)) { in ValidateAndInitialize()
1345 if (!ParseLocales(conversation.messages[i].detected_text_language_tags, in GatherActionsSuggestions()
/external/libtextclassifier/utils/intents/
Dintent-generator.cc827 if (!ParseLocales(reinterpret_cast<const char*>(locales_str.get()), in ParseDeviceLocales()