Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/datetime/
Dregex-parser.cc137 for (const int locale_id : locale_ids) { in FindSpansUsingLocales() local
138 auto rules_it = locale_to_rules_.find(locale_id); in FindSpansUsingLocales()
162 reference_timezone, reference_locale, locale_id, in FindSpansUsingLocales()
233 int locale_id) const { in HandleParseMatch()
251 reference_locale, locale_id, &alternatives, in HandleParseMatch()
280 const int locale_id, in ParseWithRule() argument
289 reference_timezone, reference_locale, locale_id); in ParseWithRule()
296 reference_timezone, reference_locale, locale_id)); in ParseWithRule()
359 const std::string& reference_locale, int locale_id, in ExtractDatetime() argument
363 DatetimeExtractor extractor(rule, matcher, locale_id, &unilib_, in ExtractDatetime()
Dregex-parser.h87 const std::string& reference_locale, const int locale_id,
95 const std::string& reference_locale, int locale_id,
103 const std::string& reference_locale, int locale_id) const;
Dextractor.h49 int locale_id, const UniLib* unilib, in DatetimeExtractor() argument
57 locale_id_(locale_id), in DatetimeExtractor()
/external/libcups/cups/
Dtestlang.c193 CFStringRef locale_id, /* Current locale ID */ in main() local
220 locale_id = CFArrayGetValueAtIndex(locales, j); in main()
221 … language_id = CFLocaleCreateCanonicalLanguageIdentifierFromString(kCFAllocatorDefault, locale_id); in main()
223 …if (!locale_id || !CFStringGetCString(locale_id, locale_str, (CFIndex)sizeof(locale_str), kCFStrin… in main()
/external/icu/icu4c/source/test/fuzzer/
Duloc_for_language_tag_fuzzer.cpp11 char locale_id[ULOC_FULLNAME_CAPACITY]; in LLVMFuzzerTestOneInput() local
17 uloc_forLanguageTag(input.c_str(), locale_id, locale_id_capacity, nullptr, in LLVMFuzzerTestOneInput()
/external/libtextclassifier/native/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()
/external/llvm-project/openmp/runtime/src/
Dkmp_i18n.cpp283 LCID locale_id = GetThreadLocale(); in __kmp_i18n_do_catopen() local
284 WORD lang_id = LANGIDFROMLCID(locale_id); in __kmp_i18n_do_catopen()
339 (unsigned long)(locale_id), name); in __kmp_i18n_do_catopen()