Home
last modified time | relevance | path

Searched refs:EMPTY (Results 1 – 25 of 41) sorted by relevance

12

/dragonfly/games/cribbage/
H A Dio.c94 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 Ddeck.h66 #define EMPTY 13 macro
H A Dcards.c110 d[j].suit = d[j].rank = EMPTY; in cremove()
/dragonfly/games/gomoku/
H A Dmakemove.c73 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 Dpickmove.c110 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 Dbdisp.c165 if (debug > 1 && sp->s_occ == EMPTY) { in bdisp()
198 if (debug > 1 && sp->s_occ == EMPTY) { in bdump()
H A Dmain.c261 board[curmove].s_occ != EMPTY) { in main()
390 board[movelog[movenum - 1]].s_occ = EMPTY; in whatsup()
H A Dgomoku.h67 #define EMPTY 2 macro
/dragonfly/games/trek/
H A Dklmove.c142 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 Dnova.c69 Sect[x][y] = EMPTY; in nova()
85 case EMPTY: in nova()
126 Sect[i][j] = EMPTY; in nova()
H A Dkill.c62 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 Dhelp.c118 Sect[Ship.sectx][Ship.secty] = EMPTY; in help()
136 Sect[dx][dy] != EMPTY) in help()
H A Dinitquad.c83 Sect[i][j] = EMPTY; in initquad()
137 } while (Sect[i][j] != EMPTY); in sector()
H A Dabandon.c133 Sect[Ship.sectx][Ship.secty] = EMPTY; in abandon()
141 if (Sect[Ship.sectx][Ship.secty] == EMPTY) { in abandon()
H A Dtorped.c153 case EMPTY: in torped()
195 Sect[ix][iy] = EMPTY; in torped()
H A Dmove.c128 Sect[Ship.sectx][Ship.secty] = EMPTY; in move()
185 if (Sect[ix][iy] != EMPTY) { in move()
/dragonfly/usr.bin/sed/
H A Dcompile.c100 {'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 Ddefs.h113 EMPTY, /* d D g G h H l n N p P q x = \0 */ enumerator
/dragonfly/bin/sh/
H A Dredir.c67 #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 Dutmpx.c184 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 Dtre-ast.h28 #define EMPTY -1 /* Empty leaf (denotes empty string). */ macro
35 #define IS_EMPTY(x) ((x)->code_min == EMPTY)
/dragonfly/usr.bin/wtmpcvt/
H A Dwtmpcvt.c91 uo->ut_type = EMPTY; in outmp_to_utmpx()
129 if (uo.ut_type == EMPTY) in main()
/dragonfly/contrib/awk/
H A Dlib.c39 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 Dutmpx.h60 #define EMPTY 0 /* No valid user accounting information. */ macro
/dragonfly/lib/libc/stdlib/
H A Ddmalloc.c229 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()

12