Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/common/
Dlocalebuilder.cpp208 CharString locale_str("und-u-", errorCode); in _setUnicodeExtensions() local
209 locale_str.append(value, errorCode); in _setUnicodeExtensions()
211 Locale::forLanguageTag(locale_str.data(), errorCode), nullptr, in _setUnicodeExtensions()
436 CharString locale_str(language_, errorCode); in build() local
438 locale_str.append('-', errorCode).append(StringPiece(script_), errorCode); in build()
441 locale_str.append('-', errorCode).append(StringPiece(region_), errorCode); in build()
444 locale_str.append('-', errorCode).append(StringPiece(variant_->data()), errorCode); in build()
449 Locale product(locale_str.data()); in build()
/third_party/skia/third_party/externals/icu/source/common/
Dlocalebuilder.cpp208 CharString locale_str("und-u-", errorCode); in _setUnicodeExtensions() local
209 locale_str.append(value, errorCode); in _setUnicodeExtensions()
211 Locale::forLanguageTag(locale_str.data(), errorCode), nullptr, in _setUnicodeExtensions()
436 CharString locale_str(language_, errorCode); in build() local
438 locale_str.append('-', errorCode).append(StringPiece(script_), errorCode); in build()
441 locale_str.append('-', errorCode).append(StringPiece(region_), errorCode); in build()
444 locale_str.append('-', errorCode).append(StringPiece(variant_->data()), errorCode); in build()
449 Locale product(locale_str.data()); in build()
/third_party/node/deps/icu-small/source/common/
Dlocalebuilder.cpp208 CharString locale_str("und-u-", errorCode); in _setUnicodeExtensions() local
209 locale_str.append(value, errorCode); in _setUnicodeExtensions()
211 Locale::forLanguageTag(locale_str.data(), errorCode), nullptr, in _setUnicodeExtensions()
436 CharString locale_str(language_, errorCode); in build() local
438 locale_str.append('-', errorCode).append(StringPiece(script_), errorCode); in build()
441 locale_str.append('-', errorCode).append(StringPiece(region_), errorCode); in build()
444 locale_str.append('-', errorCode).append(StringPiece(variant_->data()), errorCode); in build()
449 Locale product(locale_str.data()); in build()
/third_party/icu/icu4c/source/test/intltest/
Dloctest.cpp6023 std::string locale_str; in TestBug11053UnderlineTimeZone() local
6025 locale_str = "en-u-tz-"; in TestBug11053UnderlineTimeZone()
6026 locale_str += tz_in_ext[i]; in TestBug11053UnderlineTimeZone()
6027 Locale l(locale_str.c_str()); in TestBug11053UnderlineTimeZone()
6028 assertTrue((locale_str + " !l.isBogus()").c_str(), !l.isBogus()); in TestBug11053UnderlineTimeZone()
6031 locale_str = "en@timezone="; in TestBug11053UnderlineTimeZone()
6032 locale_str += tzname_with_underline[i]; in TestBug11053UnderlineTimeZone()
6033 Locale l(locale_str.c_str()); in TestBug11053UnderlineTimeZone()
6034 assertTrue((locale_str + " !l.isBogus()").c_str(), !l.isBogus()); in TestBug11053UnderlineTimeZone()
6036 locale_str = "en_US@timezone=America/Coral_Harbour"; in TestBug11053UnderlineTimeZone()
[all …]
/third_party/node/deps/v8/src/objects/
Djs-segmenter.cc67 Handle<String> locale_str = in New() local
115 segmenter->set_locale(*locale_str); in New()
Djs-break-iterator.cc111 Handle<String> locale_str = in New() local
119 break_iterator_holder->set_locale(*locale_str); in New()
Djs-list-format.cc99 Handle<String> locale_str = in New() local
139 list_format->set_locale(*locale_str); in New()
Djs-locale.cc347 Handle<String> locale_str, in New() argument
351 ApplyOptionsToTag(isolate, locale_str, options, &builder); in New()
842 std::string locale_str = JSLocale::ToString(locale); in ToString() local
843 return isolate->factory()->NewStringFromAsciiChecked(locale_str.c_str()); in ToString()
Djs-plural-rules.cc116 Handle<String> locale_str = in New() local
180 plural_rules->set_locale(*locale_str); in New()
Djs-collator.cc539 Handle<String> locale_str = isolate->factory()->NewStringFromAsciiChecked( in New() local
546 collator->set_locale(*locale_str); in New()
Djs-relative-time-format.cc138 Handle<String> locale_str = isolate->factory()->NewStringFromAsciiChecked( in New() local
227 relative_time_format_holder->set_locale(*locale_str); in New()
Dintl-objects.cc744 Handle<String> locale_str; in CanonicalizeLanguageTag() local
753 locale_str = Handle<String>::cast(locale_in); in CanonicalizeLanguageTag()
755 ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate, locale_str, in CanonicalizeLanguageTag()
763 std::string locale(locale_str->ToCString().get()); in CanonicalizeLanguageTag()
Djs-number-format.cc1192 Handle<String> locale_str = isolate->factory()->NewStringFromAsciiChecked( in New() local
1636 number_format->set_locale(*locale_str); in New()
Djs-date-time-format.cc1915 Handle<String> locale_str = isolate->factory()->NewStringFromAsciiChecked( in New() local
1941 date_time_format->set_locale(*locale_str); in New()