Lines Matching full:distance
171 Consummed = std::distance(Name.begin(), NamePos);
416 // Find the unicode character whose editing distance to Pattern
421 // sorted by distance
422 // The worst match (with the biggest distance) are discarded when new elements
428 auto Insert = [&](const Node &Node, uint32_t Distance,
430 if (Distance > LargestEditDistance) {
433 LargestEditDistance = Distance;
445 Matches, Distance,
446 [&](const MatchForCodepointName &a, std::size_t Distance) {
447 if (Distance == a.Distance)
449 return a.Distance < Distance;
454 MatchForCodepointName M{GetName(), Distance, Value};