Lines Matching refs:res
95 size_t res = size; in writeFully() local
98 while (res > 0) { in writeFully()
99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0); in writeFully()
107 res -= stat; in writeFully()
119 size_t res = len; in readFully() local
120 while (res > 0) { in readFully()
121 ssize_t stat = ::recv(m_sock, (char *)(buf) + len - res, res, 0); in readFully()
123 res -= stat; in readFully()
161 int res = 0; in recv() local
163 res = ::recv(m_sock, (char *)buf, len, 0); in recv()
164 if (res < 0) { in recv()
171 return res; in recv()