Home
last modified time | relevance | path

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

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