Lines Matching defs:bit
61 int bit = signum - 1; // Signal numbers start at 1, but bit positions start at 0.
63 if (set == NULL || bit < 0 || bit >= (int) (8*sizeof(sigset_t))) {
67 return (int) ((local_set[bit / LONG_BIT] >> (bit % LONG_BIT)) & 1);
71 int bit = signum - 1; // Signal numbers start at 1, but bit positions start at 0.
73 if (set == NULL || bit < 0 || bit >= (int) (8*sizeof(sigset_t))) {
77 local_set[bit / LONG_BIT] |= 1UL << (bit % LONG_BIT);
82 int bit = signum - 1; // Signal numbers start at 1, but bit positions start at 0.
84 if (set == NULL || bit < 0 || bit >= (int) (8*sizeof(sigset_t))) {
88 local_set[bit / LONG_BIT] &= ~(1UL << (bit % LONG_BIT));