Searched refs:rgLen (Results 1 – 1 of 1) sorted by relevance
/external/icu/icu4c/source/common/ |
D | loclikely.cpp | 1351 int32_t rgLen = uloc_getKeywordValue(localeID, "rg", rgBuf, ULOC_RG_BUFLEN, &rgStatus); in ulocimp_getRegionForSupplementalData() local 1352 if (U_FAILURE(rgStatus) || rgLen != 6) { in ulocimp_getRegionForSupplementalData() 1353 rgLen = 0; in ulocimp_getRegionForSupplementalData() 1360 rgLen = (uprv_strcmp(rgBuf+2, "ZZZZ") == 0)? 2: 0; in ulocimp_getRegionForSupplementalData() 1363 if (rgLen == 0) { in ulocimp_getRegionForSupplementalData() 1365 rgLen = uloc_getCountry(localeID, rgBuf, ULOC_RG_BUFLEN, status); in ulocimp_getRegionForSupplementalData() 1367 rgLen = 0; in ulocimp_getRegionForSupplementalData() 1368 } else if (rgLen == 0 && inferRegion) { in ulocimp_getRegionForSupplementalData() 1374 rgLen = uloc_getCountry(locBuf, rgBuf, ULOC_RG_BUFLEN, status); in ulocimp_getRegionForSupplementalData() 1376 rgLen = 0; in ulocimp_getRegionForSupplementalData() [all …]
|