Searched refs:mask (Results 1 - 25 of 1780) sorted by path

1234567891011>>

/freebsd-11-stable/bin/cp/
H A Dcp.c272 mode_t mask, mode; local
278 mask = ~umask(0777);
279 umask(~mask);
381 ((mode | S_IRWXU) & mask) != (mode & mask))
382 if (chmod(to.p_path, mode & mask) !=
/freebsd-11-stable/bin/rcp/
H A Drcp.c498 int amt, exists, first, mask, mode, ofd, omode; local
509 mask = umask(0);
511 (void)umask(mask);
695 if (fchmod(ofd, omode & ~mask))
/freebsd-11-stable/bin/setfacl/
H A DMakefile5 SRCS= file.c mask.c merge.c remove.c setfacl.c util.c
/freebsd-11-stable/bin/sh/
H A Deval.c714 mustexpandto(const char *argtext, const char *mask) argument
725 if (*argtext != *mask)
730 mask++;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/
H A Dtst.dlclose1.ksh115 sigset_t mask;
124 (void) sigemptyset(&mask);
125 (void) sigsuspend(&mask);
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_cc.c1897 sigset_t mask, omask; local
1969 (void) sigemptyset(&mask);
1970 (void) sigaddset(&mask, SIGCHLD);
1971 (void) sigprocmask(SIG_BLOCK, &mask, &omask);
H A Ddt_consume.c110 uint64_t mask; local
122 mask = 1LL << (64 - b);
123 mask -= 1;
124 a[0] |= ((a[1] & mask) << (64 - b));
133 mask = a[0] >> (64 - b);
134 a[1] |= mask;
237 uint64_t mask[2] = { 1, 0 }; local
257 dt_shift_128(mask, 128 - log);
262 result[0] |= mask[0];
263 result[1] |= mask[
[all...]
H A Ddt_module.c1458 uint_t mask = 0; /* mask of dt_module flags to match */ local
1473 mask = bits = DT_DM_KERNEL;
1475 mask = DT_DM_KERNEL;
1485 if ((dmp->dm_flags & mask) != bits)
1590 uint_t mask = 0; /* mask of dt_module flags to match */ local
1605 mask = bits = DT_DM_KERNEL;
1607 mask = DT_DM_KERNEL;
1618 if ((dmp->dm_flags & mask) !
[all...]
H A Ddt_print.c159 uint64_t mask = (1ULL << ep->cte_bits) - 1; local
191 value &= mask;
/freebsd-11-stable/contrib/amd/amd/
H A Damq_svc.c89 sigset_t new, mask; local
91 int mask;
114 sigprocmask(SIG_BLOCK, &new, &mask);
116 mask =
121 mask = sigblock(mask);
139 sigprocmask(SIG_SETMASK, &mask, NULL);
141 sigsetmask(mask);
H A Dops_pcfs.c107 int mask; local
142 pcfs_args.mask = 0777; /* this may be the msdos file modes */
143 if ((mask = hasmntval(&mnt, MNTTAB_OPT_MASK)) > 0)
144 pcfs_args.mask = mask;
146 plog(XLOG_DEBUG, "mount_pcfs: mask=%o (octal)", (u_int) pcfs_args.mask);
151 if ((mask = hasmntval(&mnt, MNTTAB_OPT_DIRMASK)) > 0)
152 pcfs_args.dirmask = mask;
H A Dsched.c117 sigset_t new, mask; local
119 int mask; local
127 sigprocmask(SIG_BLOCK, &new, &mask);
129 mask = sigblock(sigmask(SIGCHLD));
134 sigprocmask(SIG_SETMASK, &mask, NULL);
136 sigsetmask(mask);
/freebsd-11-stable/contrib/amd/fsinfo/
H A Dfsi_analyze.c157 show_required(ioloc *l, int mask, char *info, char *hostname, char *strings[]) argument
160 fsi_log("mask left for %s:%s is %#x", hostname, info, mask);
163 if (ISSET(mask, i))
/freebsd-11-stable/contrib/amd/hlfsd/
H A Dhlfsd.c457 sigset_t mask; local
458 sigemptyset(&mask);
459 s = sigsuspend(&mask); /* wait for child to set up */
/freebsd-11-stable/contrib/amd/libamu/
H A Dwire.c160 u_long mask = ntohl(netmask); local
181 net = ntohl(address) & (mask = ntohl(netmask));
186 for (maskbits = 32; !(mask & 1); mask >>= 1)
H A Dxutil.c428 int mask;
436 mask = sigblock(sigmask(SIGCHLD));
450 mask = sigblock(sigmask(SIGCHLD));
462 int mask;
471 mask = sigblock(sigmask(SIGCHLD));
484 sigsetmask(mask);
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_date.h46 * Compare a string to a mask
48 * @param mask Mask characters (arbitrary maximum is 256 characters):
57 * @remark The mask tests for an exact match for any other character
60 APU_DECLARE(int) apr_date_checkmask(const char *data, const char *mask);
/freebsd-11-stable/contrib/apr-util/misc/
H A Dapr_date.c45 * Compare a string to a mask
55 APU_DECLARE(int) apr_date_checkmask(const char *data, const char *mask) argument
62 switch (mask[i]) {
90 if (mask[i] != d)
95 return 0; /* We only get here if mask is corrupted (exceeds 256) */
/freebsd-11-stable/contrib/binutils/bfd/
H A Dcoff-alpha.c1825 bfd_vma mask;
1831 /* Get the relocation mask. The separate steps and the
1835 mask = 1;
1836 mask <<= (bfd_vma) r_size;
1837 mask -= 1;
1843 val &=~ mask << (bfd_vma) r_offset;
1844 val |= (stack[--tos] & mask) << (bfd_vma) r_offset;
1819 bfd_vma mask; local
H A Dcpu-ia64-opc.c291 ia64_insn mask = (((ia64_insn) 1) << self->field[0].bits) - 1; local
292 return ins_immu (self, value ^ mask, code);
299 ia64_insn mask; local
301 mask = (((ia64_insn) 1) << self->field[0].bits) - 1;
305 mask = (((ia64_insn) 1) << self->field[0].bits) - 1;
306 *valuep ^= mask;
H A Delf32-arm.c3418 both SP registers in the write mask). */
4432 /* Calculate which part of the value to mask. */
6311 bfd_signed_vma mask; local
6313 mask = -1;
6314 mask &= ~ howto->src_mask;
6315 addend |= mask;
6442 bfd_signed_vma mask; local
6444 mask = -1;
6445 mask &= ~ howto->src_mask;
6446 addend |= mask;
[all...]
H A Delf32-mep.c33 #define MEPREL(type, size, bits, right, left, pcrel, overflow, mask) \
34 {(unsigned)type, right, size, bits, pcrel, left, overflow, mep_reloc, #type, FALSE, 0, mask, 0 }
45 /* type, size, bits, leftshift, rightshift, pcrel, OD/OS/OU, mask. */
H A Delf32-score.c1764 bfd_signed_vma mask; local
1766 mask = -1;
1767 mask &= ~howto->src_mask;
1768 addend |= mask;
2315 bfd_signed_vma mask; local
2317 mask = -1;
2318 mask &= ~howto->src_mask;
2319 addend |= mask;
H A Delf64-ppc.c3421 TLS_GD .. TLS_EXPLICIT bits are or'd into the mask as the
10074 unsigned long insn, mask;
11446 mask = 3;
11454 mask = 15;
11455 if (((relocation + addend) & mask) != 0)
11461 mask + 1);
10070 unsigned long insn, mask; local
11457 mask + 1); local
H A Delflink.c2644 bfd_vma mask;
2653 mask = ((bfd_vma) 1 << power_of_two) - 1;
2654 while ((h->root.u.def.value & mask) != 0)
2656 mask >>= 1;
2670 dynbss->size = BFD_ALIGN (dynbss->size, mask + 1);
5118 unsigned long int mask;
5199 s->bitmask[val] |= ((bfd_vma) 1) << (s->hashval[h->dynindx] & s->mask);
5201 |= ((bfd_vma) 1) << ((s->hashval[h->dynindx] >> s->shift2) & s->mask);
6366 cinfo.mask = (1 << cinfo.shift1) - 1;
7116 bfd_vma mask;
2637 bfd_vma mask; local
5108 unsigned long int mask; member in struct:collect_gnu_hash_codes
7106 bfd_vma mask; local
[all...]

Completed in 306 milliseconds

1234567891011>>