Lines Matching refs:idLen
1256 int32_t idLen = 0; in ulocimp_getScript() local
1263 while(!_isTerminator(localeID[idLen]) && !_isIDSeparator(localeID[idLen]) in ulocimp_getScript()
1264 && uprv_isASCIILetter(localeID[idLen])) { in ulocimp_getScript()
1265 idLen++; in ulocimp_getScript()
1269 if (idLen == 4) { in ulocimp_getScript()
1272 *pEnd = localeID+idLen; in ulocimp_getScript()
1274 if(idLen > scriptCapacity) { in ulocimp_getScript()
1275 idLen = scriptCapacity; in ulocimp_getScript()
1277 if (idLen >= 1) { in ulocimp_getScript()
1280 for (i = 1; i < idLen; i++) { in ulocimp_getScript()
1285 idLen = 0; in ulocimp_getScript()
1287 return idLen; in ulocimp_getScript()
1295 int32_t idLen=0; in ulocimp_getCountry() local
1300 while(!_isTerminator(localeID[idLen]) && !_isIDSeparator(localeID[idLen])) { in ulocimp_getCountry()
1301 if(idLen<(ULOC_COUNTRY_CAPACITY-1)) { /*CWB*/ in ulocimp_getCountry()
1302 cnty[idLen]=(char)uprv_toupper(localeID[idLen]); in ulocimp_getCountry()
1304 idLen++; in ulocimp_getCountry()
1308 if (idLen == 2 || idLen == 3) { in ulocimp_getCountry()
1311 if(idLen==3) { in ulocimp_getCountry()
1314 idLen=_copyCount(country, countryCapacity, COUNTRIES[offset]); in ulocimp_getCountry()
1320 for (i = 0; i < idLen; i++) { in ulocimp_getCountry()
1326 localeID+=idLen; in ulocimp_getCountry()
1328 idLen = 0; in ulocimp_getCountry()
1335 return idLen; in ulocimp_getCountry()