Searched refs:uicmd (Results 1 – 3 of 3) sorted by relevance
85 _uiCmdImpl_handle_command(UICmdImpl* uicmd, in _uiCmdImpl_handle_command() argument121 UICmdImpl* uicmd = opaque; in _uiCmdImpl_io_callback() local127 status = socket_recv(uicmd->sock, in _uiCmdImpl_io_callback()128 uicmd->reader_buffer + uicmd->reader_offset, in _uiCmdImpl_io_callback()129 uicmd->reader_bytes - uicmd->reader_offset); in _uiCmdImpl_io_callback()146 uicmd->reader_offset += status; in _uiCmdImpl_io_callback()147 if (uicmd->reader_offset != uicmd->reader_bytes) { in _uiCmdImpl_io_callback()153 if (uicmd->reader_state == EXPECTS_HEADER) { in _uiCmdImpl_io_callback()155 if (uicmd->cmd_header.cmd_param_size) { in _uiCmdImpl_io_callback()157 uicmd->reader_state = EXPECTS_PARAMETERS; in _uiCmdImpl_io_callback()[all …]
58 AttachUIProxy* uicmd = (AttachUIProxy*)opaque; in _attachUiProxy_io_func() local69 asyncReader_init(&reader, read_buf, sizeof(read_buf), &uicmd->io); in _attachUiProxy_io_func()
107 UICmdProxy* uicmd = (UICmdProxy*)opaque; in _uiCmdProxy_io_func() local118 asyncReader_init(&reader, read_buf, sizeof(read_buf), &uicmd->io); in _uiCmdProxy_io_func()