Searched refs:bestDistance (Results 1 – 2 of 2) sorted by relevance
228 int bestDistance = bestData.mDistance; in compare() local237 ASSERT(bestDistance >= 0); in compare()240 bestDistance += bestDistance; // multiply by 2 in compare()241 bestDistance *= bestDistance; in compare()253 bestDistance += side; in compare()256 bestDistance = SkFixedMul(bestDistance, testMultiplier); in compare()258 if (bestDistance < testDistance) { in compare()262 if (testDistance < bestDistance) in compare()
735 int32_t bestDistance = 0x7fffffff; in getBestRaw() local746 if (distance<bestDistance) { in getBestRaw()747 bestDistance=distance; in getBestRaw()