Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 2 of 2) sorted by relevance

/scripts/mod/
Dmodpost.c1299 Elf64_Sword distance = 20; in find_elf_symbol() local
1324 if (d < distance) { in find_elf_symbol()
1325 distance = d; in find_elf_symbol()
1330 if (distance < 20) in find_elf_symbol()
1347 Elf_Addr distance = ~0; in find_elf_symbol2() local
1360 if ((addr - sym->st_value) < distance) { in find_elf_symbol2()
1361 distance = addr - sym->st_value; in find_elf_symbol2()
1363 } else if ((addr - sym->st_value) == distance) { in find_elf_symbol2()
/scripts/
Dcheckpatch.pl690 my @distance;
694 $distance[$i][$j] = $j;
696 $distance[$i][$j] = $i;
698 $distance[$i][$j] = $distance[$i - 1][$j - 1];
700 my $dist1 = $distance[$i][$j - 1]; #insert distance
701 my $dist2 = $distance[$i - 1][$j]; # remove
702 my $dist3 = $distance[$i - 1][$j - 1]; #replace
703 $distance[$i][$j] = 1 + edit_distance_min($dist1, $dist2, $dist3);
707 return $distance[$len1][$len2];