Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/datetime/
Dparser.cc130 for (const int locale_id : locale_ids) { in FindSpansUsingLocales() local
131 auto rules_it = locale_to_rules_.find(locale_id); in FindSpansUsingLocales()
154 reference_timezone, reference_locale, locale_id, in FindSpansUsingLocales()
222 const std::string& reference_locale, int locale_id, in HandleParseMatch() argument
238 reference_locale, locale_id, &alternatives, in HandleParseMatch()
264 const std::string& reference_locale, const int locale_id, in ParseWithRule() argument
272 reference_timezone, reference_locale, locale_id, in ParseWithRule()
280 reference_timezone, reference_locale, locale_id, in ParseWithRule()
394 int locale_id, in ExtractDatetime() argument
398 DatetimeExtractor extractor(rule, matcher, locale_id, unilib_, in ExtractDatetime()
Dparser.h90 const std::string& reference_locale, const int locale_id,
102 const std::string& reference_locale, int locale_id,
111 const std::string& reference_locale, int locale_id,
Dextractor.h49 int locale_id, const UniLib& unilib, in DatetimeExtractor() argument
57 locale_id_(locale_id), in DatetimeExtractor()
/external/libcups/cups/
Dtestlang.c167 CFStringRef locale_id, /* Current locale ID */ in main() local
194 locale_id = CFArrayGetValueAtIndex(locales, j); in main()
195 … language_id = CFLocaleCreateCanonicalLanguageIdentifierFromString(kCFAllocatorDefault, locale_id); in main()
197 …if (!locale_id || !CFStringGetCString(locale_id, locale_str, (CFIndex)sizeof(locale_str), kCFStrin… in main()
/external/libtextclassifier/utils/
Dresources.cc88 for (const int locale_id : *resources->Get(i)->locale()) { in BestResourceForLocales()
90 locales[user_locale], resources_->locale()->Get(locale_id)); in BestResourceForLocales()