Home
last modified time | relevance | path

Searched refs:w_mask (Results 1 – 7 of 7) sorted by relevance

/openbsd/games/hack/
H A Dhack.worn.c67 long w_mask; member
89 for(wp = worn; wp->w_mask; wp++) if(wp->w_mask & mask) { in setworn()
91 if(oobj && !(oobj->owornmask & wp->w_mask)) in setworn()
92 impossible("Setworn: mask = %ld.", wp->w_mask); in setworn()
93 if(oobj) oobj->owornmask &= ~wp->w_mask; in setworn()
94 if(obj && oobj && wp->w_mask == W_ARM){ in setworn()
101 if(obj) obj->owornmask |= wp->w_mask; in setworn()
116 for(wp = worn; wp->w_mask; wp++) in setnotworn()
119 obj->owornmask &= ~wp->w_mask; in setnotworn()
/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
H A Ddeflate.h117 uInt w_mask; /* w_size - 1 */ member
H A Ddeflate.c178 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \
307 s->w_mask = s->w_size - 1; in deflateInit2_()
458 s->prev[str & s->w_mask] = s->head[s->ins_h]; in deflateSetDictionary()
1293 uInt wmask = s->w_mask; in longest_match()
1595 s->prev[str & s->w_mask] = s->head[s->ins_h]; in fill_window()
/openbsd/lib/libz/
H A Ddeflate.h119 uInt w_mask; /* w_size - 1 */ member
H A Ddeflate.c158 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \
313 s->prev[str & s->w_mask] = s->head[s->ins_h]; in fill_window()
438 s->w_mask = s->w_size - 1; in deflateInit2_()
590 s->prev[str & s->w_mask] = s->head[s->ins_h]; in deflateSetDictionary()
1365 uInt wmask = s->w_mask; in longest_match()
/openbsd/sys/lib/libz/
H A Ddeflate.h119 uInt w_mask; /* w_size - 1 */ member
H A Ddeflate.c158 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \
313 s->prev[str & s->w_mask] = s->head[s->ins_h]; in fill_window()
438 s->w_mask = s->w_size - 1; in deflateInit2_()
590 s->prev[str & s->w_mask] = s->head[s->ins_h]; in deflateSetDictionary()
1365 uInt wmask = s->w_mask; in longest_match()