Searched refs:bit_is_set (Results 1 – 8 of 8) sorted by relevance
/third_party/libinput/src/ |
D | evdev-tablet.c | 468 if (bit_is_set(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_X) || in tablet_update_xy() 469 bit_is_set(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_Y)) { in tablet_update_xy() 509 (bit_is_set(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_X) || in tablet_tool_process_delta() 510 bit_is_set(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_Y))) { in tablet_tool_process_delta() 541 if (bit_is_set(tablet->changed_axes, in tablet_update_pressure() 554 if (bit_is_set(tablet->changed_axes, in tablet_update_distance() 567 if (bit_is_set(tablet->changed_axes, in tablet_update_slider() 582 if (bit_is_set(tablet->changed_axes, in tablet_update_tilt() 584 bit_is_set(tablet->changed_axes, in tablet_update_tilt() 606 if (bit_is_set(tablet->changed_axes, in tablet_update_artpen_rotation() [all …]
|
D | evdev-totem.c | 278 if (bit_is_set(slot->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_X) || in totem_slot_fetch_axes() 279 bit_is_set(slot->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_Y)) { in totem_slot_fetch_axes() 288 if (bit_is_set(slot->changed_axes, in totem_slot_fetch_axes() 297 if (bit_is_set(slot->changed_axes, in totem_slot_fetch_axes() 299 bit_is_set(slot->changed_axes, in totem_slot_fetch_axes()
|
D | libinput.c | 1046 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_x_has_changed() 1062 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_y_has_changed() 1078 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_pressure_has_changed() 1094 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_distance_has_changed() 1110 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_tilt_x_has_changed() 1126 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_tilt_y_has_changed() 1142 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_rotation_has_changed() 1158 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_slider_has_changed() 1174 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_size_major_has_changed() 1190 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_size_minor_has_changed() [all …]
|
D | util-bits.h | 46 bit_is_set(const unsigned char *array, int bit) in bit_is_set() function
|
D | evdev-tablet-pad.c | 67 return bit_is_set(pad->button_state.bits, button); in pad_button_is_down()
|
/third_party/libevdev/libevdev/ |
D | libevdev.c | 516 if (bit_is_set(dev->bits, EV_REP)) { in libevdev_set_fd() 525 if (bit_is_set(dev->abs_bits, i)) { in libevdev_set_fd() 585 old = bit_is_set(dev->key_values, i); in sync_key_state() 586 new = bit_is_set(keystate, i); in sync_key_state() 611 old = bit_is_set(dev->sw_values, i); in sync_sw_state() 612 new = bit_is_set(swstate, i); in sync_sw_state() 637 old = bit_is_set(dev->led_values, i); in sync_led_state() 638 new = bit_is_set(ledstate, i); in sync_led_state() 662 if (!bit_is_set(dev->abs_bits, i)) in sync_abs_state() 827 !bit_is_set(changes[slot].axes, ABS_MT_SLOT)) in push_mt_sync_events() [all …]
|
D | libevdev-util.h | 60 bit_is_set(const unsigned long *array, int bit) in bit_is_set() function
|
/third_party/libinput/test/ |
D | test-utils.c | 64 ck_assert(bit_is_set(read_bitfield, i)); in START_TEST() 68 ck_assert(!bit_is_set(read_bitfield, i)); in START_TEST()
|