• Home
  • Raw
  • Download

Lines Matching full:events

75 /// Events that can be retrieved using the `next_event` method of a decoder.
223 let mut events = [EpollEvent::empty()]; in test_ready_frame_queue_poll() localVariable
224 let nb_fds = epoll.wait(&mut events, EpollTimeout::ZERO).unwrap(); in test_ready_frame_queue_poll()
227 // Events in the queue should signal. in test_ready_frame_queue_poll()
229 let mut events = [EpollEvent::empty()]; in test_ready_frame_queue_poll() localVariable
230 let nb_fds = epoll.wait(&mut events, EpollTimeout::ZERO).unwrap(); in test_ready_frame_queue_poll()
232 assert_eq!(events, [EpollEvent::new(EpollFlags::EPOLLIN, 1)]); in test_ready_frame_queue_poll()
236 let mut events = [EpollEvent::empty()]; in test_ready_frame_queue_poll() localVariable
237 let nb_fds = epoll.wait(&mut events, EpollTimeout::ZERO).unwrap(); in test_ready_frame_queue_poll()
239 assert_eq!(events, [EpollEvent::empty()]); in test_ready_frame_queue_poll()
243 let mut events = [EpollEvent::empty()]; in test_ready_frame_queue_poll() localVariable
244 let nb_fds = epoll.wait(&mut events, EpollTimeout::ZERO).unwrap(); in test_ready_frame_queue_poll()
246 assert_eq!(events, [EpollEvent::new(EpollFlags::EPOLLIN, 1)]); in test_ready_frame_queue_poll()
249 let mut events = [EpollEvent::empty()]; in test_ready_frame_queue_poll() localVariable
250 let nb_fds = epoll.wait(&mut events, EpollTimeout::ZERO).unwrap(); in test_ready_frame_queue_poll()
252 assert_eq!(events, [EpollEvent::new(EpollFlags::EPOLLIN, 1)]); in test_ready_frame_queue_poll()
255 let mut events = [EpollEvent::empty()]; in test_ready_frame_queue_poll() localVariable
256 let nb_fds = epoll.wait(&mut events, EpollTimeout::ZERO).unwrap(); in test_ready_frame_queue_poll()
258 assert_eq!(events, [EpollEvent::new(EpollFlags::EPOLLIN, 1)]); in test_ready_frame_queue_poll()
261 let mut events = [EpollEvent::empty()]; in test_ready_frame_queue_poll() localVariable
262 let nb_fds = epoll.wait(&mut events, EpollTimeout::ZERO).unwrap(); in test_ready_frame_queue_poll()
264 assert_eq!(events, [EpollEvent::empty()]); in test_ready_frame_queue_poll()