Searched defs:bitmaps (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dbitmap.c32 uint64_t *bitmaps; member in struct:Bitmap
57 free(b->bitmaps);
84 /* we refuse to allocate huge bitmaps */
91 if (!GREEDY_REALLOC0(b->bitmaps, b->bitmaps_allocated, offset + 1))
99 b->bitmaps[offset] |= bitmask;
118 b->bitmaps[offset] &= ~bitmask;
135 return !!(b->bitmaps[offset] & bitmask);
145 if (b->bitmaps[i] != 0)
156 b->bitmaps = mfree(b->bitmaps);
[all...]
/systemd/src/resolve/
H A Dresolved-dns-packet.c625 uint8_t bitmaps[32] = {}; local
637 if ((n >> 8) != window && bitmaps[entry / 8] != 0) {
638 r = dns_packet_append_type_window(p, window, entry / 8 + 1, bitmaps, NULL);
642 zero(bitmaps);
648 bitmaps[entry / 8] |= 1 << (7 - (entry % 8));
651 if (bitmaps[entry / 8] != 0) {
652 r = dns_packet_append_type_window(p, window, entry / 8 + 1, bitmaps, NULL);
1942 /* We accept empty NSEC bitmaps. The bit indicating the presence of the NSEC record itself
1989 /* empty non-terminals can have NSEC3 records, so empty bitmaps are allowed */

Completed in 15 milliseconds