Searched refs:bitmap_isset (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/test/ |
D | test-bitmap.c | 17 assert_se(bitmap_isset(b, 0) == false); in main() 18 assert_se(bitmap_isset(b, 1) == false); in main() 19 assert_se(bitmap_isset(b, 256) == false); in main() 23 assert_se(bitmap_isset(b, 0) == true); in main() 26 assert_se(bitmap_isset(b, 0) == false); in main() 30 assert_se(bitmap_isset(b, 1) == true); in main() 33 assert_se(bitmap_isset(b, 1) == false); in main() 37 assert_se(bitmap_isset(b, 256) == true); in main() 40 assert_se(bitmap_isset(b, 256) == false); in main() 45 assert_se(bitmap_isset(b, 32) == true); in main()
|
/systemd-251/src/shared/ |
D | exit-status.c | 144 bitmap_isset(&success_status->status, status)); in is_clean_exit() 152 bitmap_isset(&success_status->signal, status)); in is_clean_exit() 172 if (code == CLD_EXITED && bitmap_isset(&x->status, status)) in exit_status_set_test() 175 if (IN_SET(code, CLD_KILLED, CLD_DUMPED) && bitmap_isset(&x->signal, status)) in exit_status_set_test()
|
D | bitmap.h | 21 bool bitmap_isset(const Bitmap *b, unsigned n);
|
D | bitmap.c | 114 bool bitmap_isset(const Bitmap *b, unsigned n) { in bitmap_isset() function
|
/systemd-251/src/resolve/ |
D | resolved-dns-dnssec.c | 1809 if (bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_SOA)) in dnssec_test_nsec3() 1812 if (bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_NS) && in dnssec_test_nsec3() 1813 !bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_SOA)) in dnssec_test_nsec3() 1818 if (bitmap_isset(enclosure_rr->nsec3.types, key->type)) in dnssec_test_nsec3() 1820 else if (bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_CNAME)) in dnssec_test_nsec3() 1834 if (bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_DNAME)) in dnssec_test_nsec3() 1841 if (bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_NS) && in dnssec_test_nsec3() 1842 !bitmap_isset(enclosure_rr->nsec3.types, DNS_TYPE_SOA)) in dnssec_test_nsec3() 1927 else if (bitmap_isset(wildcard_rr->nsec3.types, key->type)) in dnssec_test_nsec3() 1929 else if (bitmap_isset(wildcard_rr->nsec3.types, DNS_TYPE_CNAME)) in dnssec_test_nsec3() [all …]
|
D | resolved-dns-cache.c | 660 return !bitmap_isset(rr->nsec.types, DNS_TYPE_NS) || in rr_eligible() 661 bitmap_isset(rr->nsec.types, DNS_TYPE_SOA); in rr_eligible() 664 return !bitmap_isset(rr->nsec3.types, DNS_TYPE_NS) || in rr_eligible() 665 bitmap_isset(rr->nsec3.types, DNS_TYPE_SOA); in rr_eligible() 1148 if (!bitmap_isset(nsec->rr->nsec.types, key->type) && in dns_cache_lookup() 1149 !bitmap_isset(nsec->rr->nsec.types, DNS_TYPE_CNAME) && in dns_cache_lookup() 1150 !bitmap_isset(nsec->rr->nsec.types, DNS_TYPE_DNAME)) { in dns_cache_lookup()
|