Searched refs:idLen (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/common/ |
D | uloc.cpp | 1190 int32_t idLen = 0; in ulocimp_getScript() local 1197 while(!_isTerminator(localeID[idLen]) && !_isIDSeparator(localeID[idLen]) in ulocimp_getScript() 1198 && uprv_isASCIILetter(localeID[idLen])) { in ulocimp_getScript() 1199 idLen++; in ulocimp_getScript() 1203 if (idLen == 4) { in ulocimp_getScript() 1206 *pEnd = localeID+idLen; in ulocimp_getScript() 1208 if (idLen >= 1) { in ulocimp_getScript() 1211 for (i = 1; i < idLen; i++) { in ulocimp_getScript() 1224 int32_t idLen=0; in ulocimp_getCountry() local 1227 while(!_isTerminator(localeID[idLen]) && !_isIDSeparator(localeID[idLen])) { in ulocimp_getCountry() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | zonemeta.cpp | 498 int32_t idLen = 0; in getCanonicalCountry() local 505 const UChar *primaryZone = ures_getStringByKey(rb, regionBuf, &idLen, &status); in getCanonicalCountry() 507 if (tzid.compare(primaryZone, idLen) == 0) { in getCanonicalCountry() 513 if (U_SUCCESS(status) && canonicalID.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
|
D | timezone.cpp | 775 int32_t idLen = 0; in getID() local 779 id = ures_getStringByIndex(top, i, &idLen, &ec); in getID() 784 unistr.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getID() 1057 int32_t idLen = 0; in getEquivalentID() local 1058 const UChar* id2 = ures_getStringByIndex(ares, zone, &idLen, &ec); in getEquivalentID() 1059 result.fastCopyFrom(UnicodeString(TRUE, id2, idLen)); in getEquivalentID()
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtxml.cpp | 189 int idLen = (int) uprv_strlen(id); in parseFilename() local 190 char* localeID = (char*) uprv_malloc(idLen); in parseFilename() 202 pos = idLen; in parseFilename()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 530 int32_t idLen; in TestGetSetDateAPI() local 626 idLen = ucal_getTimeZoneID(caldef2, id, UPRV_LENGTHOF(id), &status); in TestGetSetDateAPI() 627 (void)idLen; /* Suppress set but not used warning. */ in TestGetSetDateAPI() 650 idLen = ucal_getTimeZoneID(caldef2, id, UPRV_LENGTHOF(id), &status); in TestGetSetDateAPI()
|