Symbol: distance
common/dist/zlib/deflate.h
348
# define _tr_tally_dist(s, distance, length, flush) \
common/dist/zlib/deflate.h
350
ush dist = (ush)(distance); \
common/dist/zlib/deflate.h
367
# define _tr_tally_dist(s, distance, length, flush) \
common/dist/zlib/deflate.h
369
ush dist = (ush)(distance); \
common/dist/zlib/deflate.h
381
# define _tr_tally_dist(s, distance, length, flush) \
common/dist/zlib/deflate.h
382
flush = _tr_tally(s, distance, length)
common/lib/libprop/prop_dictionary.c
924
unsigned int base, idx, distance;
common/lib/libprop/prop_dictionary.c
931
for (idx = 0, base = 0, distance = pd->pd_count; distance != 0;
common/lib/libprop/prop_dictionary.c
932
distance >>= 1) {
common/lib/libprop/prop_dictionary.c
933
idx = base + (distance >> 1);
common/lib/libprop/prop_dictionary.c
944
distance--;
games/hunt/hunt/otto.c
126
int distance;
games/hunt/hunt/otto.c
245
if (itemp->distance == -1) {
games/hunt/hunt/otto.c
246
itemp->distance = dist;
games/hunt/hunt/otto.c
262
if (itemp->distance == -1 || (!side
games/hunt/hunt/otto.c
265
itemp->distance = dist;
games/hunt/hunt/otto.c
279
itemp->distance = dist;
games/hunt/hunt/otto.c
292
if (itemp->distance == -1) {
games/hunt/hunt/otto.c
293
itemp->distance = dist;
games/hunt/hunt/otto.c
308
itemp->distance = -1;
games/hunt/hunt/otto.c
329
for (r = row - 1; r > row - itemp->distance; r--)
games/hunt/hunt/otto.c
350
for (r = row + 1; r < row + itemp->distance; r++)
games/hunt/hunt/otto.c
370
for (c = col - 1; c > col - itemp->distance; c--)
games/hunt/hunt/otto.c
390
for (c = col + 1; c < col + itemp->distance; c++)
games/hunt/hunt/otto.c
409
RELCHARS[i], flbr[i].what, flbr[i].distance, flbr[i].flags);
games/hunt/hunt/otto.c
419
face_and_move_direction(int rel_dir, int distance)
games/hunt/hunt/otto.c
432
if (distance == 0) {
games/hunt/hunt/otto.c
440
while (distance--) {
games/hunt/hunt/otto.c
449
if (distance == 0)
games/hunt/hunt/otto.c
463
} else if (itemp->distance > 1) {
games/hunt/hunt/otto.c
537
if (flbr[i].what == mine && flbr[i].distance < dist) {
games/hunt/hunt/otto.c
539
dist = flbr[i].distance;
games/hunt/hunt/otto.c
546
|| flbr[rel_dir].distance > 1) {
games/hunt/hunt/otto.c
561
if (!(flbr[i].flags & BEEN) || flbr[i].distance <= 1)
games/hunt/hunt/otto.c
568
if (flbr[j].distance <= 1 || flbr[j].flags & DEADEND)
games/larn/movem.c
206
for (tmp = 1; tmp < distance; tmp++) /* only up to 20 squares
games/larn/movem.c
219
out: if (tmp < distance) /* did find connectivity */
games/larn/movem.c
33
static int tmp1, tmp2, tmp3, tmp4, distance;
games/larn/movem.c
53
distance = 40; /* depth of intelligent monster movement */
games/larn/movem.c
59
distance = 17; /* depth of intelligent monster movement */
games/phantasia/interplayer.c
783
temp1 = distance(Player.p_x, Enrgyvoid.ev_x, Player.p_y, Enrgyvoid.ev_y);
games/phantasia/macros.h
9
#define CIRCLE(X, Y) floor(distance(X, 0.0, Y, 0.0) / 125.0 + 1)
games/phantasia/main.c
525
if (distance(Player.p_x, x, Player.p_y, y) > MAXMOVE())
games/phantasia/main.c
590
temp = distance(Player.p_x, x, Player.p_y, y);
games/phantasia/phantglobs.h
78
double distance(double, double, double, double);
games/robots/auto.c
179
tdist = distance(My_pos.x, My_pos.y, rob->x, rob->y);
games/robots/auto.c
204
tdist = distance(My_pos.x, My_pos.y, hp->x, hp->y);
games/robots/auto.c
359
robot_heap = distance(robot_close->x, robot_close->y,
games/robots/auto.c
63
static int distance(int, int, int, int);
games/sail/misc.c
68
result = bb = distance(bow2r - bow1r, bow2c - bow1c);
games/sail/misc.c
74
bs = distance((bow2r - stern1r), (bow2c - stern1c));
games/sail/misc.c
75
sb = distance((bow1r - stern2r), (bow1c - stern2c));
games/sail/misc.c
76
ss = distance((stern2r - stern1r) ,(stern2c - stern1c));
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
407
int distance;
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
419
distance = (Elf_Addr)pltresolve - (Elf_Addr)where;
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
420
*where++ = 0x48000000 | (distance & 0x03fffffc);
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
475
ptrdiff_t distance = value - (Elf_Addr)where;
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
484
} else if (labs(distance) < 32*1024*1024) { /* inside 32MB? */
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
486
*where = 0x48000000 | (distance & 0x03fffffc);
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
522
distance = (Elf_Addr)pltcall - (Elf_Addr)where;
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
523
*where++ = 0x48000000 | (distance & 0x03fffffc);
sys/dev/ata/ata_wdc.c
370
int i, distance;
sys/dev/ata/ata_wdc.c
380
&distance)) != -1) {
sys/dev/ata/ata_wdc.c
387
if (distance == 0) {
sys/dev/ic/mvsata.c
1043
int i, distance;
sys/dev/ic/mvsata.c
1053
&distance)) != -1) {
sys/dev/ic/mvsata.c
1060
if (distance == 0) {
sys/net/zlib.c
589
# define _tr_tally_dist(s, distance, length, flush) \
sys/net/zlib.c
591
ush dist = (distance); \
sys/net/zlib.c
601
# define _tr_tally_dist(s, distance, length, flush) \
sys/net/zlib.c
602
flush = _tr_tally(s, distance, length)
sys/netinet/sctp_indata.c
2214
int slide_from, slide_end, lgap, distance;
sys/netinet/sctp_indata.c
2301
distance = (slide_end-slide_from) + 1;
sys/netinet/sctp_indata.c
2308
if (distance + slide_from > asoc->mapping_array_size ||
sys/netinet/sctp_indata.c
2309
distance < 0) {
sys/netinet/sctp_indata.c
2323
sctp_log_map((uint32_t)distance, (uint32_t)slide_from,
sys/netinet/sctp_indata.c
2329
for (ii = 0; ii < distance; ii++) {
sys/netinet/sctp_indata.c
2333
for (ii = distance;ii <= slide_end; ii++) {
usr.bin/gzip/unlz.c
520
unsigned distance;
usr.bin/gzip/unlz.c
524
distance = rep[1];
usr.bin/gzip/unlz.c
529
distance = rep[2];
usr.bin/gzip/unlz.c
531
distance = rep[3];
usr.bin/gzip/unlz.c
537
rep[0] = distance;