Lines Matching refs:tdist
947 INT32 minmaxdist, min_dist, max_dist, tdist; local
983 tdist = (x - minc0) * C0_SCALE;
984 min_dist = tdist * tdist;
985 tdist = (x - maxc0) * C0_SCALE;
986 max_dist = tdist * tdist;
990 tdist = (x - maxc0) * C0_SCALE;
991 min_dist = tdist * tdist;
992 tdist = (x - minc0) * C0_SCALE;
993 max_dist = tdist * tdist;
1001 tdist = (x - maxc0) * C0_SCALE;
1002 max_dist = tdist * tdist;
1006 tdist = (x - minc0) * C0_SCALE;
1007 max_dist = tdist * tdist;
1018 tdist = (x - minc1) * C1_SCALE;
1019 min_dist += tdist * tdist;
1020 tdist = (x - maxc1) * C1_SCALE;
1021 max_dist += tdist * tdist;
1025 tdist = (x - maxc1) * C1_SCALE;
1026 min_dist += tdist * tdist;
1027 tdist = (x - minc1) * C1_SCALE;
1028 max_dist += tdist * tdist;
1035 tdist = (x - maxc1) * C1_SCALE;
1036 max_dist += tdist * tdist;
1040 tdist = (x - minc1) * C1_SCALE;
1041 max_dist += tdist * tdist;
1052 tdist = (x - minc2) * C2_SCALE;
1053 min_dist += tdist * tdist;
1054 tdist = (x - maxc2) * C2_SCALE;
1055 max_dist += tdist * tdist;
1059 tdist = (x - maxc2) * C2_SCALE;
1060 min_dist += tdist * tdist;
1061 tdist = (x - minc2) * C2_SCALE;
1062 max_dist += tdist * tdist;
1069 tdist = (x - maxc2) * C2_SCALE;
1070 max_dist += tdist * tdist;
1074 tdist = (x - minc2) * C2_SCALE;
1075 max_dist += tdist * tdist;