Lines Matching refs:WlResult
145 ) -> WlResult<()> { in encode_vfd_new() argument
174 ) -> WlResult<()> { in encode_vfd_new_dmabuf() argument
200 fn encode_vfd_recv(writer: &mut Writer, vfd_id: u32, data: &[u8], vfd_ids: &[u32]) -> WlResult<()> { in encode_vfd_recv() argument
222 fn encode_vfd_hup(writer: &mut Writer, vfd_id: u32) -> WlResult<()> { in encode_vfd_hup() argument
236 fn encode_resp(writer: &mut Writer, resp: WlResp) -> WlResult<()> { in encode_resp() argument
319 type WlResult<T> = result::Result<T, WlError>; typedef
345 fn request(&self, request: &VmMemoryRequest) -> WlResult<VmMemoryResponse> { in request()
350 fn register_memory(&self, shm: SharedMemory) -> WlResult<(SharedMemory, VmMemoryResponse)> { in register_memory()
591 fn connect<P: AsRef<Path>>(path: P) -> WlResult<WlVfd> { in connect()
598 fn allocate(vm: VmRequester, size: u64) -> WlResult<WlVfd> { in allocate()
626 ) -> WlResult<(WlVfd, GpuMemoryDesc)> { in dmabuf()
653 fn dmabuf_sync(&self, flags: u32) -> WlResult<()> { in dmabuf_sync() argument
674 fn pipe_remote_read_local_write() -> WlResult<WlVfd> { in pipe_remote_read_local_write()
682 fn pipe_remote_write_local_read() -> WlResult<WlVfd> { in pipe_remote_write_local_read()
690 fn from_file(vm: VmRequester, mut descriptor: File) -> WlResult<WlVfd> { in from_file()
777 fn send(&mut self, rds: &[RawDescriptor], data: &mut Reader) -> WlResult<WlResp> { in send()
799 fn recv(&mut self, in_file_queue: &mut Vec<File>) -> WlResult<Vec<u8>> { in recv()
844 fn close(&mut self) -> WlResult<()> { in close() argument
911 fn new_pipe(&mut self, id: u32, flags: u32) -> WlResult<WlResp> { in new_pipe()
950 fn new_alloc(&mut self, id: u32, flags: u32, size: u32) -> WlResult<WlResp> { in new_alloc()
981 fn new_dmabuf(&mut self, id: u32, width: u32, height: u32, format: u32) -> WlResult<WlResp> { in new_dmabuf()
1004 fn dmabuf_sync(&mut self, vfd_id: u32, flags: u32) -> WlResult<WlResp> { in dmabuf_sync()
1018 fn new_context(&mut self, id: u32, name: &str) -> WlResult<WlResp> { in new_context()
1082 fn close(&mut self, vfd_id: u32) -> WlResult<WlResp> { in close()
1131 ) -> WlResult<WlResp> { in send()
1264 fn recv(&mut self, vfd_id: u32) -> WlResult<()> { in recv() argument
1294 fn execute(&mut self, reader: &mut Reader) -> WlResult<WlResp> { in execute()