Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dlocid.cpp534 int32_t variantField; in init() local
596 variantField = 1; /* Usually the 2nd one, except when a script or country is also used. */ in init()
608 variantField++; in init()
611 if (fieldLen[variantField] == 2 || fieldLen[variantField] == 3) { in init()
613 uprv_memcpy(country, field[variantField], fieldLen[variantField]); in init()
614 country[fieldLen[variantField]] = 0; in init()
615 variantField++; in init()
616 } else if (fieldLen[variantField] == 0) { in init()
617 variantField++; /* script or country empty but variant in next field (i.e. en__POSIX) */ in init()
620 if (fieldLen[variantField] > 0) { in init()
[all …]