Home
last modified time | relevance | path

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

/third_party/curl/lib/
Dcurl_setup_once.h176 #define swrite(x,y,z) (ssize_t)write((SEND_TYPE_ARG1)(x), \ macro
191 #define swrite(x,y,z) (ssize_t)send((SEND_TYPE_ARG1)(x), \
197 #ifndef swrite
Dtelnet.c311 bytes_written = swrite(conn->sock[FIRSTSOCKET], buf, 3); in send_negotiation()
910 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption()
922 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption()
955 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption()
1009 bytes_written = swrite(conn->sock[FIRSTSOCKET], tn->subbuffer, 3); in sendsuboption()
1018 bytes_written = swrite(conn->sock[FIRSTSOCKET], tn->subbuffer + 7, 2); in sendsuboption()
Dcurl_ntlm_wb.c271 ssize_t written = swrite(ntlm->ntlm_auth_hlpr_socket, input, len_in); in ntlm_wb_response()
Dasyn-thread.c329 if(swrite(tsd->sock_pair[1], buf, sizeof(buf)) < 0) { in getaddrinfo_thread()
Dsendf.c368 bytes_written = swrite(sockfd, mem, len); in Curl_send_plain()
Dmulti.c1447 if(swrite(multi->wakeup_pair[1], buf, sizeof(buf)) < 0) {
/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.c247 rc = swrite(fd, (char *)packet, sizeof(packet)); in connack()
271 rc = swrite(fd, (char *)packet, sizeof(packet)); in suback()
293 rc = swrite(fd, (char *)packet, sizeof(packet)); in puback()
311 ssize_t rc = swrite(fd, (char *)packet, sizeof(packet)); in disconnect()
440 rc = swrite(fd, (char *)packet, sendamount); in publish()
Dtftpd.c1184 if(swrite(peer, sdp, size + 4) != size + 4) { in sendtftp()
1256 if(swrite(peer, &ackbuf.storage[0], 4) != 4) { in recvtftp()
1311 (void) swrite(peer, &ackbuf.storage[0], 4); in recvtftp()
1326 (void) swrite(peer, &ackbuf.storage[0], 4); /* resend final ack */ in recvtftp()
1363 if(swrite(peer, &buf.storage[0], length) != length) in nak()
Drtspd.c785 written = swrite(sock, STREAMTHIS, count); in send_doc()
932 written = swrite(sock, buffer, num); in send_doc()
957 written = swrite(sock, req->rtp_buffer + (req->rtp_buffersize - count), in send_doc()
Dsws.c969 written = swrite(sock, STREAMTHIS, count); in send_doc()
1111 written = swrite(sock, buffer, num); in send_doc()
1552 rc = swrite(clientfd[i], readserver[i], toc[i]); in http_connect()
1572 rc = swrite(serverfd[i], readclient[i], tos[i]); in http_connect()
Dsockfilt.c1096 ssize_t bytes_written = swrite(sockfd, buffer, buffer_len); in juggle()
/third_party/libuv/src/unix/
Dstream.c58 fd_set* swrite; member
160 memset(s->swrite, 0, s->swrite_sz); in uv__stream_osx_select()
165 FD_SET(fd, s->swrite); in uv__stream_osx_select()
169 r = select(max_fd + 1, s->sread, s->swrite, NULL, NULL); in uv__stream_osx_select()
206 if (FD_ISSET(fd, s->swrite)) in uv__stream_osx_select()
332 s->swrite = (fd_set*) ((char*) s->sread + sread_sz); in uv__stream_try_select()
/third_party/curl/lib/vtls/
Drustls.c94 ssize_t n = swrite(*(int *)userdata, buf, len); in write_cb()
Dbearssl.c475 ret = swrite(sockfd, buf, len); in bearssl_run_until()
Dgtls.c86 ssize_t ret = swrite(sock, buf, len); in gtls_push()
/third_party/curl/docs/
DINTERNALS.md142 macros in use are `sclose()`, `sread()` and `swrite()`.