Home
last modified time | relevance | path

Searched refs:input_event (Results 1 – 12 of 12) sorted by relevance

/external/ltp/testcases/kernel/input/
Dinput06.c40 struct input_event events[64];
113 static int check_event(struct input_event *iev, int event, int code, int value) in check_event()
127 if (rd % sizeof(struct input_event) != 0) { in read_events()
129 rd, sizeof(struct input_event)); in read_events()
133 num_events = rd / sizeof(struct input_event); in read_events()
141 static struct input_event *next_event(void) in next_event()
149 static int parse_autorepeat_config(struct input_event *iev) in parse_autorepeat_config()
166 static int parse_key(struct input_event *iev) in parse_key()
202 struct input_event *iev; in check_events()
Dinput01.c35 static int verify_data(struct input_event *iev, int nb);
102 struct input_event iev[64]; in check_events()
112 if (rd == 0 || rd % sizeof(struct input_event)) { in check_events()
117 for (i = 0; i < rd / sizeof(struct input_event); i++) { in check_events()
126 static int verify_data(struct input_event *iev, int nb) in verify_data()
Dinput_helper.c172 struct input_event ev = { in send_event()
232 int check_event_code(struct input_event *iev, int event, int code) in check_event_code()
237 int check_sync_event(struct input_event *iev) in check_sync_event()
253 struct input_event ev; in no_events_queued()
Dinput_helper.h32 int check_event_code(struct input_event *iev, int event, int code);
33 int check_sync_event(struct input_event *iev);
/external/autotest/client/site_tests/hardware_Keyboard/src/
Devtest.c321 struct input_event ev[64]; in do_single_key_capture()
326 rd = read(fd, ev, sizeof(struct input_event) * 64); in do_single_key_capture()
328 if (rd < (int) sizeof(struct input_event)) { in do_single_key_capture()
333 for (i = 0; i < rd / sizeof(struct input_event); i++) in do_single_key_capture()
394 struct input_event ev[64]; in do_evtest_dumpall()
444 rd = read(fd, ev, sizeof(struct input_event) * 64); in do_evtest_dumpall()
446 if (rd < (int) sizeof(struct input_event)) { in do_evtest_dumpall()
451 for (i = 0; i < rd / sizeof(struct input_event); i++) in do_evtest_dumpall()
488 struct input_event ev[64]; in main()
/external/syzkaller/sys/linux/
Duinput.txt11 write$input_event(fd fd_uinput, data ptr[in, input_event], len len[data])
Dinput.txt14 write$evdev(fd fd_evdev, data ptr[in, array[input_event]], len bytesize[data])
58 input_event {
/external/toybox/toys/android/
Dsendevent.c26 struct input_event ev; in sendevent_main()
/external/adhd/cras/src/server/
Dcras_alsa_jack.c367 static inline int is_audio_switch_event(const struct input_event *ev, in is_audio_switch_event()
394 struct input_event ev[64]; in gpio_switch_callback()
397 ARRAY_SIZE(ev) * sizeof(struct input_event)); in gpio_switch_callback()
401 for (i = 0; i < r / sizeof(struct input_event); ++i) in gpio_switch_callback()
/external/libxkbcommon/xkbcommon/test/
Dinteractive-evdev.c284 struct input_event evs[16]; in read_keyboard()
288 const size_t nevs = len / sizeof(struct input_event); in read_keyboard()
/external/cros/system_api/
Dsystem_api.gyp40 '<(proto_in_dir)/input_event.proto',
59 '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/input_event.pb.cc',
/external/kernel-headers/original/uapi/linux/
Dinput.h28 struct input_event { struct