Home
last modified time | relevance | path

Searched refs:shiftedDistance (Results 1 - 8 of 8) sorted by relevance

/third_party/icu/icu4c/source/common/
H A Dlocdistance.cpp211 int32_t shiftedDistance = shiftDistance(distance); in getBestIndexAndDistance() local
212 if (shiftedDistance == 0) { in getBestIndexAndDistance()
215 shiftedDistance |= (desired.flags ^ supported.flags); in getBestIndexAndDistance()
216 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
220 if (shiftedDistance == 0) { in getBestIndexAndDistance()
224 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
229 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
234 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
237 } else if (shiftedDistance == shiftedThreshold && bestIndex >= 0) { in getBestIndexAndDistance()
H A Dlocdistance.h38 double shiftedDistance = getShiftedDistance(indexAndDistance); in getDistanceDouble() local
39 return shiftedDistance / (1 << DISTANCE_SHIFT); in getDistanceDouble()
/third_party/node/deps/icu-small/source/common/
H A Dlocdistance.cpp211 int32_t shiftedDistance = shiftDistance(distance); in getBestIndexAndDistance() local
212 if (shiftedDistance == 0) { in getBestIndexAndDistance()
215 shiftedDistance |= (desired.flags ^ supported.flags); in getBestIndexAndDistance()
216 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
220 if (shiftedDistance == 0) { in getBestIndexAndDistance()
224 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
229 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
234 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
237 } else if (shiftedDistance == shiftedThreshold && bestIndex >= 0) { in getBestIndexAndDistance()
H A Dlocdistance.h38 double shiftedDistance = getShiftedDistance(indexAndDistance); in getDistanceDouble() local
39 return shiftedDistance / (1 << DISTANCE_SHIFT); in getDistanceDouble()
/third_party/skia/third_party/externals/icu/source/common/
H A Dlocdistance.cpp211 int32_t shiftedDistance = shiftDistance(distance); in getBestIndexAndDistance() local
212 if (shiftedDistance == 0) { in getBestIndexAndDistance()
215 shiftedDistance |= (desired.flags ^ supported.flags); in getBestIndexAndDistance()
216 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
220 if (shiftedDistance == 0) { in getBestIndexAndDistance()
224 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
229 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
234 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
237 } else if (shiftedDistance == shiftedThreshold && bestIndex >= 0) { in getBestIndexAndDistance()
H A Dlocdistance.h38 double shiftedDistance = getShiftedDistance(indexAndDistance); in getDistanceDouble() local
39 return shiftedDistance / (1 << DISTANCE_SHIFT); in getDistanceDouble()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DLocaleDistance.java91 double shiftedDistance = getShiftedDistance(indexAndDistance); in getDistanceDouble()
92 return shiftedDistance / (1 << DISTANCE_SHIFT); in getDistanceDouble()
344 int shiftedDistance = shiftDistance(distance); in getBestIndexAndDistance()
345 if (shiftedDistance == 0) { in getBestIndexAndDistance()
348 shiftedDistance |= (desired.flags ^ supported.flags); in getBestIndexAndDistance()
349 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
353 if (shiftedDistance == 0) { in getBestIndexAndDistance()
357 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
362 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
367 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
H A DLocaleDistance.java93 double shiftedDistance = getShiftedDistance(indexAndDistance); in getDistanceDouble()
94 return shiftedDistance / (1 << DISTANCE_SHIFT); in getDistanceDouble()
349 int shiftedDistance = shiftDistance(distance); in getBestIndexAndDistance()
350 if (shiftedDistance == 0) { in getBestIndexAndDistance()
353 shiftedDistance |= (desired.flags ^ supported.flags); in getBestIndexAndDistance()
354 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
358 if (shiftedDistance == 0) { in getBestIndexAndDistance()
362 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
367 if (shiftedDistance < shiftedThreshold) { in getBestIndexAndDistance()
372 shiftedThreshold = shiftedDistance; in getBestIndexAndDistance()
[all...]

Completed in 6 milliseconds