Lines Matching refs:nread
97 ssize_t nread = Curl_conn_cf_recv(io_ctx->cf->next, io_ctx->data, in read_cb() local
99 if(nread < 0) { in read_cb()
100 nread = 0; in read_cb()
106 else if(nread == 0) in read_cb()
108 *out_n = (uintptr_t)nread; in read_cb()
110 len, nread, result); in read_cb()
202 ssize_t nread; in cr_recv() local
212 nread = -1; in cr_recv()
230 nread = -1; in cr_recv()
240 nread = -1; in cr_recv()
257 nread = (ssize_t)plain_bytes_copied; in cr_recv()
261 nread = 0; in cr_recv()
265 nread = -1; in cr_recv()
270 plainlen, nread, *err); in cr_recv()
271 return nread; in cr_recv()
976 ssize_t nwritten, nread; in cr_shutdown() local
1010 nread = cr_recv(cf, data, buf, (int)sizeof(buf), &result); in cr_shutdown()
1011 if(nread <= 0) in cr_shutdown()
1015 if(nread > 0) { in cr_shutdown()
1018 else if(nread == 0) { in cr_shutdown()