Home
last modified time | relevance | path

Searched refs:read_from_buffer (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/msg_socket/src/
Dmsg_on_socket.rs99 unsafe fn read_from_buffer(buffer: &[u8], fds: &[RawFd]) -> MsgResult<(Self, usize)>; in read_from_buffer() method
108 unsafe fn read_from_buffer(buffer: &[u8], fds: &[RawFd]) -> MsgResult<(Self, usize)> { in read_from_buffer() method
109 let (v, size) = u32::read_from_buffer(buffer, fds)?; in read_from_buffer()
125 unsafe fn read_from_buffer(_buffer: &[u8], fds: &[RawFd]) -> MsgResult<(Self, usize)> { in read_from_buffer() method
149 unsafe fn read_from_buffer(buffer: &[u8], fds: &[RawFd]) -> MsgResult<(Self, usize)> { in read_from_buffer() method
153 let (inner, len) = T::read_from_buffer(&buffer[1..], fds)?; in read_from_buffer()
183 unsafe fn read_from_buffer(_buffer: &[u8], _fds: &[RawFd]) -> MsgResult<(Self, usize)> { in read_from_buffer() method
201 unsafe fn read_from_buffer(_buffer: &[u8], fds: &[RawFd]) -> MsgResult<(Self, usize)> {
246 unsafe fn read_from_buffer(buffer: &[u8], _fds: &[RawFd]) -> MsgResult<(Self, usize)> { in read_from_buffer() method
269 unsafe fn read_from_buffer(buffer: &[u8], _fds: &[RawFd]) -> MsgResult<(Self, usize)> { in read_from_buffer() method
[all …]
Dlib.rs178 M::read_from_buffer(&msg_buffer[0..recv_msg_size], &fd_buffer[0..recv_fd_size])? in recv()
/external/crosvm/msg_socket/msg_on_socket_derive/
Dmsg_on_socket_derive.rs118 unsafe fn read_from_buffer( in define_read_buffer_for_struct()
280 unsafe fn read_from_buffer( in define_read_buffer_for_enum()
422 unsafe fn read_from_buffer( in define_read_buffer_for_tuples()
481 let t = <#ty>::read_from_buffer(&buffer[__offset..], &fds[__fd_offset..])?; in read_from_buffer_and_move_offset()
524 unsafe fn read_from_buffer( in end_to_end_struct_test()
530 let t = <u8>::read_from_buffer(&buffer[__offset..], &fds[__fd_offset..])?; in end_to_end_struct_test()
534 let t = <RawFd>::read_from_buffer(&buffer[__offset..], &fds[__fd_offset..])?; in end_to_end_struct_test()
538 let t = <u32>::read_from_buffer(&buffer[__offset..], &fds[__fd_offset..])?; in end_to_end_struct_test()
589 unsafe fn read_from_buffer( in end_to_end_tuple_struct_test()
595 let t = <u8>::read_from_buffer(&buffer[__offset..], &fds[__fd_offset..])?; in end_to_end_tuple_struct_test()
[all …]
/external/crosvm/vm_control/src/
Dlib.rs51 unsafe fn read_from_buffer(buffer: &[u8], fds: &[RawFd]) -> MsgResult<(Self, usize)> { in read_from_buffer() method
52 let (fd, size) = RawFd::read_from_buffer(buffer, fds)?; in read_from_buffer()