/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lctype.h | 44 #define MASK(B) (1 << (B)) macro 55 #define lislalpha(c) testprop(c, MASK(ALPHABIT)) 56 #define lislalnum(c) testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT))) 57 #define lisdigit(c) testprop(c, MASK(DIGITBIT)) 58 #define lisspace(c) testprop(c, MASK(SPACEBIT)) 59 #define lisprint(c) testprop(c, MASK(PRINTBIT)) 60 #define lisxdigit(c) testprop(c, MASK(XDIGITBIT))
|
/illumos-gate/usr/src/cmd/crypt/ |
H A D | crypt.c | 45 #define MASK 0377 macro 84 ic = (random&MASK)%(k+1); 90 ic = (random&MASK) % k; 96 t2[t1[i]&MASK] = i; 161 n1 = (int)(header.offset&MASK); in main() 162 n2 = (int)((header.offset >> 8) &MASK); in main() 169 *p1 = t2[(t3[(t1[(*p1 + n1)&MASK]+ in main() 170 n2)&MASK] - n2)&MASK] - n1; in main() 189 i = t2[(t3[(t1[(i+n1)&MASK]+n2)&MASK]-n2)&MASK]-n1; in main()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_crypt.c | 141 ic = (random&MASK)%(k+1); in c_setup() 147 ic = (random&MASK) % k; in c_setup() 153 t2[t1[i]&MASK] = i; in c_setup() 173 t2[(t3[(t1[(str[i]+n1)&MASK]+n2)&MASK]-n2)&MASK]-n1; in modvalue()
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | nstoa.c | 66 #define MASK(n) ((1 << (n)) - 1) macro 279 & MASK(shift-5); 385 *s++ = itoac(((*a >> 4) & MASK (4))); 386 *s++ = itoac((*a & MASK(4))); 416 *s++ = itoac((*a>>(i+5)) & MASK(3-i)); 421 *s++ = itoac((*a >> shift) & MASK(3)); 429 i = (*a & MASK(shift-5)) << (8-shift); 430 i |= (*++a >> shift) & MASK(8-shift);
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | char-unsigned.c | 1 #define MASK ((1 << __CHAR_BIT__) - 1) macro 5 _Static_assert((char) -1 == (-1 & MASK), "plain char is not unsigned"); in foo()
|
/illumos-gate/usr/src/cmd/spell/ |
H A D | hashlook.c | 40 #define MASK (~((unsigned long)1L<<L)) macro 84 y = (y >> 1) & MASK; in hashlook() 90 y = (y << 1) & MASK, v += n) in hashlook()
|
H A D | huff.c | 100 #define MASK (~((unsigned long)1<<L)) /* mask out sign */ macro 118 y = ((unsigned long)y << QW) & MASK, v += n) in decode()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pvscsi/ |
H A D | pvscsi.h | 31 #define MASK(n) ((1 << (n)) - 1) /* make an n-bit mask */ macro 430 #define PVSCSI_INTR_CMPL_MASK MASK(2) 434 #define PVSCSI_INTR_MSG_MASK (MASK(2) << 2) 436 #define PVSCSI_INTR_ALL_SUPPORTED MASK(4)
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | stret.S | 39 #define MASK 0x00000fff macro 66 and SIZE,MASK,TEMP
|
/illumos-gate/usr/src/uts/sparc/v9/ml/ |
H A D | crt.S | 44 #define MASK 0x00000fff macro 54 and %o1, MASK, %o4 79 and %o1, MASK, %o4
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | drand48.c | 67 #define MASK ((unsigned)(1 << (N - 1)) + (1 << (N - 1)) - 1) macro 68 #define LOW(x) ((unsigned)(x) & MASK) 72 #define CARRY(x, y) ((int32_t)(x) + (int32_t)(y) > MASK)
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | epic.h | 105 #define EPIC_WRITE(HANDLE, REG, ADDR, MASK, DATA)\ argument 113 EPIC_WRITE_MASK, (MASK));\
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | drand48.c | 69 #define MASK ((unsigned)(1 << (N - 1)) + (1 << (N - 1)) - 1) macro 70 #define LOW(x) ((unsigned)(x) & MASK) 74 #define CARRY(x, y) ((int32_t)(x) + (int32_t)(y) > MASK)
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | stoa.c | 47 #define MASK(n) ((1 << (n)) - 1) macro 166 & MASK(shift-5);
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | stoa.c | 52 #define MASK(n) ((1 << (n)) - 1) macro 179 & MASK(shift-5); in dobase()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | escparse.y | 85 %token <tok> PROP MASK ARROW EVENT ENGINE ASRU FRU COUNT CONFIG 119 | MASK propbody ';' 443 | MASK
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | bindings.h | 43 #define MASK (~(unsigned long)0<<28) macro
|
H A D | bindings.c | 65 if ((g = (unsigned int)(h & MASK)) != 0) in ehash() 67 h &= ~MASK; in ehash()
|
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/ |
H A D | static_prof.h | 54 #define MASK (~(unsigned long)0<<28) macro
|
/illumos-gate/usr/src/common/crypto/skein/ |
H A D | skein_impl.h | 100 #define SKEIN_T1_BLK_TYPE_MASK SKEIN_T1_BLK_TYPE(MASK)
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede.h | 123 #define qede_dbg(MASK, ptr, fmt, ...) \ argument 125 if (DEBUG_LEVEL & (MASK)) { \
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_node.c | 1616 #define FIX_TIME(FIELD, MASK) \ in smb_node_setattr() argument 1618 times_clr |= MASK; \ in smb_node_setattr() 1619 times_set &= ~MASK; \ in smb_node_setattr()
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | boot_elf.S | 373 #define MASK(m) ((1ul << (m)) - 1ul) macro 374 #define BITS(v, u, l) (((v) >> (l)) & MASK((u) - (l) + 1))
|
/illumos-gate/usr/src/uts/common/io/atu/ |
H A D | THIRDPARTYLICENSE | 73 * RIGHTS (PATENT, COPYRIGHT, TRADE SECRET, MASK WORK, OR OTHER
|
/illumos-gate/usr/src/uts/common/io/ipw/ |
H A D | ipw2100_impl.h | 199 #define MASK HEX macro
|