/external/icu/icu4c/source/test/intltest/ |
D | loctest.cpp | 2348 int32_t resLen = 0; in TestCurrencyByDate() local 2358 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 2359 if (resLen != 0) { in TestCurrencyByDate() 2370 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 2383 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 2396 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 2410 resLen = ucurr_forLocaleAndDate("eo_AD", date, 1, TMP, 4, &status); in TestCurrencyByDate() 2416 resLen = ucurr_forLocaleAndDate("eo_AD", date, 2, TMP, 4, &status); in TestCurrencyByDate() 2422 resLen = ucurr_forLocaleAndDate("eo_AD", date, 3, TMP, 4, &status); in TestCurrencyByDate() 2428 resLen = ucurr_forLocaleAndDate("eo_AD", date, 4, TMP, 4, &status); in TestCurrencyByDate() [all …]
|
D | ucaconf.cpp | 223 int32_t resLen = withSortKeys ? coll->getSortKey(buffer, buflen, newSk, 1024) : 0; in testConformance() local 266 prettify(CollationKey(newSk, resLen), newS); in testConformance() 286 oldLen = resLen; in testConformance()
|
D | tsmthred.cpp | 925 int32_t resLen = coll->getSortKey(lines[i].buff, lines[i].buflen, newSk, 1024); in run() local 958 oldLen = resLen; in run()
|
/external/icu/icu4c/source/i18n/ |
D | gender.cpp | 142 int32_t resLen = 0; in loadInstance() local 145 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &key_status); in loadInstance() 152 resLen = 0; in loadInstance() 153 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &key_status); in loadInstance() 161 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
|
D | ucurr.cpp | 554 int32_t resLen = 0; in ucurr_forLocale() local 560 …if ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus)))… in ucurr_forLocale() 562 if(buffCapacity > resLen) { in ucurr_forLocale() 565 u_charsToUChars(id, buff, resLen); in ucurr_forLocale() 595 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale() 607 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale() 628 if(buffCapacity > resLen) { in ucurr_forLocale() 633 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale() 638 return resLen; in ucurr_forLocale() 2385 int32_t resLen = 0; in ucurr_forLocaleAndDate() local [all …]
|
D | plurrule.cpp | 658 int32_t resLen=0; in getRuleFromResource() local 660 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource() 671 resLen=0; in getRuleFromResource() 672 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &status); in getRuleFromResource() 685 u_UCharsToChars(s, setKey, resLen + 1); in getRuleFromResource()
|
D | compactdecimalformat.cpp | 763 int32_t resLen; in populatePower10() local 764 const UChar* formatStrP = ures_getString(variantBundle, &resLen, &status); in populatePower10() 769 UnicodeString formatStr(false, formatStrP, resLen); in populatePower10()
|
/external/icu/icu4c/source/common/ |
D | locmap.c | 1037 int32_t resLen = uprv_strlen(pPosixID); in uprv_convertToPosix() local 1038 int32_t copyLen = resLen <= posixIDCapacity ? resLen : posixIDCapacity; in uprv_convertToPosix() 1040 if (resLen < posixIDCapacity) { in uprv_convertToPosix() 1041 posixID[resLen] = 0; in uprv_convertToPosix() 1045 } else if (resLen == posixIDCapacity) { in uprv_convertToPosix() 1050 return resLen; in uprv_convertToPosix()
|
D | loclikely.cpp | 47 int32_t resLen = 0; in findLikelySubtags() local 52 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr); in findLikelySubtags() 63 else if (resLen >= bufferLength) { in findLikelySubtags() 68 u_UCharsToChars(s, buffer, resLen + 1); in findLikelySubtags()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestReorderingMode.java | 619 int i, srcLen, resLen, index; in checkMaps() local 646 resLen = bidi.getResultLength(); in checkMaps() 681 getIndexMap = new int[resLen]; in checkMaps() 682 for (i = 0; i < resLen; i++) { in checkMaps()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestReorderingMode.java | 623 int i, srcLen, resLen, index; in checkMaps() local 650 resLen = bidi.getResultLength(); in checkMaps() 685 getIndexMap = new int[resLen]; in checkMaps() 686 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 | 4643 int32_t i, srcLen, resLen, idx; in checkMaps() local 4685 resLen = ubidi_getResultLength(pBiDi); in checkMaps() 4688 if (memcmp(expectedVisualMap, actualVisualMap, resLen * sizeof(int32_t))) { in checkMaps() 4703 formatMap(expectedVisualMap, resLen, expChars), in checkMaps() 4704 formatMap(actualVisualMap, resLen, actChars), in checkMaps() 4741 for (i = 0; i < resLen; i++) { in checkMaps() 4746 if (memcmp(actualVisualMap, getIndexMap, resLen * sizeof(int32_t))) { in checkMaps() 4761 formatMap(actualVisualMap, resLen, actChars), in checkMaps() 4762 formatMap(getIndexMap, resLen, gotChars), in checkMaps()
|