/freebsd/usr.sbin/cron/cron/ |
H A D | cron.c | 314 if (bit_test(e->second, otzsecond) && 315 bit_test(e->minute, otzminute) && 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) && [all …]
|
/freebsd/sys/dev/evdev/ |
H A D | evdev.c | 169 if (bit_test(evdev->ev_abs_flags, ABS_MT_SLOT)) in evdev_estimate_report_size() 294 bit_test(evdev->ev_flags, EVDEV_FLAG_SOFTREPEAT)) { in evdev_register_common() 308 if (bit_test(evdev->ev_abs_flags, ABS_MT_SLOT) || in evdev_register_common() 309 bit_test(evdev->ev_flags, EVDEV_FLAG_MT_TRACK)) in evdev_register_common() 339 if (bit_test(evdev->ev_flags, EVDEV_FLAG_EXT_EPOCH)) in evdev_register() 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() 628 bit_test(evdev->ev_abs_flags, ABS_MT_SLOT)) in evdev_check_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() 173 bool type_a = !bit_test(evdev->ev_abs_flags, ABS_MT_SLOT); in evdev_mt_send_slot() 198 bool type_a = !bit_test(evdev->ev_abs_flags, ABS_MT_SLOT); in evdev_mt_push_slot() [all …]
|
/freebsd/tests/sys/sys/ |
H A D | bitstring_test.c | 126 ATF_REQUIRE_MSG(bit_test(bitstr, j) == (j == i) ? 1 : 0, in BITSTRING_TC_DEFINE() 145 ATF_REQUIRE_MSG(bit_test(bitstr, j) == (j == i) ? 0 : 1, in BITSTRING_TC_DEFINE() 905 ATF_CHECK_EQ(0, bit_test(b, early - 1)); in ATF_TC_BODY() 906 ATF_CHECK(bit_test(b, early) != 0); in ATF_TC_BODY() 907 ATF_CHECK_EQ(0, bit_test(b, early + 1)); in ATF_TC_BODY() 909 ATF_CHECK_EQ(0, bit_test(b, early)); in ATF_TC_BODY() 915 ATF_CHECK_EQ(0, bit_test(b, early - 2)); 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() [all …]
|
/freebsd/usr.sbin/bluetooth/bthidd/ |
H A D | kbd.c | 382 if (bit_test(s->keys2, i)) { in kbd_process_keys() 383 if (!bit_test(s->keys1, i)) { in kbd_process_keys() 391 if (bit_test(s->keys1, i)) { in kbd_process_keys() 392 if (!bit_test(s->keys2, i)) in kbd_process_keys() 425 if (bit_test(m, i)) in uinput_kbd_write() 445 if (bit_test(m, i)) { in kbd_write()
|
/freebsd/contrib/netbsd-tests/include/ |
H A D | d_bitstring_67.out | 85 test bit_test using previous bitstring 86 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_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_64.out | 82 test bit_test using previous bitstring 83 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 | 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/usr.bin/ctlstat/ |
H A D | ctlstat.c | 338 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_dump() 368 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_json() 400 if (F_MASK(ctx) && bit_test(ctx->item_mask, \ 426 if (F_MASK(ctx) && bit_test(ctx->item_mask, \ 673 bit_test(ctx->item_mask, item) == 0) in ctlstat_standard() 727 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_standard() 776 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_standard()
|
/freebsd/lib/msun/tests/ |
H A D | Makefile | 27 NETBSD_ATF_TESTS_C+= bit_test
|
/freebsd/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 | 284 if (bit_test(&proc_id_grpidmap, result) || in fork_findpid() 285 bit_test(&proc_id_sessidmap, result) || in fork_findpid() 286 bit_test(&proc_id_reapmap, result)) { in fork_findpid()
|
/freebsd/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/sys/vm/ |
H A D | vm_reserv.c | 444 KASSERT(bit_test(rv->popmap, index), in vm_reserv_depopulate() 569 KASSERT(!bit_test(rv->popmap, index), in vm_reserv_populate() 852 bit_test(rv->popmap, index)) { in vm_reserv_alloc_page() 958 pos0 = bit_test(rv->popmap, 0) ? -1 : 0; in vm_reserv_break() 1118 return (!bit_test(rv->popmap, m - rv->pages)); in vm_reserv_is_page_free()
|
/freebsd/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/sys/netinet/ |
H A D | ip_id.c | 228 } while (bit_test(V_id_bits, new_id) || new_id == 0); in ip_randomid()
|
/freebsd/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/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/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/sys/sys/ |
H A D | bitstring.h | 135 bit_test(const bitstr_t *_bitstr, size_t _bit) in bit_test() function
|
/freebsd/contrib/nvi/common/ |
H A D | key.c | 633 !bit_test(gp->seqb, evp->e_c))) in v_event_get()
|