Lines Matching refs:ret_val
128 receive_response(int fd, uint32_t function, char **outdata, int32_t * ret_val) in receive_response() argument
144 resp_hdr[2].iov_base = ret_val; in receive_response()
145 resp_hdr[2].iov_len = sizeof(*ret_val); in receive_response()
148 if (count != (sizeof(func) + sizeof(data_size) + sizeof(*ret_val))) { in receive_response()
178 int32_t ret_val; in raw_to_trans_context() local
191 ret = receive_response(fd, RAW_TO_TRANS_CONTEXT, transp, &ret_val); in raw_to_trans_context()
195 ret = ret_val; in raw_to_trans_context()
204 int32_t ret_val; in trans_to_raw_context() local
216 ret = receive_response(fd, TRANS_TO_RAW_CONTEXT, rawp, &ret_val); in trans_to_raw_context()
220 ret = ret_val; in trans_to_raw_context()
229 int32_t ret_val; in raw_context_to_color() local
240 ret = receive_response(fd, RAW_CONTEXT_TO_COLOR, colors, &ret_val); in raw_context_to_color()
244 ret = ret_val; in raw_context_to_color()