Searched refs:flag (Results 1 - 25 of 59) sorted by path

123

/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dflag.h1 /* SCCS Id: @(#)flag.h 3.4 2002/08/22 */
5 /* If you change the flag structure make sure you increment EDITLEVEL in */
17 struct flag { struct
57 boolean bypasses; /* bypass flag is set on at least one fobj */
304 extern NEARDATA struct flag flags;
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A DMakefile358 edog.h emin.h engrave.h epri.h eshk.h extern.h flag.h func_tab.h \
475 ../include/monst.h ../include/you.h ../include/flag.h \
568 ../include/trap.h ../include/flag.h ../include/rm.h \
764 options.o: options.c $(CONFIG_H) ../include/objclass.h ../include/flag.h \
H A Ddbridge.c174 * flag must be put to TRUE if we want the drawbridge to be opened.
178 create_drawbridge(x,y,dir,flag)
180 boolean flag;
210 if (flag) { /* We want the bridge open */
H A Ddecl.c143 NEARDATA struct flag flags = DUMMY;
H A Dmon.c1000 mfndpos(mon, poss, info, flag)
1004 long flag;
1024 thrudoor = ((flag & (ALLOW_WALL|BUSTDOOR)) != 0L);
1025 if (flag & ALLOW_DIG) {
1049 flag |= ALLOW_ALL;
1050 flag &= ~NOTONL;
1053 flag |= ALLOW_SSM;
1060 !((flag & ALLOW_WALL) && may_passwall(nx,ny)) &&
1063 if (ntyp == IRONBARS && !(flag & ALLOW_BARS)) continue;
1065 ((levl[nx][ny].doormask & D_CLOSED && !(flag
[all...]
H A Dmondata.c14 set_mon_data(mon, ptr, flag)
17 int flag;
20 if (flag == -1) return; /* "don't care" */
22 if (flag == 1)
H A Dmonmove.c610 long flag;
889 flag = 0L;
891 flag |= (ALLOW_SANCT | ALLOW_SSM);
892 else flag |= ALLOW_U;
893 if (is_minion(ptr) || is_rider(ptr)) flag |= ALLOW_SANCT;
895 if (is_unicorn(ptr) && !level.flags.noteleport) flag |= NOTONL;
896 if (passes_walls(ptr)) flag |= (ALLOW_WALL | ALLOW_ROCK);
897 if (passes_bars(ptr)) flag |= ALLOW_BARS;
898 if (can_tunnel) flag |= ALLOW_DIG;
899 if (is_human(ptr) || ptr == &mons[PM_MINOTAUR]) flag |
[all...]
H A Doptions.c8 #include "flag.h"
9 NEARDATA struct flag flags; /* provide linkage */
H A Drestore.c377 mread(fd, (genericptr_t) &flags, sizeof(struct flag));
H A Dsave.c287 bwrite(fd, (genericptr_t) &flags, sizeof(struct flag));
H A Dworn.c399 m_dowear_type(mon, flag, creation, racialexception)
401 long flag;
415 old = which_armor(mon, flag);
417 if (old && flag == W_AMUL) return; /* no such thing as better amulets */
421 switch(flag) {
472 if ((flag == W_ARM
474 || flag == W_ARMU
502 mon->misc_worn_check |= flag;
503 best->owornmask |= flag;
516 which_armor(mon, flag)
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/unix/
H A DMakefile.src358 edog.h emin.h engrave.h epri.h eshk.h extern.h flag.h func_tab.h \
475 ../include/monst.h ../include/you.h ../include/flag.h \
568 ../include/trap.h ../include/flag.h ../include/rm.h \
764 options.o: options.c $(CONFIG_H) ../include/objclass.h ../include/flag.h \
H A DMakefile.utl183 ../include/monst.h ../include/you.h ../include/flag.h \
H A Dunixres.c132 hide_privileges(flag)
133 boolean flag;
135 if (flag)
202 hide_privileges(flag)
203 boolean flag;
/seL4-refos-master/libs/libmuslc/include/arpa/
H A Dnameser.h56 #define ns_msg_getflag(handle, flag) \
57 (((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift)
/seL4-refos-master/libs/libmuslc/include/
H A Dgetopt.h15 int *flag; member in struct:option
/seL4-refos-master/libs/libmuslc/src/ipc/
H A Dmsgget.c5 int msgget(key_t k, int flag) argument
8 return syscall(SYS_msgget, k, flag);
10 return syscall(SYS_ipc, IPCOP_msgget, k, flag);
H A Dmsgrcv.c6 ssize_t msgrcv(int q, void *m, size_t len, long type, int flag) argument
9 return syscall_cp(SYS_msgrcv, q, m, len, type, flag);
11 return syscall_cp(SYS_ipc, IPCOP_msgrcv, q, len, flag, ((long[]){ (long)m, type }));
H A Dmsgsnd.c6 int msgsnd(int q, const void *m, size_t len, int flag) argument
9 return syscall_cp(SYS_msgsnd, q, m, len, flag);
11 return syscall_cp(SYS_ipc, IPCOP_msgsnd, q, len, flag, m);
H A Dshmat.c6 void *shmat(int id, const void *addr, int flag) argument
8 return (void *)syscall(SYS_shmat, id, addr, flag);
11 void *shmat(int id, const void *addr, int flag) argument
14 ret = syscall(SYS_ipc, IPCOP_shmat, id, flag, &addr, addr);
H A Dshmget.c6 int shmget(key_t key, size_t size, int flag) argument
10 return syscall(SYS_shmget, key, size, flag);
12 return syscall(SYS_ipc, IPCOP_shmget, key, size, flag);
/seL4-refos-master/libs/libmuslc/src/misc/
H A Dgetopt_long.c103 if (longopts[i].flag) {
104 *longopts[i].flag = longopts[i].val;
/seL4-refos-master/libs/libmuslc/src/mman/
H A Dshm_open.c29 int shm_open(const char *name, int flag, mode_t mode) argument
35 int fd = open(name, flag|O_NOFOLLOW|O_CLOEXEC|O_NONBLOCK, mode);
/seL4-refos-master/libs/libmuslc/src/signal/
H A Dsiginterrupt.c3 int siginterrupt(int sig, int flag) argument
8 if (flag) sa.sa_flags &= ~SA_RESTART;
/seL4-refos-master/libs/libmuslc/src/stat/
H A D__xstat.c9 int __fxstatat(int ver, int fd, const char *path, struct stat *buf, int flag) argument
11 return fstatat(fd, path, buf, flag);

Completed in 140 milliseconds

123