Home
last modified time | relevance | path

Searched refs:bestWeight (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java181 double bestWeight = 0; in getBestMatch() local
188 if (weight > bestWeight) { in getBestMatch()
189 bestWeight = weight; in getBestMatch()
194 if (bestWeight < threshold) { in getBestMatch()
252 double bestWeight = 0; in getBestMatchInternal() local
267 if (weight > bestWeight) { in getBestMatchInternal()
268 bestWeight = weight; in getBestMatchInternal()
276 if (bestWeight < threshold) { in getBestMatchInternal()
280 outputWeight.value = bestWeight; // only return the weight when needed in getBestMatchInternal()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java185 double bestWeight = 0; in getBestMatch() local
192 if (weight > bestWeight) { in getBestMatch()
193 bestWeight = weight; in getBestMatch()
198 if (bestWeight < threshold) { in getBestMatch()
259 double bestWeight = 0; in getBestMatchInternal() local
274 if (weight > bestWeight) { in getBestMatchInternal()
275 bestWeight = weight; in getBestMatchInternal()
283 if (bestWeight < threshold) { in getBestMatchInternal()
287 outputWeight.value = bestWeight; // only return the weight when needed in getBestMatchInternal()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2415 int bestWeight = -1; in ParseConstraints() local
2453 if (weightSum > bestWeight) { in ParseConstraints()
2454 bestWeight = weightSum; in ParseConstraints()