/curl/tests/unit/ |
H A D | unit3200.c | 116 abort_unless(!Curl_dyn_len(&buf), "Missed EOF (1)"); 128 abort_unless(!Curl_dyn_len(&buf), "Missed EOF (2)"); 136 fail_unless(!Curl_dyn_len(&buf), 145 fail_unless(!Curl_dyn_len(&buf), 154 fail_unless(!Curl_dyn_len(&buf), 163 abort_unless(!Curl_dyn_len(&buf), "Missed EOF (6)");
|
/curl/lib/ |
H A D | pingpong.c | 196 write_len = Curl_dyn_len(&pp->sendbuf); in Curl_pp_vsendf() 300 size_t full = Curl_dyn_len(&pp->recvbuf); in Curl_pp_readresp() 332 char *nl = memchr(line, '\n', Curl_dyn_len(&pp->recvbuf)); in Curl_pp_readresp() 358 if(Curl_dyn_len(&pp->recvbuf) > length) in Curl_pp_readresp() 359 pp->overflow = Curl_dyn_len(&pp->recvbuf) - length; in Curl_pp_readresp() 367 if(Curl_dyn_len(&pp->recvbuf) > length) in Curl_pp_readresp() 369 Curl_dyn_tail((&pp->recvbuf), Curl_dyn_len(&pp->recvbuf) - length); in Curl_pp_readresp() 451 return (!pp->sendleft && Curl_dyn_len(&pp->recvbuf) > pp->nfinal); in Curl_pp_moredata()
|
H A D | cw-out.c | 148 len += Curl_dyn_len(&cwbuf->b); in cw_out_bufs_len() 265 if(Curl_dyn_len(&cwbuf->b)) { in cw_out_buf_flush() 270 Curl_dyn_len(&cwbuf->b), in cw_out_buf_flush() 276 if(consumed == Curl_dyn_len(&cwbuf->b)) { in cw_out_buf_flush() 280 DEBUGASSERT(consumed < Curl_dyn_len(&cwbuf->b)); in cw_out_buf_flush() 281 result = Curl_dyn_tail(&cwbuf->b, Curl_dyn_len(&cwbuf->b) - consumed); in cw_out_buf_flush() 321 if(!Curl_dyn_len(&cwbuf->b)) { in cw_out_flush_chain()
|
H A D | dynbuf.h | 40 #define Curl_dyn_len(a) curlx_dyn_len(a) macro 72 size_t Curl_dyn_len(const struct dynbuf *s);
|
H A D | cf-haproxy.c | 132 len = Curl_dyn_len(&ctx->data_out); in cf_haproxy_connect() 145 if(Curl_dyn_len(&ctx->data_out) > 0) { in cf_haproxy_connect()
|
H A D | mqtt.c | 362 size_t rlen = Curl_dyn_len(&mq->recvbuf); in mqtt_recv_atleast() 376 rlen = Curl_dyn_len(&mq->recvbuf); in mqtt_recv_atleast() 384 size_t rlen = Curl_dyn_len(&mq->recvbuf); in mqtt_recv_consume() 402 DEBUGASSERT(Curl_dyn_len(&mq->recvbuf) >= MQTT_CONNACK_LEN); in mqtt_verify_connack() 497 DEBUGASSERT(Curl_dyn_len(&mq->recvbuf) >= MQTT_SUBACK_LEN); in mqtt_verify_suback()
|
H A D | http1.c | 116 if(Curl_dyn_len(&parser->scratch)) { in next_line() 122 parser->line_len = Curl_dyn_len(&parser->scratch); in next_line()
|
H A D | rtsp.c | 645 DEBUGASSERT(Curl_dyn_len(&rtspc->buf) == 0); in rtsp_filter_rtp() 691 DEBUGASSERT(Curl_dyn_len(&rtspc->buf) == 1); in rtsp_filter_rtp() 727 size_t rtp_len = Curl_dyn_len(&rtspc->buf); in rtsp_filter_rtp() 746 size_t rtp_len = Curl_dyn_len(&rtspc->buf); in rtsp_filter_rtp()
|
H A D | krb5.c | 329 size_t len = Curl_dyn_len(&pp->recvbuf); in krb5_auth() 564 size_t size = Curl_dyn_len(&buf->buf); in buffer_read() 602 if(Curl_dyn_len(&conn->in_buffer.buf) == 0) { in sec_recv()
|
H A D | urlapi.c | 815 if(!Curl_dyn_len(host)) in parse_authority() 822 uc = ipv6_parse(u, Curl_dyn_ptr(host), Curl_dyn_len(host)); in parse_authority() 827 uc = hostname_check(u, Curl_dyn_ptr(host), Curl_dyn_len(host)); in parse_authority() 1301 pathlen = Curl_dyn_len(&enc); in parseurl() 1983 size_t n = Curl_dyn_len(&enc); in curl_url_set()
|
H A D | dynbuf.c | 261 size_t Curl_dyn_len(const struct dynbuf *s) in Curl_dyn_len() function
|
H A D | c-hyper.c | 171 len = Curl_dyn_len(&data->state.headerb); in hyper_each_header() 300 len = Curl_dyn_len(&data->state.headerb); in status_line() 645 Curl_dyn_len(&r))) { in request_target() 740 if(Curl_dyn_len(&req) != 2 || strcmp(Curl_dyn_ptr(&req), "\r\n")) { in finalize_request()
|
H A D | hostip.c | 1366 if(Curl_dyn_len(d)) in show_resolve_info() 1380 (Curl_dyn_len(&out[1]) ? Curl_dyn_ptr(&out[1]) : "(none)")); in show_resolve_info() 1383 (Curl_dyn_len(&out[0]) ? Curl_dyn_ptr(&out[0]) : "(none)")); in show_resolve_info()
|
H A D | cf-h1-proxy.c | 258 size_t request_len = Curl_dyn_len(&ts->request_data); in send_CONNECT() 461 line_len = Curl_dyn_len(&ts->rcvbuf); /* amount of bytes in this line */ in recv_CONNECT_resp()
|
H A D | request.c | 391 blen = Curl_dyn_len(req); in Curl_req_send()
|
H A D | http_chunks.c | 267 trlen = Curl_dyn_len(&ch->trailer); in httpchunk_readwrite()
|
H A D | http.c | 3690 Curl_dyn_len(&last_header), in http_rw_hd() 3874 Curl_dyn_len(&data->state.headerb)); in http_parse_headers() 3912 Curl_dyn_len(&data->state.headerb)); in http_parse_headers() 3931 Curl_dyn_len(&data->state.headerb), in http_parse_headers() 3989 if(!data->req.no_body && Curl_dyn_len(&data->state.headerb)) { in Curl_http_write_resp_hds() 3995 Curl_dyn_len(&data->state.headerb)); in Curl_http_write_resp_hds()
|
H A D | doh.c | 618 if(Curl_dyn_len(c)) { in doh_store_cname() 1324 Curl_dyn_len(&p->resp_body), in Curl_doh_is_resolved()
|
H A D | ftp.c | 436 if(Curl_dyn_len(&pp->recvbuf) && (*Curl_dyn_ptr(&pp->recvbuf) > '3')) { in ftp_check_ctrl_on_data_wait() 468 Curl_dyn_len(&pp->recvbuf)); in ftp_check_ctrl_on_data_wait() 675 if(Curl_dyn_len(&pp->recvbuf) && (cache_skip < 2)) { in Curl_GetFTPResponse() 709 if(!nread && Curl_dyn_len(&pp->recvbuf)) in Curl_GetFTPResponse() 2865 if(Curl_dyn_len(&out)) in ftp_statemachine()
|
H A D | http2.c | 1624 Curl_dyn_len(&ctx->scratch), FALSE); in on_header() 1649 Curl_dyn_len(&ctx->scratch), FALSE); in on_header() 1827 Curl_dyn_len(&dbuf)); in http2_handle_stream_close() 1829 Curl_dyn_ptr(&dbuf), Curl_dyn_len(&dbuf)); in http2_handle_stream_close()
|
H A D | mprintf.c | 1140 if(Curl_dyn_len(info.b)) in curl_mvaprintf()
|
H A D | ftplistparser.c | 414 len = Curl_dyn_len(&infop->buf); in Curl_ftp_parselist()
|
/curl/lib/vssh/ |
H A D | curl_path.c | 76 len = Curl_dyn_len(&npath); in Curl_getworkingpath() 89 if(Curl_dyn_len(&npath)) { in Curl_getworkingpath() 166 if(!Curl_dyn_len(&out)) in Curl_get_pathname()
|
/curl/lib/vtls/ |
H A D | wolfssl.c | 782 if(Curl_dyn_len(buf)) { in wssl_add_default_ciphers() 962 if(Curl_dyn_len(&c)) in wolfssl_connect_step1()
|
H A D | x509asn1.c | 929 size_t valuelen = Curl_dyn_len(ptr); in ssl_push_certinfo_dyn()
|