Home
last modified time | relevance | path

Searched refs:ssize_t (Results 1 – 25 of 87) sorted by relevance

1234

/curl/lib/
H A Dbufq.h177 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 Dwarnless.h54 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 Dwarnless.c254 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 Dconfig-riscos.h64 #undef ssize_t
217 #undef ssize_t
241 #define RECV_TYPE_RETV ssize_t
262 #define SEND_TYPE_RETV ssize_t
H A Dsocks.h43 ssize_t buffersize,
44 ssize_t *n);
H A Dbufq.c117 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 Dfunctypes.h88 #define RECV_TYPE_RETV ssize_t
112 #define SEND_TYPE_RETV ssize_t
H A Dconfig-mac.h90 #define RECV_TYPE_RETV ssize_t
98 #define SEND_TYPE_RETV ssize_t
H A Dhttp1.c84 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 Dcfilters.h105 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 Dconfig-win32ce.h185 #define ssize_t __int64 macro
187 #define ssize_t int macro
H A Dcurl_setup_once.h134 #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 Dws.c268 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 Dcurl_rtmp.c309 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 Dcf-h2-proxy.c241 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 Dinet_pton.c226 const ssize_t n = tp - colonp; in inet_pton6()
227 ssize_t i; in inet_pton6()
H A Dhttp1.h51 ssize_t Curl_h1_req_parse_read(struct h1_req_parser *parser,
H A Dhttp2.c643 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 Dconfig-win32.h259 # define ssize_t __int64 macro
262 # define ssize_t int macro
/curl/tests/server/
H A Dsockfilt.c235 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 Dmqttd.c189 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 Drustls.c136 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 Dlib677.c41 ssize_t pos = 0; in test()
105 else if(pos < (ssize_t)sizeof(testbuf)) { in test()
/curl/src/
H A Dtool_cb_rea.c47 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 Dcurl_quiche.c348 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 …]

Completed in 59 milliseconds

1234