Searched refs:dyn (Results 1 – 8 of 8) sorted by relevance
/curl/src/ |
H A D | tool_ipfs.c | 42 struct curlx_dynbuf dyn; in ensure_trailing_slash() local 43 curlx_dyn_init(&dyn, len + 2); in ensure_trailing_slash() 45 if(curlx_dyn_addn(&dyn, *input, len)) { in ensure_trailing_slash() 52 if(curlx_dyn_addn(&dyn, "/", 1)) in ensure_trailing_slash() 55 *input = curlx_dyn_ptr(&dyn); in ensure_trailing_slash() 99 struct curlx_dynbuf dyn; in ipfs_gateway() local 100 curlx_dyn_init(&dyn, MAX_GATEWAY_URL_LEN); in ipfs_gateway() 105 if(curlx_dyn_addn(&dyn, &c_char, 1)) in ipfs_gateway() 112 if(curlx_dyn_len(&dyn)) in ipfs_gateway() 113 gateway = curlx_dyn_ptr(&dyn); in ipfs_gateway()
|
H A D | tool_paramhlp.c | 95 struct curlx_dynbuf dyn; in file2string() local 96 curlx_dyn_init(&dyn, MAX_FILE2STRING); in file2string() 103 curlx_dyn_free(&dyn); in file2string() 123 *bufp = curlx_dyn_ptr(&dyn); in file2string() 131 struct curlx_dynbuf dyn; in file2memory() local 133 curlx_dyn_init(&dyn, MAX_FILE2MEMORY); in file2memory() 138 curlx_dyn_free(&dyn); in file2memory() 147 *size = curlx_dyn_len(&dyn); in file2memory() 148 *bufp = curlx_dyn_ptr(&dyn); in file2memory() 552 struct curlx_dynbuf dyn; in checkpasswd() local [all …]
|
H A D | tool_urlglob.c | 631 struct curlx_dynbuf dyn; in glob_match_url() local 638 curlx_dyn_init(&dyn, MAX_OUTPUT_GLOB_LENGTH); in glob_match_url() 683 curlx_dyn_free(&dyn); in glob_match_url() 698 if(curlx_dyn_addn(&dyn, appendthis, appendlen)) in glob_match_url() 702 if(curlx_dyn_addn(&dyn, "", 0)) in glob_match_url() 708 SANITIZEcode sc = sanitize_file_name(&sanitized, curlx_dyn_ptr(&dyn), in glob_match_url() 711 curlx_dyn_free(&dyn); in glob_match_url() 718 *result = curlx_dyn_ptr(&dyn); in glob_match_url()
|
H A D | tool_getparam.c | 646 struct curlx_dynbuf dyn; in data_urlencode() local 647 curlx_dyn_init(&dyn, MAX_DATAURLENCODE); in data_urlencode() 648 if(curlx_dyn_addn(&dyn, nextarg, nlen) || in data_urlencode() 649 curlx_dyn_addn(&dyn, "=", 1) || in data_urlencode() 650 curlx_dyn_add(&dyn, enc)) { in data_urlencode() 655 n = curlx_dyn_ptr(&dyn); in data_urlencode() 656 size = curlx_dyn_len(&dyn); in data_urlencode() 821 struct curlx_dynbuf dyn; in url_query() local 822 curlx_dyn_init(&dyn, MAX_QUERY_LEN); in url_query() 835 CURLcode result = curlx_dyn_addf(&dyn, "%s&%s", config->query, query); in url_query() [all …]
|
/curl/lib/ |
H A D | imap.h | 76 struct dynbuf dyn; /* for the IMAP commands */ member
|
H A D | dynbuf.h | 76 int Curl_dyn_vprintf(struct dynbuf *dyn, const char *format, va_list ap_save);
|
H A D | mprintf.c | 1113 int Curl_dyn_vprintf(struct dynbuf *dyn, const char *format, va_list ap_save) in Curl_dyn_vprintf() argument 1116 info.b = dyn; in Curl_dyn_vprintf() 1130 struct dynbuf dyn; in curl_mvaprintf() local 1131 info.b = &dyn; in curl_mvaprintf()
|
H A D | imap.c | 1470 Curl_dyn_init(&imapc->dyn, DYN_IMAP_CMD); in imap_connect() 1674 Curl_dyn_free(&imapc->dyn); in imap_disconnect() 1785 Curl_dyn_reset(&imapc->dyn); in imap_sendf() 1788 result = Curl_dyn_addf(&imapc->dyn, "%s %s", imapc->resptag, fmt); in imap_sendf() 1796 result = Curl_pp_vsendf(data, &imapc->pp, Curl_dyn_ptr(&imapc->dyn), ap); in imap_sendf()
|
Completed in 22 milliseconds