Home
last modified time | relevance | path

Searched refs:dynbuf (Results 1 – 25 of 59) sorted by relevance

123

/third_party/curl/lib/
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); argument
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 *s, size_t trail);
[all …]
Ddynbuf.c40 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()
67 static CURLcode dyn_nappend(struct dynbuf *s, in dyn_nappend()
126 void Curl_dyn_reset(struct dynbuf *s) in Curl_dyn_reset()
140 CURLcode Curl_dyn_tail(struct dynbuf *s, size_t trail) in Curl_dyn_tail()
164 CURLcode Curl_dyn_addn(struct dynbuf *s, const void *mem, size_t len) in Curl_dyn_addn()
175 CURLcode Curl_dyn_add(struct dynbuf *s, const char *str) in Curl_dyn_add()
187 CURLcode Curl_dyn_vaddf(struct dynbuf *s, const char *fmt, va_list ap) in Curl_dyn_vaddf()
216 CURLcode Curl_dyn_addf(struct dynbuf *s, const char *fmt, ...) in Curl_dyn_addf()
232 char *Curl_dyn_ptr(const struct dynbuf *s) in Curl_dyn_ptr()
[all …]
Dhttp.h85 CURLcode Curl_buffer_send(struct dynbuf *in,
94 struct dynbuf *req
102 struct dynbuf *req
112 struct dynbuf *buf,
120 struct dynbuf *req);
130 struct dynbuf *r, Curl_HttpReq httpreq);
136 struct dynbuf *r);
220 struct dynbuf send_buffer; /* used if the request couldn't be sent in one
Dhttp1.h40 struct dynbuf scratch;
57 struct dynbuf *dbuf);
60 struct dynbuf *dbuf);
Durlapi.c141 static CURLUcode urlencode_str(struct dynbuf *o, const char *url, in urlencode_str()
258 struct dynbuf newest; in concat_url()
498 UNITTEST CURLUcode Curl_parse_port(struct Curl_URL *u, struct dynbuf *host, in Curl_parse_port()
661 static int ipv4_normalize(struct dynbuf *host) in ipv4_normalize()
749 static CURLUcode urldecode_host(struct dynbuf *host) in urldecode_host()
778 struct dynbuf *host, in parse_authority()
831 struct dynbuf host; in Curl_url_set_authority()
989 struct dynbuf host; in parseurl()
1225 struct dynbuf enc; in parseurl()
1253 struct dynbuf enc; in parseurl()
[all …]
Ddoh.h63 struct dynbuf serverdoh;
101 struct dynbuf cname[DOH_MAX_CNAME];
Ddynhds.h31 struct dynbuf;
172 CURLcode Curl_dynhds_h1_dprint(struct dynhds *dynhds, struct dynbuf *dbuf);
Dhttp_aws_sigv4.c139 struct dynbuf *canonical_headers, in make_headers()
140 struct dynbuf *signed_headers) in make_headers()
421 const char *query, struct dynbuf *dq) in canon_query()
525 struct dynbuf canonical_headers; in Curl_output_aws_sigv4()
526 struct dynbuf signed_headers; in Curl_output_aws_sigv4()
527 struct dynbuf canonical_query; in Curl_output_aws_sigv4()
Dfileinfo.h34 struct dynbuf buf;
Durlapi-int.h35 CURLUcode Curl_parse_port(struct Curl_URL *u, struct dynbuf *host,
Drtsp.h48 struct dynbuf buf;
Dmqtt.h59 struct dynbuf recvbuf;
Dimap.h76 struct dynbuf dyn; /* for the IMAP commands */
Dhttp2.h41 CURLcode Curl_http2_request_upgrade(struct dynbuf *req,
Dws.h33 #define REQTYPE struct dynbuf
/third_party/curl/docs/
DDYNBUF.md1 # dynbuf chapter
8 The `struct dynbuf` is used to hold data for each instance of a dynamic
10 without using the dedicated dynbuf API.
15 void Curl_dyn_init(struct dynbuf *s, size_t toobig);
18 This initializes a struct to use for dynbuf and it cannot fail. The `toobig`
26 void Curl_dyn_free(struct dynbuf *s);
29 Free the associated memory and clean up. After a free, the `dynbuf` struct can
35 CURLcode Curl_dyn_addn(struct dynbuf *s, const void *mem, size_t len);
40 If this function fails it calls `Curl_dyn_free` on `dynbuf`.
45 CURLcode Curl_dyn_add(struct dynbuf *s, const char *str);
[all …]
/third_party/curl/tests/server/
DMakefile.in169 ../../lib/fake_ntlm-dynbuf.$(OBJEXT) \
191 ../../lib/getpart-dynbuf.$(OBJEXT) \
210 ../../lib/mqttd-dynbuf.$(OBJEXT) \
231 ../../lib/resolve-dynbuf.$(OBJEXT) \
251 ../../lib/rtspd-dynbuf.$(OBJEXT) \
271 ../../lib/sockfilt-dynbuf.$(OBJEXT) \
293 ../../lib/socksd-dynbuf.$(OBJEXT) \
314 ../../lib/sws-dynbuf.$(OBJEXT) ../../lib/sws-strdup.$(OBJEXT) \
333 ../../lib/tftpd-dynbuf.$(OBJEXT) \
365 ../../lib/$(DEPDIR)/fake_ntlm-dynbuf.Po \
[all …]
DMakefile.inc34 ../../lib/dynbuf.c \
46 ../../lib/dynbuf.h \
/third_party/curl/lib/vssh/
Dssh.h117 struct dynbuf readdir_link;
118 struct dynbuf readdir;
161 struct dynbuf readdir_buf;
/third_party/curl/src/
DMakefile.inc35 ../lib/dynbuf.c
42 ../lib/dynbuf.c \
53 ../lib/dynbuf.h \
DMakefile.in176 ../lib/base64.c ../lib/curl_multibyte.c ../lib/dynbuf.c \
217 ../lib/libcurltool_la-dynbuf.lo \
247 ../lib/dynbuf.c ../lib/nonblock.c ../lib/strtoofft.c \
282 ../lib/curl_multibyte.$(OBJEXT) ../lib/dynbuf.$(OBJEXT) \
311 ../lib/$(DEPDIR)/curl_multibyte.Po ../lib/$(DEPDIR)/dynbuf.Po \
314 ../lib/$(DEPDIR)/libcurltool_la-dynbuf.Plo \
743 ../lib/dynbuf.c
751 ../lib/dynbuf.c \
762 ../lib/dynbuf.h \
1000 ../lib/libcurltool_la-dynbuf.lo: ../lib/$(am__dirstamp) \
[all …]
/third_party/node/deps/openssl/openssl/crypto/bio/
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/
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/curl/tests/data/
Dtest55842 MEM dynbuf.c: realloc()
43 MEM dynbuf.c: realloc()
/third_party/ffmpeg/libavformat/
Did3v2.c250 AVIOContext *dynbuf; in decode_str() local
252 if ((ret = avio_open_dyn_buf(&dynbuf)) < 0) { in decode_str()
261 PUT_UTF8(ch, tmp, avio_w8(dynbuf, tmp);) in decode_str()
269 ffio_free_dyn_buf(&dynbuf); in decode_str()
280 ffio_free_dyn_buf(&dynbuf); in decode_str()
290 PUT_UTF8(ch, tmp, avio_w8(dynbuf, tmp);) in decode_str()
299 avio_w8(dynbuf, ch); in decode_str()
308 avio_w8(dynbuf, 0); in decode_str()
310 avio_close_dyn_buf(dynbuf, dst); in decode_str()

123