Lines Matching refs:handles
124 self.send_vectored(&serializer.buffers[..], &serializer.handles[..]) in send()
137 let mut handles: [Option<Handle>; MAX_MSG_HANDLES] = Default::default(); in recv() localVariable
138 let (byte_count, handle_count) = self.recv_vectored(&mut [buffer], &mut handles)?; in recv()
140 T::deserialize(&buffer[..byte_count], &mut handles[..handle_count]) in recv()
151 handles: &mut [Option<Handle>], in recv_vectored()
174 handles: raw_handles.as_mut_ptr() as *mut i32, in recv_vectored()
195 handles[index] = Some(Handle(*raw_handle)); in recv_vectored()
209 pub fn send_vectored(&self, buffers: &[&[u8]], handles: &[Handle]) -> crate::Result<()> { in send_vectored()
224 num_handles: handles.len().try_into()?, in send_vectored()
225 handles: handles.as_ptr() as *mut i32, in send_vectored()
379 handles: arrayvec::ArrayVec<Handle, MAX_MSG_HANDLES>, field
391 self.handles.try_push(Handle(handle.as_raw_fd())).or(Err(TipcError::AllocError)) in serialize_handle()