/external/oss-fuzz/projects/libyaml/ |
D | libyaml_deconstructor_alt_fuzzer.c | 40 yaml_event_t input_event; in LLVMFuzzerTestOneInput() local 91 if (!yaml_parser_parse(&parser, &input_event)) in LLVMFuzzerTestOneInput() 96 done = (input_event.type == YAML_STREAM_END_EVENT); in LLVMFuzzerTestOneInput() 109 switch (input_event.type) { in LLVMFuzzerTestOneInput() 130 if (input_event.data.stream_start.encoding) { in LLVMFuzzerTestOneInput() 131 yaml_encoding_t encoding = input_event.data.stream_start.encoding; in LLVMFuzzerTestOneInput() 197 if (input_event.data.document_start.version_directive) { in LLVMFuzzerTestOneInput() 199 input_event.data.document_start.version_directive; in LLVMFuzzerTestOneInput() 254 if (input_event.data.document_start.tag_directives.start != in LLVMFuzzerTestOneInput() 255 input_event.data.document_start.tag_directives.end) { in LLVMFuzzerTestOneInput() [all …]
|
D | libyaml_deconstructor_fuzzer.c | 40 yaml_event_t input_event; in LLVMFuzzerTestOneInput() local 93 if (!yaml_parser_parse(&parser, &input_event)) in LLVMFuzzerTestOneInput() 98 done = (input_event.type == YAML_STREAM_END_EVENT); in LLVMFuzzerTestOneInput() 111 switch (input_event.type) { in LLVMFuzzerTestOneInput() 134 if (input_event.data.stream_start.encoding) { in LLVMFuzzerTestOneInput() 135 yaml_encoding_t encoding = input_event.data.stream_start.encoding; in LLVMFuzzerTestOneInput() 210 if (input_event.data.document_start.version_directive) { in LLVMFuzzerTestOneInput() 212 input_event.data.document_start.version_directive; in LLVMFuzzerTestOneInput() 280 if (input_event.data.document_start.tag_directives.start != in LLVMFuzzerTestOneInput() 281 input_event.data.document_start.tag_directives.end) { in LLVMFuzzerTestOneInput() [all …]
|
/external/crosvm/devices/src/virtio/input/ |
D | event_source.rs | 11 use linux_input_sys::{input_event, virtio_input_event, InputEventDecoder}; 109 evt = input_event::from_virtio_input_event(vio_evt); in send_event() 199 evt_source_impl: EventSourceImpl::new(source, 16 * input_event::SIZE), in new() 223 self.evt_source_impl.receive_events::<input_event>() in receive_events() 248 use crate::virtio::input::event_source::{input_event, virtio_input_event, EventSourceImpl}; 255 fn new(evts: &Vec<input_event>) -> SourceMock { in new() 302 source.receive_events::<input_event>().unwrap(), in empty_receive() 313 fn instantiate_input_events(count: usize) -> Vec<input_event> { in instantiate_input_events() argument 314 let mut ret: Vec<input_event> = Vec::with_capacity(count); in instantiate_input_events() 316 ret.push(input_event { in instantiate_input_events() [all …]
|
/external/ltp/testcases/kernel/input/ |
D | input06.c | 40 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()
|
D | input01.c | 35 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()
|
D | input_helper.h | 32 int check_event_code(struct input_event *iev, int event, int code); 33 int check_sync_event(struct input_event *iev);
|
D | input_helper.c | 172 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()
|
/external/crosvm/linux_input_sys/src/ |
D | lib.rs | 36 pub struct input_event { struct 43 unsafe impl DataInit for input_event {} implementation 45 impl input_event { implementation 46 pub fn from_virtio_input_event(other: &virtio_input_event) -> input_event { in from_virtio_input_event() argument 47 input_event { in from_virtio_input_event() 56 impl InputEventDecoder for input_event { implementation 61 struct Aligner([u8; input_event::SIZE]); in decode() 62 let data_aligned = Aligner(*<[u8; input_event::SIZE]>::from_slice(data).unwrap()); in decode()
|
/external/autotest/client/site_tests/hardware_Keyboard/src/ |
D | evtest.c | 321 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/toybox/toys/android/ |
D | sendevent.c | 26 struct input_event ev; in sendevent_main()
|
/external/libkmsxx/utils/ |
D | kmstouch.cpp | 127 static void handle_event(struct input_event& ev, DumbFramebuffer* fb) in handle_event() 284 struct input_event ev { in main()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_lirc_mode2_user.c | 114 struct input_event event; in main()
|
/external/adhd/cras/src/server/ |
D | cras_alsa_jack.c | 361 static inline int is_audio_switch_event(const struct input_event *ev, in is_audio_switch_event() 388 struct input_event ev[64]; in gpio_switch_callback() 391 ARRAY_SIZE(ev) * sizeof(struct input_event)); in gpio_switch_callback() 395 for (i = 0; i < r / sizeof(struct input_event); ++i) in gpio_switch_callback()
|
/external/libxkbcommon/tools/ |
D | interactive-evdev.c | 296 struct input_event evs[16]; in read_keyboard() 300 const size_t nevs = len / sizeof(struct input_event); in read_keyboard()
|
/external/cros/system_api/ |
D | system_api.gyp | 40 '<(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/ |
D | input.h | 28 struct input_event { struct
|
/external/igt-gpu-tools/tests/ |
D | testdisplay.c | 551 static gboolean input_event(GIOChannel *source, GIOCondition condition, in input_event() function 755 ret = g_io_add_watch(stdinchannel, G_IO_IN | G_IO_ERR, input_event, in igt_simple_main_args()
|
/external/igt-gpu-tools/tools/ |
D | intel_dp_compliance.c | 950 static gboolean input_event(GIOChannel *source, GIOCondition condition, in input_event() function 1095 ret = g_io_add_watch(stdinchannel, G_IO_IN | G_IO_ERR, input_event, in main()
|
/external/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 180 pub struct input_event {
|
/external/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 600 pub struct input_event {
|