Searched refs:bitmask (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Dbitmap.c79 uint64_t bitmask; local
97 bitmask = UINT64_C(1) << BITMAP_NUM_TO_REM(n);
99 b->bitmaps[offset] |= bitmask;
105 uint64_t bitmask; local
116 bitmask = UINT64_C(1) << BITMAP_NUM_TO_REM(n);
118 b->bitmaps[offset] &= ~bitmask;
122 uint64_t bitmask; local
133 bitmask = UINT64_C(1) << BITMAP_NUM_TO_REM(n);
135 return !!(b->bitmaps[offset] & bitmask);
162 uint64_t bitmask; local
[all...]
/systemd/src/udev/
H A Dudev-builtin-input_id.c76 * Read a capability attribute and return bitmask.
79 * @param bitmask: Output array which has a sizeof of bitmask_size
83 unsigned long *bitmask, size_t bitmask_size,
98 memzero(bitmask, bitmask_size);
103 bitmask[i] = val;
111 bitmask[i] = val;
122 while (bitmask[val-1] == 0 && val > 0)
126 log_debug(text, i * BITS_PER_LONG, bitmask[i]);
81 get_cap_mask(struct udev_device *dev, struct udev_device *pdev, const char* attr, unsigned long *bitmask, size_t bitmask_size, bool test) argument
/systemd/src/resolve/
H A Dresolved-dns-packet.c1448 uint8_t bitmask = 1 << 7; local
1458 while (bitmask) {
1459 if (bitmap[i] & bitmask) {
1474 bitmask >>= 1;

Completed in 843 milliseconds