Searched defs:resLen (Results 1 - 10 of 10) sorted by relevance

/external/icu/icu4c/source/common/
H A Dlocmap.c1037 int32_t resLen = uprv_strlen(pPosixID); local
1038 int32_t copyLen = resLen <= posixIDCapacity ? resLen : posixIDCapacity;
1040 if (resLen < posixIDCapacity) {
1041 posixID[resLen] = 0;
1045 } else if (resLen == posixIDCapacity) {
1050 return resLen;
H A Dloclikely.cpp47 int32_t resLen = 0; local
52 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr);
63 else if (resLen >= bufferLength) {
68 u_UCharsToChars(s, buffer, resLen + 1);
/external/icu/icu4c/source/i18n/
H A Dgender.cpp142 int32_t resLen = 0; local
145 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &key_status);
152 resLen = 0;
153 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &key_status);
161 u_UCharsToChars(s, type_str, resLen + 1);
H A Dcompactdecimalformat.cpp715 int32_t resLen; local
716 const UChar* formatStrP = ures_getString(variantBundle, &resLen, &status);
721 UnicodeString formatStr(false, formatStrP, resLen);
H A Dplurrule.cpp645 int32_t resLen=0; local
647 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode);
658 resLen=0;
659 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &status);
672 u_UCharsToChars(s, setKey, resLen + 1);
H A Ducurr.cpp554 int32_t resLen = 0; local
560 if ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus))) {
562 if(buffCapacity > resLen) {
565 u_charsToUChars(id, buff, resLen);
595 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus);
607 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus);
628 if(buffCapacity > resLen) {
633 return u_terminateUChars(buff, buffCapacity, resLen, ec);
638 return resLen;
2385 int32_t resLen local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Ducaconf.cpp223 int32_t resLen = withSortKeys ? coll->getSortKey(buffer, buflen, newSk, 1024) : 0; local
266 prettify(CollationKey(newSk, resLen), newS);
286 oldLen = resLen;
H A Dloctest.cpp2348 int32_t resLen = 0; local
2358 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2359 if (resLen != 0) {
2370 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2383 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2396 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2410 resLen = ucurr_forLocaleAndDate("eo_AD", date, 1, TMP, 4, &status);
2416 resLen = ucurr_forLocaleAndDate("eo_AD", date, 2, TMP, 4, &status);
2422 resLen = ucurr_forLocaleAndDate("eo_AD", date, 3, TMP, 4, &status);
2428 resLen
[all...]
H A Dtsmthred.cpp1182 int32_t resLen = coll->getSortKey(lines[i].buff, lines[i].buflen, newSk, 1024); local
1215 oldLen = resLen;
/external/icu/icu4c/source/test/cintltst/
H A Dcbiditst.c4643 int32_t i, srcLen, resLen, idx; local
4685 resLen = ubidi_getResultLength(pBiDi);
4688 if (memcmp(expectedVisualMap, actualVisualMap, resLen * sizeof(int32_t))) {
4703 formatMap(expectedVisualMap, resLen, expChars),
4704 formatMap(actualVisualMap, resLen, actChars),
4741 for (i = 0; i < resLen; i++) {
4746 if (memcmp(actualVisualMap, getIndexMap, resLen * sizeof(int32_t))) {
4761 formatMap(actualVisualMap, resLen, actChars),
4762 formatMap(getIndexMap, resLen, gotChars),

Completed in 1402 milliseconds