Searched refs:regionLen (Results 1 – 3 of 3) sorted by relevance
/external/icu4c/i18n/ |
D | tzgnames.cpp | 422 int32_t regionLen = uprv_strlen(region); in initialize() local 423 if (regionLen == 0) { in initialize() 427 regionLen = uloc_getCountry(loc, fTargetRegion, sizeof(fTargetRegion), &status); in initialize() 429 fTargetRegion[regionLen] = 0; in initialize() 434 } else if (regionLen < (int32_t)sizeof(fTargetRegion)) { in initialize()
|
D | tzfmt.cpp | 253 int32_t regionLen = uprv_strlen(region); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local 254 if (regionLen == 0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 258 regionLen = uloc_getCountry(loc, fTargetRegion, sizeof(fTargetRegion), &status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 260 fTargetRegion[regionLen] = 0; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 264 } else if (regionLen < (int32_t)sizeof(fTargetRegion)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
|
D | calendar.cpp | 253 int32_t regionLen = 0; in getCalendarTypeForLocale() local 254 regionLen = uloc_getCountry(canonicalName, region, sizeof(region) - 1, &status); in getCalendarTypeForLocale() 255 if (regionLen == 0) { in getCalendarTypeForLocale() 258 regionLen = uloc_getCountry(fullLoc, region, sizeof(region) - 1, &status); in getCalendarTypeForLocale() 263 region[regionLen] = 0; in getCalendarTypeForLocale()
|