| /freebsd-14.2/usr.sbin/cron/cron/ |
| H A D | cron.c | 314 if (bit_test(e->second, otzsecond) && 316 bit_test(e->hour, otzhour) && 317 bit_test(e->month, otzmonth) && 319 ? (bit_test(e->dow,otzdow) && bit_test(e->dom,otzdom)) 320 : (bit_test(e->dow,otzdow) || bit_test(e->dom,otzdom)) 334 if (bit_test(e->second, second) && 335 bit_test(e->minute, minute) && 336 bit_test(e->hour, hour) && 337 bit_test(e->month, month) && 339 ? (bit_test(e->dow,dow) && bit_test(e->dom,dom)) [all …]
|
| /freebsd-14.2/sys/dev/evdev/ |
| H A D | evdev.c | 169 if (bit_test(evdev->ev_abs_flags, ABS_MT_SLOT)) in evdev_estimate_report_size() 547 return (bit_test(evdev->ev_type_flags, type)); in evdev_event_supported() 608 if (!bit_test(evdev->ev_key_flags, code)) in evdev_check_event() 615 if (!bit_test(evdev->ev_rel_flags, code)) in evdev_check_event() 622 if (!bit_test(evdev->ev_abs_flags, code)) in evdev_check_event() 635 if (!bit_test(evdev->ev_msc_flags, code)) in evdev_check_event() 642 if (!bit_test(evdev->ev_led_flags, code)) in evdev_check_event() 649 if (!bit_test(evdev->ev_snd_flags, code)) in evdev_check_event() 656 if (!bit_test(evdev->ev_sw_flags, code)) in evdev_check_event() 687 if (bit_test(evdev->ev_key_states, code) && in evdev_modify_event() [all …]
|
| H A D | evdev_mt.c | 113 type_a = !bit_test(evdev->ev_abs_flags, ABS_MT_SLOT); in evdev_mt_init() 124 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) { in evdev_mt_init() 133 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) { in evdev_mt_init() 142 if (!bit_test(evdev->ev_flags, EVDEV_FLAG_MT_KEEPID)) in evdev_mt_init() 145 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_STCOMPAT)) in evdev_mt_init() 158 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) in evdev_mt_sync_frame() 160 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_AUTOREL)) in evdev_mt_sync_frame() 163 bit_test(evdev->ev_flags, EVDEV_FLAG_MT_STCOMPAT)) in evdev_mt_sync_frame() 530 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) in evdev_mt_id_to_slot() 594 if (!bit_test(evdev->ev_prop_flags, INPUT_PROP_DIRECT)) in evdev_mt_support_st_compat() [all …]
|
| /freebsd-14.2/tests/sys/sys/ |
| H A D | bitstring_test.c | 906 ATF_CHECK(bit_test(b, early) != 0); in ATF_TC_BODY() 909 ATF_CHECK_EQ(0, bit_test(b, early)); in ATF_TC_BODY() 916 ATF_CHECK(bit_test(b, early - 1)); in ATF_TC_BODY() 917 ATF_CHECK(bit_test(b, early)); in ATF_TC_BODY() 918 ATF_CHECK(bit_test(b, early + 1)); in ATF_TC_BODY() 930 ATF_CHECK(bit_test(b, late) != 0); in ATF_TC_BODY() 933 ATF_CHECK_EQ(0, bit_test(b, late)); in ATF_TC_BODY() 940 ATF_CHECK(bit_test(b, late - 1)); in ATF_TC_BODY() 941 ATF_CHECK(bit_test(b, late)); in ATF_TC_BODY() 942 ATF_CHECK(bit_test(b, late + 1)); in ATF_TC_BODY() [all …]
|
| /freebsd-14.2/sbin/hastd/ |
| H A D | activemap.c | 315 PJDLOG_ASSERT(!bit_test(amp->am_memmap, ext)); in activemap_write_start() 351 PJDLOG_ASSERT(bit_test(amp->am_memmap, ext)); in activemap_write_complete() 381 PJDLOG_ASSERT(bit_test(amp->am_memmap, extent)); in activemap_extent_complete() 473 if (bit_test(amp->am_memmap, ext)) { in activemap_copyin() 504 if (bit_test(amp->am_syncmap, ext)) in activemap_merge() 507 if (!bit_test(remmap, ext)) in activemap_merge() 666 if (bit_test(amp->am_syncmap, ext)) { in activemap_need_sync() 668 PJDLOG_ASSERT(bit_test(amp->am_memmap, ext)); in activemap_need_sync() 672 if (!bit_test(amp->am_memmap, ext)) { in activemap_need_sync() 690 printf("%d", bit_test(amp->am_memmap, bit) ? 1 : 0); in activemap_dump() [all …]
|
| /freebsd-14.2/usr.sbin/bluetooth/bthidd/ |
| H A D | kbd.c | 381 if (bit_test(s->keys2, i)) { in kbd_process_keys() 382 if (!bit_test(s->keys1, i)) { in kbd_process_keys() 390 if (bit_test(s->keys1, i)) { in kbd_process_keys() 391 if (!bit_test(s->keys2, i)) in kbd_process_keys() 424 if (bit_test(m, i)) in uinput_kbd_write() 444 if (bit_test(m, i)) { in kbd_write()
|
| /freebsd-14.2/contrib/netbsd-tests/include/ |
| H A D | d_bitstring_64.out | 82 test bit_test using previous bitstring 83 i bit_test(i)
|
| H A D | d_bitstring_27.out | 45 test bit_test using previous bitstring 46 i bit_test(i)
|
| H A D | d_bitstring_8.out | 26 test bit_test using previous bitstring 27 i bit_test(i)
|
| H A D | d_bitstring_32.out | 50 test bit_test using previous bitstring 51 i bit_test(i)
|
| H A D | d_bitstring_49.out | 67 test bit_test using previous bitstring 68 i bit_test(i)
|
| H A D | d_bitstring_67.out | 85 test bit_test using previous bitstring 86 i bit_test(i)
|
| H A D | t_bitstring.c | 57 (void) fprintf(file, "%c", (bit_test(b, i) ? '1' : '0')); in printbits() 111 (void) fprintf(file, "%3d%15d\n", i, bit_test(bs, i)); in calculate_data()
|
| /freebsd-14.2/usr.bin/ctlstat/ |
| H A D | ctlstat.c | 339 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_dump() 369 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_json() 401 if (F_MASK(ctx) && bit_test(ctx->item_mask, \ 427 if (F_MASK(ctx) && bit_test(ctx->item_mask, \ 674 bit_test(ctx->item_mask, item) == 0) in ctlstat_standard() 728 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_standard() 777 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_standard()
|
| /freebsd-14.2/lib/msun/tests/ |
| H A D | Makefile | 28 NETBSD_ATF_TESTS_C+= bit_test
|
| /freebsd-14.2/sys/netgraph/bluetooth/socket/ |
| H A D | ng_btsocket_hci_raw.c | 687 if (!bit_test( in ng_btsocket_hci_raw_filter() 693 if (d && !bit_test(pcb->filter.packet_mask, NG_HCI_CMD_PKT - 1)) in ng_btsocket_hci_raw_filter() 700 !bit_test(pcb->filter.packet_mask, type - 1) || in ng_btsocket_hci_raw_filter() 712 if (!bit_test(ng_btsocket_hci_raw_sec_filter->events, event)) in ng_btsocket_hci_raw_filter() 715 if (!bit_test(pcb->filter.event_mask, event)) in ng_btsocket_hci_raw_filter()
|
| /freebsd-14.2/sys/kern/ |
| H A D | subr_unit.c | 603 if (bit_test(ubf->map, l)) in optimize_unr() 634 if (bit_test(ubf->map, l)) in optimize_unr() 849 if (bit_test(ub->map, i) == 0) { in alloc_unr_specificl() 967 KASSERT(bit_test(ub->map, item) != 0, in free_unrl() 1075 if (bit_test(ub->map, x)) in print_unr()
|
| H A D | kern_fork.c | 287 if (bit_test(&proc_id_grpidmap, result) || in fork_findpid() 288 bit_test(&proc_id_sessidmap, result) || in fork_findpid() 289 bit_test(&proc_id_reapmap, result)) { in fork_findpid()
|
| /freebsd-14.2/sys/dev/hid/ |
| H A D | hkbd.c | 118 bit_test(map, key); \ 498 if (hkbd_is_modifier_key(key) || bit_test(sc->sc_ndata, key)) in hkbd_interrupt() 507 if (!bit_test(sc->sc_ndata, key)) in hkbd_interrupt() 510 if (!bit_test(sc->sc_odata, key)) in hkbd_interrupt() 513 if (hkbd_is_modifier_key(key) || bit_test(sc->sc_odata, key)) in hkbd_interrupt() 664 if (bit_test(sc->sc_loc_key_valid, 0) && id == sc->sc_id_loc_key[0]) { in hkbd_intr_callback()
|
| /freebsd-14.2/sys/netinet/ |
| H A D | ip_id.c | 228 } while (bit_test(V_id_bits, new_id) || new_id == 0); in ip_randomid()
|
| /freebsd-14.2/sys/dev/bhnd/bhndb/ |
| H A D | bhndb_private.h | 264 KASSERT(is_free == !bit_test(br->dwa_freelist, dwa->rnid), in bhndb_dw_is_free()
|
| /freebsd-14.2/sys/vm/ |
| H A D | vm_reserv.c | 400 KASSERT(bit_test(rv->popmap, index), in vm_reserv_depopulate() 520 KASSERT(!bit_test(rv->popmap, index), in vm_reserv_populate() 798 bit_test(rv->popmap, index)) { in vm_reserv_alloc_page() 1058 return (!bit_test(rv->popmap, m - rv->pages)); in vm_reserv_is_page_free()
|
| /freebsd-14.2/usr.sbin/cron/lib/ |
| H A D | entry.c | 294 if (bit_test(e->dow, 0) || bit_test(e->dow, 7)) { in load_entry()
|
| /freebsd-14.2/lib/libbluetooth/ |
| H A D | hci.c | 385 return (bit_test(filter->packet_mask, type - 1)); in bt_devfilter_pkt_tst() 403 return (bit_test(filter->event_mask, event - 1)); in bt_devfilter_evt_tst()
|
| /freebsd-14.2/sys/sys/ |
| H A D | bitstring.h | 135 bit_test(const bitstr_t *_bitstr, size_t _bit) in bit_test() function
|