Lines Matching defs:bit
40 /* Signal numbers start at 1, but bit positions start at 0. */
41 int bit = signum - 1;
43 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) {
47 return (int)((local_set[bit / LONG_BIT] >> (bit % LONG_BIT)) & 1);
51 /* Signal numbers start at 1, but bit positions start at 0. */
52 int bit = signum - 1;
54 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) {
58 local_set[bit / LONG_BIT] |= 1UL << (bit % LONG_BIT);
63 /* Signal numbers start at 1, but bit positions start at 0. */
64 int bit = signum - 1;
66 if (set == NULL || bit < 0 || bit >= (int)(8 * sizeof(sigset_t))) {
70 local_set[bit / LONG_BIT] &= ~(1UL << (bit % LONG_BIT));