Home
last modified time | relevance | path

Searched refs:setbit (Results 1 – 25 of 73) sorted by relevance

123

/netbsd-src/games/battlestar/
H A Dcommand2.c87 setbit(wear, value); in wearit()
225 setbit(location[position].objects, DEADGOD); in murder()
237 setbit(location[position].objects, in murder()
250 setbit(location[position].objects, DEADTIME); in murder()
261 setbit(location[position].objects, DEADNATIVE); in murder()
332 setbit(location[ahead].objects, WOODSMAN); in ravage()
333 setbit(location[ahead].objects, DEADWOOD); in ravage()
334 setbit(location[ahead].objects, MALLET); in ravage()
335 setbit(location[back].objects, WOODSMAN); in ravage()
336 setbit(location[back].objects, DEADWOOD); in ravage()
[all …]
H A Dinit.c65 setbit(wear, PAJAMAS); in initialize()
69 setbit(location[p->room].objects, p->obj); in initialize()
135 setbit(location[7].objects, WOODSMAN); /* viper room */ in checkout()
136 setbit(location[20].objects, WOODSMAN); /* laser " */ in checkout()
137 setbit(location[13].objects, DARK); /* amulet " */ in checkout()
138 setbit(location[8].objects, ELF); /* closet */ in checkout()
H A Dcommand3.c52 setbit(location[position].objects, DEADWOOD); in dig()
53 setbit(location[position].objects, COMPASS); in dig()
54 setbit(location[position].objects, KNIFE); in dig()
55 setbit(location[position].objects, MACE); in dig()
100 setbit(location[position].objects, n); in jump()
288 setbit(location[180].objects, DEADGOD); in shoot()
304 setbit(location[position].objects, DEADGOD); in shoot()
327 setbit(location[position].objects, in shoot()
350 setbit(location[position].objects, in shoot()
H A Dcommand1.c86 setbit(nightfile[p->room].objects, p->obj); in convert()
184 setbit(location[GARDEN].objects, GIRLTALK); in news()
185 setbit(location[GARDEN].objects, LAMPON); in news()
186 setbit(location[GARDEN].objects, ROPE); in news()
274 setbit(location[position].objects, CRASH); in crash()
H A Dcommand6.c75 setbit(location[position].objects, VIPER); in land()
190 setbit(location[position].objects, CRASH); in drive()
212 setbit(location[position].objects, HORSE); in ride()
H A Dcommand5.c147 setbit(location[position].objects, in love()
221 setbit( in zzz()
232 setbit(location[position].objects, DEADWOOD); in zzz()
235 setbit(location[position].objects, HALBERD); in zzz()
H A Dcommand4.c64 setbit(inven, value); in take()
254 setbit(location[deposit].objects, in throw()
263 setbit(location[deposit].objects, CHAR); in throw()
354 setbit(location[position].objects, in drop()
/netbsd-src/sbin/fsck_ext2fs/
H A Dpass5.c140 setbit(ibmap, i); in pass5()
145 setbit(ibmap, i); in pass5()
162 setbit(ibmap, i); in pass5()
184 setbit(bbmap, i); in pass5()
H A Dfsck.h223 #define setbmap(blkno) setbit(blockmap, blkno)
/netbsd-src/sbin/fsck_ffs/
H A Dpass5.c340 setbit(cg_inosused(newcg, 0), i); in pass5()
352 setbit(cg_inosused(newcg, 0), i); in pass5()
362 setbit(cg_blksfree(newcg, 0), i + j); in pass5()
373 setbit(cg_clustersfree(newcg, 0), in pass5()
H A Dpass4.c193 setbit(cg_blksfree(cgp, 0), in pass4check()
/netbsd-src/external/lgpl3/gmp/dist/demos/perl/
H A Dtest2.pl66 setbit ($b, 0);
H A Dtest.pl975 { my $a = mpz(3); setbit ($a, 1); ok ($a == 3); }
976 { my $a = mpz(3); setbit ($a, 2); ok ($a == 7); }
978 { my $a = 3; setbit ($a, 1); ok ($a == 3); }
979 { my $a = 3; setbit ($a, 2); ok ($a == 7); }
984 setbit ($a, 0);
990 setbit ($a, 0);
996 setbit ($a, 2);
1004 setbit ($a, 2);
1014 setbit ($a, 0);
1021 setbit ($a, 0);
/netbsd-src/usr.sbin/makefs/ffs/
H A Dmkfs.c685 setbit(cg_inosused(&acg, 0), r); in initcg()
697 setbit(cg_clustersfree(&acg, 0), blkno); in initcg()
706 setbit(cg_blksfree(&acg, 0), dupper); in initcg()
714 setbit(cg_clustersfree(&acg, 0), blkno); in initcg()
722 setbit(cg_blksfree(&acg, 0), d); in initcg()
/netbsd-src/sys/net80211/
H A Dieee80211.c117 setbit(ieee80211_vapmap, ic->ic_vap); in ieee80211_add_vap()
214 setbit(ic->ic_chan_avail, i); in ieee80211_ifattach()
918 setbit(ic->ic_chan_active, i); in ieee80211_setmode()
921 setbit(ic->ic_chan_active, i); in ieee80211_setmode()
/netbsd-src/sbin/fsck_lfs/
H A Dfsck.h157 #define setbmap(blkno) setbit(blockmap, blkno)
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/pru/
H A Dalu-zext.md92 ; Specialized IOR/AND patterns for matching setbit/clearbit instructions.
94 ; TODO - allow clrbit and setbit to support (1 << REG) constructs
/netbsd-src/sbin/newfs_ext2fs/
H A Dmke2fs.c727 setbit(buf, i); in initcg()
735 setbit(buf, i); in initcg()
752 setbit(buf, EXT2_INO_INDEX(i)); in initcg()
1305 setbit(bbp, bno); in alloc()
1357 setbit(bp, EXT2_INO_INDEX(ino)); in iput()
/netbsd-src/sbin/newfs/
H A Dmkfs.c860 setbit(cg_inosused(&acg, 0), u); in initcg()
871 setbit(cg_clustersfree(&acg, 0), blkno); in initcg()
886 setbit(cg_blksfree(&acg, 0), dupper); in initcg()
894 setbit(cg_clustersfree(&acg, 0), blkno); in initcg()
908 setbit(cg_blksfree(&acg, 0), d); in initcg()
1347 setbit(cg_blksfree(&acg, 0), d + i); in alloc()
1376 setbit(cg_inosused(&acg, 0), ino); in iput()
/netbsd-src/games/adventure/
H A Dhdr.h123 extern int setbit[16]; /* bit defn masks 1,2,4,... */
/netbsd-src/sys/ufs/ext2fs/
H A Dext2fs_alloc.c422 setbit(bbp, (daddr_t)bno); in ext2fs_alloccg()
500 setbit(ibp, ipref); in ext2fs_nodealloccg()
848 setbit(bbp, i); in ext2fs_init_bb()
/netbsd-src/external/gpl2/grep/dist/src/
H A Ddfa.c122 #ifdef setbit
123 # undef setbit
230 setbit (unsigned b, charclass c) in setbit() function
309 setbit (b, c); in setbit_case_fold()
313 setbit (tolower (b), c); in setbit_case_fold()
315 setbit (toupper (b), c); in setbit_case_fold()
983 setbit(c2, ccl); in lex()
1967 setbit(i, letters); in dfastate()
1968 setbit(eolbyte, newline); in dfastate()
1977 setbit(d->tokens[pos.index], matches); in dfastate()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/
H A Ddfa.c96 #ifdef setbit
97 # undef setbit
204 setbit (unsigned b, charclass c) in setbit() function
283 setbit (b, c); in setbit_case_fold()
287 setbit (tolower (b), c); in setbit_case_fold()
289 setbit (toupper (b), c); in setbit_case_fold()
957 setbit(c2, ccl); in lex()
1946 setbit(i, letters); in dfastate()
1947 setbit(eolbyte, newline); in dfastate()
1956 setbit(d->tokens[pos.index], matches); in dfastate()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/pru/
H A Dalu-zext.md109 ; Specialized IOR/AND patterns for matching setbit/clearbit instructions.
111 ; TODO - allow clrbit and setbit to support (1 << REG) constructs
/netbsd-src/sys/dev/ic/
H A Dath.c352 setbit(sc->sc_keymap, i); in ath_attach()
353 setbit(sc->sc_keymap, i+32); in ath_attach()
354 setbit(sc->sc_keymap, i+64); in ath_attach()
355 setbit(sc->sc_keymap, i+32+64); in ath_attach()
567 setbit(sc->sc_keymap, i); in ath_attach()
568 setbit(sc->sc_keymap, i+64); in ath_attach()
570 setbit(sc->sc_keymap, i+32); in ath_attach()
571 setbit(sc->sc_keymap, i+32+64); in ath_attach()
1694 setbit(sc->sc_keymap, keyix); in key_alloc_2pair()
1695 setbit(sc->sc_keymap, keyix+64); in key_alloc_2pair()
[all …]

123