Home
last modified time | relevance | path

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

/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/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/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/icu/icu4c/source/test/intltest/
Dloctest.cpp5954 std::string locale_str; in TestBug11053UnderlineTimeZone() local
5956 locale_str = "en-u-tz-"; in TestBug11053UnderlineTimeZone()
5957 locale_str += tz_in_ext[i]; in TestBug11053UnderlineTimeZone()
5958 Locale l(locale_str.c_str()); in TestBug11053UnderlineTimeZone()
5959 assertTrue((locale_str + " !l.isBogus()").c_str(), !l.isBogus()); in TestBug11053UnderlineTimeZone()
5962 locale_str = "en@timezone="; in TestBug11053UnderlineTimeZone()
5963 locale_str += tzname_with_underline[i]; in TestBug11053UnderlineTimeZone()
5964 Locale l(locale_str.c_str()); in TestBug11053UnderlineTimeZone()
5965 assertTrue((locale_str + " !l.isBogus()").c_str(), !l.isBogus()); in TestBug11053UnderlineTimeZone()
5967 locale_str = "en_US@timezone=America/Coral_Harbour"; in TestBug11053UnderlineTimeZone()
[all …]