Searched refs:locale_id (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/annotator/datetime/ |
D | parser.cc | 130 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()
|
D | parser.h | 90 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,
|
D | extractor.h | 49 int locale_id, const UniLib& unilib, in DatetimeExtractor() argument 57 locale_id_(locale_id), in DatetimeExtractor()
|
/external/libcups/cups/ |
D | testlang.c | 167 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/ |
D | resources.cc | 88 for (const int locale_id : *resources->Get(i)->locale()) { in BestResourceForLocales() 90 locales[user_locale], resources_->locale()->Get(locale_id)); in BestResourceForLocales()
|