• Home
  • Raw
  • Download

Lines Matching refs:desired

110         const LSR &desired,  in getBestIndexAndDistance()  argument
118 int32_t desLangDistance = trieNext(iter, desired.language, false); in getBestIndexAndDistance()
144 if (uprv_strcmp(desired.language, supported.language) == 0) { in getBestIndexAndDistance()
174 if (uprv_strcmp(desired.script, supported.script) == 0) { in getBestIndexAndDistance()
181 desired.script, supported.script); in getBestIndexAndDistance()
190 if (uprv_strcmp(desired.region, supported.region) == 0) { in getBestIndexAndDistance()
207 partitionsForRegion(desired), in getBestIndexAndDistance()
215 shiftedDistance |= (desired.flags ^ supported.flags); in getBestIndexAndDistance()
219 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance()
232 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance()
240 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance()
259 BytesTrie &iter, uint64_t startState, const char *desired, const char *supported) { in getDesSuppScriptDistance() argument
261 int32_t distance = trieNext(iter, desired, false); in getDesSuppScriptDistance()
268 if (uprv_strcmp(desired, supported) == 0) { in getDesSuppScriptDistance()
284 char desired = *desiredPartitions++; in getRegionPartitionsDistance() local
286 U_ASSERT(desired != 0 && supported != 0); in getRegionPartitionsDistance()
293 UStringTrieResult result = iter.next(uprv_invCharToAscii(desired) | END_OF_SUBTAG); in getRegionPartitionsDistance()
310 UStringTrieResult result = iter.next(uprv_invCharToAscii(desired) | END_OF_SUBTAG); in getRegionPartitionsDistance()
344 if ((desired = *desiredPartitions++) != 0) { in getRegionPartitionsDistance()