Lines Matching refs:idLen
1262 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()
1291 idLen = 0; in ulocimp_getScript()
1293 return idLen; in ulocimp_getScript()
1301 int32_t idLen=0; in ulocimp_getCountry() local
1306 while(!_isTerminator(localeID[idLen]) && !_isIDSeparator(localeID[idLen])) { in ulocimp_getCountry()
1307 if(idLen<(ULOC_COUNTRY_CAPACITY-1)) { /*CWB*/ in ulocimp_getCountry()
1308 cnty[idLen]=(char)uprv_toupper(localeID[idLen]); in ulocimp_getCountry()
1310 idLen++; in ulocimp_getCountry()
1314 if (idLen == 2 || idLen == 3) { in ulocimp_getCountry()
1317 if(idLen==3) { in ulocimp_getCountry()
1320 idLen=_copyCount(country, countryCapacity, COUNTRIES[offset]); in ulocimp_getCountry()
1326 for (i = 0; i < idLen; i++) { in ulocimp_getCountry()
1332 localeID+=idLen; in ulocimp_getCountry()
1334 idLen = 0; in ulocimp_getCountry()
1341 return idLen; in ulocimp_getCountry()