/external/icu4c/test/intltest/ |
D | loctest.cpp | 2219 int32_t resLen = 0; in TestCurrencyByDate() local 2229 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 2230 if (resLen != 0) { in TestCurrencyByDate() 2241 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 2254 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 2267 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 2281 resLen = ucurr_forLocaleAndDate("eo_AD", date, 1, TMP, 4, &status); in TestCurrencyByDate() 2287 resLen = ucurr_forLocaleAndDate("eo_AD", date, 2, TMP, 4, &status); in TestCurrencyByDate() 2293 resLen = ucurr_forLocaleAndDate("eo_AD", date, 3, TMP, 4, &status); in TestCurrencyByDate() 2299 resLen = ucurr_forLocaleAndDate("eo_AD", date, 4, TMP, 4, &status); in TestCurrencyByDate() [all …]
|
D | ucaconf.cpp | 169 int32_t resLen = 0, oldLen = 0; in testConformance() local 194 resLen = ucol_getSortKey(coll, buffer, buflen, newSk, 1024); in testConformance() 218 prettify(CollationKey(newSk, resLen), newS); in testConformance() 252 oldLen = resLen; in testConformance()
|
D | tsmthred.cpp | 866 int32_t resLen = 0, oldLen = 0; in run() local 870 resLen = ucol_getSortKey(coll, lines[i].buff, lines[i].buflen, newSk, 1024); in run() 912 oldLen = resLen; in run()
|
/external/icu4c/i18n/ |
D | ucurr.cpp | 400 int32_t resLen = 0; in ucurr_forLocale() local 406 …if ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus)))… in ucurr_forLocale() 408 if(buffCapacity > resLen) { in ucurr_forLocale() 411 u_charsToUChars(id, buff, resLen); in ucurr_forLocale() 441 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale() 453 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus); in ucurr_forLocale() 474 if(buffCapacity > resLen) { in ucurr_forLocale() 479 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale() 484 return resLen; in ucurr_forLocale() 2004 int32_t resLen = 0; in ucurr_countCurrencies() local [all …]
|
D | plurrule.cpp | 672 int32_t resLen=0; in getRuleFromResource() local 674 const UChar* s = ures_getStringByKey(locRes, curLocaleName, &resLen, &errCode); in getRuleFromResource() 686 resLen=0; in getRuleFromResource() 687 s = ures_getStringByKey(locRes, parentLocaleName, &resLen, &status); in getRuleFromResource() 703 u_UCharsToChars(s, setKey, resLen + 1); in getRuleFromResource() 713 resLen=0; in getRuleFromResource() 727 resLen=0; in getRuleFromResource() 728 s=ures_getNextString(setRes, &resLen, (const char**)&key, &errCode); in getRuleFromResource() 733 uprv_memcpy(result+len, s, resLen*sizeof(UChar)); in getRuleFromResource() 734 len += resLen; in getRuleFromResource()
|
D | ucol_bld.cpp | 548 …t UChar *source, const uint32_t sourceLen, UChar *resBuf, const uint32_t resLen, UErrorCode *statu… in u_toLargeKana() argument 556 if(sourceLen > resLen) { in u_toLargeKana() 583 …t UChar *source, const uint32_t sourceLen, UChar *resBuf, const uint32_t resLen, UErrorCode *statu… in u_toSmallKana() argument 591 if(sourceLen > resLen) { in u_toSmallKana()
|
/external/icu4c/common/ |
D | loclikely.cpp | 45 int32_t resLen = 0; in findLikelySubtags() local 50 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr); in findLikelySubtags() 61 else if (resLen >= bufferLength) { in findLikelySubtags() 66 u_UCharsToChars(s, buffer, resLen + 1); in findLikelySubtags()
|
/external/icu4c/test/cintltst/ |
D | cbiditst.c | 3970 int32_t i, srcLen, resLen, index; in checkMaps() local 4012 resLen = ubidi_getResultLength(pBiDi); in checkMaps() 4015 if (memcmp(expectedVisualMap, actualVisualMap, resLen * sizeof(int32_t))) { in checkMaps() 4030 formatMap(expectedVisualMap, resLen, expChars), in checkMaps() 4031 formatMap(actualVisualMap, resLen, actChars), in checkMaps() 4068 for (i = 0; i < resLen; i++) { in checkMaps() 4073 if (memcmp(actualVisualMap, getIndexMap, resLen * sizeof(int32_t))) { in checkMaps() 4088 formatMap(actualVisualMap, resLen, actChars), in checkMaps() 4089 formatMap(getIndexMap, resLen, gotChars), in checkMaps()
|