Lines Matching defs:bit
632 // return 1<<x of highest bit set
794 // We chmod before chown, which strips the suid bit. Caller has to explicitly
992 mode_t bit = 0;
999 // suid/sticky bit.
1001 if ((dowhat & 8) && (dowho&(8|(1<<i)))) bit++;
1002 } else if (dowhat & 16) bit++;
1005 if (dowhat&(1<<j)) bit++;
1008 // When selection active, modify bit
1010 if (dohow == '=' || (bit && dohow == '-')) mode &= ~where;
1011 if (bit && dohow != '-') mode |= where;
1027 int i, bit;
1031 bit = mode & (1<<i);
1035 if (!bit) c &= ~0x20;
1036 } else c = bit ? "xwr"[c] : '-';
1204 // field to the 4-bit version number [4]".