Searched refs:event (Results 1 – 12 of 12) sorted by relevance
/DragonOS-0.1.9/tools/debugging/logmonitor/src/ |
D | event.rs | 2 use crate::backend::event::BackendEvent; 3 use crossterm::event::{self, Event as CrosstermEvent, KeyEvent, MouseEvent}; 48 if event::poll(timeout).expect("no events available") { in new() 49 match event::read().expect("unable to read event") { in new()
|
D | handler.rs | 3 backend::event::BackendEvent, 5 use crossterm::event::{KeyCode, KeyEvent, KeyModifiers};
|
D | tui.rs | 2 use crate::event::EventHandler; 4 use crossterm::event::DisableMouseCapture;
|
D | lib.rs | 12 pub mod event; module
|
D | main.rs | 5 use logmonitor::event::{Event, EventHandler};
|
/DragonOS-0.1.9/kernel/src/net/event_poll/ |
D | mod.rs | 75 event: RwLock<EPollEvent>, field 91 event: RwLock::new(events), in new() 101 pub fn event(&self) -> &RwLock<EPollEvent> { in event() method 102 &self.event in event() 120 let events = events as u32 & self.event.read().events; in ep_item_poll() 371 if ep_item.event.read().events & EPollEventType::EPOLLEXCLUSIVE.bits() != 0 { in do_epoll_ctl() 527 let ep_events = EPollEventType::from_bits_truncate(epitem.event.read().events); in ep_send_events() 536 let event = EPollEvent { in ep_send_events() localVariable 538 data: epitem.event.read().data, in ep_send_events() 560 user_event[res] = event; in ep_send_events() [all …]
|
D | syscall.rs | 66 pub fn epoll_ctl(epfd: i32, op: usize, fd: i32, event: VirtAddr) -> Result<usize, SystemError> { in epoll_ctl() 71 if event.is_null() { in epoll_ctl() 78 event.as_ptr::<EPollEvent>(), in epoll_ctl()
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/ |
D | mod.rs | 9 use crate::{command::CommandLineArgs, event::Event}; 12 pub mod event; module
|
/DragonOS-0.1.9/kernel/src/net/socket/ |
D | mod.rs | 841 let mut event = EPollEventType::empty(); in udp_poll() localVariable 844 event.insert( in udp_poll() 849 event.insert(EPollEventType::EPOLLHUP); in udp_poll() 853 event.insert(EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM); in udp_poll() 857 event.insert( in udp_poll() 867 return event; in udp_poll()
|
/DragonOS-0.1.9/kernel/src/net/ |
D | net_core.rs | 66 let event = binding.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query() localVariable 68 match event { in dhcp_query()
|
/DragonOS-0.1.9/kernel/src/driver/tty/tty_ldisc/ |
D | ntty.rs | 2034 let mut event = EPollEventType::empty(); in poll() localVariable 2036 event.insert(EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM) in poll() 2042 event.insert( in poll() 2051 event.insert(EPollEventType::EPOLLHUP); in poll() 2057 event.insert(EPollEventType::EPOLLOUT | EPollEventType::EPOLLWRNORM); in poll() 2060 Ok(event.bits() as usize) in poll()
|
/DragonOS-0.1.9/kernel/src/libs/intertrait/macros/ |
D | LICENSE-APACHE | 153 8. Limitation of Liability. In no event and under no legal theory,
|