Home
last modified time | relevance | path

Searched refs:Curl_dyn_len (Results 1 – 25 of 32) sorted by relevance

12

/curl/tests/unit/
H A Dunit3200.c116 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 Dpingpong.c196 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 Dcw-out.c148 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 Ddynbuf.h40 #define Curl_dyn_len(a) curlx_dyn_len(a) macro
72 size_t Curl_dyn_len(const struct dynbuf *s);
H A Dcf-haproxy.c132 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 Dmqtt.c362 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 Dhttp1.c116 if(Curl_dyn_len(&parser->scratch)) { in next_line()
122 parser->line_len = Curl_dyn_len(&parser->scratch); in next_line()
H A Drtsp.c645 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 Dkrb5.c329 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 Durlapi.c815 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 Ddynbuf.c261 size_t Curl_dyn_len(const struct dynbuf *s) in Curl_dyn_len() function
H A Dc-hyper.c171 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 Dhostip.c1366 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 Dcf-h1-proxy.c258 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 Drequest.c391 blen = Curl_dyn_len(req); in Curl_req_send()
H A Dhttp_chunks.c267 trlen = Curl_dyn_len(&ch->trailer); in httpchunk_readwrite()
H A Dhttp.c3690 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 Ddoh.c618 if(Curl_dyn_len(c)) { in doh_store_cname()
1324 Curl_dyn_len(&p->resp_body), in Curl_doh_is_resolved()
H A Dftp.c436 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 Dhttp2.c1624 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 Dmprintf.c1140 if(Curl_dyn_len(info.b)) in curl_mvaprintf()
H A Dftplistparser.c414 len = Curl_dyn_len(&infop->buf); in Curl_ftp_parselist()
/curl/lib/vssh/
H A Dcurl_path.c76 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 Dwolfssl.c782 if(Curl_dyn_len(buf)) { in wssl_add_default_ciphers()
962 if(Curl_dyn_len(&c)) in wolfssl_connect_step1()
H A Dx509asn1.c929 size_t valuelen = Curl_dyn_len(ptr); in ssl_push_certinfo_dyn()

Completed in 110 milliseconds

12