Home
last modified time | relevance | path

Searched refs:resLen (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/i18n/
Dgender.cpp144 int32_t resLen = 0; in loadInstance() local
147 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &key_status); in loadInstance()
154 resLen = 0; in loadInstance()
155 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &key_status); in loadInstance()
163 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
Dplurrule.cpp694 int32_t resLen=0; in getRuleFromResource() local
696 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource()
707 resLen=0; in getRuleFromResource()
708 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &status); in getRuleFromResource()
721 u_UCharsToChars(s, setKey, resLen + 1); in getRuleFromResource()
/external/icu/icu4c/source/test/intltest/
Dloctest.cpp2569 int32_t resLen = 0; in TestCurrencyByDate() local
2579 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate()
2580 if (resLen != 0) { in TestCurrencyByDate()
2591 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate()
2604 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate()
2617 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate()
2631 resLen = ucurr_forLocaleAndDate("eo_AD", date, 1, TMP, 4, &status); in TestCurrencyByDate()
2637 resLen = ucurr_forLocaleAndDate("eo_AD", date, 2, TMP, 4, &status); in TestCurrencyByDate()
2643 resLen = ucurr_forLocaleAndDate("eo_AD", date, 3, TMP, 4, &status); in TestCurrencyByDate()
2649 resLen = ucurr_forLocaleAndDate("eo_AD", date, 4, TMP, 4, &status); in TestCurrencyByDate()
[all …]
Ducaconf.cpp225 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()
Dtsmthred.cpp877 int32_t resLen = coll->getSortKey(lines[i].buff, lines[i].buflen, newSk, 1024); in run() local
910 oldLen = resLen; in run()
/external/icu/icu4c/source/common/
Dlocmap.cpp1135 int32_t resLen = static_cast<int32_t>(uprv_strlen(pPosixID)); in uprv_convertToPosix() local
1136 int32_t copyLen = resLen <= posixIDCapacity ? resLen : posixIDCapacity; in uprv_convertToPosix()
1138 if (resLen < posixIDCapacity) { in uprv_convertToPosix()
1139 posixID[resLen] = 0; in uprv_convertToPosix()
1143 } else if (resLen == posixIDCapacity) { in uprv_convertToPosix()
1148 return resLen; in uprv_convertToPosix()
Ducurr.cpp559 int32_t resLen = uloc_getKeywordValue(locale, "currency", in ucurr_forLocale() local
561 if (U_SUCCESS(localStatus) && resLen == 3 && uprv_isInvariantString(currency, resLen)) { in ucurr_forLocale()
562 if (resLen < buffCapacity) { in ucurr_forLocale()
564 u_charsToUChars(currency, buff, resLen); in ucurr_forLocale()
566 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
582 resLen = u_strlen(result); in ucurr_forLocale()
583 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale()
604 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale()
614 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale()
636 if(buffCapacity > resLen) { in ucurr_forLocale()
[all …]
Dloclikely.cpp50 int32_t resLen = 0; in findLikelySubtags() local
55 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr); in findLikelySubtags()
66 else if (resLen >= bufferLength) { in findLikelySubtags()
71 u_UCharsToChars(s, buffer, resLen + 1); in findLikelySubtags()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestReorderingMode.java624 int i, srcLen, resLen, index; in checkMaps() local
651 resLen = bidi.getResultLength(); in checkMaps()
686 getIndexMap = new int[resLen]; in checkMaps()
687 for (i = 0; i < resLen; i++) { in checkMaps()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestReorderingMode.java627 int i, srcLen, resLen, index; in checkMaps() local
654 resLen = bidi.getResultLength(); in checkMaps()
689 getIndexMap = new int[resLen]; in checkMaps()
690 for (i = 0; i < resLen; i++) { in checkMaps()
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
DAbbreviatorTest.java134 int resLen = result.length(); in assertUsefulness() local
138 …e("filename=[" + filename + "], result=[" + result + "] resultLength=" + resLen + " fixedLength=" … in assertUsefulness()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c4650 int32_t i, srcLen, resLen, idx; in checkMaps() local
4692 resLen = ubidi_getResultLength(pBiDi); in checkMaps()
4695 if (memcmp(expectedVisualMap, actualVisualMap, resLen * sizeof(int32_t))) { in checkMaps()
4710 formatMap(expectedVisualMap, resLen, expChars), in checkMaps()
4711 formatMap(actualVisualMap, resLen, actChars), in checkMaps()
4748 for (i = 0; i < resLen; i++) { in checkMaps()
4753 if (memcmp(actualVisualMap, getIndexMap, resLen * sizeof(int32_t))) { in checkMaps()
4768 formatMap(actualVisualMap, resLen, actChars), in checkMaps()
4769 formatMap(getIndexMap, resLen, gotChars), in checkMaps()