Home
last modified time | relevance | path

Searched refs:dynbuf (Results 1 - 25 of 51) sorted by relevance

123

/third_party/curl/lib/
H A Ddynbuf.h44 #define curlx_dynbuf dynbuf /* for the struct name */
47 struct dynbuf { struct
57 void Curl_dyn_init(struct dynbuf *s, size_t toobig);
58 void Curl_dyn_free(struct dynbuf *s);
59 CURLcode Curl_dyn_addn(struct dynbuf *s, const void *mem, size_t len)
61 CURLcode Curl_dyn_add(struct dynbuf *s, const char *str)
63 CURLcode Curl_dyn_addf(struct dynbuf *s, const char *fmt, ...)
65 CURLcode Curl_dyn_vaddf(struct dynbuf *s, const char *fmt, va_list ap)
67 void Curl_dyn_reset(struct dynbuf *s);
68 CURLcode Curl_dyn_tail(struct dynbuf *
[all...]
H A Ddynbuf.c26 #include "dynbuf.h"
38 * Init a dynbuf struct.
40 void Curl_dyn_init(struct dynbuf *s, size_t toobig) in Curl_dyn_init()
57 void Curl_dyn_free(struct dynbuf *s) in Curl_dyn_free()
65 * Store/append an chunk of memory to the dynbuf.
67 static CURLcode dyn_nappend(struct dynbuf *s, in dyn_nappend()
127 void Curl_dyn_reset(struct dynbuf *s) in Curl_dyn_reset()
141 CURLcode Curl_dyn_tail(struct dynbuf *s, size_t trail) in Curl_dyn_tail()
165 CURLcode Curl_dyn_addn(struct dynbuf *s, const void *mem, size_t len) in Curl_dyn_addn()
176 CURLcode Curl_dyn_add(struct dynbuf *
[all...]
H A Dhttp.h77 CURLcode Curl_buffer_send(struct dynbuf *in,
86 struct dynbuf *req
94 struct dynbuf *req
104 struct dynbuf *buf,
112 struct dynbuf *req);
122 struct dynbuf *r, Curl_HttpReq httpreq);
128 struct dynbuf *r);
220 struct dynbuf send_buffer; /* used if the request couldn't be sent in one
H A Dhttp1.h40 struct dynbuf scratch;
57 struct dynbuf *dbuf);
60 struct dynbuf *dbuf);
H A Durlapi.c138 /* urlencode_str() writes data into an output dynbuf and URL-encodes the
144 static CURLUcode urlencode_str(struct dynbuf *o, const char *url, in urlencode_str()
260 struct dynbuf newest; in concat_url()
509 UNITTEST CURLUcode Curl_parse_port(struct Curl_URL *u, struct dynbuf *host, in Curl_parse_port()
672 static int ipv4_normalize(struct dynbuf *host) in ipv4_normalize()
769 static CURLUcode urldecode_host(struct dynbuf *host) in urldecode_host()
798 struct dynbuf *host, in parse_authority()
853 struct dynbuf host; in Curl_url_set_authority()
1011 struct dynbuf host; in parseurl()
1248 struct dynbuf en in parseurl()
[all...]
H A Ddoh.h63 struct dynbuf serverdoh;
101 struct dynbuf cname[DOH_MAX_CNAME];
H A Dpingpong.h61 struct dynbuf sendbuf;
62 struct dynbuf recvbuf;
H A Dhttp_aws_sigv4.c139 struct dynbuf *canonical_headers, in make_headers()
140 struct dynbuf *signed_headers) in make_headers()
430 const char *query, struct dynbuf *dq) in canon_query()
543 struct dynbuf canonical_headers; in Curl_output_aws_sigv4()
544 struct dynbuf signed_headers; in Curl_output_aws_sigv4()
545 struct dynbuf canonical_query; in Curl_output_aws_sigv4()
572 /* we init those buffers here, so goto fail will free initialized dynbuf */ in Curl_output_aws_sigv4()
H A Ddynhds.h29 #include "dynbuf.h"
31 struct dynbuf;
169 * Add the headers to the given `dynbuf` in HTTP/1.1 format with
172 CURLcode Curl_dynhds_h1_dprint(struct dynhds *dynhds, struct dynbuf *dbuf);
H A Dfileinfo.h29 #include "dynbuf.h"
34 struct dynbuf buf;
H A Durlapi-int.h35 CURLUcode Curl_parse_port(struct Curl_URL *u, struct dynbuf *host,
H A Drtsp.h54 struct dynbuf buf;
H A Dmqtt.h59 struct dynbuf recvbuf;
H A Dws.h33 #define REQTYPE struct dynbuf
H A Dhttp_chunks.h29 #include "dynbuf.h"
97 struct dynbuf trailer; /* for chunked-encoded trailer */
H A Dimap.h76 struct dynbuf dyn; /* for the IMAP commands */
H A Dhttp2.h41 CURLcode Curl_http2_request_upgrade(struct dynbuf *req,
H A Ddict.c104 struct dynbuf out; in unescape_word()
H A Dfopen.c67 struct dynbuf out; in dirslash()
H A Ddoh.c40 #include "dynbuf.h"
177 struct dynbuf *mem = (struct dynbuf *)userp; in doh_write_cb()
243 struct dynbuf *resp = &p->serverdoh; in dohprobe()
501 struct dynbuf *c; in store_cname()
/third_party/curl/lib/vtls/
H A Dx509asn1.c50 #include "dynbuf.h"
268 static CURLcode bool2str(struct dynbuf *store, in bool2str()
281 static CURLcode octet2str(struct dynbuf *store, in octet2str()
292 static CURLcode bit2str(struct dynbuf *store, in bit2str()
307 static CURLcode int2str(struct dynbuf *store, in int2str()
332 * The result is stored in a dynbuf that is inited by the user of this
338 utf8asn1str(struct dynbuf *to, int type, const char *from, const char *end) in utf8asn1str()
420 static CURLcode encodeOID(struct dynbuf *store, in encodeOID()
456 static CURLcode OID2str(struct dynbuf *store, in OID2str()
462 struct dynbuf bu in OID2str()
[all...]
/third_party/curl/lib/vssh/
H A Dssh.h117 struct dynbuf readdir_link;
118 struct dynbuf readdir;
161 struct dynbuf readdir_buf;
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbio_print.c906 char *dynbuf = NULL; in BIO_vprintf() local
909 dynbuf = NULL; in BIO_vprintf()
910 if (!_dopr(&hugebufp, &dynbuf, &hugebufsize, &retlen, &ignored, format, in BIO_vprintf()
912 OPENSSL_free(dynbuf); in BIO_vprintf()
915 if (dynbuf) { in BIO_vprintf()
916 ret = BIO_write(bio, dynbuf, (int)retlen); in BIO_vprintf()
917 OPENSSL_free(dynbuf); in BIO_vprintf()
/third_party/openssl/crypto/bio/
H A Dbio_print.c906 char *dynbuf = NULL; in BIO_vprintf() local
909 dynbuf = NULL; in BIO_vprintf()
910 if (!_dopr(&hugebufp, &dynbuf, &hugebufsize, &retlen, &ignored, format, in BIO_vprintf()
912 OPENSSL_free(dynbuf); in BIO_vprintf()
915 if (dynbuf) { in BIO_vprintf()
916 ret = BIO_write(bio, dynbuf, (int)retlen); in BIO_vprintf()
917 OPENSSL_free(dynbuf); in BIO_vprintf()
/third_party/ffmpeg/libavformat/
H A Did3v2.c251 AVIOContext *dynbuf; in decode_str() local
253 if ((ret = avio_open_dyn_buf(&dynbuf)) < 0) { in decode_str()
262 PUT_UTF8(ch, tmp, avio_w8(dynbuf, tmp);) in decode_str()
270 ffio_free_dyn_buf(&dynbuf); in decode_str()
305 ffio_free_dyn_buf(&dynbuf); in decode_str()
316 PUT_UTF8(ch, tmp, avio_w8(dynbuf, tmp);) in decode_str()
325 avio_w8(dynbuf, ch); in decode_str()
334 avio_w8(dynbuf, 0); in decode_str()
336 avio_close_dyn_buf(dynbuf, dst); in decode_str()

Completed in 15 milliseconds

123