/curl/src/ |
H A D | tool_msgs.c | 41 const char *fmt, 46 const char *fmt, in voutf() argument 50 DEBUGASSERT(!strchr(fmt, '\n')); in voutf() 56 print_buffer = vaprintf(fmt, ap); in voutf() 98 va_start(ap, fmt); in notef() 111 va_start(ap, fmt); in warnf() 122 if(fmt) { in helpf() 124 va_start(ap, fmt); in helpf() 125 DEBUGASSERT(!strchr(fmt, '\n')); in helpf() 127 vfprintf(errors, fmt, ap); in helpf() [all …]
|
H A D | tool_msgs.h | 29 void warnf(struct GlobalConfig *config, const char *fmt, ...) 31 void notef(struct GlobalConfig *config, const char *fmt, ...) 33 void helpf(FILE *errors, const char *fmt, ...) 35 void errorf(struct GlobalConfig *config, const char *fmt, ...)
|
H A D | tool_easysrc.c | 108 CURLcode easysrc_addf(struct slist_wc **plist, const char *fmt, ...) in easysrc_addf() argument 113 va_start(ap, fmt); in easysrc_addf() 114 bufp = vaprintf(fmt, ap); in easysrc_addf()
|
H A D | tool_easysrc.h | 43 const char *fmt, ...) CURL_PRINTF(2, 3);
|
/curl/lib/ |
H A D | curl_trc.h | 61 const char *fmt, ...) CURL_PRINTF(2, 3); 147 const char *fmt, ...) CURL_PRINTF(2, 3); 173 const char *fmt, ...) CURL_PRINTF(2, 3); 186 (void)data; (void)fmt; in Curl_infof() 191 const char *fmt, ...) in Curl_trc_cf_infof() argument 193 (void)data; (void)cf; (void)fmt; in Curl_trc_cf_infof() 200 (void)data; (void)fmt; in Curl_trc_write() 205 (void)data; (void)fmt; in Curl_trc_read() 211 (void)data; (void)fmt; in Curl_trc_ftp() 217 (void)data; (void)fmt; in Curl_trc_smtp() [all …]
|
H A D | curl_trc.c | 93 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_failf() 98 va_start(ap, fmt); in Curl_failf() 141 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_infof() 144 va_start(ap, fmt); in Curl_infof() 166 va_start(ap, fmt); in Curl_trc_cf_infof() 186 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_read() 189 va_start(ap, fmt); in Curl_trc_read() 200 va_start(ap, fmt); in Curl_trc_write() 217 va_start(ap, fmt); in Curl_trc_ftp() 235 va_start(ap, fmt); in Curl_trc_smtp() [all …]
|
H A D | mprintf.c | 240 while(*fmt) { in parsefmt() 244 fmt++; in parsefmt() 259 fmt++; in parsefmt() 267 param = dollarstring(fmt, &fmt); in parsefmt() 306 precision = dollarstring(fmt, &fmt); in parsefmt() 345 if((fmt[0] == '3') && (fmt[1] == '2')) { in parsefmt() 349 else if((fmt[0] == '6') && (fmt[1] == '4')) { in parsefmt() 398 fmt--; in parsefmt() 410 width = dollarstring(fmt, &fmt); in parsefmt() 563 fmt++; in parsefmt() [all …]
|
H A D | dynbuf.c | 190 CURLcode Curl_dyn_vaddf(struct dynbuf *s, const char *fmt, va_list ap) in Curl_dyn_vaddf() argument 197 DEBUGASSERT(fmt); in Curl_dyn_vaddf() 198 rc = Curl_dyn_vprintf(s, fmt, ap); in Curl_dyn_vaddf() 207 str = vaprintf(fmt, ap); /* this allocs a new string to append */ in Curl_dyn_vaddf() 223 CURLcode Curl_dyn_addf(struct dynbuf *s, const char *fmt, ...) in Curl_dyn_addf() argument 230 va_start(ap, fmt); in Curl_dyn_addf() 231 result = Curl_dyn_vaddf(s, fmt, ap); in Curl_dyn_addf()
|
H A D | dict.c | 127 const char *fmt, ...) CURL_PRINTF(2, 3); 129 static CURLcode sendf(struct Curl_easy *data, const char *fmt, ...) in sendf() argument 137 va_start(ap, fmt); in sendf() 138 s = vaprintf(fmt, ap); /* returns an allocated string */ in sendf()
|
H A D | pingpong.h | 112 const char *fmt, ...) CURL_PRINTF(3, 4); 126 const char *fmt,
|
H A D | dynbuf.h | 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)
|
H A D | pingpong.c | 164 const char *fmt, in Curl_pp_vsendf() argument 186 result = Curl_dyn_vaddf(&pp->sendbuf, fmt, args); in Curl_pp_vsendf() 244 const char *fmt, ...) in Curl_pp_sendf() argument 248 va_start(ap, fmt); in Curl_pp_sendf() 250 result = Curl_pp_vsendf(data, pp, fmt, ap); in Curl_pp_sendf()
|
H A D | curl_setup.h | 349 #define CURL_PRINTF(fmt, arg) \ argument 350 __attribute__((format(gnu_printf, fmt, arg))) 352 #define CURL_PRINTF(fmt, arg) \ argument 353 __attribute__((format(__printf__, fmt, arg))) 356 #define CURL_PRINTF(fmt, arg) argument
|
H A D | mime.h | 133 CURLcode Curl_mime_add_header(struct curl_slist **slp, const char *fmt, ...)
|
H A D | ldap.c | 140 static void _ldap_trace(const char *fmt, ...) CURL_PRINTF(1, 2); 768 static void _ldap_trace(const char *fmt, ...) in _ldap_trace() argument 780 va_start(args, fmt); in _ldap_trace() 781 vfprintf(stderr, fmt, args); in _ldap_trace()
|
H A D | imap.c | 100 static CURLcode imap_sendf(struct Curl_easy *data, const char *fmt, ...) 1772 static CURLcode imap_sendf(struct Curl_easy *data, const char *fmt, ...) in imap_sendf() argument 1777 DEBUGASSERT(fmt); in imap_sendf() 1788 result = Curl_dyn_addf(&imapc->dyn, "%s %s", imapc->resptag, fmt); in imap_sendf() 1791 va_start(ap, fmt); in imap_sendf()
|
H A D | telnet.c | 281 const char *fmt = (cmd == CURL_WILL) ? "WILL" : in printoption() local 285 if(fmt) { in printoption() 295 infof(data, "%s %s %s", direction, fmt, opt); in printoption() 297 infof(data, "%s %s %d", direction, fmt, option); in printoption()
|
H A D | mime.c | 1679 CURLcode Curl_mime_add_header(struct curl_slist **slp, const char *fmt, ...) in Curl_mime_add_header() argument 1685 va_start(ap, fmt); in Curl_mime_add_header() 1686 s = vaprintf(fmt, ap); in Curl_mime_add_header() 2273 CURLcode Curl_mime_add_header(struct curl_slist **slp, const char *fmt, ...) in Curl_mime_add_header() argument 2276 (void)fmt; in Curl_mime_add_header()
|
/curl/include/curl/ |
H A D | mprintf.h | 42 #define CURL_TEMP_PRINTF(fmt, arg) \ argument 43 __attribute__((format(__MINGW_PRINTF_FORMAT, fmt, arg))) 45 #define CURL_TEMP_PRINTF(fmt, arg) 48 #define CURL_TEMP_PRINTF(fmt, arg) \ 49 __attribute__((format(printf, fmt, arg))) 52 #define CURL_TEMP_PRINTF(fmt, arg)
|
/curl/lib/vquic/ |
H A D | curl_ngtcp2.c | 381 static void quic_printf(void *user_data, const char *fmt, ...) in quic_printf() argument 388 va_start(ap, fmt); in quic_printf() 389 vfprintf(stderr, fmt, ap); in quic_printf()
|