/src/games/larn/ |
movem.c | 33 static int tmp1, tmp2, tmp3, tmp4, distance; variable in typeref:typename:int 53 distance = 40; /* depth of intelligent monster movement */ 59 distance = 17; /* depth of intelligent monster movement */ 206 for (tmp = 1; tmp < distance; tmp++) /* only up to 20 squares 219 out: if (tmp < distance) /* did find connectivity */ 246 * distance to player */
|
/src/games/sail/ |
misc.c | 49 #define distance(x,y) \ macro 68 result = bb = distance(bow2r - bow1r, bow2c - bow1c); 74 bs = distance((bow2r - stern1r), (bow2c - stern1c)); 75 sb = distance((bow1r - stern2r), (bow1c - stern2c)); 76 ss = distance((stern2r - stern1r) ,(stern2c - stern1c));
|
/src/games/phantasia/ |
misc.c | 956 distance(double x_1, double x_2, double y_1, double y_2) function in typeref:typename:double
|
/src/games/robots/ |
auto.c | 63 static int distance(int, int, int, int); 74 /* distance(): 75 * return "move" number distance of the two coordinates 78 distance(int x1, int y1, int x2, int y2) function in typeref:typename:int 168 * and put in dist its distance 179 tdist = distance(My_pos.x, My_pos.y, rob->x, rob->y); 191 * and put in dist its distance 204 tdist = distance(My_pos.x, My_pos.y, hp->x, hp->y); 359 robot_heap = distance(robot_close->x, robot_close->y,
|
/src/libexec/ld.elf_so/arch/powerpc/ |
ppc_reloc.c | 407 int distance; 419 distance = (Elf_Addr)pltresolve - (Elf_Addr)where; 420 *where++ = 0x48000000 | (distance & 0x03fffffc); 475 ptrdiff_t distance = value - (Elf_Addr)where; local in function:_rtld_relocate_plt_object 484 } else if (labs(distance) < 32*1024*1024) { /* inside 32MB? */ 486 *where = 0x48000000 | (distance & 0x03fffffc); 522 distance = (Elf_Addr)pltcall - (Elf_Addr)where; 523 *where++ = 0x48000000 | (distance & 0x03fffffc);
|
/src/games/hunt/hunt/ |
otto.c | 126 int distance; member in struct:item 245 if (itemp->distance == -1) { 246 itemp->distance = dist; 262 if (itemp->distance == -1 || (!side 265 itemp->distance = dist; 279 itemp->distance = dist; 292 if (itemp->distance == -1) { 293 itemp->distance = dist; 308 itemp->distance = -1; 329 for (r = row - 1; r > row - itemp->distance; r-- [all...] |
/src/common/lib/libprop/ |
prop_dictionary.c | 924 unsigned int base, idx, distance; local in function:_prop_dict_lookup 931 for (idx = 0, base = 0, distance = pd->pd_count; distance != 0; 932 distance >>= 1) { 933 idx = base + (distance >> 1); 944 distance--;
|
/src/usr.bin/gzip/ |
unlz.c | 468 unsigned distance; local in function:lz_decode_member 472 distance = rep[1]; 477 distance = rep[2]; 479 distance = rep[3]; 485 rep[0] = distance;
|
/src/sys/netinet/ |
sctp_indata.c | 2214 int slide_from, slide_end, lgap, distance; local in function:sctp_sack_check 2301 distance = (slide_end-slide_from) + 1; 2308 if (distance + slide_from > asoc->mapping_array_size || 2309 distance < 0) { 2323 sctp_log_map((uint32_t)distance, (uint32_t)slide_from, 2329 for (ii = 0; ii < distance; ii++) { 2333 for (ii = distance;ii <= slide_end; ii++) {
|