Searched refs:bitmap_isset (Results 1 - 5 of 5) sorted by relevance

/systemd/src/test/
H A Dtest-bitmap.c35 assert_se(bitmap_isset(b, 0) == false);
36 assert_se(bitmap_isset(b, 1) == false);
37 assert_se(bitmap_isset(b, 256) == false);
41 assert_se(bitmap_isset(b, 0) == true);
44 assert_se(bitmap_isset(b, 0) == false);
48 assert_se(bitmap_isset(b, 1) == true);
51 assert_se(bitmap_isset(b, 1) == false);
55 assert_se(bitmap_isset(b, 256) == true);
58 assert_se(bitmap_isset(b, 256) == false);
63 assert_se(bitmap_isset(
[all...]
/systemd/src/basic/
H A Dbitmap.h37 bool bitmap_isset(Bitmap *b, unsigned n);
H A Dbitmap.c121 bool bitmap_isset(Bitmap *b, unsigned n) { function
/systemd/src/resolve/
H A Dresolved-dns-dnssec.c1455 if (bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_SOA))
1458 if (bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_NS) &&
1459 !bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_SOA))
1464 if (bitmap_isset(enclosure_rr->nsec3.types, key->type))
1466 else if (bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_CNAME))
1480 if (bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_DNAME))
1487 if (bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_NS) &&
1488 !bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_SOA))
1573 else if (bitmap_isset(wildcard_rr->nsec3.types, key->type))
1575 else if (bitmap_isset(wildcard_r
[all...]
H A Dresolved-dns-cache.c597 return !bitmap_isset(rr->nsec.types, DNS_TYPE_NS) ||
598 bitmap_isset(rr->nsec.types, DNS_TYPE_SOA);
601 return !bitmap_isset(rr->nsec3.types, DNS_TYPE_NS) ||
602 bitmap_isset(rr->nsec3.types, DNS_TYPE_SOA);
892 if (!bitmap_isset(nsec->rr->nsec.types, key->type) &&
893 !bitmap_isset(nsec->rr->nsec.types, DNS_TYPE_CNAME) &&
894 !bitmap_isset(nsec->rr->nsec.types, DNS_TYPE_DNAME)) {

Completed in 24 milliseconds