Home
last modified time | relevance | path

Searched refs:ULOC_FULLNAME_CAPACITY (Results 1 – 25 of 43) sorted by relevance

12

/external/icu/icu4c/source/common/
Dlocbased.cpp39 uprv_strncpy(valid, validID, ULOC_FULLNAME_CAPACITY); in setLocaleIDs()
40 valid[ULOC_FULLNAME_CAPACITY-1] = 0; // always terminate in setLocaleIDs()
43 uprv_strncpy(actual, actualID, ULOC_FULLNAME_CAPACITY); in setLocaleIDs()
44 actual[ULOC_FULLNAME_CAPACITY-1] = 0; // always terminate in setLocaleIDs()
Dloclikely.cpp184 char tagBuffer[ULOC_FULLNAME_CAPACITY]; in createTagStringWithAlternates()
598 char tagBuffer[ULOC_FULLNAME_CAPACITY]; in createLikelySubtagsString()
599 char likelySubtagsBuffer[ULOC_FULLNAME_CAPACITY]; in createLikelySubtagsString()
960 char maximizedTagBuffer[ULOC_FULLNAME_CAPACITY]; in _uloc_minimizeSubtags()
1046 char tagBuffer[ULOC_FULLNAME_CAPACITY]; in _uloc_minimizeSubtags()
1090 char tagBuffer[ULOC_FULLNAME_CAPACITY]; in _uloc_minimizeSubtags()
1135 char tagBuffer[ULOC_FULLNAME_CAPACITY]; in _uloc_minimizeSubtags()
1237 char localeBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_addLikelySubtags()
1261 char localeBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_minimizeSubtags()
1311 char likely[ULOC_FULLNAME_CAPACITY]; in uloc_isRightToLeft()
Dlocdispnames.cpp57 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY); in getDisplayLanguage()
97 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY); in getDisplayScript()
137 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY); in getDisplayCountry()
177 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY); in getDisplayVariant()
217 buffer=result.getBuffer(ULOC_FULLNAME_CAPACITY); in getDisplayName()
355 char localeBuffer[ULOC_FULLNAME_CAPACITY*4]; in _getDisplayNameForComponent()
805 char keywordValue[ULOC_FULLNAME_CAPACITY*4]; in uloc_getDisplayKeywordValue()
806 int32_t capacity = ULOC_FULLNAME_CAPACITY*4; in uloc_getDisplayKeywordValue()
Dlocresdata.cpp53 char explicitFallbackName[ULOC_FULLNAME_CAPACITY] = {0}; in uloc_getTableStringWithFallback()
163 char localeBuffer[ULOC_FULLNAME_CAPACITY]; in _uloc_getOrientationHelper()
Ducnv_imp.h47 char locale[ULOC_FULLNAME_CAPACITY];
Duloc.cpp840 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_getKeywordValue()
1562 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_openKeywords()
1633 char localeBuffer[ULOC_FULLNAME_CAPACITY]; in _canonicalize()
1634 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in _canonicalize()
1985 char tempBuffer[ULOC_FULLNAME_CAPACITY]; in uloc_getVariant()
2112 char langID[ULOC_FULLNAME_CAPACITY]; in uloc_getLCID()
2124 char tmpLocaleID[ULOC_FULLNAME_CAPACITY]; in uloc_getLCID()
2294 char tmp[ULOC_FULLNAME_CAPACITY +1]; in uloc_acceptLanguageFromHTTP()
2436 char tmp[ULOC_FULLNAME_CAPACITY+1]; in uloc_acceptLanguage()
Duscript.c99 char likely[ULOC_FULLNAME_CAPACITY]; in uscript_getCode()
/external/v8/src/runtime/
Druntime-i18n.cc56 char icu_result[ULOC_FULLNAME_CAPACITY]; in RUNTIME_FUNCTION()
59 uloc_forLanguageTag(*locale_id, icu_result, ULOC_FULLNAME_CAPACITY, in RUNTIME_FUNCTION()
65 char result[ULOC_FULLNAME_CAPACITY]; in RUNTIME_FUNCTION()
68 uloc_toLanguageTag(icu_result, result, ULOC_FULLNAME_CAPACITY, TRUE, &error); in RUNTIME_FUNCTION()
99 char result[ULOC_FULLNAME_CAPACITY]; in RUNTIME_FUNCTION()
107 uloc_toLanguageTag(icu_name, result, ULOC_FULLNAME_CAPACITY, FALSE, &error); in RUNTIME_FUNCTION()
132 char result[ULOC_FULLNAME_CAPACITY]; in RUNTIME_FUNCTION()
134 uloc_toLanguageTag(default_locale.getName(), result, ULOC_FULLNAME_CAPACITY, in RUNTIME_FUNCTION()
174 char icu_locale[ULOC_FULLNAME_CAPACITY]; in RUNTIME_FUNCTION()
176 uloc_forLanguageTag(*utf8_locale_id, icu_locale, ULOC_FULLNAME_CAPACITY, in RUNTIME_FUNCTION()
[all …]
/external/v8/src/
Di18n.cc204 char result[ULOC_FULLNAME_CAPACITY]; in SetResolvedDateSettings()
207 icu_locale.getName(), result, ULOC_FULLNAME_CAPACITY, FALSE, &status); in SetResolvedDateSettings()
448 char result[ULOC_FULLNAME_CAPACITY]; in SetResolvedNumberSettings()
451 icu_locale.getName(), result, ULOC_FULLNAME_CAPACITY, FALSE, &status); in SetResolvedNumberSettings()
619 char result[ULOC_FULLNAME_CAPACITY]; in SetResolvedCollatorSettings()
622 icu_locale.getName(), result, ULOC_FULLNAME_CAPACITY, FALSE, &status); in SetResolvedCollatorSettings()
679 char result[ULOC_FULLNAME_CAPACITY]; in SetResolvedBreakIteratorSettings()
682 icu_locale.getName(), result, ULOC_FULLNAME_CAPACITY, FALSE, &status); in SetResolvedBreakIteratorSettings()
719 char icu_result[ULOC_FULLNAME_CAPACITY]; in InitializeDateTimeFormat()
723 uloc_forLanguageTag(*bcp47_locale, icu_result, ULOC_FULLNAME_CAPACITY, in InitializeDateTimeFormat()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dformat.h296 char actualLocale[ULOC_FULLNAME_CAPACITY];
297 char validLocale[ULOC_FULLNAME_CAPACITY];
Ddcfmtsym.h422 char actualLocale[ULOC_FULLNAME_CAPACITY];
423 char validLocale[ULOC_FULLNAME_CAPACITY];
Ddtfmtsym.h859 char validLocale[ULOC_FULLNAME_CAPACITY];
860 char actualLocale[ULOC_FULLNAME_CAPACITY];
/external/icu/icu4c/source/common/unicode/
Dbrkiter.h631 char actualLocale[ULOC_FULLNAME_CAPACITY];
632 char validLocale[ULOC_FULLNAME_CAPACITY];
Dlocid.h748 char fullNameBuffer[ULOC_FULLNAME_CAPACITY];
/external/icu/icu4c/source/i18n/
Ducurr.cpp376 char variant[ULOC_FULLNAME_CAPACITY]; in idForLocale()
412 char id[ULOC_FULLNAME_CAPACITY];
500 char id[ULOC_FULLNAME_CAPACITY]; in ucurr_register()
559 char id[ULOC_FULLNAME_CAPACITY]; in ucurr_forLocale()
560 …if ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus)))… in ucurr_forLocale()
709 char loc[ULOC_FULLNAME_CAPACITY]; in ucurr_getName()
792 char loc[ULOC_FULLNAME_CAPACITY]; in ucurr_getPluralName()
905 char locale[ULOC_FULLNAME_CAPACITY]; in getCurrencyNameCount()
996 char loc[ULOC_FULLNAME_CAPACITY]; in collectCurrencyNames()
1394 char locale[ULOC_FULLNAME_CAPACITY]; //key
[all …]
Ddtitvinf.cpp213 #define ULOC_LOCALE_IDENTIFIER_CAPACITY (ULOC_FULLNAME_CAPACITY + 1 + ULOC_KEYWORD_AND_VALUES_CAPAC…
223 char parentLocale[ULOC_FULLNAME_CAPACITY]; in initializeData()
341 … (U_SUCCESS(status) && status != U_USING_FALLBACK_WARNING && locNameLen < ULOC_FULLNAME_CAPACITY) { in initializeData()
351 uloc_getParent(curLocaleName, parentLocale, ULOC_FULLNAME_CAPACITY, &status); in initializeData()
Dgender.cpp148 char parentLocaleName[ULOC_FULLNAME_CAPACITY]; in loadInstance()
150 …while (s == NULL && uloc_getParent(parentLocaleName, parentLocaleName, ULOC_FULLNAME_CAPACITY, &ke… in loadInstance()
Dcollationruleparser.cpp605 char localeID[ULOC_FULLNAME_CAPACITY]; in parseSetting()
607 int32_t length = uloc_forLanguageTag(lang.data(), localeID, ULOC_FULLNAME_CAPACITY, in parseSetting()
610 parsedLength != lang.length() || length >= ULOC_FULLNAME_CAPACITY) { in parseSetting()
616 char baseID[ULOC_FULLNAME_CAPACITY]; in parseSetting()
617 length = uloc_getBaseName(localeID, baseID, ULOC_FULLNAME_CAPACITY, &errorCode); in parseSetting()
Dulocdata.c192 char fullLoc[ULOC_FULLNAME_CAPACITY]; in measurementTypeBundleForLocale()
200 uloc_addLikelySubtags(localeID, fullLoc, ULOC_FULLNAME_CAPACITY, status); in measurementTypeBundleForLocale()
Dlocdspnm.cpp561 char buffer[ULOC_FULLNAME_CAPACITY]; in localeDisplayName()
564 ncat(buffer, ULOC_FULLNAME_CAPACITY, lang, "_", script, "_", country, (char *)0); in localeDisplayName()
573 ncat(buffer, ULOC_FULLNAME_CAPACITY, lang, "_", script, (char *)0); in localeDisplayName()
581 ncat(buffer, ULOC_FULLNAME_CAPACITY, lang, "_", country, (char*)0); in localeDisplayName()
Ducal.cpp128 #define ULOC_LOCALE_IDENTIFIER_CAPACITY (ULOC_FULLNAME_CAPACITY + 1 + ULOC_KEYWORD_AND_VALUES_CAPAC…
672 char prefRegion[ULOC_FULLNAME_CAPACITY] = ""; in ucal_getKeywordValuesForLocale()
676 char loc[ULOC_FULLNAME_CAPACITY] = ""; in ucal_getKeywordValuesForLocale()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c687 char fromCountry[ULOC_FULLNAME_CAPACITY], toCountry[ULOC_FULLNAME_CAPACITY]; in TestConsistentCountryInfo()
690 char fromVariant[ULOC_FULLNAME_CAPACITY], toVariant[ULOC_FULLNAME_CAPACITY]; in TestConsistentCountryInfo()
698 … fromCountryLen = uloc_getCountry(fromLocale, fromCountry, ULOC_FULLNAME_CAPACITY, &errorCode); in TestConsistentCountryInfo()
703 … fromVariantLen = uloc_getVariant(fromLocale, fromVariant, ULOC_FULLNAME_CAPACITY, &errorCode); in TestConsistentCountryInfo()
714 toCountryLen = uloc_getCountry(toLocale, toCountry, ULOC_FULLNAME_CAPACITY, &errorCode); in TestConsistentCountryInfo()
725 toVariantLen = uloc_getVariant(toLocale, toVariant, ULOC_FULLNAME_CAPACITY, &errorCode); in TestConsistentCountryInfo()
1077 char fullLoc[ULOC_FULLNAME_CAPACITY]; in VerifyTranslation()
1081 uloc_addLikelySubtags(currLoc, fullLoc, ULOC_FULLNAME_CAPACITY, &errorCode); in VerifyTranslation()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterConstants.java21 static final int ULOC_FULLNAME_CAPACITY = 56; field
/external/icu/icu4c/source/test/intltest/
Dwinutil.cpp38 char localeID[ULOC_FULLNAME_CAPACITY]; in EnumLocalesProc()
Dlocnmtst.cpp362 UChar nameBuf[ULOC_FULLNAME_CAPACITY]; in TestUldnDisplayContext()
363 …dn_localeDisplayName(uldn, ctxtItemPtr->localeToBeNamed, nameBuf, ULOC_FULLNAME_CAPACITY, &status); in TestUldnDisplayContext()

12