Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dlocid.cpp1664 int32_t variantField; in init() local
1730 variantField = 1; /* Usually the 2nd one, except when a script or country is also used. */ in init()
1742 variantField++; in init()
1745 if (fieldLen[variantField] == 2 || fieldLen[variantField] == 3) { in init()
1747 uprv_memcpy(country, field[variantField], fieldLen[variantField]); in init()
1748 country[fieldLen[variantField]] = 0; in init()
1749 variantField++; in init()
1750 } else if (fieldLen[variantField] == 0) { in init()
1751 variantField++; /* script or country empty but variant in next field (i.e. en__POSIX) */ in init()
1754 if (fieldLen[variantField] > 0) { in init()
[all …]