Lines Matching refs:r

188 	TEEC_Result r = TEEC_ERROR_GENERIC;  in sock_connect()  local
227 r = TEE_ISOCKET_ERROR_OUT_OF_RESOURCES; in sock_connect()
229 r = TEEC_ERROR_GENERIC; in sock_connect()
235 r = TEE_ISOCKET_ERROR_TIMEOUT; in sock_connect()
237 r = TEEC_ERROR_COMMUNICATION; in sock_connect()
247 r = TEEC_ERROR_GENERIC; in sock_connect()
251 r = TEEC_SUCCESS; in sock_connect()
257 return r; in sock_connect()
398 int r = 0; in poll_with_timeout() local
424 r = poll(pfd, nfds, to); in poll_with_timeout()
425 if (!r) in poll_with_timeout()
427 if (r == -1) { in poll_with_timeout()
450 ssize_t r = 0; in write_with_timeout() local
456 r = write(fd, buf, *blen); in write_with_timeout()
457 if (r == -1) { in write_with_timeout()
462 *blen = r; in write_with_timeout()
499 ssize_t r = 0; in recv_with_out_flags() local
505 r = recvmsg(fd, &msg, inflags); in recv_with_out_flags()
506 if (r < 0) { in recv_with_out_flags()
513 return r; in recv_with_out_flags()
517 return r; in recv_with_out_flags()
530 ssize_t r = 0; in read_with_timeout() local
549 r = recv_with_out_flags(fd, b, SUPP_MAX_PEEK_LEN, in read_with_timeout()
553 if (r < 0) in read_with_timeout()
561 r++; in read_with_timeout()
564 *blen = r; in read_with_timeout()
568 peek_len = r; in read_with_timeout()
571 r = recv_with_out_flags(fd, buf, *blen, MSG_DONTWAIT, &out_flags); in read_with_timeout()
572 if (r == -1) { in read_with_timeout()
581 if (peek_len > (size_t)r) in read_with_timeout()
584 *blen = r + 1; in read_with_timeout()
586 *blen = r; in read_with_timeout()
709 TEEC_Result r = TEE_ISOCKET_ERROR_HOSTNAME; in udp_changeaddr() local
726 r = TEE_ISOCKET_ERROR_TIMEOUT; in udp_changeaddr()
728 r = TEEC_ERROR_COMMUNICATION; in udp_changeaddr()
731 r = TEEC_SUCCESS; in udp_changeaddr()
736 return r; in udp_changeaddr()