Lines Matching refs:region
19 language(nullptr), script(nullptr), region(r), in LSR()
20 regionIndex(indexForRegion(region)), flags(f) { in LSR()
35 language(other.language), script(other.script), region(other.region), owned(other.owned), in LSR()
53 region = other.region; in operator =()
72 (regionIndex > 0 || uprv_strcmp(region, other.region) == 0); in isEquivalentTo()
81 (regionIndex > 0 || uprv_strcmp(region, other.region) == 0) && in operator ==()
85 int32_t LSR::indexForRegion(const char *region) { in indexForRegion() argument
86 int32_t c = region[0]; in indexForRegion()
89 int32_t b = region[1] - '0'; in indexForRegion()
91 c = region[2] - '0'; in indexForRegion()
92 if (c < 0 || 9 < c || region[3] != 0) { return 0; } in indexForRegion()
97 int32_t b = uprv_upperOrdinal(region[1]); in indexForRegion()
98 if (b < 0 || 25 < b || region[2] != 0) { return 0; } in indexForRegion()