Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dsimplepatternformatter.cpp24 SimplePatternFormatterIdBuilder() : id(0), idLen(0) { } in SimplePatternFormatterIdBuilder()
26 void reset() { id = 0; idLen = 0; } in reset()
29 UBool isValid() const { return (idLen > 0); } in isValid()
33 int32_t idLen; member in SimplePatternFormatterIdBuilder
44 for (int32_t i = origLen + idLen - 1; i >= origLen; i--) { in appendTo()
49 *len = origLen + idLen; in appendTo()
54 idLen++; in add()
Duloc.cpp1262 int32_t idLen = 0; in ulocimp_getScript() local
1269 while(!_isTerminator(localeID[idLen]) && !_isIDSeparator(localeID[idLen]) in ulocimp_getScript()
1270 && uprv_isASCIILetter(localeID[idLen])) { in ulocimp_getScript()
1271 idLen++; in ulocimp_getScript()
1275 if (idLen == 4) { in ulocimp_getScript()
1278 *pEnd = localeID+idLen; in ulocimp_getScript()
1280 if(idLen > scriptCapacity) { in ulocimp_getScript()
1281 idLen = scriptCapacity; in ulocimp_getScript()
1283 if (idLen >= 1) { in ulocimp_getScript()
1286 for (i = 1; i < idLen; i++) { in ulocimp_getScript()
[all …]
/external/chromium_org/third_party/icu/source/common/
Duloc.cpp1262 int32_t idLen = 0; in ulocimp_getScript() local
1269 while(!_isTerminator(localeID[idLen]) && !_isIDSeparator(localeID[idLen]) in ulocimp_getScript()
1270 && uprv_isASCIILetter(localeID[idLen])) { in ulocimp_getScript()
1271 idLen++; in ulocimp_getScript()
1275 if (idLen == 4) { in ulocimp_getScript()
1278 *pEnd = localeID+idLen; in ulocimp_getScript()
1280 if(idLen > scriptCapacity) { in ulocimp_getScript()
1281 idLen = scriptCapacity; in ulocimp_getScript()
1283 if (idLen >= 1) { in ulocimp_getScript()
1286 for (i = 1; i < idLen; i++) { in ulocimp_getScript()
[all …]
/external/srec/srec/AcousticModels/include/
DSR_AcousticModels.h178 …AcousticModelsGetID(SR_AcousticModels* self, size_t index, SR_AcousticModelID* id, size_t* idLen);
/external/icu/icu4c/source/i18n/
Dzonemeta.cpp491 int32_t idLen = 0; in getCanonicalCountry() local
498 const UChar *primaryZone = ures_getStringByKey(rb, regionBuf, &idLen, &status); in getCanonicalCountry()
500 if (tzid.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
506 if (U_SUCCESS(status) && canonicalID.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
Dtimezone.cpp718 int32_t idLen = 0; in getID() local
722 id = ures_getStringByIndex(top, i, &idLen, &ec); in getID()
727 unistr.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getID()
1008 int32_t idLen = 0; in getEquivalentID() local
1009 const UChar* id = ures_getStringByIndex(ares, zone, &idLen, &ec); in getEquivalentID()
1010 result.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getEquivalentID()
/external/chromium_org/third_party/icu/source/i18n/
Dzonemeta.cpp493 int32_t idLen = 0; in getCanonicalCountry() local
500 const UChar *primaryZone = ures_getStringByKey(rb, regionBuf, &idLen, &status); in getCanonicalCountry()
502 if (tzid.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
508 if (U_SUCCESS(status) && canonicalID.compare(primaryZone, idLen) == 0) { in getCanonicalCountry()
Dtimezone.cpp718 int32_t idLen = 0; in getID() local
722 id = ures_getStringByIndex(top, i, &idLen, &ec); in getID()
727 unistr.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getID()
1008 int32_t idLen = 0; in getEquivalentID() local
1009 const UChar* id = ures_getStringByIndex(ares, zone, &idLen, &ec); in getEquivalentID()
1010 result.fastCopyFrom(UnicodeString(TRUE, id, idLen)); in getEquivalentID()
/external/chromium_org/third_party/icu/source/tools/genrb/
Dwrtxml.cpp177 int idLen = (int) uprv_strlen(id); in parseFilename() local
178 char* localeID = (char*) uprv_malloc(idLen); in parseFilename()
190 pos = idLen; in parseFilename()
/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()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dccaltst.c501 int32_t idLen; in TestGetSetDateAPI() local
593 idLen = ucal_getTimeZoneID(caldef2, id, sizeof(id)/sizeof(id[0]), &status); in TestGetSetDateAPI()
594 (void)idLen; /* Suppress set but not used warning. */ in TestGetSetDateAPI()
617 idLen = ucal_getTimeZoneID(caldef2, id, sizeof(id)/sizeof(id[0]), &status); in TestGetSetDateAPI()