/external/icu/icu4c/source/i18n/ |
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()
|
D | plurrule.cpp | 811 int32_t resLen=0; in getRuleFromResource() local 813 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode); in getRuleFromResource() 824 resLen=0; in getRuleFromResource() 825 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &status); in getRuleFromResource() 838 u_UCharsToChars(s, setKey, resLen + 1); in getRuleFromResource()
|
/external/icu/icu4c/source/common/ |
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()
|
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()
|
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() 592 return u_terminateUChars(buff, buffCapacity, resLen, ec); in ucurr_forLocale() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | loctest.cpp | 4944 int32_t resLen = 0; in TestCurrencyByDate() local 4954 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 4955 if (resLen != 0) { in TestCurrencyByDate() 4966 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 4979 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 4992 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status); in TestCurrencyByDate() 5006 resLen = ucurr_forLocaleAndDate("eo_AD", date, 1, TMP, 4, &status); in TestCurrencyByDate() 5012 resLen = ucurr_forLocaleAndDate("eo_AD", date, 2, TMP, 4, &status); in TestCurrencyByDate() 5018 resLen = ucurr_forLocaleAndDate("eo_AD", date, 3, TMP, 4, &status); in TestCurrencyByDate() 5024 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 | 751 int32_t resLen = coll->getSortKey(lines[i].buff, lines[i].buflen, newSk, 1024); in run() local 784 oldLen = resLen; in run()
|
/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 | 4651 int32_t i, srcLen, resLen, idx; in checkMaps() local 4693 resLen = ubidi_getResultLength(pBiDi); in checkMaps() 4696 if (memcmp(expectedVisualMap, actualVisualMap, resLen * sizeof(int32_t))) { in checkMaps() 4711 formatMap(expectedVisualMap, resLen, expChars), in checkMaps() 4712 formatMap(actualVisualMap, resLen, actChars), in checkMaps() 4749 for (i = 0; i < resLen; i++) { in checkMaps() 4754 if (memcmp(actualVisualMap, getIndexMap, resLen * sizeof(int32_t))) { in checkMaps() 4769 formatMap(actualVisualMap, resLen, actChars), in checkMaps() 4770 formatMap(getIndexMap, resLen, gotChars), in checkMaps()
|
/external/starlark-go/starlark/ |
D | library.go | 2077 resLen := len(res) 2078 for i := 0; i < resLen/2; i++ { 2079 res[i], res[resLen-1-i] = res[resLen-1-i], res[i]
|