/third_party/icu/tools/colprobe/ |
H A D | line.cpp | 537 int32_t resLen = 0; in write() local 539 sprintf(buff+resLen, "%04X", name[0]); in write() 540 resLen += 4; in write() 542 sprintf(buff+resLen, " %04X", name[i]); in write() 543 resLen += 5; in write() 545 sprintf(buff+resLen, "/"); in write() 546 resLen += 1; in write() 550 sprintf(buff+resLen, "%04X", expansionString[0]); in write() 551 resLen += 4; in write() 553 sprintf(buff+resLen, " in write() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | gender.cpp | 145 int32_t resLen = 0; in loadInstance() local 148 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &key_status); in loadInstance() 155 resLen = 0; in loadInstance() 156 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &key_status); in loadInstance() 164 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
|
H A D | plurrule.cpp | 823 int32_t resLen=0; in getRuleFromResource() local 825 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource() 841 resLen=0; in getRuleFromResource() 842 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &status); in getRuleFromResource() 855 u_UCharsToChars(s, setKey, resLen + 1); in getRuleFromResource()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | gender.cpp | 150 int32_t resLen = 0; in loadInstance() local 153 const char16_t* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &key_status); in loadInstance() 166 resLen = 0; in loadInstance() 167 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName.data(), &resLen, &key_status); in loadInstance() 175 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
|
H A D | plurrule.cpp | 827 int32_t resLen=0; in getRuleFromResource() local 829 const char16_t* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource() 845 resLen=0; in getRuleFromResource() 846 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName.data(), &resLen, &status); in getRuleFromResource() 859 u_UCharsToChars(s, setKey, resLen + 1); in getRuleFromResource()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | gender.cpp | 145 int32_t resLen = 0; in loadInstance() local 148 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &key_status); in loadInstance() 155 resLen = 0; in loadInstance() 156 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &key_status); in loadInstance() 164 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
|
H A D | plurrule.cpp | 813 int32_t resLen=0; in getRuleFromResource() local 815 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource() 826 resLen=0; in getRuleFromResource() 827 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &status); in getRuleFromResource() 840 u_UCharsToChars(s, setKey, resLen + 1); in getRuleFromResource()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | loctest.cpp | 5063 int32_t resLen = 0; in TestCurrencyByDate() local 5073 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 5074 if (resLen != 0) { in TestCurrencyByDate() 5085 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 5098 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 5111 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 5125 resLen = ucurr_forLocaleAndDate("eo_AD", date, 1, TMP, 4, &status); in TestCurrencyByDate() 5131 resLen = ucurr_forLocaleAndDate("eo_AD", date, 2, TMP, 4, &status); in TestCurrencyByDate() 5137 resLen = ucurr_forLocaleAndDate("eo_AD", date, 3, TMP, 4, &status); in TestCurrencyByDate() 5143 resLen in TestCurrencyByDate() [all...] |
H A D | ucaconf.cpp | 225 int32_t resLen = withSortKeys ? coll->getSortKey(buffer, buflen, newSk, 1024) : 0; in testConformance() local 268 prettify(CollationKey(newSk, resLen), newS); in testConformance() 288 oldLen = resLen; in testConformance()
|
H A D | tsmthred.cpp | 752 int32_t resLen = coll->getSortKey(lines[i].buff, lines[i].buflen, newSk, 1024); variable 785 oldLen = resLen;
|
/third_party/icu/icu4c/source/common/ |
H A D | locmap.cpp | 1132 int32_t resLen = static_cast<int32_t>(uprv_strlen(pPosixID)); in uprv_convertToPosix() local 1133 int32_t copyLen = resLen <= posixIDCapacity ? resLen : posixIDCapacity; in uprv_convertToPosix() 1135 if (resLen < posixIDCapacity) { in uprv_convertToPosix() 1136 posixID[resLen] = 0; in uprv_convertToPosix() 1140 } else if (resLen == posixIDCapacity) { in uprv_convertToPosix() 1145 return resLen; in uprv_convertToPosix()
|
H A D | loclikely.cpp | 60 int32_t resLen = 0; in findLikelySubtags() local 78 s = ures_getStringByKey(subtags.getAlias(), localeID, &resLen, &tmpErr); in findLikelySubtags() 89 else if (resLen >= bufferLength) { in findLikelySubtags() 94 u_UCharsToChars(s, buffer, resLen + 1); in findLikelySubtags() 95 if (resLen >= 3 && in findLikelySubtags() 97 (resLen == 3 || buffer[3] == '_')) { in findLikelySubtags() 98 uprv_memmove(buffer, buffer + 3, resLen - 3 + 1); in findLikelySubtags()
|
H A D | ucurr.cpp | 525 int32_t resLen = uloc_getKeywordValue(locale, "currency", in ucurr_forLocale() local 527 if (U_SUCCESS(localStatus) && resLen == 3 && uprv_isInvariantString(currency, resLen)) { in ucurr_forLocale() 528 if (resLen < buffCapacity) { in ucurr_forLocale() 530 u_charsToUChars(currency, buff, resLen); in ucurr_forLocale() 532 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale() 548 resLen = u_strlen(result); in ucurr_forLocale() 549 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale() 586 s = ures_getStringByKey(currencyReq.getAlias(), "id", &resLen, &localStatus); in ucurr_forLocale() 611 if(buffCapacity > resLen) { in ucurr_forLocale() 2406 int32_t resLen = 0; ucurr_forLocaleAndDate() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | locmap.cpp | 1132 int32_t resLen = static_cast<int32_t>(uprv_strlen(pPosixID)); in uprv_convertToPosix() local 1133 int32_t copyLen = resLen <= posixIDCapacity ? resLen : posixIDCapacity; in uprv_convertToPosix() 1135 if (resLen < posixIDCapacity) { in uprv_convertToPosix() 1136 posixID[resLen] = 0; in uprv_convertToPosix() 1140 } else if (resLen == posixIDCapacity) { in uprv_convertToPosix() 1145 return resLen; in uprv_convertToPosix()
|
H A D | ucurr.cpp | 532 int32_t resLen = currency.length(); in ucurr_forLocale() local 534 if (U_SUCCESS(localStatus) && resLen == 3 && uprv_isInvariantString(currency.data(), resLen)) { in ucurr_forLocale() 535 if (resLen < buffCapacity) { in ucurr_forLocale() 537 u_charsToUChars(currency.data(), buff, resLen); in ucurr_forLocale() 539 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale() 555 resLen = u_strlen(result); in ucurr_forLocale() 556 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale() 593 s = ures_getStringByKey(currencyReq.getAlias(), "id", &resLen, &localStatus); in ucurr_forLocale() 622 if(buffCapacity > resLen) { in ucurr_forLocale() 2432 int32_t resLen = 0; ucurr_forLocaleAndDate() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | loclikely.cpp | 60 int32_t resLen = 0; in findLikelySubtags() local 78 s = ures_getStringByKey(subtags.getAlias(), localeID, &resLen, &tmpErr); in findLikelySubtags() 89 else if (resLen >= bufferLength) { in findLikelySubtags() 94 u_UCharsToChars(s, buffer, resLen + 1); in findLikelySubtags() 95 if (resLen >= 3 && in findLikelySubtags() 97 (resLen == 3 || buffer[3] == '_')) { in findLikelySubtags() 98 uprv_memmove(buffer, buffer + 3, resLen - 3 + 1); in findLikelySubtags()
|
H A D | locmap.cpp | 1132 int32_t resLen = static_cast<int32_t>(uprv_strlen(pPosixID)); in uprv_convertToPosix() local 1133 int32_t copyLen = resLen <= posixIDCapacity ? resLen : posixIDCapacity; in uprv_convertToPosix() 1135 if (resLen < posixIDCapacity) { in uprv_convertToPosix() 1136 posixID[resLen] = 0; in uprv_convertToPosix() 1140 } else if (resLen == posixIDCapacity) { in uprv_convertToPosix() 1145 return resLen; in uprv_convertToPosix()
|
H A D | ucurr.cpp | 525 int32_t resLen = uloc_getKeywordValue(locale, "currency", in ucurr_forLocale() local 527 if (U_SUCCESS(localStatus) && resLen == 3 && uprv_isInvariantString(currency, resLen)) { in ucurr_forLocale() 528 if (resLen < buffCapacity) { in ucurr_forLocale() 530 u_charsToUChars(currency, buff, resLen); in ucurr_forLocale() 532 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale() 548 resLen = u_strlen(result); in ucurr_forLocale() 549 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale() 570 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale() 588 if(buffCapacity > resLen) { in ucurr_forLocale() 2380 int32_t resLen = 0; ucurr_forLocaleAndDate() local [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/ |
H A D | TestReorderingMode.java | 627 int i, srcLen, resLen, index; in checkMaps() 654 resLen = bidi.getResultLength(); in checkMaps() 689 getIndexMap = new int[resLen]; in checkMaps() 690 for (i = 0; i < resLen; i++) { in checkMaps()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
H A D | TestReorderingMode.java | 624 int i, srcLen, resLen, index; in checkMaps() 651 resLen = bidi.getResultLength(); in checkMaps() 686 getIndexMap = new int[resLen]; in checkMaps() 687 for (i = 0; i < resLen; i++) { in checkMaps()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cbiditst.c | 4663 int32_t i, srcLen, resLen, idx; in checkMaps() local 4705 resLen = ubidi_getResultLength(pBiDi); in checkMaps() 4708 if (memcmp(expectedVisualMap, actualVisualMap, resLen * sizeof(int32_t))) { in checkMaps() 4723 formatMap(expectedVisualMap, resLen, expChars), in checkMaps() 4724 formatMap(actualVisualMap, resLen, actChars), in checkMaps() 4761 for (i = 0; i < resLen; i++) { in checkMaps() 4766 if (memcmp(actualVisualMap, getIndexMap, resLen * sizeof(int32_t))) { in checkMaps() 4781 formatMap(actualVisualMap, resLen, actChars), in checkMaps() 4782 formatMap(getIndexMap, resLen, gotChars), in checkMaps()
|