Searched refs:bitmaps (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/shared/ |
D | bitmap.c | 38 ret->bitmaps = newdup(uint64_t, b->bitmaps, b->n_bitmaps); in bitmap_copy() 39 if (!ret->bitmaps) in bitmap_copy() 50 free(b->bitmaps); in bitmap_free() 84 if (!GREEDY_REALLOC0(b->bitmaps, offset + 1)) in bitmap_set() 92 b->bitmaps[offset] |= bitmask; in bitmap_set() 111 b->bitmaps[offset] &= ~bitmask; in bitmap_unset() 128 return !!(b->bitmaps[offset] & bitmask); in bitmap_isset() 138 if (b->bitmaps[i] != 0) in bitmap_isclear() 148 b->bitmaps = mfree(b->bitmaps); in bitmap_clear() 167 if (b->bitmaps[offset]) { in bitmap_iterate() [all …]
|
D | bitmap.h | 10 uint64_t *bitmaps; member
|
/systemd-251/src/resolve/ |
D | resolved-dns-packet.c | 679 uint8_t bitmaps[32] = {}; in dns_packet_append_types() local 691 if ((n >> 8) != window && bitmaps[entry / 8] != 0) { in dns_packet_append_types() 692 r = dns_packet_append_type_window(p, window, entry / 8 + 1, bitmaps, NULL); in dns_packet_append_types() 696 zero(bitmaps); in dns_packet_append_types() 702 bitmaps[entry / 8] |= 1 << (7 - (entry % 8)); in dns_packet_append_types() 705 if (bitmaps[entry / 8] != 0) { in dns_packet_append_types() 706 r = dns_packet_append_type_window(p, window, entry / 8 + 1, bitmaps, NULL); in dns_packet_append_types()
|