/curl/lib/vssh/ |
H A D | curl_path.c | 59 if(Curl_dyn_addn(&npath, &working_path[3], working_path_len - 3)) { in Curl_getworkingpath() 81 if(Curl_dyn_addn(&npath, in Curl_getworkingpath() 161 result = Curl_dyn_addn(&out, &cp[i], 1); in Curl_get_pathname() 185 result = Curl_dyn_addn(&out, "/", 1); in Curl_get_pathname() 191 result = Curl_dyn_addn(&out, cp, (end - cp)); in Curl_get_pathname()
|
/curl/lib/ |
H A D | curl_get_line.c | 53 result = Curl_dyn_addn(buf, b, rlen); in Curl_get_line() 64 result = Curl_dyn_addn(buf, "\n", 1); in Curl_get_line()
|
H A D | dynbuf.h | 34 #define Curl_dyn_addn(a,b,c) curlx_dyn_addn(a,b,c) macro 59 CURLcode Curl_dyn_addn(struct dynbuf *s, const void *mem, size_t len)
|
H A D | fopen.c | 79 if(Curl_dyn_addn(&out, path, n)) in dirslash() 82 if(n && Curl_dyn_addn(&out, PATHSEP, 1)) in dirslash()
|
H A D | http_aws_sigv4.c | 457 result = Curl_dyn_addn(dq, q, 1); in canon_string() 465 result = Curl_dyn_addn(dq, q, 1); in canon_string() 473 result = Curl_dyn_addn(dq, tmp, 3); in canon_string() 479 result = Curl_dyn_addn(dq, "%25", 3); in canon_string() 489 result = Curl_dyn_addn(dq, q, 1); in canon_string() 496 result = Curl_dyn_addn(dq, q, 1); in canon_string() 504 result = Curl_dyn_addn(dq, out, 3); in canon_string() 558 result = Curl_dyn_addn(dq, "=", 1); in canon_query() 562 result = Curl_dyn_addn(dq, "&", 1); in canon_query()
|
H A D | escape.c | 80 if(Curl_dyn_addn(&d, &in, 1)) in curl_easy_escape() 89 if(Curl_dyn_addn(&d, out, 3)) in curl_easy_escape()
|
H A D | urlapi.c | 163 result = Curl_dyn_addn(o, iptr, 1); in urlencode_str() 171 result = Curl_dyn_addn(o, "%20", 3); in urlencode_str() 173 result = Curl_dyn_addn(o, "+", 1); in urlencode_str() 186 result = Curl_dyn_addn(o, out, 3); in urlencode_str() 189 result = Curl_dyn_addn(o, iptr, 1); in urlencode_str() 379 result = Curl_dyn_addn(&newest, "/", 1); in concat_url() 779 result = Curl_dyn_addn(host, decoded, dlen); in urldecode_host() 1909 result = Curl_dyn_addn(&enc, "+", 1); in curl_url_set() 1919 result = Curl_dyn_addn(&enc, i, 1); in curl_url_set() 1927 result = Curl_dyn_addn(&enc, out, 3); in curl_url_set() [all …]
|
H A D | http1.c | 118 *err = Curl_dyn_addn(&parser->scratch, parser->line, parser->line_len); in next_line() 130 *err = Curl_dyn_addn(&parser->scratch, (const unsigned char *)buf, buflen); in next_line() 340 result = Curl_dyn_addn(dbuf, STRCONST("\r\n")); in Curl_h1_req_write_head()
|
H A D | rtsp.c | 550 result = Curl_dyn_addn(&req_buffer, in rtsp_do() 560 result = Curl_dyn_addn(&req_buffer, in rtsp_do() 581 result = Curl_dyn_addn(&req_buffer, STRCONST("\r\n")); in rtsp_do() 681 if(Curl_dyn_addn(&rtspc->buf, buf, 1)) { in rtsp_filter_rtp() 720 if(Curl_dyn_addn(&rtspc->buf, buf, 1)) { in rtsp_filter_rtp() 735 if(Curl_dyn_addn(&rtspc->buf, buf, 1)) { in rtsp_filter_rtp() 756 if(Curl_dyn_addn(&rtspc->buf, buf, needed)) { in rtsp_filter_rtp() 774 if(Curl_dyn_addn(&rtspc->buf, buf, blen)) { in rtsp_filter_rtp()
|
H A D | dict.c | 116 result = Curl_dyn_addn(&out, "\\", 1); in unescape_word() 118 result = Curl_dyn_addn(&out, ptr, 1); in unescape_word()
|
H A D | doh.c | 188 if(Curl_dyn_addn(mem, contents, realsize)) in doh_write_cb() 619 if(Curl_dyn_addn(c, STRCONST("."))) in doh_store_cname() 625 if(Curl_dyn_addn(c, &doh[index], length)) in doh_store_cname() 1066 if(Curl_dyn_addn(&thename, ".", 1)) in doh_decode_rdata_name() 1074 if(Curl_dyn_addn(&thename, cp, clen) || in doh_decode_rdata_name() 1075 Curl_dyn_addn(&thename, ".", 1)) in doh_decode_rdata_name() 1121 if(remaining != (int)len && Curl_dyn_addn(&dval, ",", 1)) in doh_decode_rdata_alpn() 1129 if(Curl_dyn_addn(&dval, "\\", 1)) in doh_decode_rdata_alpn() 1132 if(Curl_dyn_addn(&dval, cp++, 1)) in doh_decode_rdata_alpn()
|
H A D | netrc.c | 156 if(!len || Curl_dyn_addn(&token, tok, len)) { in parsenetrc() 191 if(Curl_dyn_addn(&token, &s, 1)) { in parsenetrc()
|
H A D | socks_gssapi.c | 72 if(Curl_dyn_addn(&dbuf, status_string.value, in check_gss_err() 80 if(Curl_dyn_addn(&dbuf, ".\n", 2)) in check_gss_err() 90 if(Curl_dyn_addn(&dbuf, status_string.value, in check_gss_err()
|
H A D | pingpong.c | 191 result = Curl_dyn_addn(&pp->sendbuf, "\r\n", 2); in Curl_pp_vsendf() 321 result = Curl_dyn_addn(&pp->recvbuf, buffer, gotbytes); in Curl_pp_readresp()
|
H A D | cf-haproxy.c | 82 result = Curl_dyn_addn(&ctx->data_out, STRCONST("PROXY UNKNOWN\r\n")); in cf_haproxy_date_out_set()
|
H A D | http_chunks.c | 260 result = Curl_dyn_addn(&ch->trailer, (char *)STRCONST("\x0d\x0a")); in httpchunk_readwrite() 298 result = Curl_dyn_addn(&ch->trailer, buf, 1); in httpchunk_readwrite()
|
H A D | dynbuf.c | 165 CURLcode Curl_dyn_addn(struct dynbuf *s, const void *mem, size_t len) in Curl_dyn_addn() function
|
H A D | imap.c | 1101 if(Curl_dyn_addn(&uid, p, len)) in imap_state_select_resp() 1832 if(!escape_only && Curl_dyn_addn(&line, "\"", 1)) in imap_atom() 1837 Curl_dyn_addn(&line, "\\", 1)) in imap_atom() 1839 if(Curl_dyn_addn(&line, str, 1)) in imap_atom() 1844 if(!escape_only && Curl_dyn_addn(&line, "\"", 1)) in imap_atom()
|
H A D | http2.c | 1617 result = Curl_dyn_addn(&ctx->scratch, STRCONST("HTTP/2 ")); in on_header() 1619 result = Curl_dyn_addn(&ctx->scratch, value, valuelen); in on_header() 1621 result = Curl_dyn_addn(&ctx->scratch, STRCONST(" \r\n")); in on_header() 1640 result = Curl_dyn_addn(&ctx->scratch, (const char *)name, namelen); in on_header() 1642 result = Curl_dyn_addn(&ctx->scratch, STRCONST(": ")); in on_header() 1644 result = Curl_dyn_addn(&ctx->scratch, (const char *)value, valuelen); in on_header() 1646 result = Curl_dyn_addn(&ctx->scratch, STRCONST("\r\n")); in on_header()
|
H A D | http.c | 2141 result = Curl_dyn_addn(r, STRCONST("Expect: 100-continue\r\n")); in addexpect() 2207 result = Curl_dyn_addn(r, STRCONST("Content-Type: application/" in Curl_http_req_complete() 2222 result = Curl_dyn_addn(r, STRCONST("\r\n")); in Curl_http_req_complete() 2278 result = Curl_dyn_addn(r, STRCONST("Cookie: ")); in Curl_http_cookies() 2301 result = Curl_dyn_addn(r, STRCONST("Cookie: ")); in Curl_http_cookies() 2308 result = Curl_dyn_addn(r, STRCONST("\r\n")); in Curl_http_cookies() 3680 result = Curl_dyn_addn(&last_header, hd, hdlen); in http_rw_hd() 3864 result = Curl_dyn_addn(&data->state.headerb, buf, blen); in http_parse_headers() 3897 result = Curl_dyn_addn(&data->state.headerb, buf, consumed); in http_parse_headers()
|
H A D | cw-out.c | 346 return Curl_dyn_addn(&ctx->buf->b, buf, blen); in cw_out_append()
|
/curl/lib/vtls/ |
H A D | x509asn1.c | 369 result = Curl_dyn_addn(to, from, inlength); in utf8asn1str() 408 result = Curl_dyn_addn(to, buf, charsize); in utf8asn1str() 640 result = Curl_dyn_addn(store, "", 1); in ASN1tostr() 725 result = Curl_dyn_addn(store, "/", 1); in encodeDN() 727 result = Curl_dyn_addn(store, ", ", 2); in encodeDN() 738 result = Curl_dyn_addn(store, "=", 1); in encodeDN() 1237 result = Curl_dyn_addn(&out, &certptr[j], chunksize); in Curl_extract_certinfo() 1239 result = Curl_dyn_addn(&out, "\n", 1); in Curl_extract_certinfo()
|
H A D | wolfssl.c | 783 CURLcode result = Curl_dyn_addn(buf, ":", 1); in wssl_add_default_ciphers() 789 if(Curl_dyn_addn(buf, str, n)) in wssl_add_default_ciphers() 963 result = Curl_dyn_addn(&c, ":", 1); in wolfssl_connect_step1()
|
H A D | vtls.c | 937 Curl_dyn_addn(&build, ":", 1) || in Curl_ssl_push_certinfo_len() 938 Curl_dyn_addn(&build, value, valuelen)) in Curl_ssl_push_certinfo_len() 1009 result = Curl_dyn_addn(&pbuf, &pem[pem_count], 1); in pubkey_pem_to_der() 1147 if(Curl_dyn_addn(&buf, buffer, want)) in Curl_pin_peer_pubkey()
|
/curl/lib/vquic/ |
H A D | curl_ngtcp2.c | 1036 result = Curl_dyn_addn(&ctx->scratch, STRCONST("HTTP/3 ")); in cb_h3_recv_header() 1038 result = Curl_dyn_addn(&ctx->scratch, in cb_h3_recv_header() 1041 result = Curl_dyn_addn(&ctx->scratch, STRCONST(" \r\n")); in cb_h3_recv_header() 1057 result = Curl_dyn_addn(&ctx->scratch, in cb_h3_recv_header() 1060 result = Curl_dyn_addn(&ctx->scratch, STRCONST(": ")); in cb_h3_recv_header() 1062 result = Curl_dyn_addn(&ctx->scratch, in cb_h3_recv_header() 1065 result = Curl_dyn_addn(&ctx->scratch, STRCONST("\r\n")); in cb_h3_recv_header()
|