Home
last modified time | relevance | path

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

/external/libtextclassifier/datetime/
Dparser.cc125 for (const int locale_id : locale_ids) { in FindSpansUsingLocales() local
126 auto rules_it = locale_to_rules_.find(locale_id); in FindSpansUsingLocales()
144 reference_timezone, reference_locale, locale_id, in FindSpansUsingLocales()
212 const std::string& reference_locale, int locale_id, in HandleParseMatch() argument
227 reference_locale, locale_id, &(parse_result.data), in HandleParseMatch()
247 const std::string& reference_locale, const int locale_id, in ParseWithRule() argument
255 reference_timezone, reference_locale, locale_id, in ParseWithRule()
263 reference_timezone, reference_locale, locale_id, in ParseWithRule()
384 int locale_id, DatetimeParseResult* result, in ExtractDatetime() argument
387 DatetimeExtractor extractor(rule, matcher, locale_id, unilib_, in ExtractDatetime()
Dparser.h80 const std::string& reference_locale, const int locale_id,
89 const std::string& reference_locale, int locale_id,
98 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/v8/src/runtime/
Druntime-i18n.cc79 v8::String::Utf8Value locale_id(v8::Utils::ToLocal(locale_id_str)); in RUNTIME_FUNCTION() local
90 uloc_forLanguageTag(*locale_id, icu_result, ULOC_FULLNAME_CAPACITY, in RUNTIME_FUNCTION()
191 Handle<Object> locale_id; in RUNTIME_FUNCTION() local
193 isolate, locale_id, JSReceiver::GetElement(isolate, input, i)); in RUNTIME_FUNCTION()
194 if (!locale_id->IsString()) { in RUNTIME_FUNCTION()
199 v8::Utils::ToLocal(Handle<String>::cast(locale_id))); in RUNTIME_FUNCTION()