Home
last modified time | relevance | path

Searched refs:wmask (Results 1 – 10 of 10) sorted by relevance

/openbsd/sys/lib/libkern/
H A Dbcopy.c47 #define wmask (wsize - 1) macro
75 if ((t | (long)dst) & wmask) { in bcopy()
80 if ((t ^ (long)dst) & wmask || length < wsize) in bcopy()
83 t = wsize - (t & wmask); in bcopy()
92 t = length & wmask; in bcopy()
103 if ((t | (long)dst) & wmask) { in bcopy()
104 if ((t ^ (long)dst) & wmask || length <= wsize) in bcopy()
107 t &= wmask; in bcopy()
113 t = length & wmask; in bcopy()
H A Dmemset.c46 #define wmask (wsize - 1) macro
104 if ((t = (u_long)dst & wmask) != 0) { in bzero()
120 t = length & wmask; in bzero()
/openbsd/lib/libc/string/
H A Dbcopy.c43 #define wmask (wsize - 1) macro
69 if ((t | (long)dst) & wmask) { in bcopy()
74 if ((t ^ (long)dst) & wmask || length < wsize) in bcopy()
77 t = wsize - (t & wmask); in bcopy()
86 t = length & wmask; in bcopy()
97 if ((t | (long)dst) & wmask) { in bcopy()
98 if ((t ^ (long)dst) & wmask || length <= wsize) in bcopy()
101 t &= wmask; in bcopy()
107 t = length & wmask; in bcopy()
H A Dmemmove.c43 #define wmask (wsize - 1) macro
69 if ((t | (long)dst) & wmask) { in memmove()
74 if ((t ^ (long)dst) & wmask || length < wsize) in memmove()
77 t = wsize - (t & wmask); in memmove()
86 t = length & wmask; in memmove()
97 if ((t | (long)dst) & wmask) { in memmove()
98 if ((t ^ (long)dst) & wmask || length <= wsize) in memmove()
101 t &= wmask; in memmove()
107 t = length & wmask; in memmove()
H A Dmemcpy.c45 #define wmask (wsize - 1) macro
87 if ((t | (long)dst) & wmask) { in memcpy()
92 if ((t ^ (long)dst) & wmask || length < wsize) in memcpy()
95 t = wsize - (t & wmask); in memcpy()
104 t = length & wmask; in memcpy()
/openbsd/sys/dev/pci/
H A Dpci_map.c135 u_int64_t waddress, wmask; in obsd_pci_mem_find() local
200 wmask = (u_int64_t)mask1 << 32UL | mask; in obsd_pci_mem_find()
202 if ((is64bit && PCI_MAPREG_MEM64_SIZE(wmask) == 0) || in obsd_pci_mem_find()
247 *sizep = PCI_MAPREG_MEM64_SIZE(wmask); in obsd_pci_mem_find()
/openbsd/sys/dev/isa/
H A Daps.c175 unsigned char *buf, int wmask, int rmask) in aps_do_io() argument
180 buf[0], wmask, rmask)); in aps_do_io()
203 wmask |= APS_READ_RET; in aps_do_io()
207 if (wmask & bp) { in aps_do_io()
/openbsd/sys/lib/libz/
H A Ddeflate.c1357 uInt wmask = s->w_mask; in longest_match() local
1480 } while ((cur_match = prev[cur_match & wmask]) > limit in longest_match()
/openbsd/lib/libz/
H A Ddeflate.c1357 uInt wmask = s->w_mask; in longest_match() local
1480 } while ((cur_match = prev[cur_match & wmask]) > limit in longest_match()
/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
H A Ddeflate.c1293 uInt wmask = s->w_mask; in longest_match() local
1416 } while ((cur_match = prev[cur_match & wmask]) > limit in longest_match()