Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 8 of 8) sorted by relevance

/coreutils/src/
Dmake-prime-list.c129 wide_uint mask = -1; in output_primes() local
130 for (wide_uint_bits = 0; mask; wide_uint_bits++) in output_primes()
131 mask >>= 1; in output_primes()
Dstty.c202 unsigned long mask; /* Other bits to turn off for this mode. */ member
1686 *bitsp = *bitsp & ~info->mask & ~info->bits; in set_mode()
1688 *bitsp = (*bitsp & ~info->mask) | info->bits; in set_mode()
1916 unsigned long mask; in display_changed() local
1981 mask = mode_info[i].mask ? mode_info[i].mask : mode_info[i].bits; in display_changed()
1982 if ((*bitsp & mask) == mode_info[i].bits) in display_changed()
2006 unsigned long mask; in display_all() local
2063 mask = mode_info[i].mask ? mode_info[i].mask : mode_info[i].bits; in display_all()
2064 if ((*bitsp & mask) == mode_info[i].bits) in display_all()
2296 *bitsp = (*bitsp & ~mode_info[i].mask) | mode_info[i].bits; in sane_mode()
[all …]
Dls.c1135 unsigned int mask = STATX_MODE; in calc_req_mask() local
1138 mask |= STATX_INO; in calc_req_mask()
1141 mask |= STATX_BLOCKS; in calc_req_mask()
1144 mask |= STATX_NLINK | STATX_SIZE | time_type_to_statx (); in calc_req_mask()
1146 mask |= STATX_UID; in calc_req_mask()
1148 mask |= STATX_GID; in calc_req_mask()
1160 mask |= time_type_to_statx (); in calc_req_mask()
1163 mask |= STATX_SIZE; in calc_req_mask()
1169 return mask; in calc_req_mask()
1174 unsigned int mask) in do_statx() argument
[all …]
Dinstall.c161 mode_t mask = S_IRWXUGO | S_IFMT; in extra_mode() local
162 return !! (input & ~ mask); in extra_mode()
Ddd.c2389 int mask = conversions_mask; in synchronize_output() local
2392 if ((mask & C_FDATASYNC) && ifdatasync (STDOUT_FILENO) != 0) in synchronize_output()
2399 mask |= C_FSYNC; in synchronize_output()
2402 if ((mask & C_FSYNC) && ifsync (STDOUT_FILENO) != 0) in synchronize_output()
Dstat.c1349 unsigned int mask = 0; in format_to_mask() local
1360 mask |= fmt_to_mask (*b); in format_to_mask()
1362 return mask; in format_to_mask()
Dtail.c1689 if ((ev->mask & IN_DELETE_SELF) && ! ev->len) in tail_forever_inotify()
1721 bool deleting = !! (ev->mask & IN_DELETE); in tail_forever_inotify()
1790 if (ev->mask & (IN_ATTRIB | IN_DELETE | IN_DELETE_SELF | IN_MOVE_SELF)) in tail_forever_inotify()
1796 if (ev->mask & IN_DELETE_SELF) in tail_forever_inotify()
Dcopy.c3491 static mode_t mask = (mode_t) -1; in cached_umask() local
3492 if (mask == (mode_t) -1) in cached_umask()
3494 mask = umask (0); in cached_umask()
3495 umask (mask); in cached_umask()
3497 return mask; in cached_umask()