Home
last modified time | relevance | path

Searched refs:idLen (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/common/
Duloc.cpp1269 int32_t idLen = 0; in ulocimp_getScript() local
1276 while(!_isTerminator(localeID[idLen]) && !_isIDSeparator(localeID[idLen]) in ulocimp_getScript()
1277 && uprv_isASCIILetter(localeID[idLen])) { in ulocimp_getScript()
1278 idLen++; in ulocimp_getScript()
1282 if (idLen == 4) { in ulocimp_getScript()
1285 *pEnd = localeID+idLen; in ulocimp_getScript()
1287 if(idLen > scriptCapacity) { in ulocimp_getScript()
1288 idLen = scriptCapacity; in ulocimp_getScript()
1290 if (idLen >= 1) { in ulocimp_getScript()
1293 for (i = 1; i < idLen; i++) { in ulocimp_getScript()
[all …]
/external/icu/icu4c/source/i18n/
Dzonemeta.cpp489 int32_t idLen = 0; in getCanonicalCountry() local
496 const UChar *primaryZone = ures_getStringByKey(rb, regionBuf, &idLen, &status); in getCanonicalCountry()
498 if (tzid.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
504 if (U_SUCCESS(status) && canonicalID.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
Dtimezone.cpp740 int32_t idLen = 0; in getID() local
744 id = ures_getStringByIndex(top, i, &idLen, &ec); in getID()
749 unistr.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getID()
1030 int32_t idLen = 0; in getEquivalentID() local
1031 const UChar* id = ures_getStringByIndex(ares, zone, &idLen, &ec); in getEquivalentID()
1032 result.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getEquivalentID()
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp187 int idLen = (int) uprv_strlen(id); in parseFilename() local
188 char* localeID = (char*) uprv_malloc(idLen); in parseFilename()
200 pos = idLen; in parseFilename()
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c502 int32_t idLen; in TestGetSetDateAPI() local
594 idLen = ucal_getTimeZoneID(caldef2, id, sizeof(id)/sizeof(id[0]), &status); in TestGetSetDateAPI()
595 (void)idLen; /* Suppress set but not used warning. */ in TestGetSetDateAPI()
618 idLen = ucal_getTimeZoneID(caldef2, id, sizeof(id)/sizeof(id[0]), &status); in TestGetSetDateAPI()