/curl/lib/ |
H A D | bufq.h | 177 ssize_t Curl_bufq_write(struct bufq *q, 197 ssize_t Curl_bufq_read(struct bufq *q, unsigned char *buf, size_t len, 225 typedef ssize_t Curl_bufq_writer(void *writer_ctx, 237 ssize_t Curl_bufq_pass(struct bufq *q, Curl_bufq_writer *writer, 240 typedef ssize_t Curl_bufq_reader(void *reader_ctx, 253 ssize_t Curl_bufq_slurp(struct bufq *q, Curl_bufq_reader *reader, 262 ssize_t Curl_bufq_sipn(struct bufq *q, size_t max_len, 273 ssize_t Curl_bufq_write_pass(struct bufq *q,
|
H A D | warnless.h | 54 ssize_t curlx_uztosz(size_t uznum); 58 int curlx_sztosi(ssize_t sznum); 66 ssize_t curlx_read(int fd, void *buf, size_t count); 68 ssize_t curlx_write(int fd, const void *buf, size_t count);
|
H A D | warnless.c | 254 ssize_t curlx_uztosz(size_t uznum) in curlx_uztosz() 262 return (ssize_t)(uznum & (size_t) CURL_MASK_SSIZE_T); in curlx_uztosz() 292 int curlx_sztosi(ssize_t sznum) in curlx_sztosi() 303 return (int)(sznum & (ssize_t) CURL_MASK_SINT); in curlx_sztosi() 350 ssize_t curlx_read(int fd, void *buf, size_t count) in curlx_read() 352 return (ssize_t)read(fd, buf, curlx_uztoui(count)); in curlx_read() 355 ssize_t curlx_write(int fd, const void *buf, size_t count) in curlx_write() 357 return (ssize_t)write(fd, buf, curlx_uztoui(count)); in curlx_write()
|
H A D | config-riscos.h | 64 #undef ssize_t 217 #undef ssize_t 241 #define RECV_TYPE_RETV ssize_t 262 #define SEND_TYPE_RETV ssize_t
|
H A D | socks.h | 43 ssize_t buffersize, 44 ssize_t *n);
|
H A D | bufq.c | 117 ssize_t nread; in chunk_slurpn() 447 ssize_t Curl_bufq_write(struct bufq *q, in Curl_bufq_write() 452 ssize_t nwritten = 0; in Curl_bufq_write() 484 ssize_t n; in Curl_bufq_cwrite() 503 ssize_t nread = 0; in Curl_bufq_read() 526 ssize_t n; in Curl_bufq_cread() 587 ssize_t nwritten = 0; in Curl_bufq_pass() 590 ssize_t chunk_written; in Curl_bufq_pass() 619 ssize_t nwritten = 0, n; in Curl_bufq_write_pass() 670 ssize_t nread; in Curl_bufq_sipn() [all …]
|
H A D | functypes.h | 88 #define RECV_TYPE_RETV ssize_t 112 #define SEND_TYPE_RETV ssize_t
|
H A D | config-mac.h | 90 #define RECV_TYPE_RETV ssize_t 98 #define SEND_TYPE_RETV ssize_t
|
H A D | http1.c | 84 static ssize_t detect_line(struct h1_req_parser *parser, in detect_line() 99 return (ssize_t)parser->line_len; in detect_line() 102 static ssize_t next_line(struct h1_req_parser *parser, in next_line() 106 ssize_t nread = 0; in next_line() 131 nread = (*err) ? -1 : (ssize_t)buflen; in next_line() 261 ssize_t Curl_h1_req_parse_read(struct h1_req_parser *parser, in Curl_h1_req_parse_read() 266 ssize_t nread = 0, n; in Curl_h1_req_parse_read()
|
H A D | cfilters.h | 105 typedef ssize_t Curl_cft_send(struct Curl_cfilter *cf, 112 typedef ssize_t Curl_cft_recv(struct Curl_cfilter *cf, 251 ssize_t Curl_cf_def_send(struct Curl_cfilter *cf, struct Curl_easy *data, 254 ssize_t Curl_cf_def_recv(struct Curl_cfilter *cf, struct Curl_easy *data, 328 ssize_t Curl_conn_cf_send(struct Curl_cfilter *cf, struct Curl_easy *data, 331 ssize_t Curl_conn_cf_recv(struct Curl_cfilter *cf, struct Curl_easy *data, 467 ssize_t Curl_cf_recv(struct Curl_easy *data, int sockindex, char *buf, 476 ssize_t Curl_cf_send(struct Curl_easy *data, int sockindex, 574 ssize_t *pnread);
|
H A D | config-win32ce.h | 185 #define ssize_t __int64 macro 187 #define ssize_t int macro
|
H A D | curl_setup_once.h | 134 #define sread(x,y,z) (ssize_t)read((RECV_TYPE_ARG1)(x), \ 161 #define sread(x,y,z) (ssize_t)recv((RECV_TYPE_ARG1)(x), \ 174 #define swrite(x,y,z) (ssize_t)write((SEND_TYPE_ARG1)(x), \ 179 #define swrite(x,y,z) (ssize_t)send((SEND_TYPE_ARG1)(x), \
|
H A D | ws.c | 268 ssize_t nwritten; in ws_dec_pass_payload() 321 ssize_t nwritten; in ws_dec_pass() 422 return (ssize_t)buflen; in ws_cw_dec_next() 443 ssize_t nwritten; in ws_cw_write() 549 ssize_t n; in ws_enc_write_head() 644 ssize_t n; in ws_enc_write_payload() 670 return (ssize_t)i; in ws_enc_write_payload() 833 ssize_t nwritten; in Curl_ws_accept() 914 static ssize_t nw_in_recv(void *reader_ctx, in nw_in_recv() 924 return (ssize_t)nread; in nw_in_recv() [all …]
|
H A D | curl_rtmp.c | 309 static ssize_t rtmp_recv(struct Curl_easy *data, int sockindex, char *buf, in rtmp_recv() 314 ssize_t nread; in rtmp_recv() 331 static ssize_t rtmp_send(struct Curl_easy *data, int sockindex, in rtmp_send() 336 ssize_t num; in rtmp_send()
|
H A D | cf-h2-proxy.c | 241 ssize_t nread; in proxy_nw_in_reader() 260 ssize_t nwritten; in proxy_h2_nw_out_writer() 417 ssize_t nwritten; in proxy_h2_nw_out_flush() 450 ssize_t rv; in proxy_h2_process_pending_input() 482 ssize_t nread; in proxy_h2_progress_ingress() 550 ssize_t nwritten; in on_session_send() 820 ssize_t nread; in tunnel_send_callback() 854 ssize_t nwritten; in tunnel_recv_callback() 1283 ssize_t rv = 0; in h2_handle_tunnel_close() 1316 ssize_t nread = -1; in tunnel_recv() [all …]
|
H A D | inet_pton.c | 226 const ssize_t n = tp - colonp; in inet_pton6() 227 ssize_t i; in inet_pton6()
|
H A D | http1.h | 51 ssize_t Curl_h1_req_parse_read(struct h1_req_parser *parser,
|
H A D | http2.c | 643 ssize_t rv; in h2_process_pending_input() 756 ssize_t nwritten; in nw_out_flush() 787 ssize_t nwritten; in send_callback() 1674 ssize_t nread; in req_body_read_callback() 1769 ssize_t rv = 0; in http2_handle_stream_close() 1932 ssize_t nread = -1; in stream_recv() 1966 ssize_t nread; in h2_progress_ingress() 2117 ssize_t nwritten; in cf_h2_body_send() 2171 ssize_t nwritten; in h2_submit() 2287 ssize_t nwritten; in cf_h2_send() [all …]
|
H A D | config-win32.h | 259 # define ssize_t __int64 macro 262 # define ssize_t int macro
|
/curl/tests/server/ |
H A D | sockfilt.c | 235 ssize_t nread = 0; in fullread() 238 ssize_t rc = read(filedes, in fullread() 286 ssize_t nwrite = 0; in fullwrite() 332 if(nread != (ssize_t)nbytes) { in read_stdin() 359 ssize_t i; in lograw() 362 ssize_t width = 0; in lograw() 405 ssize_t *buffer_len) in read_data_block() 913 ssize_t buffer_len; in disc_handshake() 972 ssize_t rc; in juggle() 1076 ssize_t buffer_len; in juggle() [all …]
|
H A D | mqttd.c | 189 ssize_t i; in loghex() 192 ssize_t width = 0; in loghex() 216 ssize_t i; in logprotocol() 239 ssize_t rc; in connack() 263 ssize_t rc; in suback() 285 ssize_t rc; in puback() 398 ssize_t rc; in publish() 462 ssize_t rc = sread(fd, (char *)buffer, 2); in fixedheader() 492 ssize_t rc; in mqttit() 593 if((ssize_t)payload_len != (rc - 12)) { in mqttit() [all …]
|
/curl/lib/vtls/ |
H A D | rustls.c | 136 static ssize_t tls_recv_more(struct Curl_cfilter *cf, in tls_recv_more() 176 return (ssize_t)tls_bytes_read; in tls_recv_more() 191 static ssize_t 202 ssize_t nread; in cr_recv() 257 nread = (ssize_t)plain_bytes_copied; in cr_recv() 320 static ssize_t 334 ssize_t nwritten = 0; in cr_send() 358 nwritten += (ssize_t)backend->plain_out_buffered; in cr_send() 388 return (ssize_t)nwritten; in cr_send() 394 nwritten += (ssize_t)plainwritten; in cr_send() [all …]
|
/curl/tests/libtest/ |
H A D | lib677.c | 41 ssize_t pos = 0; in test() 105 else if(pos < (ssize_t)sizeof(testbuf)) { in test()
|
/curl/src/ |
H A D | tool_cb_rea.c | 47 ssize_t rc = 0; in tool_read_cb() 101 rc = (ssize_t)(per->uploadfilesize - per->uploadedsofar); in tool_read_cb()
|
/curl/lib/vquic/ |
H A D | curl_quiche.c | 348 ssize_t nwritten; in write_resp_raw() 418 ssize_t nread; in stream_resp_read() 442 ssize_t nwritten; in cf_recv_body() 620 ssize_t nread; in recv_pkt() 706 ssize_t nwritten; in read_pkt_to_send() 731 ssize_t nread; in cf_flush_egress() 815 ssize_t nread = -1; in recv_closed_stream() 924 ssize_t nwritten; in cf_quiche_send_body() 983 ssize_t nwritten; in h3_open_stream() 1100 ssize_t nwritten; in cf_quiche_send() [all …]
|