Symbol: distance
games/hunt/hunt/otto.c
110
int distance;
games/hunt/hunt/otto.c
205
if (itemp->distance == -1) {
games/hunt/hunt/otto.c
206
itemp->distance = dist;
games/hunt/hunt/otto.c
220
if (itemp->distance == -1 || (!side
games/hunt/hunt/otto.c
223
itemp->distance = dist;
games/hunt/hunt/otto.c
237
itemp->distance = dist;
games/hunt/hunt/otto.c
250
if (itemp->distance == -1) {
games/hunt/hunt/otto.c
251
itemp->distance = dist;
games/hunt/hunt/otto.c
266
itemp->distance = -1;
games/hunt/hunt/otto.c
287
for (r = row - 1; r > row - itemp->distance; r--)
games/hunt/hunt/otto.c
308
for (r = row + 1; r < row + itemp->distance; r++)
games/hunt/hunt/otto.c
328
for (c = col - 1; c > col - itemp->distance; c--)
games/hunt/hunt/otto.c
348
for (c = col + 1; c < col + itemp->distance; c++)
games/hunt/hunt/otto.c
373
face_and_move_direction(int rel_dir, int distance)
games/hunt/hunt/otto.c
386
if (distance == 0) {
games/hunt/hunt/otto.c
394
while (distance--) {
games/hunt/hunt/otto.c
403
if (distance == 0)
games/hunt/hunt/otto.c
417
} else if (itemp->distance > 1) {
games/hunt/hunt/otto.c
491
if (flbr[i].what == mine && flbr[i].distance < dist) {
games/hunt/hunt/otto.c
493
dist = flbr[i].distance;
games/hunt/hunt/otto.c
500
|| flbr[rel_dir].distance > 1) {
games/hunt/hunt/otto.c
515
if (!(flbr[i].flags & BEEN) || flbr[i].distance <= 1)
games/hunt/hunt/otto.c
522
if (flbr[j].distance <= 1 || flbr[j].flags & DEADEND)
games/phantasia/interplayer.c
997
temp1 = distance(Player.p_x, Enrgyvoid.ev_x, Player.p_y, Enrgyvoid.ev_y);
games/phantasia/macros.h
10
#define CIRCLE(X, Y) floor(distance(X, 0.0, Y, 0.0) / 125.0 + 1)
games/phantasia/main.c
590
if (distance(Player.p_x, x, Player.p_y, y) > MAXMOVE())
games/phantasia/main.c
653
temp = distance(Player.p_x, x, Player.p_y, y);
games/phantasia/phantglobs.h
90
double distance(double, double, double, double);
games/sail/misc.c
62
result = bb = distance(bow2r - bow1r, bow2c - bow1c);
games/sail/misc.c
68
bs = distance((bow2r - stern1r), (bow2c - stern1c));
games/sail/misc.c
69
sb = distance((bow1r - stern2r), (bow1c - stern2c));
games/sail/misc.c
70
ss = distance((stern2r - stern1r) ,(stern2c - stern1c));
lib/libz/deflate.h
344
# define _tr_tally_dist(s, distance, length, flush) \
lib/libz/deflate.h
346
ush dist = (ush)(distance); \
lib/libz/deflate.h
363
# define _tr_tally_dist(s, distance, length, flush) \
lib/libz/deflate.h
365
ush dist = (ush)(distance); \
lib/libz/deflate.h
377
# define _tr_tally_dist(s, distance, length, flush) \
lib/libz/deflate.h
378
flush = _tr_tally(s, distance, length)
sbin/ifconfig/sff.c
567
int distance = value * scale;
sbin/ifconfig/sff.c
572
if (distance < 10000)
sbin/ifconfig/sff.c
573
printf (", %s%u%s", value > 254 ? ">" : "", distance, type);
sbin/ifconfig/sff.c
576
distance / 1000.0, type);
sys/dev/dt/dt_dev.c
815
int prod, cons, distance;
sys/dev/dt/dt_dev.c
829
distance = prod - cons;
sys/dev/dt/dt_dev.c
830
if (distance == 1 || distance == (1 - DT_EVTRING_SIZE)) {
sys/dev/pci/drm/amd/amdgpu/mmhub_v1_7.c
180
uint32_t distance = regDAGB1_WRCLI_GPU_SNOOP_OVERRIDE -
sys/dev/pci/drm/amd/amdgpu/mmhub_v1_7.c
185
regDAGB0_WRCLI_GPU_SNOOP_OVERRIDE, i * distance);
sys/dev/pci/drm/amd/amdgpu/mmhub_v1_7.c
188
regDAGB0_WRCLI_GPU_SNOOP_OVERRIDE, i * distance, tmp);
sys/dev/pci/drm/amd/amdgpu/mmhub_v1_7.c
191
regDAGB0_WRCLI_GPU_SNOOP_OVERRIDE_VALUE, i * distance);
sys/dev/pci/drm/amd/amdgpu/mmhub_v1_7.c
194
regDAGB0_WRCLI_GPU_SNOOP_OVERRIDE_VALUE, i * distance, tmp);
sys/dev/pci/drm/amd/amdgpu/mmhub_v1_8.c
241
uint32_t distance = regDAGB1_WRCLI_GPU_SNOOP_OVERRIDE -
sys/dev/pci/drm/amd/amdgpu/mmhub_v1_8.c
251
regDAGB0_WRCLI_GPU_SNOOP_OVERRIDE, j * distance);
sys/dev/pci/drm/amd/amdgpu/mmhub_v1_8.c
254
regDAGB0_WRCLI_GPU_SNOOP_OVERRIDE, j * distance, tmp);
sys/dev/pci/drm/amd/amdgpu/mmhub_v1_8.c
257
regDAGB0_WRCLI_GPU_SNOOP_OVERRIDE_VALUE, j * distance);
sys/dev/pci/drm/amd/amdgpu/mmhub_v1_8.c
260
regDAGB0_WRCLI_GPU_SNOOP_OVERRIDE_VALUE, j * distance, tmp);
sys/dev/pci/drm/amd/amdgpu/mmhub_v9_4.c
206
uint32_t distance = mmDAGB1_WRCLI_GPU_SNOOP_OVERRIDE -
sys/dev/pci/drm/amd/amdgpu/mmhub_v9_4.c
214
huboffset + i * distance);
sys/dev/pci/drm/amd/amdgpu/mmhub_v9_4.c
218
huboffset + i * distance, tmp);
sys/dev/pci/drm/amd/amdgpu/mmhub_v9_4.c
222
huboffset + i * distance);
sys/dev/pci/drm/amd/amdgpu/mmhub_v9_4.c
226
huboffset + i * distance, tmp);
sys/dev/usb/uwacom.c
232
int i, j, x, y, dx, dy, dz, dw, pressure, distance;
sys/dev/usb/uwacom.c
240
distance = hid_get_data(data, len, &ms->sc_loc_w);
sys/dev/usb/uwacom.c
246
sc->sc_w = distance;
sys/dev/usb/uwacom.c
254
dw = sc->sc_w - distance;
sys/dev/usb/uwacom.c
259
sc->sc_w = distance;
sys/dev/usb/uwacom.c
274
if (x != 0 || y != 0 || pressure != 0 || distance != 0 ||
sys/lib/libz/deflate.h
344
# define _tr_tally_dist(s, distance, length, flush) \
sys/lib/libz/deflate.h
346
ush dist = (ush)(distance); \
sys/lib/libz/deflate.h
363
# define _tr_tally_dist(s, distance, length, flush) \
sys/lib/libz/deflate.h
365
ush dist = (ush)(distance); \
sys/lib/libz/deflate.h
377
# define _tr_tally_dist(s, distance, length, flush) \
sys/lib/libz/deflate.h
378
flush = _tr_tally(s, distance, length)
usr.sbin/bgpctl/output.c
292
if (p->conf.ebgp && p->conf.distance > 1)
usr.sbin/bgpctl/output.c
293
printf(", Multihop (%u)", (int)p->conf.distance);
usr.sbin/bgpctl/output_json.c
246
json_do_bool("multihop", p->conf.ebgp && p->conf.distance > 1);
usr.sbin/bgpctl/output_json.c
247
if (p->conf.ebgp && p->conf.distance > 1)
usr.sbin/bgpctl/output_json.c
248
json_do_uint("multihop_distance", p->conf.distance);
usr.sbin/bgpd/bgpd.h
527
uint8_t distance; /* 1 = direct, >1 = multihop */
usr.sbin/bgpd/parse.y
1896
curpeer->conf.distance = $2;
usr.sbin/bgpd/parse.y
4715
p->conf.distance = 1;
usr.sbin/bgpd/printconf.c
782
if (p->distance > 1)
usr.sbin/bgpd/printconf.c
783
printf("%s\tmultihop %u\n", c, p->distance);
usr.sbin/bgpd/rde_update.c
538
} else if (peer->conf.distance == 1) {
usr.sbin/bgpd/session.c
827
int ttl = p->conf.distance;
usr.sbin/bgpd/session.c
848
ttl = 256 - p->conf.distance;
usr.sbin/bgpd/session.c
881
ttl = 256 - p->conf.distance;
usr.sbin/eigrpctl/eigrpctl.c
543
printf(" %-12s %u/%s\n", rt->ifname, rt->distance, rdistance);
usr.sbin/eigrpctl/eigrpctl.c
616
printf(" Distance: %u", rt->distance);
usr.sbin/eigrpd/eigrpd.h
409
uint32_t distance;
usr.sbin/eigrpd/rde.c
762
rtctl.distance = route->distance;
usr.sbin/eigrpd/rde.h
68
uint32_t distance; /* local distance */
usr.sbin/eigrpd/rde_dual.c
285
route->distance, route->rdistance);
usr.sbin/eigrpd/rde_dual.c
367
uint64_t distance;
usr.sbin/eigrpd/rde_dual.c
381
distance = (uint64_t) operand1 + (uint64_t) operand2 +
usr.sbin/eigrpd/rde_dual.c
388
distance *= operand4;
usr.sbin/eigrpd/rde_dual.c
392
if (distance >> 32)
usr.sbin/eigrpd/rde_dual.c
393
distance = ((uint32_t )(~0));
usr.sbin/eigrpd/rde_dual.c
395
return ((uint32_t) distance);
usr.sbin/eigrpd/rde_dual.c
437
route->distance = route_composite_metric(eigrp->kvalues, delay,
usr.sbin/eigrpd/rde_dual.c
639
if (route->distance >
usr.sbin/eigrpd/rde_dual.c
686
rn->successor.fdistance = successor->distance;
usr.sbin/eigrpd/rde_dual.c
703
uint32_t distance = EIGRP_INFINITE_METRIC;
usr.sbin/eigrpd/rde_dual.c
729
route->distance < distance) {
usr.sbin/eigrpd/rde_dual.c
730
distance = route->distance;
usr.sbin/tcpdump/ntp.h
77
struct s_fixedpt distance;
usr.sbin/tcpdump/print-ntp.c
133
TCHECK2(bp->distance, 0);
usr.sbin/tcpdump/print-ntp.c
139
TCHECK(bp->distance);
usr.sbin/tcpdump/print-ntp.c
141
p_sfix(&bp->distance);