Searched refs:resLen (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/third_party/icu/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 Ducurr.cpp550 int32_t resLen = 0; local
556 if ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus))) {
558 if(buffCapacity > resLen) {
561 u_charsToUChars(id, buff, resLen);
591 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus);
603 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus);
624 if(buffCapacity > resLen) {
629 return u_terminateUChars(buff, buffCapacity, resLen, ec);
634 return resLen;
2328 int32_t resLen local
[all...]
H A Dplurrule.cpp582 int32_t resLen=0; local
584 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode);
595 resLen=0;
596 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &status);
609 u_UCharsToChars(s, setKey, resLen + 1);
H A Dcompactdecimalformat.cpp717 int32_t resLen; local
718 const UChar* formatStrP = ures_getString(variantBundle, &resLen, &status);
723 UnicodeString formatStr(false, formatStrP, resLen);
H A Ducol_bld.cpp549 uint32_t u_toLargeKana(const UChar *source, const uint32_t sourceLen, UChar *resBuf, const uint32_t resLen, UErrorCode *status) { argument
557 if(sourceLen > resLen) {
584 uint32_t u_toSmallKana(const UChar *source, const uint32_t sourceLen, UChar *resBuf, const uint32_t resLen, UErrorCode *status) { argument
592 if(sourceLen > resLen) {
/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 Ducurr.cpp550 int32_t resLen = 0; local
556 if ((resLen = uloc_getKeywordValue(locale, "currency", id, ULOC_FULLNAME_CAPACITY, &localStatus))) {
558 if(buffCapacity > resLen) {
561 u_charsToUChars(id, buff, resLen);
591 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus);
603 s = ures_getStringByKey(currencyReq, "id", &resLen, &localStatus);
624 if(buffCapacity > resLen) {
629 return u_terminateUChars(buff, buffCapacity, resLen, ec);
634 return resLen;
2328 int32_t resLen local
[all...]
H A Dplurrule.cpp685 int32_t resLen=0; local
687 const UChar* s = ures_getStringByKey(locRes.getAlias(), curLocaleName, &resLen, &errCode);
698 resLen=0;
699 s = ures_getStringByKey(locRes.getAlias(), parentLocaleName, &resLen, &status);
712 u_UCharsToChars(s, setKey, resLen + 1);
H A Dcompactdecimalformat.cpp717 int32_t resLen; local
718 const UChar* formatStrP = ures_getString(variantBundle, &resLen, &status);
723 UnicodeString formatStr(false, formatStrP, resLen);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dloctest.cpp2225 int32_t resLen = 0; local
2235 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2236 if (resLen != 0) {
2247 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2260 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2273 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2287 resLen = ucurr_forLocaleAndDate("eo_AD", date, 1, TMP, 4, &status);
2293 resLen = ucurr_forLocaleAndDate("eo_AD", date, 2, TMP, 4, &status);
2299 resLen = ucurr_forLocaleAndDate("eo_AD", date, 3, TMP, 4, &status);
2305 resLen
[all...]
H A Ducaconf.cpp229 int32_t resLen = coll->getSortKey(buffer, buflen, newSk, 1024); local
262 prettify(CollationKey(newSk, resLen), newS);
281 oldLen = resLen;
H A Dtsmthred.cpp1164 int32_t resLen = coll->getSortKey(lines[i].buff, lines[i].buflen, newSk, 1024); local
1197 oldLen = resLen;
/external/icu/icu4c/source/test/intltest/
H A Dloctest.cpp2225 int32_t resLen = 0; local
2235 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2236 if (resLen != 0) {
2247 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2260 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2273 resLen = ucurr_forLocaleAndDate("eo_AM", date, index, TMP, 4, &status);
2287 resLen = ucurr_forLocaleAndDate("eo_AD", date, 1, TMP, 4, &status);
2293 resLen = ucurr_forLocaleAndDate("eo_AD", date, 2, TMP, 4, &status);
2299 resLen = ucurr_forLocaleAndDate("eo_AD", date, 3, TMP, 4, &status);
2305 resLen
[all...]
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 Dtsmthred.cpp1169 int32_t resLen = coll->getSortKey(lines[i].buff, lines[i].buflen, newSk, 1024); local
1202 oldLen = resLen;
/external/chromium_org/third_party/icu/source/common/
H A Dlocmap.c1045 int32_t resLen = uprv_strlen(pPosixID); local
1046 int32_t copyLen = resLen <= posixIDCapacity ? resLen : posixIDCapacity;
1048 if (resLen < posixIDCapacity) {
1049 posixID[resLen] = 0;
1053 } else if (resLen == posixIDCapacity) {
1058 return resLen;
H A Dloclikely.cpp45 int32_t resLen = 0; local
50 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr);
61 else if (resLen >= bufferLength) {
66 u_UCharsToChars(s, buffer, resLen + 1);
/external/icu/icu4c/source/common/
H A Dlocmap.c1040 int32_t resLen = uprv_strlen(pPosixID); local
1041 int32_t copyLen = resLen <= posixIDCapacity ? resLen : posixIDCapacity;
1043 if (resLen < posixIDCapacity) {
1044 posixID[resLen] = 0;
1048 } else if (resLen == posixIDCapacity) {
1053 return resLen;
H A Dloclikely.cpp45 int32_t resLen = 0; local
50 s = ures_getStringByKey(subtags, localeID, &resLen, &tmpErr);
61 else if (resLen >= bufferLength) {
66 u_UCharsToChars(s, buffer, resLen + 1);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcbiditst.c4401 int32_t i, srcLen, resLen, idx; local
4443 resLen = ubidi_getResultLength(pBiDi);
4446 if (memcmp(expectedVisualMap, actualVisualMap, resLen * sizeof(int32_t))) {
4461 formatMap(expectedVisualMap, resLen, expChars),
4462 formatMap(actualVisualMap, resLen, actChars),
4499 for (i = 0; i < resLen; i++) {
4504 if (memcmp(actualVisualMap, getIndexMap, resLen * sizeof(int32_t))) {
4519 formatMap(actualVisualMap, resLen, actChars),
4520 formatMap(getIndexMap, resLen, gotChars),
/external/icu/icu4c/source/test/cintltst/
H A Dcbiditst.c4641 int32_t i, srcLen, resLen, idx; local
4683 resLen = ubidi_getResultLength(pBiDi);
4686 if (memcmp(expectedVisualMap, actualVisualMap, resLen * sizeof(int32_t))) {
4701 formatMap(expectedVisualMap, resLen, expChars),
4702 formatMap(actualVisualMap, resLen, actChars),
4739 for (i = 0; i < resLen; i++) {
4744 if (memcmp(actualVisualMap, getIndexMap, resLen * sizeof(int32_t))) {
4759 formatMap(actualVisualMap, resLen, actChars),
4760 formatMap(getIndexMap, resLen, gotChars),

Completed in 3948 milliseconds