Lines Matching refs:u32
47 type SocketpairMap = Arc<Mutex<HashMap<u32, SocketPairVec>>>;
48 type Trackers = Arc<Mutex<Vec<(u32, u32, DisplayType)>>>;
91 async fn put_socketpair(&self, target_pid: u32, fd: i32, fd2: i32) {
103 pub async fn send_fd_to_target(&self, target_pid: u32, fd: i32, fd2: i32, parameter: &str) -> bool {
148 pub async fn add_tracker(&self, channel_id: u32, session_id: u32, display: DisplayType) {
212 let u32_size = std::mem::size_of::<u32>();
214 let len = u32::from_le_bytes(buffer[0..u32_size].try_into().unwrap_or_default());
215 let pid = u32::from_le_bytes(buffer[u32_size..2 * u32_size].try_into().unwrap_or_default());
221 let is_debug = u32::from_le_bytes(buffer[u32_size * 2..3 * u32_size].try_into().unwrap_or_default()) == 1;
364 pub async fn stop_session_task(session_id: u32) {
370 pub async fn stop_task(session_id: u32, channel_id: u32) {