Home
last modified time | relevance | path

Searched refs:sread (Results 1 – 14 of 14) sorted by relevance

/third_party/curl/lib/
Dcurl_setup_once.h138 #define sread(x,y,z) (ssize_t)read((RECV_TYPE_ARG1)(x), \ macro
165 #define sread(x,y,z) (ssize_t)recv((RECV_TYPE_ARG1)(x), \ macro
170 #ifndef sread
Dsocketpair.c150 nread = sread(socks[1], p, s); in Curl_socketpair()
Dcurl_ntlm_wb.c285 sread(ntlm->ntlm_auth_hlpr_socket, buf, data->set.buffer_size); in ntlm_wb_response()
Dcf-socket.c846 nread = sread(ctx->sock, buf, len); in nw_in_read()
Dmulti.c68 #define wakeup_read sread
/third_party/node/deps/cares/src/lib/
Dsetup_once.h134 #define sread(x,y,z) (ares_ssize_t)read((RECV_TYPE_ARG1)(x), \ macro
170 #define sread(x,y,z) (ares_ssize_t)recv((RECV_TYPE_ARG1)(x), \
176 #ifndef sread
Dares_process.c350 return sread(s, data, data_len); in socket_recvfrom()
363 return sread(s, data, data_len); in socket_recv()
/third_party/node/deps/uv/src/unix/
Dstream.c56 fd_set* sread; member
160 memset(s->sread, 0, s->sread_sz); in uv__stream_osx_select()
164 FD_SET(fd, s->sread); in uv__stream_osx_select()
167 FD_SET(s->int_fd, s->sread); in uv__stream_osx_select()
170 r = select(max_fd + 1, s->sread, s->swrite, NULL, NULL); in uv__stream_osx_select()
184 if (FD_ISSET(s->int_fd, s->sread)) in uv__stream_osx_select()
205 if (FD_ISSET(fd, s->sread)) in uv__stream_osx_select()
210 assert(events != 0 || FD_ISSET(s->int_fd, s->sread)); in uv__stream_osx_select()
331 s->sread = (fd_set*) ((char*) s + sizeof(*s)); in uv__stream_try_select()
333 s->swrite = (fd_set*) ((char*) s->sread + sread_sz); in uv__stream_try_select()
/third_party/libuv/src/unix/
Dstream.c56 fd_set* sread; member
160 memset(s->sread, 0, s->sread_sz); in uv__stream_osx_select()
164 FD_SET(fd, s->sread); in uv__stream_osx_select()
167 FD_SET(s->int_fd, s->sread); in uv__stream_osx_select()
170 r = select(max_fd + 1, s->sread, s->swrite, NULL, NULL); in uv__stream_osx_select()
184 if (FD_ISSET(s->int_fd, s->sread)) in uv__stream_osx_select()
205 if (FD_ISSET(fd, s->sread)) in uv__stream_osx_select()
210 assert(events != 0 || FD_ISSET(s->int_fd, s->sread)); in uv__stream_osx_select()
331 s->sread = (fd_set*) ((char*) s + sizeof(*s)); in uv__stream_try_select()
333 s->swrite = (fd_set*) ((char*) s->sread + sread_sz); in uv__stream_try_select()
/third_party/curl/tests/server/
Dmqttd.c466 ssize_t rc = sread(fd, (char *)buffer, 2); in fixedheader()
480 rc = sread(fd, (char *)&buffer[i], 1); in fixedheader()
557 rc = sread(fd, (char *)buffer, remaining_length); in mqttit()
690 rc = sread(fd, (char *)&buffer[0], 2); in mqttit()
Dtftpd.c1207 n = sread(peer, &ackbuf.storage[0], sizeof(ackbuf.storage)); in sendtftp()
1279 n = sread(peer, rdp, PKTSIZE); in recvtftp()
1330 n = sread(peer, &buf.storage[0], sizeof(buf.storage)); in recvtftp()
Dsws.c896 got = sread(sock, reqbuf + req->offset, REQBUFSIZ - req->offset); in get_request()
947 got = sread(sock, reqbuf + req->offset, req->cl); in get_request()
949 got = sread(sock, reqbuf + req->offset, REQBUFSIZ-1 - req->offset); in get_request()
1594 rc = sread(clientfd[i], &readclient[i][tos[i]], len); in http_connect()
1612 rc = sread(serverfd[i], &readserver[i][toc[i]], len); in http_connect()
Drtspd.c706 got = sread(sock, reqbuf + req->offset, req->cl); in get_request()
708 got = sread(sock, reqbuf + req->offset, REQBUFSIZ-1 - req->offset); in get_request()
Dsockfilt.c1176 nread_socket = sread(sockfd, buffer, sizeof(buffer)); in juggle()