Searched refs:variantField (Results 1 – 1 of 1) sorted by relevance
499 int32_t variantField; in init() local561 variantField = 1; /* Usually the 2nd one, except when a script or country is also used. */ in init()573 variantField++; in init()576 if (fieldLen[variantField] == 2 || fieldLen[variantField] == 3) { in init()578 uprv_memcpy(country, field[variantField], fieldLen[variantField]); in init()579 country[fieldLen[variantField]] = 0; in init()580 variantField++; in init()581 } else if (fieldLen[variantField] == 0) { in init()582 variantField++; /* script or country empty but variant in next field (i.e. en__POSIX) */ in init()585 if (fieldLen[variantField] > 0) { in init()[all …]