Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dlocid.cpp508 int32_t variantField; in init() local
570 variantField = 1; /* Usually the 2nd one, except when a script or country is also used. */ in init()
582 variantField++; in init()
585 if (fieldLen[variantField] == 2 || fieldLen[variantField] == 3) { in init()
587 uprv_memcpy(country, field[variantField], fieldLen[variantField]); in init()
588 country[fieldLen[variantField]] = 0; in init()
589 variantField++; in init()
590 } else if (fieldLen[variantField] == 0) { in init()
591 variantField++; /* script or country empty but variant in next field (i.e. en__POSIX) */ in init()
594 if (fieldLen[variantField] > 0) { in init()
[all …]