Searched refs:event (Results 1 – 12 of 12) sorted by relevance
/DragonOS/tools/debugging/logmonitor/src/ |
H A 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()
|
H A D | handler.rs | 3 backend::event::BackendEvent, 5 use crossterm::event::{KeyCode, KeyEvent, KeyModifiers};
|
H A D | tui.rs | 2 use crate::event::EventHandler; 4 use crossterm::event::DisableMouseCapture;
|
H A D | lib.rs | 12 pub mod event; module
|
H A D | main.rs | 5 use logmonitor::event::{Event, EventHandler};
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | mod.rs | 82 event: RwLock<EPollEvent>, field 98 event: RwLock::new(events), in new() 108 pub fn event(&self) -> &RwLock<EPollEvent> { in event() method 109 &self.event in event() 127 let events = events as u32 & self.event.read().events; in ep_item_poll() 384 if ep_item.event.read().events & EPollEventType::EPOLLEXCLUSIVE.bits() != 0 { in do_epoll_ctl() 538 let ep_events = EPollEventType::from_bits_truncate(epitem.event.read().events); in ep_send_events() 547 let event = EPollEvent { in ep_send_events() localVariable 549 data: epitem.event.read().data, in ep_send_events() 571 user_event[res] = event; in ep_send_events() [all …]
|
H A 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/kernel/src/net/socket/ |
H A D | mod.rs | 856 let mut event = EPollEventType::empty(); in udp_poll() localVariable 859 event.insert( in udp_poll() 864 event.insert(EPollEventType::EPOLLHUP); in udp_poll() 868 event.insert(EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM); in udp_poll() 872 event.insert( in udp_poll() 882 return event; in udp_poll() 887 let mut event = EPollEventType::empty(); in raw_poll() localVariable 890 event.insert( in raw_poll() 895 event.insert(EPollEventType::EPOLLHUP); in raw_poll() 900 event.insert(EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM); in raw_poll() [all …]
|
/DragonOS/tools/debugging/logmonitor/src/backend/ |
H A D | mod.rs | 9 use crate::{command::CommandLineArgs, event::Event}; 12 pub mod event; module
|
/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 69 let event = binding.get_mut::<dhcpv4::Socket>(dhcp_handle).poll(); in dhcp_query() localVariable 71 match event { in dhcp_query()
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | ntty.rs | 2062 let mut event = EPollEventType::empty(); in poll() localVariable 2064 event.insert(EPollEventType::EPOLLIN | EPollEventType::EPOLLRDNORM) in poll() 2077 event.insert( in poll() 2086 event.insert(EPollEventType::EPOLLHUP); in poll() 2092 event.insert(EPollEventType::EPOLLOUT | EPollEventType::EPOLLWRNORM); in poll() 2095 Ok(event.bits() as usize) in poll()
|
/DragonOS/kernel/crates/intertrait/macros/ |
H A D | LICENSE-APACHE | 153 8. Limitation of Liability. In no event and under no legal theory,
|