/external/icu/icu4c/source/i18n/ |
D | gender.cpp | 144 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()
|
D | plurrule.cpp | 694 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/ |
D | loctest.cpp | 2569 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 …]
|
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()
|
D | tsmthred.cpp | 877 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/ |
D | locmap.cpp | 1135 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()
|
D | ucurr.cpp | 559 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 …]
|
D | loclikely.cpp | 50 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/ |
D | TestReorderingMode.java | 624 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/ |
D | TestReorderingMode.java | 627 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/ |
D | AbbreviatorTest.java | 134 int resLen = result.length(); in assertUsefulness() local 138 …e("filename=[" + filename + "], result=[" + result + "] resultLength=" + resLen + " fixedLength=" … in assertUsefulness()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiditst.c | 4650 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()
|