Lines Matching refs:shiftedThreshold
112 int32_t shiftedThreshold, in getBestIndexAndDistance() argument
157 int32_t roundedThreshold = (shiftedThreshold + DISTANCE_FRACTION_MASK) >> DISTANCE_SHIFT; in getBestIndexAndDistance()
216 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
219 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance()
224 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
229 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
232 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance()
234 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
237 } else if (shiftedDistance == shiftedThreshold && bestIndex >= 0) { in getBestIndexAndDistance()
240 isMatch(supported, desired, shiftedThreshold, favorSubtag)) { in getBestIndexAndDistance()
254 (bestIndex << INDEX_SHIFT) | shiftedThreshold : in getBestIndexAndDistance()