Searched refs:mask (Results 1 - 25 of 928) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/optim/
H A Dlsr-shl0.c1 unsigned mask(unsigned x) function
H A Dshl-lsr0.c1 unsigned mask(unsigned x) function
H A Dmask-out.c1 unsigned mask(unsigned a, unsigned b) function
7 * check-name: mask-out
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dsetlogmask.c38 setlogmask(int mask)
42 old_mask = log.mask;
43 if (mask)
44 log.mask = mask;
H A Dsigunblock.c43 sigset_t mask;
45 sigemptyset(&mask);
48 sigaddset(&mask, s);
52 return(sigprocmask(op, &mask, NiL));
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dffs.c42 ffs(int mask) argument
46 if (mask == 0)
48 for (bit = 1; !(mask & 1); bit++)
49 mask = (unsigned int)mask >> 1;
H A Dfls.c39 fls(int mask) argument
43 if (mask == 0)
45 for (bit = 1; mask != 1; bit++)
46 mask = (unsigned int)mask >> 1;
/illumos-gate/usr/src/head/
H A Ddeflt.h73 #define TURNON(flags, mask) ((flags) |= (mask))
74 #define TURNOFF(flags, mask) ((flags) &= ~(mask))
75 #define ISON(flags, mask) (((flags) & (mask)) == (mask))
76 #define ISOFF(flags, mask) (((flags) & (mask)) != (mask))
[all...]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dntomask.c18 u_32_t mask; local
29 mask = 0;
31 mask = 0xffffffff;
32 mask <<= (32 - nbits);
34 *ap = htonl(mask);
H A Dprintmask.c17 void printmask(v, mask)
19 u_32_t *mask;
26 printf("/%d", count6bits(mask));
29 if ((ones = count4bits(*mask)) == -1) {
30 ipa.s_addr = *mask;
H A Dprintlookup.c13 void printlookup(addr, mask)
14 i6addr_t *addr, *mask;
31 if (mask->iplookupptr == NULL)
H A Dprinthostmask.c17 void printhostmask(v, addr, mask)
19 u_32_t *addr, *mask;
27 if ((v == 4) && (!*addr) && (!*mask))
45 if (mask != NULL)
46 printmask(v, mask);
H A Dprintaddr.c13 void printaddr(v, type, ifname, addr, mask)
16 u_32_t *addr, *mask;
28 printmask(v, mask);
46 printlookup((i6addr_t *)addr, (i6addr_t *)mask);
50 printhostmask(v, addr, mask);
55 printmask(v, mask);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs.conf66 # Global debug settings may be set using the 'pmcs-debug-mask' property.
81 pmcs-debug-mask=0x71;
/illumos-gate/usr/src/cmd/bnu/
H A Dpkdefs.c37 char mask[8] ={ 1,2,4,010,020,040,0100,(char)0200 }; variable
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsignalmap.c119 sigsetmask(int mask) argument
122 ret = ucbsigsetmask(maptonewmask(mask));
127 sigblock(int mask) argument
130 ret = ucbsigblock(maptonewmask(mask));
136 sigpause(int mask) argument
139 return (ucbsigpause(maptonewmask(mask)));
232 maptooldmask(int mask) argument
236 omask = mask & 0x7FFF; /* these signo are same */
238 if (mask & sigmask(XSIGURG))
240 if (mask
275 int mask; local
[all...]
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_close.c44 sigset_t mask; local
50 (void) thr_sigsetmask(SIG_SETMASK, &fillset, &mask);
55 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
67 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_usermask.c54 * Build user's audit preselection mask.
67 au_user_mask(char *user, au_mask_t *mask) argument
72 if (mask == NULL) {
81 if (auditon(A_GETAMASK, (caddr_t)mask, sizeof (*mask)) == -1) {
97 mask->as_success |= per_user.au_always.as_success;
98 mask->as_failure |= per_user.au_always.as_failure;
99 mask->as_success &= ~(per_user.au_never.as_success);
100 mask->as_failure &= ~(per_user.au_never.as_failure);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Disdigit.c37 #define ISTYPE_L(c, mask, loc) \
38 (isascii(c) ? (__ctype_mask[c] & (mask)) : \
40 (loc->ctype->lc_ctype_mask[c] & mask))
42 #define ISTYPE(c, mask) ISTYPE_L(c, mask, uselocale(NULL))
44 #define DEFN_ISTYPE(type, mask) \
48 return (ISTYPE_L(c, mask, l)); \
54 return (ISTYPE(c, mask)); \
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbtowc.c43 wchar_t mask; local
59 mask = P01;
64 mask = P10;
74 mask = P11;
85 *wchar = intcode | mask;
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dba_table.c35 * ba_insert(bataid, filter_id, val, mask)
38 * at position val& mask, mask is inserted into the mask list.
42 * return DONTCARE_VALUE if mask == 0, NORMAL_VALUE otherwise
45 ba_insert(ba_table_id_t *bataid, int filter_id, uint8_t val, uint8_t mask) argument
47 uint8_t mskd_val = val & mask;
51 if (mask == 0) {
65 /* insert mask */
66 (void) ipgpc_list_insert(&table->masks, mask);
131 ba_remove(ba_table_id_t *bataid, int filter_id, uint8_t value, uint8_t mask) argument
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dmkfifo.c57 register mode_t mask = 0; local
85 mask = umask(0);
88 mode &= ~mask;
89 umask(mask);
90 mask = 0;
95 if (mask)
96 umask(mask);
/illumos-gate/usr/src/lib/krb5/ss/
H A Dpager.c76 sigset_t mask; local
93 sigemptyset(&mask);
94 sigaddset(&mask, SIGINT);
95 sigprocmask(SIG_UNBLOCK, &mask, NULL);
97 int mask = sigblock(0); local
98 mask &= ~sigmask(SIGINT);
99 sigsetmask(mask);
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dmisc.c126 uint32_t mask, i; local
131 mask = rtsa->rtsa_mask;
133 for (i = 1; mask != 0 && i != 0 && slen < len - 1; i <<= 1) {
136 if (!(i & mask))
140 switch (i & mask) {
142 if ((mask & RTSA_MAXSL) &&
152 mask ^= RTSA_MAXSL;
185 uint32_t mask = 0, doi; local
239 if (mask & RTSA_MINSL) {
252 mask |
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dalt_prof.c399 * The fields and mask of params_out are filled in with values
401 * values. Only and all fields specified in params_out->mask are
406 * in params_in for which the mask is set will be re-assigned to newly copied
439 if (params_in->mask & KADM5_CONFIG_REALM) {
442 params.mask |= KADM5_CONFIG_REALM;
448 params.mask |= KADM5_CONFIG_REALM;
485 if (params_in->mask & KADM5_CONFIG_ADMIN_SERVER) {
488 params.mask |= KADM5_CONFIG_ADMIN_SERVER;
492 params.mask |= KADM5_CONFIG_ADMIN_SERVER;
509 params.mask |
[all...]

Completed in 266 milliseconds

1234567891011>>