Searched refs:idLen (Results 1 – 7 of 7) sorted by relevance
/external/icu/icu4c/source/common/ |
D | uloc.cpp | 1261 int32_t idLen = 0; in ulocimp_getScript() local 1268 while(!_isTerminator(localeID[idLen]) && !_isIDSeparator(localeID[idLen]) in ulocimp_getScript() 1269 && uprv_isASCIILetter(localeID[idLen])) { in ulocimp_getScript() 1270 idLen++; in ulocimp_getScript() 1274 if (idLen == 4) { in ulocimp_getScript() 1277 *pEnd = localeID+idLen; in ulocimp_getScript() 1279 if(idLen > scriptCapacity) { in ulocimp_getScript() 1280 idLen = scriptCapacity; in ulocimp_getScript() 1282 if (idLen >= 1) { in ulocimp_getScript() 1285 for (i = 1; i < idLen; i++) { in ulocimp_getScript() [all …]
|
D | simplepatternformatter.cpp | 27 SimplePatternFormatterIdBuilder() : id(0), idLen(0) { } in SimplePatternFormatterIdBuilder() 31 void reset() { id = 0; idLen = 0; } in reset() 42 UBool isValid() const { return (idLen > 0); } in isValid() 49 int32_t idLen; member in SimplePatternFormatterIdBuilder 60 for (int32_t i = origLen + idLen - 1; i >= origLen; i--) { in appendTo() 65 *len = origLen + idLen; in appendTo() 70 idLen++; in add()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | SimplePatternFormatter.java | 315 private int idLen = 0; field in SimplePatternFormatter.PlaceholderIdBuilder 319 idLen = 0; in reset() 327 if (idLen > 0) { in appendTo() 333 return idLen > 0; in isValid() 338 idLen++; in add()
|
/external/icu/icu4c/source/i18n/ |
D | zonemeta.cpp | 489 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()
|
D | timezone.cpp | 740 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/ |
D | wrtxml.cpp | 187 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/ |
D | ccaltst.c | 502 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()
|