Home
last modified time | relevance | path

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

/external/libcups/cups/
Dtestlang.c169 char locale_str[256], /* Locale ID C string */ in main() local
197 …if (!locale_id || !CFStringGetCString(locale_id, locale_str, (CFIndex)sizeof(locale_str), kCFStrin… in main()
206 printf("%d %s: FAIL (unable to get language ID string)\n", (int)j + 1, locale_str); in main()
213 …L (unable to convert language ID string to POSIX locale)\n", (int)j + 1, locale_str, language_str); in main()
225 …printf("%d %s(%s): FAIL (unable to load POSIX locale \"%s\")\n", (int)j + 1, locale_str, language_… in main()
232 … FAIL (unable to load POSIX locale \"%s\", got \"%s\")\n", (int)j + 1, locale_str, language_str, b… in main()
237 …printf("%d %s(%s): PASS (POSIX locale is \"%s\")\n", (int)j + 1, locale_str, language_str, buffer); in main()
/external/libtextclassifier/utils/i18n/
Dlocale.cc181 for (const auto& locale_str : strings::Split(locales_list, ',')) { in ParseLocales() local
182 const Locale locale = Locale::FromBCP47(locale_str.ToString()); in ParseLocales()
184 TC3_LOG(ERROR) << "Invalid locale " << locale_str.ToString(); in ParseLocales()
/external/libtextclassifier/annotator/datetime/
Dparser.cc299 for (const StringPiece& locale_str : split_locales) { in ParseAndExpandLocales() local
300 auto locale_it = locale_string_to_id_.find(locale_str.ToString()); in ParseAndExpandLocales()
305 const Locale locale = Locale::FromBCP47(locale_str.ToString()); in ParseAndExpandLocales()
/external/v8/src/objects/
Dintl-objects.cc1057 const char* locale_str = uenum_next(en, &length, &status); in GetAvailableLocales() local
1058 while (U_SUCCESS(status) && (locale_str != nullptr)) { in GetAvailableLocales()
1059 std::string locale(locale_str, length); in GetAvailableLocales()
1063 if (Intl::RemoveLocaleScriptTag(locale_str, &shortened_locale)) { in GetAvailableLocales()
1068 locale_str = uenum_next(en, &length, &status); in GetAvailableLocales()
1695 Handle<String> locale_str; in CanonicalizeLanguageTag() local
1704 locale_str = Handle<String>::cast(locale_in); in CanonicalizeLanguageTag()
1706 ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate, locale_str, in CanonicalizeLanguageTag()
1714 std::string locale(locale_str->ToCString().get()); in CanonicalizeLanguageTag()
1732 NewRangeError(MessageTemplate::kInvalidLanguageTag, locale_str), in CanonicalizeLanguageTag()
[all …]
Djs-plural-rules.cc155 Handle<String> locale_str = isolate->factory()->locale_string(); in InitializePluralRules() local
156 Handle<Object> locale_obj = JSObject::GetDataProperty(r, locale_str); in InitializePluralRules()