Home
last modified time | relevance | path

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

/curl/lib/
H A Dcurl_setup_once.h169 #define swrite(x,y,z) (ssize_t)write((SEND_TYPE_ARG1)(x), \ macro
174 #define swrite(x,y,z) (ssize_t)send((SEND_TYPE_ARG1)(x), \ macro
179 #ifndef swrite
H A Dsocketpair.h68 #define wakeup_write swrite
H A Dtelnet.c316 bytes_written = swrite(conn->sock[FIRSTSOCKET], buf, 3); in send_negotiation()
946 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption()
958 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption()
990 bytes_written = swrite(conn->sock[FIRSTSOCKET], temp, len); in suboption()
1044 bytes_written = swrite(conn->sock[FIRSTSOCKET], tn->subbuffer, 3); in sendsuboption()
1053 bytes_written = swrite(conn->sock[FIRSTSOCKET], tn->subbuffer + 7, 2); in sendsuboption()
H A Dsocketpair.c207 swrite(socks[0], rnd, sizeof(rnd)); in Curl_socketpair()
H A Dcf-socket.c1536 nwritten = swrite(ctx->sock, buf, len); in cf_socket_send()
/curl/tests/server/
H A Dmqttd.c245 rc = swrite(fd, (char *)packet, sizeof(packet)); in connack()
269 rc = swrite(fd, (char *)packet, sizeof(packet)); in suback()
291 rc = swrite(fd, (char *)packet, sizeof(packet)); in puback()
309 ssize_t rc = swrite(fd, (char *)packet, sizeof(packet)); in disconnect()
438 rc = swrite(fd, (char *)packet, sendamount); in publish()
H A Dtftpd.c1197 if(swrite(peer, sdp, size + 4) != size + 4) { in sendtftp()
1269 if(swrite(peer, &ackbuf.storage[0], 4) != 4) { in recvtftp()
1323 (void) swrite(peer, &ackbuf.storage[0], 4); in recvtftp()
1338 (void) swrite(peer, &ackbuf.storage[0], 4); /* resend final ack */ in recvtftp()
1375 if(swrite(peer, &buf.storage[0], length) != length) in nak()
H A Drtspd.c794 written = swrite(sock, STREAMTHIS, count); in send_doc()
941 written = swrite(sock, buffer, num); in send_doc()
966 written = swrite(sock, req->rtp_buffer + (req->rtp_buffersize - count), in send_doc()
H A Dsws.c1044 written = swrite(sock, STREAMTHIS, count); in send_doc()
1187 written = swrite(sock, buffer, num); in send_doc()
1727 rc = swrite(clientfd[i], readserver[i], toc[i]); in http_connect()
1747 rc = swrite(serverfd[i], readclient[i], tos[i]); in http_connect()
H A Dsockfilt.c1162 ssize_t bytes_written = swrite(sockfd, buffer, buffer_len); in juggle()

Completed in 37 milliseconds