Home
last modified time | relevance | path

Searched refs:newpos (Results 1 – 11 of 11) sorted by relevance

/dragonfly/games/robots/
H A Dmove.c200 static COORD newpos; in must_telep() local
208 newpos.y = My_pos.y + y; in must_telep()
209 if (newpos.y <= 0 || newpos.y >= Y_FIELDSIZE) in must_telep()
213 if (newpos.x <= 0 || newpos.x >= X_FIELDSIZE) in must_telep()
215 if (Field[newpos.y][newpos.x] > 0) in must_telep()
217 if (!eaten(&newpos)) in must_telep()
231 static COORD newpos; in do_move() local
235 if (newpos.y <= 0 || newpos.y >= Y_FIELDSIZE || in do_move()
236 newpos.x <= 0 || newpos.x >= X_FIELDSIZE || in do_move()
237 Field[newpos.y][newpos.x] > 0 || eaten(&newpos)) { in do_move()
[all …]
/dragonfly/usr.bin/fold/
H A Dfold.c50 static int newpos(int, wint_t);
158 if ((col = newpos(col, ch)) > width) { in fold()
172 col = newpos(col, buf[i]); in fold()
177 col = newpos(col, ch); in fold()
196 newpos(int col, wint_t ch) in newpos() function
/dragonfly/lib/libc/xdr/
H A Dxdr_rec.c349 char *newpos; in xdrrec_setpos() local
355 newpos = rstrm->out_finger - delta; in xdrrec_setpos()
356 if ((newpos > (char *)(void *)(rstrm->frag_header)) && in xdrrec_setpos()
357 (newpos < rstrm->out_boundry)) { in xdrrec_setpos()
358 rstrm->out_finger = newpos; in xdrrec_setpos()
364 newpos = rstrm->in_finger - delta; in xdrrec_setpos()
366 (newpos <= rstrm->in_boundry) && in xdrrec_setpos()
367 (newpos >= rstrm->in_base)) { in xdrrec_setpos()
368 rstrm->in_finger = newpos; in xdrrec_setpos()
/dragonfly/contrib/flex/src/
H A Dccl.c57 int ind, len, newpos, i; in ccladd() local
74 newpos = ind + len; in ccladd()
76 if (newpos >= current_max_ccl_tbl_size) { in ccladd()
86 ccltbl[newpos] = (unsigned char) ch; in ccladd()
/dragonfly/games/worm/
H A Dworm.c73 static void newpos(struct body *);
185 newpos(struct body *bp) in newpos() function
200 newpos(&goody); in prize()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dgenrecog.c1583 change_state (struct position *oldpos, struct position *newpos, in change_state() argument
1586 while (oldpos->depth > newpos->depth) in change_state()
1589 if (oldpos != newpos) in change_state()
1590 switch (newpos->type) in change_state()
1593 printf ("%stem = peep2_next_insn (%d);\n", indent, newpos->arg); in change_state()
1594 printf ("%sx%d = PATTERN (tem);\n", indent, newpos->depth); in change_state()
1598 change_state (oldpos, newpos->base, indent); in change_state()
1600 indent, newpos->depth, newpos->depth - 1, newpos->arg); in change_state()
1604 change_state (oldpos, newpos->base, indent); in change_state()
1606 indent, newpos->depth, newpos->depth - 1, newpos->arg); in change_state()
/dragonfly/games/backgammon/common_source/
H A Dfancy.c295 newpos(); in refresh()
412 newpos(void) in newpos() function
631 newpos(); /* make sure position correct */ in fancyc()
673 newpos(); in cline()
H A Dsubs.c81 newpos(); in readc()
408 newpos(); in fixtty()
H A Dback.h162 void newpos(void);
/dragonfly/games/atc/
H A Dinput.c230 int newstate, newpos; in push() local
236 newpos = T_POS + strlen(T_STR); in push()
244 T_POS = newpos; in push()
/dragonfly/games/hack/
H A Dhack.vault.c301 goto newpos; in gd_move()
356 newpos: in gd_move()