Home
last modified time | relevance | path

Searched refs:evts (Results 1 – 7 of 7) sorted by relevance

/external/crosvm/devices/src/virtio/input/
Devent_source.rs255 fn new(evts: &Vec<input_event>) -> SourceMock { in new()
257 for evt in evts { in new()
338 let evts = instantiate_input_events(4usize); in partial_pop() localVariable
339 let mut source = EventSourceImpl::new(SourceMock::new(&evts), input_event::SIZE * 4); in partial_pop()
342 evts.len(), in partial_pop()
348 assert_events_match(&evt, &evts[0]); in partial_pop()
354 let evts = instantiate_input_events(EVENT_COUNT); in total_pop() localVariable
355 let mut source = EventSourceImpl::new(SourceMock::new(&evts), input_event::SIZE * 4); in total_pop()
358 evts.len(), in total_pop()
363 assert_events_match(&evt, &evts[idx]); in total_pop()
Devdev.rs194 let mut evts: BTreeMap<u16, virtio_input_bitmap> = BTreeMap::new(); in supported_events() localVariable
230 evts.insert(ev, virtio_input_bitmap::new(evt_codes.buffer)); in supported_events()
232 Ok(evts) in supported_events()
/external/OpenCL-CTS/test_conformance/gles/
Dtest_fence_sync.cpp257 cl_event evts[ 2 ] = { acqEvent1, acqEvent2 }; in run_cl_kernel() local
259 … error = clEnqueueNDRangeKernel( queue, kernel, 1, NULL, &numThreads, NULL, 2, evts, &kernEvent ); in run_cl_kernel()
267 evts[ 0 ] = relEvent1; in run_cl_kernel()
268 evts[ 1 ] = relEvent2; in run_cl_kernel()
269 error = clWaitForEvents( 2, evts ); in run_cl_kernel()
/external/OpenCL-CTS/test_conformance/gl/
Dtest_fence_sync.cpp246 cl_event evts[ 2 ] = { acqEvent1, acqEvent2 }; in run_cl_kernel() local
248 … error = clEnqueueNDRangeKernel( queue, kernel, 1, NULL, &numThreads, NULL, 2, evts, &kernEvent ); in run_cl_kernel()
256 evts[ 0 ] = relEvent1; in run_cl_kernel()
257 evts[ 1 ] = relEvent2; in run_cl_kernel()
258 error = clWaitForEvents( 2, evts ); in run_cl_kernel()
/external/perfetto/src/base/
Dunix_socket.cc777 WSANETWORKEVENTS evts{}; in OnEvent() local
779 &evts) == 0); in OnEvent()
783 if (state_ == State::kConnecting && (evts.lNetworkEvents & FD_CONNECT)) { in OnEvent()
785 int err = evts.iErrorCode[FD_CONNECT_BIT]; in OnEvent()
809 if (evts.lNetworkEvents & FD_READ) { in OnEvent()
827 if (evts.lNetworkEvents & FD_CLOSE) { in OnEvent()
834 if (state_ == State::kListening && (evts.lNetworkEvents & FD_ACCEPT)) { in OnEvent()
/external/crosvm/sys_util/src/
Dpoll.rs732 let mut evts = Vec::with_capacity(EVT_COUNT); in poll_context_overflow() localVariable
737 evts.push(evt); in poll_context_overflow()
742 evts[event.token()].read().unwrap(); in poll_context_overflow()
/external/igt-gpu-tools/tools/
Dintel_opregion_decode.c87 uint32_t evts; /* ASL supported events */ member
221 printf("\tevts:\t0x%08x\n", acpi->evts); in decode_acpi()