Home
last modified time | relevance | path

Searched refs:regionLen (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/i18n/
Dtzgnames.cpp415 int32_t regionLen = uprv_strlen(region); in initialize() local
416 if (regionLen == 0) { in initialize()
420 regionLen = uloc_getCountry(loc, fTargetRegion, sizeof(fTargetRegion), &status); in initialize()
422 fTargetRegion[regionLen] = 0; in initialize()
427 } else if (regionLen < (int32_t)sizeof(fTargetRegion)) { in initialize()
Dtznames_impl.cpp1854 int32_t regionLen = uprv_strlen(region); in TZDBTimeZoneNames() local
1855 if (regionLen == 0) { in TZDBTimeZoneNames()
1859 regionLen = uloc_getCountry(loc, fRegion, sizeof(fRegion), &status); in TZDBTimeZoneNames()
1860 if (U_SUCCESS(status) && regionLen < (int32_t)sizeof(fRegion)) { in TZDBTimeZoneNames()
1863 } else if (regionLen < (int32_t)sizeof(fRegion)) { in TZDBTimeZoneNames()
Dtzfmt.cpp319 int32_t regionLen = uprv_strlen(region); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
320 if (regionLen == 0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
324 regionLen = uloc_getCountry(loc, fTargetRegion, sizeof(fTargetRegion), &status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
326 fTargetRegion[regionLen] = 0; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
330 } else if (regionLen < (int32_t)sizeof(fTargetRegion)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Dcalendar.cpp287 int32_t regionLen = 0; in getCalendarTypeForLocale() local
288 regionLen = uloc_getCountry(canonicalName, region, sizeof(region) - 1, &status); in getCalendarTypeForLocale()
289 if (regionLen == 0) { in getCalendarTypeForLocale()
292 regionLen = uloc_getCountry(fullLoc, region, sizeof(region) - 1, &status); in getCalendarTypeForLocale()
297 region[regionLen] = 0; in getCalendarTypeForLocale()