Home
last modified time | relevance | path

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

12

/third_party/curl/lib/
Ddynbuf.h39 #define curlx_dynbuf dynbuf /* for the struct name */
42 struct dynbuf { struct
52 void Curl_dyn_init(struct dynbuf *s, size_t toobig); argument
53 void Curl_dyn_free(struct dynbuf *s);
54 CURLcode Curl_dyn_addn(struct dynbuf *s, const void *mem, size_t len)
56 CURLcode Curl_dyn_add(struct dynbuf *s, const char *str)
58 CURLcode Curl_dyn_addf(struct dynbuf *s, const char *fmt, ...)
60 CURLcode Curl_dyn_vaddf(struct dynbuf *s, const char *fmt, va_list ap)
62 void Curl_dyn_reset(struct dynbuf *s);
63 CURLcode Curl_dyn_tail(struct dynbuf *s, size_t trail);
[all …]
Ddynbuf.c38 void Curl_dyn_init(struct dynbuf *s, size_t toobig) in Curl_dyn_init()
55 void Curl_dyn_free(struct dynbuf *s) in Curl_dyn_free()
65 static CURLcode dyn_nappend(struct dynbuf *s, in dyn_nappend()
119 void Curl_dyn_reset(struct dynbuf *s) in Curl_dyn_reset()
134 CURLcode Curl_dyn_tail(struct dynbuf *s, size_t trail) in Curl_dyn_tail()
159 CURLcode Curl_dyn_addn(struct dynbuf *s, const void *mem, size_t len) in Curl_dyn_addn()
170 CURLcode Curl_dyn_add(struct dynbuf *s, const char *str) in Curl_dyn_add()
182 CURLcode Curl_dyn_vaddf(struct dynbuf *s, const char *fmt, va_list ap) in Curl_dyn_vaddf()
211 CURLcode Curl_dyn_addf(struct dynbuf *s, const char *fmt, ...) in Curl_dyn_addf()
227 char *Curl_dyn_ptr(const struct dynbuf *s) in Curl_dyn_ptr()
[all …]
Dhttp.h58 CURLcode Curl_buffer_send(struct dynbuf *in,
69 struct dynbuf *req
77 struct dynbuf *req
83 struct dynbuf *buf,
91 struct dynbuf *req);
101 struct dynbuf *r, Curl_HttpReq httpreq);
105 struct dynbuf *r);
192 struct dynbuf send_buffer; /* used if the request couldn't be sent in one
202 struct dynbuf header_recvbuf;
205 struct dynbuf trailer_recvbuf;
[all …]
Dhttp_proxy.h58 struct dynbuf rcvbuf;
59 struct dynbuf req;
Dimap.h85 struct dynbuf dyn; /* for the IMAP commands */
Ddoh.h82 struct dynbuf cname[DOH_MAX_CNAME];
Dhttp2.h44 CURLcode Curl_http2_request_upgrade(struct dynbuf *req,
Dpingpong.h64 struct dynbuf sendbuf;
Durldata.h614 struct dynbuf serverdoh;
1088 struct dynbuf trailer;
1269 struct dynbuf b;
1329 struct dynbuf headerb; /* buffer to store headers in */
1421 struct dynbuf trailers_buf; /* a buffer containing the compiled trailing
Dmprintf.c172 struct dynbuf *b;
1054 extern int Curl_dyn_vprintf(struct dynbuf *dyn,
1058 int Curl_dyn_vprintf(struct dynbuf *dyn, const char *format, va_list ap_save) in Curl_dyn_vprintf()
1077 struct dynbuf dyn; in curl_mvaprintf()
Ddoh.c181 struct dynbuf *mem = (struct dynbuf *)userp; in doh_write_cb()
267 struct dynbuf *resp = &p->serverdoh; in dohprobe()
524 struct dynbuf *c; in store_cname()
Dcurl_path.c43 struct dynbuf npath; in Curl_getworkingpath()
Descape.c84 struct dynbuf d; in curl_easy_escape()
DMakefile.inc127 dynbuf.c \
261 dynbuf.h \
/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 inits a struct to use for dynbuf and it can't fail. The `toobig` value
25 void Curl_dyn_free(struct dynbuf *s);
28 Free the associated memory and clean up. After a free, the `dynbuf` struct can
34 CURLcode Curl_dyn_addn(struct dynbuf *s, const void *mem, size_t len);
42 CURLcode Curl_dyn_add(struct dynbuf *s, const char *str);
50 CURLcode Curl_dyn_addf(struct dynbuf *s, const char *fmt, ...);
[all …]
/third_party/boost/libs/beast/test/beast/http/
Dread.cpp540 flat_buffer& dynbuf, in testAwaitableCompiles() argument
548 http::async_read(stream, dynbuf, request, net::use_awaitable))>); in testAwaitableCompiles()
552 http::async_read(stream, dynbuf, request_parser, net::use_awaitable))>); in testAwaitableCompiles()
556 http::async_read(stream, dynbuf, response, net::use_awaitable))>); in testAwaitableCompiles()
560 http::async_read(stream, dynbuf, response_parser, net::use_awaitable))>); in testAwaitableCompiles()
564 http::async_read_some(stream, dynbuf, request_parser, net::use_awaitable))>); in testAwaitableCompiles()
568 http::async_read_some(stream, dynbuf, response_parser, net::use_awaitable))>); in testAwaitableCompiles()
572 http::async_read_header(stream, dynbuf, request_parser, net::use_awaitable))>); in testAwaitableCompiles()
576 http::async_read_header(stream, dynbuf, response_parser, net::use_awaitable))>); in testAwaitableCompiles()
/third_party/curl/tests/data/
Dtest55842 MEM dynbuf.c: realloc()
43 MEM dynbuf.c: realloc()
/third_party/openssl/crypto/bio/
Db_print.c879 char *dynbuf = NULL; in BIO_vprintf() local
882 dynbuf = NULL; in BIO_vprintf()
883 if (!_dopr(&hugebufp, &dynbuf, &hugebufsize, &retlen, &ignored, format, in BIO_vprintf()
885 OPENSSL_free(dynbuf); in BIO_vprintf()
888 if (dynbuf) { in BIO_vprintf()
889 ret = BIO_write(bio, dynbuf, (int)retlen); in BIO_vprintf()
890 OPENSSL_free(dynbuf); in BIO_vprintf()
/third_party/curl/tests/server/
DMakefile.inc32 ../../lib/dynbuf.c \
42 ../../lib/dynbuf.h \
/third_party/curl/lib/vssh/
Dssh.h115 struct dynbuf readdir_link;
116 struct dynbuf readdir;
/third_party/curl/src/
DMakefile.inc40 ../lib/dynbuf.c
50 ../lib/dynbuf.h
/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()
/third_party/curl/lib/vquic/
Dvquic.c57 struct dynbuf fname; in Curl_qlogdir()
/third_party/boost/libs/beast/test/beast/websocket/
Dread2.cpp683 flat_buffer& dynbuf, in testAwaitableCompiles() argument
689 s.async_read(dynbuf, net::use_awaitable))>); in testAwaitableCompiles()
697 s.async_read_some(dynbuf, limit, net::use_awaitable))>); in testAwaitableCompiles()
/third_party/curl/winbuild/
DMakefileBuild.vc613 $(CURL_DIROBJ)\dynbuf.obj
636 $(CURL_DIROBJ)\dynbuf.obj: ../lib/dynbuf.c
637 $(CURL_CC) $(CURL_CFLAGS) /Fo"$@" ../lib/dynbuf.c

12