Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 20 of 20) sorted by relevance

/curl/src/
H A Dtool_msgs.c43 const char *fmt,
48 const char *fmt, in voutf() argument
52 DEBUGASSERT(!strchr(fmt, '\n')); in voutf()
100 va_start(ap, fmt); in notef()
113 va_start(ap, fmt); in warnf()
114 voutf(config, WARN_PREFIX, fmt, ap); in warnf()
124 if(fmt) { in helpf()
126 va_start(ap, fmt); in helpf()
127 DEBUGASSERT(!strchr(fmt, '\n')); in helpf()
129 vfprintf(errors, fmt, ap); in helpf()
[all …]
H A Dtool_msgs.h29 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 Dtool_easysrc.c110 CURLcode easysrc_addf(struct slist_wc **plist, const char *fmt, ...) in easysrc_addf() argument
115 va_start(ap, fmt); in easysrc_addf()
116 bufp = curlx_mvaprintf(fmt, ap); in easysrc_addf()
H A Dtool_easysrc.h43 const char *fmt, ...) CURL_PRINTF(2, 3);
/curl/lib/
H A Dcurl_trc.h61 const char *fmt, ...) CURL_PRINTF(2, 3);
131 const char *fmt, ...) CURL_PRINTF(2, 3);
149 const char *fmt, ...) CURL_PRINTF(2, 3);
162 (void)data; (void)fmt; in Curl_infof()
167 const char *fmt, ...) in Curl_trc_cf_infof() argument
169 (void)data; (void)cf; (void)fmt; in Curl_trc_cf_infof()
176 const char *fmt, ...) in Curl_trc_ft_infof() argument
178 (void)data; (void)ft; (void)fmt; in Curl_trc_ft_infof()
183 (void)data; (void)fmt; in Curl_trc_write()
188 (void)data; (void)fmt; in Curl_trc_read()
[all …]
H A Dcurl_trc.c90 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_failf()
95 va_start(ap, fmt); in Curl_failf()
132 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_infof()
135 va_start(ap, fmt); in Curl_infof()
157 va_start(ap, fmt); in Curl_trc_cf_infof()
177 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_read()
180 va_start(ap, fmt); in Curl_trc_read()
188 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_write()
191 va_start(ap, fmt); in Curl_trc_write()
205 DEBUGASSERT(!strchr(fmt, '\n')); in Curl_trc_ftp()
[all …]
H A Dmprintf.c241 while(*fmt) { in parsefmt()
245 fmt++; in parsefmt()
260 fmt++; in parsefmt()
268 param = dollarstring(fmt, &fmt); in parsefmt()
307 precision = dollarstring(fmt, &fmt); in parsefmt()
346 if((fmt[0] == '3') && (fmt[1] == '2')) { in parsefmt()
350 else if((fmt[0] == '6') && (fmt[1] == '4')) { in parsefmt()
399 fmt--; in parsefmt()
411 width = dollarstring(fmt, &fmt); in parsefmt()
549 fmt++; in parsefmt()
[all …]
H A Ddynbuf.c190 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 Ddict.c127 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 Dpingpong.h112 const char *fmt, ...) CURL_PRINTF(3, 4);
126 const char *fmt,
H A Ddynbuf.h63 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 Dpingpong.c164 const char *fmt, in Curl_pp_vsendf() argument
186 result = Curl_dyn_vaddf(&pp->sendbuf, fmt, args); in Curl_pp_vsendf()
243 const char *fmt, ...) in Curl_pp_sendf() argument
247 va_start(ap, fmt); in Curl_pp_sendf()
249 result = Curl_pp_vsendf(data, pp, fmt, ap); in Curl_pp_sendf()
H A Dcurl_setup.h299 #define CURL_PRINTF(fmt, arg) \ argument
300 __attribute__((format(gnu_printf, fmt, arg)))
302 #define CURL_PRINTF(fmt, arg) \ argument
303 __attribute__((format(__printf__, fmt, arg)))
306 #define CURL_PRINTF(fmt, arg) argument
H A Dmime.h133 CURLcode Curl_mime_add_header(struct curl_slist **slp, const char *fmt, ...)
H A Dldap.c140 static void _ldap_trace(const char *fmt, ...) CURL_PRINTF(1, 2);
764 static void _ldap_trace(const char *fmt, ...) in _ldap_trace() argument
776 va_start(args, fmt); in _ldap_trace()
777 vfprintf(stderr, fmt, args); in _ldap_trace()
H A Dimap.c100 static CURLcode imap_sendf(struct Curl_easy *data, const char *fmt, ...)
1774 static CURLcode imap_sendf(struct Curl_easy *data, const char *fmt, ...) in imap_sendf() argument
1779 DEBUGASSERT(fmt); in imap_sendf()
1790 result = Curl_dyn_addf(&imapc->dyn, "%s %s", imapc->resptag, fmt); in imap_sendf()
1793 va_start(ap, fmt); in imap_sendf()
H A Dtelnet.c281 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 Dmime.c1673 CURLcode Curl_mime_add_header(struct curl_slist **slp, const char *fmt, ...) in Curl_mime_add_header() argument
1679 va_start(ap, fmt); in Curl_mime_add_header()
1680 s = curl_mvaprintf(fmt, ap); in Curl_mime_add_header()
2231 CURLcode Curl_mime_add_header(struct curl_slist **slp, const char *fmt, ...) in Curl_mime_add_header() argument
2234 (void)fmt; in Curl_mime_add_header()
/curl/include/curl/
H A Dmprintf.h40 #define CURL_TEMP_PRINTF(fmt, arg) \ argument
41 __attribute__((format(gnu_printf, fmt, arg)))
43 #define CURL_TEMP_PRINTF(fmt, arg) \
44 __attribute__((format(printf, fmt, arg)))
47 #define CURL_TEMP_PRINTF(fmt, arg)
/curl/lib/vquic/
H A Dcurl_ngtcp2.c356 static void quic_printf(void *user_data, const char *fmt, ...) in quic_printf() argument
363 va_start(ap, fmt); in quic_printf()
364 vfprintf(stderr, fmt, ap); in quic_printf()

Completed in 59 milliseconds