Searched refs:idLen (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/common/ |
D | uloc.cpp | 1243 int32_t idLen = 0; in ulocimp_getScript() local 1250 while(!_isTerminator(localeID[idLen]) && !_isIDSeparator(localeID[idLen]) in ulocimp_getScript() 1251 && uprv_isASCIILetter(localeID[idLen])) { in ulocimp_getScript() 1252 idLen++; in ulocimp_getScript() 1256 if (idLen == 4) { in ulocimp_getScript() 1259 *pEnd = localeID+idLen; in ulocimp_getScript() 1261 if(idLen > scriptCapacity) { in ulocimp_getScript() 1262 idLen = scriptCapacity; in ulocimp_getScript() 1264 if (idLen >= 1) { in ulocimp_getScript() 1267 for (i = 1; i < idLen; i++) { in ulocimp_getScript() [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 | 757 int32_t idLen = 0; in getID() local 761 id = ures_getStringByIndex(top, i, &idLen, &ec); in getID() 766 unistr.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getID() 1039 int32_t idLen = 0; in getEquivalentID() local 1040 const UChar* id2 = ures_getStringByIndex(ares, zone, &idLen, &ec); in getEquivalentID() 1041 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 | 529 int32_t idLen; in TestGetSetDateAPI() local 625 idLen = ucal_getTimeZoneID(caldef2, id, UPRV_LENGTHOF(id), &status); in TestGetSetDateAPI() 626 (void)idLen; /* Suppress set but not used warning. */ in TestGetSetDateAPI() 649 idLen = ucal_getTimeZoneID(caldef2, id, UPRV_LENGTHOF(id), &status); in TestGetSetDateAPI()
|