/freebsd-12-stable/crypto/openssh/openbsd-compat/regress/ |
H A D | snprintftest.c | 35 int x_snprintf(char *str, size_t count, const char *fmt, ...) argument 40 va_start(ap, fmt); 41 ret = vsnprintf(str, count, fmt, ap);
|
/freebsd-12-stable/usr.sbin/bluetooth/btpand/ |
H A D | event.h | 76 #define event_log_err(fmt, args...) syslog(LOG_ERR, fmt, ##args) 77 #define event_log_info(fmt, args...) syslog(LOG_INFO, fmt, ##args) 78 #define event_log_notice(fmt, args...) syslog(LOG_NOTICE, fmt, ##args) 79 #define event_log_debug(fmt, args...) syslog(LOG_DEBUG, fmt, ##args) 131 #define event_log_err(fmt, args...) 132 #define event_log_info(fmt, arg [all...] |
/freebsd-12-stable/contrib/libxo/xo/ |
H A D | xo.c | 43 prep_arg (char *fmt) argument 47 for (cp = fp = fmt; *cp; cp++, fp++) { 95 const char *fmt, va_list vap UNUSED) 104 for (cp = fmt + 1; *cp; cp++) { 126 xo_error_h(xop, "unsupported format: '%s'", fmt); 145 rc = snprintf(buf, bufsiz, fmt, w1, w2, value); 147 rc = snprintf(buf, bufsiz, fmt, w1, value); 149 rc = snprintf(buf, bufsiz, fmt, value); 154 rc = snprintf(buf, bufsiz, fmt, w1, w2, value); 156 rc = snprintf(buf, bufsiz, fmt, w 94 formatter(xo_handle_t *xop, char *buf, xo_ssize_t bufsiz, const char *fmt, va_list vap UNUSED) argument 252 char *fmt = NULL, *cp, *np; local [all...] |
/freebsd-12-stable/lib/libc/stdio/ |
H A D | snprintf.c | 55 snprintf(char * __restrict str, size_t n, char const * __restrict fmt, ...) argument 70 va_start(ap, fmt); 74 ret = __vfprintf(&f, __get_locale(), fmt, ap); 82 char const * __restrict fmt, ...) 98 va_start(ap, fmt); 102 ret = __vfprintf(&f, locale, fmt, ap); 81 snprintf_l(char * __restrict str, size_t n, locale_t locale, char const * __restrict fmt, ...) argument
|
H A D | vsnprintf.c | 54 const char * __restrict fmt, __va_list ap) 80 ret = __vfprintf(&f, locale, fmt, ap); 86 vsnprintf(char * __restrict str, size_t n, const char * __restrict fmt, argument 89 return vsnprintf_l(str, n, __get_locale(), fmt, ap); 53 vsnprintf_l(char * __restrict str, size_t n, locale_t locale, const char * __restrict fmt, __va_list ap) argument
|
H A D | vswscanf.c | 69 const wchar_t * __restrict fmt, va_list ap) 96 r = __vfwscanf(&f, locale, fmt, ap); 102 vswscanf(const wchar_t * __restrict str, const wchar_t * __restrict fmt, argument 105 return vswscanf_l(str, __get_locale(), fmt, ap); 68 vswscanf_l(const wchar_t * __restrict str, locale_t locale, const wchar_t * __restrict fmt, va_list ap) argument
|
/freebsd-12-stable/lib/libthr/thread/ |
H A D | thr_printf.c | 55 _thread_printf(int fd, const char *fmt, ...) argument 59 va_start(ap, fmt); 60 _thread_vprintf(fd, fmt, ap); 65 _thread_vprintf(int fd, const char *fmt, va_list ap) argument 75 while ((c = *fmt++)) { 79 next: c = *fmt++;
|
/freebsd-12-stable/contrib/subversion/subversion/libsvn_ra_svn/ |
H A D | deprecated.c | 96 const char *fmt, ...) 101 va_start(va, fmt); 102 err = svn_ra_svn__write_tuple(conn, pool, fmt, va); 131 const char *fmt, ...) 137 va_start(va, fmt); 138 err = svn_ra_svn__parse_tuple(internal, fmt, va); 147 const char *fmt, ...) 152 va_start(va, fmt); 153 err = svn_ra_svn__read_tuple(conn, pool, fmt, va); 172 const char *fmt, 94 svn_ra_svn_write_tuple(svn_ra_svn_conn_t *conn, apr_pool_t *pool, const char *fmt, ...) argument 129 svn_ra_svn_parse_tuple(const apr_array_header_t *list, apr_pool_t *pool, const char *fmt, ...) argument 145 svn_ra_svn_read_tuple(svn_ra_svn_conn_t *conn, apr_pool_t *pool, const char *fmt, ...) argument 170 svn_ra_svn_read_cmd_response(svn_ra_svn_conn_t *conn, apr_pool_t *pool, const char *fmt, ...) argument 223 svn_ra_svn_write_cmd(svn_ra_svn_conn_t *conn, apr_pool_t *pool, const char *cmdname, const char *fmt, ...) argument 240 svn_ra_svn_write_cmd_response(svn_ra_svn_conn_t *conn, apr_pool_t *pool, const char *fmt, ...) argument [all...] |
/freebsd-12-stable/contrib/libexecinfo/ |
H A D | backtrace.c | 77 rasprintf(char **buf, size_t *bufsiz, size_t offs, const char *fmt, ...) argument 87 va_start(ap, fmt); 88 len = vsnprintf(*buf + offs, *bufsiz - offs, fmt, ap); 114 format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt, argument 121 for (; *fmt; fmt++) { 122 if (*fmt != '%') 124 switch (*++fmt) { 145 len = rasprintf(buf, bufsiz, o, "%c", *fmt); 157 const char *fmt, cons 156 format_address(symtab_t *st, char **buf, size_t *bufsiz, size_t offs, const char *fmt, const void *addr) argument 177 backtrace_symbols_fmt(void *const *trace, size_t len, const char *fmt) argument 224 backtrace_symbols_fd_fmt(void *const *trace, size_t len, int fd, const char *fmt) argument 237 static const char fmt[] = "%a <%n%D> at %f"; variable [all...] |
/freebsd-12-stable/contrib/libarchive/libarchive_fe/ |
H A D | err.h | 50 void lafe_warnc(int code, const char *fmt, ...) __LA_PRINTFLIKE(2, 3); 51 void lafe_errc(int eval, int code, const char *fmt, ...) __LA_DEAD
|
/freebsd-12-stable/crypto/heimdal/lib/hx509/ |
H A D | error.c | 84 * @param fmt error message format 92 const char *fmt, va_list ap) 105 if (vasprintf(&msg->msg, fmt, ap) == -1) { 129 * @param fmt error message format 137 const char *fmt, ...) 141 va_start(ap, fmt); 142 hx509_set_error_stringv(context, flags, code, fmt, ap); 205 * @param fmt format string with the exit message. 213 int error_code, const char *fmt, ...) 219 va_start(ap, fmt); 91 hx509_set_error_stringv(hx509_context context, int flags, int code, const char *fmt, va_list ap) argument 136 hx509_set_error_string(hx509_context context, int flags, int code, const char *fmt, ...) argument 212 hx509_err(hx509_context context, int exit_code, int error_code, const char *fmt, ...) argument [all...] |
/freebsd-12-stable/sys/netpfil/ipfw/nat64/ |
H A D | ip_fw_nat64.h | 34 #define DPRINTF(mask, fmt, ...) \ 36 printf("NAT64: %s: " fmt "\n", __func__, ## __VA_ARGS__)
|
/freebsd-12-stable/lib/libnetgraph/ |
H A D | netgraph.h | 64 void NgSetErrLog(void (*)(const char *fmt, ...), 65 void (*)(const char *fmt, ...));
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | pw_scan.c | 97 goto fmt; 103 goto fmt; 108 goto fmt; 143 goto fmt; 174 goto fmt; 179 goto fmt; 185 goto fmt; 191 goto fmt; 196 goto fmt; 201 goto fmt; [all...] |
/freebsd-12-stable/contrib/binutils/binutils/ |
H A D | unwind-ia64.c | 176 #define UNW_DEC_PROLOGUE(fmt, body, rlen, arg) \ 182 fmt, body ? "body" : "prologue", (unsigned long) rlen); \ 186 #define UNW_DEC_PROLOGUE_GR(fmt, rlen, mask, grsave, arg) \ 220 fmt, maskstr, regname, (unsigned long) rlen); \ 224 #define UNW_DEC_FR_MEM(fmt, frmask, arg) \ 230 printf ("\t%s:fr_mem(frmask=[%s])\n", fmt, frstr); \ 234 #define UNW_DEC_GR_MEM(fmt, grmask, arg) \ 240 printf ("\t%s:gr_mem(grmask=[%s])\n", fmt, grstr); \ 244 #define UNW_DEC_FRGR_MEM(fmt, grmask, frmask, arg) \ 251 printf ("\t%s:frgr_mem(grmask=[%s],frmask=[%s])\n", fmt, grst [all...] |
/freebsd-12-stable/contrib/ntp/libntp/ |
H A D | msyslog.c | 53 const char * fmt, 64 f = fmt; 229 const char * fmt, 236 const char * nfmt = fmt; 250 format_errmsg(nfmt, sizeof(nfmt), fmt, errval); 261 const char * fmt, 268 const char * nfmt = fmt; 282 format_errmsg(nfmt, sizeof(nfmt), fmt, errval); 293 const char * fmt, 300 va_start(ap, fmt); 50 format_errmsg( char * nfmt, size_t lennfmt, const char * fmt, int errval ) argument 226 mvsnprintf( char * buf, size_t bufsiz, const char * fmt, va_list ap ) argument 259 mvfprintf( FILE * fp, const char * fmt, va_list ap ) argument 291 mfprintf( FILE * fp, const char * fmt, ... ) argument 309 mprintf( const char * fmt, ... ) argument 326 msnprintf( char * buf, size_t bufsiz, const char * fmt, ... ) argument 345 msyslog( int level, const char * fmt, ... ) argument 361 mvsyslog( int level, const char * fmt, va_list ap ) argument [all...] |
/freebsd-12-stable/contrib/ldns/ldns/ |
H A D | host2str.h | 130 * \param[in] fmt A reference to an output_format_ storage struct 134 ldns_output_format* ldns_output_format_init(ldns_output_format_storage* fmt) { argument 135 fmt->flags = ldns_output_format_default->flags; 136 fmt->hashmap = NULL; 137 fmt->bitmap = NULL; 138 return (ldns_output_format*)fmt; 144 INLINE void ldns_output_format_set(ldns_output_format* fmt, int flag) { argument 145 fmt->flags |= flag; 151 INLINE void ldns_output_format_clear(ldns_output_format* fmt, int flag) { argument 152 fmt [all...] |
/freebsd-12-stable/contrib/wpa/src/utils/ |
H A D | wpa_debug.c | 201 * @fmt: printf format string, followed by optional arguments 209 void wpa_printf(int level, const char *fmt, ...) argument 213 va_start(ap, fmt); 217 ANDROID_LOG_NAME, fmt, ap); local 221 vsyslog(syslog_priority(level), fmt, ap); 227 vfprintf(out_file, fmt, ap); 231 vprintf(fmt, ap); 245 va_start(ap, fmt); 247 vfprintf(wpa_debug_tracing_file, fmt, ap); 638 void wpa_msg(void *ctx, int level, const char *fmt, argument 676 wpa_msg_ctrl(void *ctx, int level, const char *fmt, ...) argument 704 wpa_msg_global(void *ctx, int level, const char *fmt, ...) argument 731 wpa_msg_global_ctrl(void *ctx, int level, const char *fmt, ...) argument 759 wpa_msg_no_global(void *ctx, int level, const char *fmt, ...) argument 786 wpa_msg_global_only(void *ctx, int level, const char *fmt, ...) argument 824 hostapd_logger(void *ctx, const u8 *addr, unsigned int module, int level, const char *fmt, ...) argument [all...] |
/freebsd-12-stable/contrib/xz/src/xz/ |
H A D | message.h | 47 extern void message(enum message_verbosity verbosity, const char *fmt, ...) 55 extern void message_warning(const char *fmt, ...) 63 extern void message_error(const char *fmt, ...) 70 extern void message_fatal(const char *fmt, ...)
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libutil/ |
H A D | t_snprintb.c | 42 h_snprintb(const char *fmt, uint64_t val, const char *res) argument 47 len = snprintb(buf, sizeof(buf), fmt, val); 71 h_snprintb_m(const char *fmt, uint64_t val, int line_max, const char *res, argument 77 len = snprintb_m(buf, sizeof(buf), fmt, val, line_max);
|
/freebsd-12-stable/contrib/gdb/gdb/cli/ |
H A D | cli-dump.h | 38 extern struct value *parse_and_eval_with_error (char *exp, const char *fmt, ...) ATTR_FORMAT (printf, 2, 3);
|
/freebsd-12-stable/contrib/atf/atf-c/ |
H A D | macros.h | 130 #define ATF_REQUIRE_MSG(expression, fmt, ...) \ 133 atf_tc_fail_requirement(__FILE__, __LINE__, fmt, ##__VA_ARGS__); \ 136 #define ATF_CHECK_MSG(expression, fmt, ...) \ 139 atf_tc_fail_check(__FILE__, __LINE__, fmt, ##__VA_ARGS__); \ 162 #define ATF_REQUIRE_EQ_MSG(expected, actual, fmt, ...) \ 163 ATF_REQUIRE_MSG((expected) == (actual), "%s != %s: " fmt, \ 166 #define ATF_CHECK_EQ_MSG(expected, actual, fmt, ...) \ 167 ATF_CHECK_MSG((expected) == (actual), "%s != %s: " fmt, \ 178 #define ATF_REQUIRE_STREQ_MSG(expected, actual, fmt, ...) \ 180 "%s != %s (%s != %s): " fmt, \ [all...] |
/freebsd-12-stable/bin/ps/ |
H A D | Makefile | 6 SRCS= fmt.c keyword.c nlist.c print.c ps.c
|
/freebsd-12-stable/cddl/usr.sbin/zfsd/ |
H A D | zfsd_exception.h | 68 * \param fmt Printf-like string format specifier. 70 ZfsdException(const char *fmt, ...); 79 * \param fmt Printf-like string format specifier. 93 * \param fmt Printf-like string format specifier.
|
/freebsd-12-stable/sys/contrib/zstd/contrib/pzstd/ |
H A D | Logging.h | 41 void operator()(int level, const char *fmt, Args... args) { argument 46 std::fprintf(out_, fmt, args...); 50 void update(int level, const char *fmt, Args... args) { argument 59 std::fprintf(out_, fmt, args...);
|