| /freebsd-12.1/sys/dev/evdev/ |
| H A D | evdev.c | 541 return (bit_test(evdev->ev_type_flags, type)); in evdev_event_supported() 602 if (!bit_test(evdev->ev_key_flags, code)) in evdev_check_event() 609 if (!bit_test(evdev->ev_rel_flags, code)) in evdev_check_event() 616 if (!bit_test(evdev->ev_abs_flags, code)) in evdev_check_event() 629 if (!bit_test(evdev->ev_msc_flags, code)) in evdev_check_event() 636 if (!bit_test(evdev->ev_led_flags, code)) in evdev_check_event() 643 if (!bit_test(evdev->ev_snd_flags, code)) in evdev_check_event() 650 if (!bit_test(evdev->ev_sw_flags, code)) in evdev_check_event() 680 if (bit_test(evdev->ev_key_states, code) && in evdev_modify_event() 870 !bit_test(evdev->ev_led_states, code)); in evdev_restore_after_kdb() [all …]
|
| H A D | evdev_mt.c | 93 if (bit_test(evdev->ev_flags, EVDEV_FLAG_MT_STCOMPAT)) in evdev_mt_init() 181 if (!bit_test(evdev->ev_prop_flags, INPUT_PROP_DIRECT)) in evdev_support_mt_compat() 186 if (bit_test(evdev->ev_abs_flags, evdev_mtstmap[i][0])) in evdev_support_mt_compat() 245 if (bit_test(evdev->ev_abs_flags, evdev_mtstmap[i][1])) in evdev_send_mt_compat() 252 if (!bit_test(evdev->ev_prop_flags, INPUT_PROP_DIRECT)) in evdev_send_mt_compat()
|
| H A D | uinput.c | 367 if (!bit_test(state->ucs_evdev->ev_abs_flags, i)) in uinput_setup_provider()
|
| /freebsd-12.1/usr.sbin/cron/cron/ |
| H A D | cron.c | 328 if (bit_test(e->second, otzsecond) in cron_tick() 330 && bit_test(e->hour, otzhour) in cron_tick() 331 && bit_test(e->month, otzmonth) in cron_tick() 333 ? (bit_test(e->dow,otzdow) && bit_test(e->dom,otzdom)) in cron_tick() 334 : (bit_test(e->dow,otzdow) || bit_test(e->dom,otzdom)) in cron_tick() 348 if (bit_test(e->second, second) in cron_tick() 349 && bit_test(e->minute, minute) in cron_tick() 350 && bit_test(e->hour, hour) in cron_tick() 351 && bit_test(e->month, month) in cron_tick() 353 ? (bit_test(e->dow,dow) && bit_test(e->dom,dom)) in cron_tick() [all …]
|
| /freebsd-12.1/sbin/hastd/ |
| H A D | activemap.c | 318 PJDLOG_ASSERT(!bit_test(amp->am_memmap, ext)); in activemap_write_start() 354 PJDLOG_ASSERT(bit_test(amp->am_memmap, ext)); in activemap_write_complete() 384 PJDLOG_ASSERT(bit_test(amp->am_memmap, extent)); in activemap_extent_complete() 476 if (bit_test(amp->am_memmap, ext)) { in activemap_copyin() 507 if (bit_test(amp->am_syncmap, ext)) in activemap_merge() 510 if (!bit_test(remmap, ext)) in activemap_merge() 669 if (bit_test(amp->am_syncmap, ext)) { in activemap_need_sync() 671 PJDLOG_ASSERT(bit_test(amp->am_memmap, ext)); in activemap_need_sync() 675 if (!bit_test(amp->am_memmap, ext)) { in activemap_need_sync() 693 printf("%d", bit_test(amp->am_memmap, bit) ? 1 : 0); in activemap_dump() [all …]
|
| /freebsd-12.1/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-12.1/contrib/netbsd-tests/include/ |
| H A D | d_bitstring_27.out | 45 test bit_test using previous bitstring 46 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 | d_bitstring_8.out | 26 test bit_test using previous bitstring 27 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_49.out | 67 test bit_test using previous bitstring 68 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 | 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-12.1/usr.bin/ctlstat/ |
| H A D | ctlstat.c | 324 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_dump() 354 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_json() 441 bit_test(ctx->item_mask, item) == 0) in ctlstat_standard() 495 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_standard() 544 if (F_MASK(ctx) && bit_test(ctx->item_mask, in ctlstat_standard()
|
| /freebsd-12.1/sys/kern/ |
| H A D | subr_unit.c | 484 if (bit_test(ubf->map, l)) in optimize_unr() 515 if (bit_test(ubf->map, l)) in optimize_unr() 726 if (bit_test(ub->map, i) == 0) { in alloc_unr_specificl() 842 KASSERT(bit_test(ub->map, item) != 0, in free_unrl() 945 if (bit_test(ub->map, x)) in print_unr()
|
| /freebsd-12.1/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-12.1/tests/sys/sys/ |
| H A D | bitstring_test.c | 125 ATF_REQUIRE_MSG(bit_test(bitstr, j) == (j == i) ? 1 : 0, in BITSTRING_TC_DEFINE() 144 ATF_REQUIRE_MSG(bit_test(bitstr, j) == (j == i) ? 0 : 1, in BITSTRING_TC_DEFINE()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | ip_id.c | 230 } while (bit_test(V_id_bits, new_id) || new_id == 0); in ip_randomid()
|
| /freebsd-12.1/sys/dev/bhnd/bhndb/ |
| H A D | bhndb_private.h | 266 KASSERT(is_free == !bit_test(br->dwa_freelist, dwa->rnid), in bhndb_dw_is_free()
|
| /freebsd-12.1/sys/sys/ |
| H A D | bitstring.h | 139 bit_test(const bitstr_t *_bitstr, int _bit) in bit_test() function
|
| /freebsd-12.1/usr.sbin/cron/lib/ |
| H A D | entry.c | 291 if (bit_test(e->dow, 0) || bit_test(e->dow, 7)) {
|
| /freebsd-12.1/lib/libbluetooth/ |
| H A D | hci.c | 387 return (bit_test(filter->packet_mask, type - 1)); in bt_devfilter_pkt_tst() 405 return (bit_test(filter->event_mask, event - 1)); in bt_devfilter_evt_tst()
|
| /freebsd-12.1/share/man/man3/ |
| H A D | Makefile | 60 bitstring.3 bit_test.3
|
| /freebsd-12.1/contrib/nvi/common/ |
| H A D | key.c | 643 !bit_test(gp->seqb, evp->e_c))) in v_event_get()
|
| /freebsd-12.1/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_data_sprom_subr.c | 899 return (bit_test(state->revs, state->layout->rev)); in bhnd_sprom_opcode_matches_layout_rev()
|