/dragonfly/games/cribbage/ |
H A D | io.c | 94 if (c.rank == EMPTY || c.suit == EMPTY) in msgcrd() 126 if (c.rank == EMPTY) in prcard() 224 rnk = sut = EMPTY; in incard() 236 rnk = EMPTY; in incard() 243 if (rnk == EMPTY) in incard() 246 sut = EMPTY; in incard() 253 if (sut != EMPTY) in incard() 257 rnk = EMPTY; in incard() 264 if (rnk == EMPTY) in incard() 280 sut = EMPTY; in incard() [all …]
|
H A D | deck.h | 66 #define EMPTY 13 macro
|
H A D | cards.c | 110 d[j].suit = d[j].rank = EMPTY; in cremove()
|
/dragonfly/games/gomoku/ |
H A D | makemove.c | 73 if (sp->s_occ != EMPTY) in makemove() 118 space = sp->s_occ == EMPTY; in makemove() 123 else if (sp->s_occ == EMPTY) in makemove() 132 if (sp->s_occ == EMPTY) in makemove() 147 if (space && sp->s_occ == EMPTY) { in makemove() 157 if (sp->s_occ == EMPTY) in makemove() 188 if (fsp->s_occ == EMPTY) { in makemove() 253 if (sp->s_occ == EMPTY) { in update_overlap() 260 if (sp->s_occ == EMPTY) { in update_overlap() 270 if (sp->s_occ == EMPTY) { in update_overlap()
|
H A D | pickmove.c | 110 if (sp->s_occ != EMPTY) in pickmove() 253 if (sp->s_occ != EMPTY) in scanframes() 299 if (sp->s_occ != EMPTY) in scanframes() 597 if (fsp->s_occ == EMPTY) { in addframes() 613 if (sp->s_occ != EMPTY) in addframes() 682 if (sp->s_occ != EMPTY) { in makecombo() 914 if (sp->s_occ != EMPTY || !(emask & m)) in makeempty() 993 if (sp->s_occ != EMPTY) in updatecombo() 1017 if (sp->s_occ != EMPTY) in updatecombo()
|
H A D | bdisp.c | 165 if (debug > 1 && sp->s_occ == EMPTY) { in bdisp() 198 if (debug > 1 && sp->s_occ == EMPTY) { in bdump()
|
H A D | main.c | 261 board[curmove].s_occ != EMPTY) { in main() 390 board[movelog[movenum - 1]].s_occ = EMPTY; in whatsup()
|
H A D | gomoku.h | 67 #define EMPTY 2 macro
|
/dragonfly/games/trek/ |
H A D | klmove.c | 142 Sect[k->x][k->y] = EMPTY; in klmove() 150 if (Sect[lookx][looky] != EMPTY) { in klmove() 154 if (Sect[lookx][looky] != EMPTY) { in klmove() 158 Sect[lookx][looky] != EMPTY) { in klmove() 171 Sect[k->x][k->y] = EMPTY; in klmove()
|
H A D | nova.c | 69 Sect[x][y] = EMPTY; in nova() 85 case EMPTY: in nova() 126 Sect[i][j] = EMPTY; in nova()
|
H A D | kill.c | 62 Sect[ix][iy] = EMPTY; in killk() 117 Sect[Etc.starbase.x][Etc.starbase.y] = EMPTY; in killb() 152 Sect[x][y] = EMPTY; in kills()
|
H A D | help.c | 118 Sect[Ship.sectx][Ship.secty] = EMPTY; in help() 136 Sect[dx][dy] != EMPTY) in help()
|
H A D | initquad.c | 83 Sect[i][j] = EMPTY; in initquad() 137 } while (Sect[i][j] != EMPTY); in sector()
|
H A D | abandon.c | 133 Sect[Ship.sectx][Ship.secty] = EMPTY; in abandon() 141 if (Sect[Ship.sectx][Ship.secty] == EMPTY) { in abandon()
|
H A D | torped.c | 153 case EMPTY: in torped() 195 Sect[ix][iy] = EMPTY; in torped()
|
H A D | move.c | 128 Sect[Ship.sectx][Ship.secty] = EMPTY; in move() 185 if (Sect[ix][iy] != EMPTY) { in move()
|
/dragonfly/usr.bin/sed/ |
H A D | compile.c | 100 {'d', 2, EMPTY}, 101 {'D', 2, EMPTY}, 102 {'g', 2, EMPTY}, 103 {'G', 2, EMPTY}, 104 {'h', 2, EMPTY}, 105 {'H', 2, EMPTY}, 107 {'l', 2, EMPTY}, 108 {'n', 2, EMPTY}, 109 {'N', 2, EMPTY}, 110 {'p', 2, EMPTY}, [all …]
|
H A D | defs.h | 113 EMPTY, /* d D g G h H l n N p P q x = \0 */ enumerator
|
/dragonfly/bin/sh/ |
H A D | redir.c | 67 #define EMPTY -2 /* marks an unused slot in redirtab */ macro 128 sv->renamed[i] = EMPTY; in redirect() 144 if ((flags & REDIR_PUSH) && sv->renamed[fd] == EMPTY) { in redirect() 329 if (rp->renamed[i] != EMPTY) { in popredir() 367 rp->renamed[i] = EMPTY; in clearredir()
|
/dragonfly/lib/libc/gen/ |
H A D | utmpx.c | 184 if (utx->ut_type == EMPTY) in getutxid() 188 if (ut.ut_type == EMPTY) in getutxid() 191 case EMPTY: in getutxid() 232 case EMPTY: in getutxline() 254 case EMPTY: in getutxuser()
|
/dragonfly/contrib/tre/lib/ |
H A D | tre-ast.h | 28 #define EMPTY -1 /* Empty leaf (denotes empty string). */ macro 35 #define IS_EMPTY(x) ((x)->code_min == EMPTY)
|
/dragonfly/usr.bin/wtmpcvt/ |
H A D | wtmpcvt.c | 91 uo->ut_type = EMPTY; in outmp_to_utmpx() 129 if (uo.ut_type == EMPTY) in main()
|
/dragonfly/contrib/awk/ |
H A D | lib.c | 39 char EMPTY[] = { '\0' }; variable 42 char *file = EMPTY; 62 static Cell dollar0 = { OCELL, CFLD, NULL, EMPTY, 0.0, REC|STR|DONTFREE, NULL, NULL }; 63 static Cell dollar1 = { OCELL, CFLD, NULL, EMPTY, 0.0, FLD|STR|DONTFREE, NULL, NULL }; 530 p->sval = EMPTY, in cleanfld()
|
/dragonfly/include/ |
H A D | utmpx.h | 60 #define EMPTY 0 /* No valid user accounting information. */ macro
|
/dragonfly/lib/libc/stdlib/ |
H A D | dmalloc.c | 229 enum { UNKNOWN, AVAIL, EMPTY, FULL } state; enumerator 1146 slab->state = EMPTY; in memfree() 1156 slab->state = EMPTY; in memfree() 1191 slab->state = EMPTY; in memfree() 1604 slab->state = EMPTY; in slabterm()
|