Home
last modified time | relevance | path

Searched refs:swrite (Results 1 – 17 of 17) sorted by relevance

/third_party/curl/lib/
Dcurl_setup_once.h180 #define swrite(x,y,z) (ssize_t)write((SEND_TYPE_ARG1)(x), \ macro
185 #define swrite(x,y,z) (ssize_t)send((SEND_TYPE_ARG1)(x), \
190 #ifndef swrite
Dtelnet.c313 bytes_written = swrite(conn->sock[FIRSTSOCKET], buf, 3); in send_negotiation()
943 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption()
955 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption()
987 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption()
1041 bytes_written = swrite(conn->sock[FIRSTSOCKET], tn->subbuffer, 3); in sendsuboption()
1050 bytes_written = swrite(conn->sock[FIRSTSOCKET], tn->subbuffer + 7, 2); in sendsuboption()
Dsocketpair.c140 swrite(socks[0], rnd, sizeof(rnd)); in Curl_socketpair()
Dcurl_ntlm_wb.c271 ssize_t written = swrite(ntlm->ntlm_auth_hlpr_socket, input, len_in); in ntlm_wb_response()
Dasyn-thread.c323 if(swrite(tsd->sock_pair[1], buf, sizeof(buf)) < 0) { in getaddrinfo_thread()
Dcf-socket.c1328 nwritten = swrite(ctx->sock, buf, len); in cf_socket_send()
Dmulti.c67 #define wakeup_write swrite
/third_party/node/deps/cares/src/lib/
Dsetup_once.h186 #define swrite(x,y,z) (ares_ssize_t)write((SEND_TYPE_ARG1)(x), \ macro
201 #define swrite(x,y,z) (ares_ssize_t)send((SEND_TYPE_ARG1)(x), \
207 #ifndef swrite
Dares_writev.c72 result = swrite(s, buffer, bytes); in ares_writev()
Dares_process.c194 return swrite(s, data, len); in socket_write()
/third_party/curl/tests/server/
Dmqttd.c248 rc = swrite(fd, (char *)packet, sizeof(packet)); in connack()
272 rc = swrite(fd, (char *)packet, sizeof(packet)); in suback()
294 rc = swrite(fd, (char *)packet, sizeof(packet)); in puback()
312 ssize_t rc = swrite(fd, (char *)packet, sizeof(packet)); in disconnect()
441 rc = swrite(fd, (char *)packet, sendamount); in publish()
Dtftpd.c1197 if(swrite(peer, sdp, size + 4) != size + 4) { in sendtftp()
1269 if(swrite(peer, &ackbuf.storage[0], 4) != 4) { in recvtftp()
1324 (void) swrite(peer, &ackbuf.storage[0], 4); in recvtftp()
1339 (void) swrite(peer, &ackbuf.storage[0], 4); /* resend final ack */ in recvtftp()
1376 if(swrite(peer, &buf.storage[0], length) != length) in nak()
Drtspd.c797 written = swrite(sock, STREAMTHIS, count); in send_doc()
944 written = swrite(sock, buffer, num); in send_doc()
969 written = swrite(sock, req->rtp_buffer + (req->rtp_buffersize - count), in send_doc()
Dsws.c1037 written = swrite(sock, STREAMTHIS, count); in send_doc()
1180 written = swrite(sock, buffer, num); in send_doc()
1629 rc = swrite(clientfd[i], readserver[i], toc[i]); in http_connect()
1649 rc = swrite(serverfd[i], readclient[i], tos[i]); in http_connect()
Dsockfilt.c1127 ssize_t bytes_written = swrite(sockfd, buffer, buffer_len); in juggle()
/third_party/node/deps/uv/src/unix/
Dstream.c58 fd_set* swrite; member
161 memset(s->swrite, 0, s->swrite_sz); in uv__stream_osx_select()
166 FD_SET(fd, s->swrite); in uv__stream_osx_select()
170 r = select(max_fd + 1, s->sread, s->swrite, NULL, NULL); in uv__stream_osx_select()
207 if (FD_ISSET(fd, s->swrite)) in uv__stream_osx_select()
333 s->swrite = (fd_set*) ((char*) s->sread + sread_sz); in uv__stream_try_select()
/third_party/libuv/src/unix/
Dstream.c58 fd_set* swrite; member
161 memset(s->swrite, 0, s->swrite_sz); in uv__stream_osx_select()
166 FD_SET(fd, s->swrite); in uv__stream_osx_select()
170 r = select(max_fd + 1, s->sread, s->swrite, NULL, NULL); in uv__stream_osx_select()
207 if (FD_ISSET(fd, s->swrite)) in uv__stream_osx_select()
333 s->swrite = (fd_set*) ((char*) s->sread + sread_sz); in uv__stream_try_select()