/freebsd-12-stable/lib/libc/include/ |
H A D | port_before.h | 12 #define ISC_FORMAT_PRINTF(fmt, args) \ 13 __attribute__((__format__(__printf__, fmt, args)))
|
/freebsd-12-stable/contrib/subversion/subversion/libsvn_ra_serf/ |
H A D | util_error.c | 47 const char *fmt, 56 if (serf_err_msg || fmt) 79 if (fmt) 81 va_start(ap, fmt); 82 msg = apr_pvsprintf(err->pool, fmt, ap); 46 svn_ra_serf__wrap_err(apr_status_t status, const char *fmt, ...) argument
|
/freebsd-12-stable/contrib/libxo/tests/xo/ |
H A D | Makefile.am | 54 ${CHECKER} sh ${srcdir}/$$base.sh "${XO} --libxo:W$$fmt" ${TEST_OPTS} \ 55 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \ 56 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \ 57 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.err out/$$base.$$fmt.err ${S2O} 65 (for fmt in ${TEST_FORMATS}; do \ 66 echo "... $$test ... $$fmt ..."; \ 78 (for fmt i [all...] |
/freebsd-12-stable/contrib/gdb/gdb/ |
H A D | complaints.c | 58 const char *fmt; member in struct:complain 127 int line, const char *fmt) 139 if (complaint->fmt == fmt 147 complaint->fmt = fmt; 170 vcomplaint (struct complaints **c, const char *file, int line, const char *fmt, argument 174 struct complain *complaint = find_complaint (complaints, file, line, fmt); 188 internal_vwarning (complaint->file, complaint->line, complaint->fmt, args); 190 (*warning_hook) (complaint->fmt, arg 126 find_complaint(struct complaints *complaints, const char *file, int line, const char *fmt) argument 244 complaint(struct complaints **complaints, const char *fmt, ...) argument 253 internal_complaint(struct complaints **complaints, const char *file, int line, const char *fmt, ...) argument [all...] |
/freebsd-12-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_log.c | 64 openpam_log(int level, const char *fmt, ...) argument 89 va_start(ap, fmt); 90 vsyslog(priority, fmt, ap); 98 _openpam_log(int level, const char *func, const char *fmt, ...) argument 124 va_start(ap, fmt); 125 if (asprintf(&format, "in %s(): %s", func, fmt) > 0) { 131 vsyslog(priority, fmt, ap);
|
/freebsd-12-stable/contrib/libpcap/testprogs/ |
H A D | can_set_rfmon_test.c | 81 error(const char *fmt, ...) argument 86 va_start(ap, fmt); 87 (void)vfprintf(stderr, fmt, ap); 89 if (*fmt) { 90 fmt += strlen(fmt); 91 if (fmt[-1] != '\n')
|
/freebsd-12-stable/contrib/gcc/ |
H A D | c-cppbuiltin.c | 93 const struct real_format *fmt; local 99 fmt = REAL_MODE_FORMAT (TYPE_MODE (type)); 100 gcc_assert (fmt->b != 10); 104 builtin_define_with_int_value ("__FLT_RADIX__", fmt->b); 105 log10_b = log10_2 * fmt->log2_b; 109 builtin_define_with_int_value (name, fmt->p); 118 dig = (fmt->p - 1) * log10_b; 124 sprintf (buf, "(%d)", fmt->emin); 134 min_10_exp = (fmt->emin - 1) * log10_b; 141 builtin_define_with_int_value (name, fmt 277 const struct real_format *fmt; local [all...] |
/freebsd-12-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | comp_error.c | 106 _nc_warning(const char *const fmt,...) argument 114 va_start(argp, fmt); 115 vfprintf(stderr, fmt, argp); 121 _nc_err_abort(const char *const fmt,...) argument 126 va_start(argp, fmt); 127 vfprintf(stderr, fmt, argp); 134 _nc_syserr_abort(const char *const fmt,...) argument 139 va_start(argp, fmt); 140 vfprintf(stderr, fmt, argp);
|
/freebsd-12-stable/bin/pax/ |
H A D | tty_subs.c | 96 tty_prnt(const char *fmt, ...) argument 101 va_start(ap, fmt); 102 (void)vfprintf(ttyoutf, fmt, ap); 139 paxwarn(int set, const char *fmt, ...) argument 142 va_start(ap, fmt); 155 (void)vfprintf(stderr, fmt, ap); 167 syswarn(int set, int errnum, const char *fmt, ...) argument 170 va_start(ap, fmt); 183 (void)vfprintf(stderr, fmt, ap);
|
/freebsd-12-stable/cddl/usr.sbin/zfsd/ |
H A D | zfsd_exception.cc | 63 ZfsdException::ZfsdException(const char *fmt, ...) argument 70 va_start(ap, fmt); 71 FormatLog(fmt, ap); 75 ZfsdException::ZfsdException(zpool_handle_t *pool, const char *fmt, ...) argument 82 va_start(ap, fmt); 83 FormatLog(fmt, ap); 87 ZfsdException::ZfsdException(nvlist_t *poolConfig, const char *fmt, ...) argument 94 va_start(ap, fmt); 95 FormatLog(fmt, ap);
|
/freebsd-12-stable/contrib/ncurses/ncurses/trace/ |
H A D | varargs.c | 59 _nc_varargs(const char *fmt, va_list ap) argument 67 if (fmt == 0 || *fmt == '\0') 75 while (*fmt != '\0') { 76 if (*fmt == '%') { 87 while (*++fmt != '\0' && !done) { 89 if (*fmt == '*') { 93 } else if (isalpha(UChar(*fmt))) { 95 switch (*fmt) { 100 type = *fmt; [all...] |
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/ssp/ |
H A D | h_vsnprintf.c | 41 wrap(size_t len, const char *fmt, ...) argument 45 va_start(ap, fmt); 46 (void)vsnprintf(b, len, fmt, ap);
|
/freebsd-12-stable/contrib/openbsm/bin/auditd/ |
H A D | auditd_fbsd.c | 89 auditd_log_err(const char *fmt, ...) argument 93 va_start(ap, fmt); 94 vsyslog(LOG_ERR, fmt, ap); 99 auditd_log_notice(const char *fmt, ...) argument 103 va_start(ap, fmt); 104 vsyslog(LOG_NOTICE, fmt, ap); 109 auditd_log_info(const char *fmt, ...) argument 113 va_start(ap, fmt); 114 vsyslog(LOG_INFO, fmt, ap); 119 auditd_log_debug(const char *fmt, argument [all...] |
H A D | auditd.h | 81 void auditd_log_err(const char *fmt, ...); 82 void auditd_log_debug(const char *fmt, ...); 83 void auditd_log_info(const char *fmt, ...); 84 void auditd_log_notice(const char *fmt, ...);
|
/freebsd-12-stable/contrib/openbsm/bin/auditdistd/ |
H A D | subr.h | 42 int vsnprlcat(char *str, size_t size, const char *fmt, va_list ap); 43 int snprlcat(char *str, size_t size, const char *fmt, ...); 49 const char *fmt, ...);
|
/freebsd-12-stable/contrib/atf/atf-c/detail/ |
H A D | sanity.c | 39 fail(const char *fmt, ...) argument 44 va_start(ap, fmt); 45 vsnprintf(buf, sizeof(buf), fmt, ap);
|
/freebsd-12-stable/contrib/elftoolchain/ar/ |
H A D | util.c | 43 const char *fmt, va_list ap); 45 const char *fmt, va_list ap); 48 bsdar_vwarnc(struct bsdar *bsdar, int code, const char *fmt, va_list ap) argument 52 vfprintf(stderr, fmt, ap); 59 bsdar_warnc(struct bsdar *bsdar, int code, const char *fmt, ...) argument 63 va_start(ap, fmt); 64 bsdar_vwarnc(bsdar, code, fmt, ap); 69 bsdar_verrc(struct bsdar *bsdar, int code, const char *fmt, va_list ap) argument 73 vfprintf(stderr, fmt, ap); 80 bsdar_errc(struct bsdar *bsdar, int code, const char *fmt, argument [all...] |
/freebsd-12-stable/contrib/blacklist/bin/ |
H A D | support.c | 49 expandm(char *buf, size_t len, const char *fmt) argument 54 if ((p = strstr(fmt, "%m")) == NULL) 55 return fmt; 57 r = (size_t)(p - fmt); 59 return fmt; 61 strlcpy(buf, fmt, r + 1); 63 strlcat(buf, fmt + r + 2, len); 69 vdlog(int level __unused, const char *fmt, va_list ap) argument 74 vfprintf(stderr, expandm(buf, sizeof(buf), fmt), ap); 79 dlog(int level, const char *fmt, argument [all...] |
/freebsd-12-stable/usr.sbin/autofs/ |
H A D | log.c | 89 log_common(int priority, int log_errno, const char *fmt, va_list ap) argument 96 ret = vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap); 149 log_err(int eval, const char *fmt, ...) argument 153 va_start(ap, fmt); 154 log_common(LOG_CRIT, errno, fmt, ap); 161 log_errx(int eval, const char *fmt, ...) argument 165 va_start(ap, fmt); 166 log_common(LOG_CRIT, -1, fmt, ap); 173 log_warn(const char *fmt, ...) argument 177 va_start(ap, fmt); 183 log_warnx(const char *fmt, ...) argument 193 log_debugx(const char *fmt, ...) argument [all...] |
/freebsd-12-stable/usr.sbin/ctld/ |
H A D | log.c | 89 log_common(int priority, int log_errno, const char *fmt, va_list ap) argument 96 ret = vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap); 149 log_err(int eval, const char *fmt, ...) argument 153 va_start(ap, fmt); 154 log_common(LOG_CRIT, errno, fmt, ap); 161 log_errx(int eval, const char *fmt, ...) argument 165 va_start(ap, fmt); 166 log_common(LOG_CRIT, -1, fmt, ap); 173 log_warn(const char *fmt, ...) argument 177 va_start(ap, fmt); 183 log_warnx(const char *fmt, ...) argument 193 log_debugx(const char *fmt, ...) argument [all...] |
/freebsd-12-stable/usr.sbin/iscsid/ |
H A D | log.c | 89 log_common(int priority, int log_errno, const char *fmt, va_list ap) argument 96 ret = vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap); 149 log_err(int eval, const char *fmt, ...) argument 153 va_start(ap, fmt); 154 log_common(LOG_CRIT, errno, fmt, ap); 161 log_errx(int eval, const char *fmt, ...) argument 165 va_start(ap, fmt); 166 log_common(LOG_CRIT, -1, fmt, ap); 173 log_warn(const char *fmt, ...) argument 177 va_start(ap, fmt); 183 log_warnx(const char *fmt, ...) argument 193 log_debugx(const char *fmt, ...) argument [all...] |
/freebsd-12-stable/contrib/libxo/tests/core/ |
H A D | Makefile.am | 85 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \ 86 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \ 87 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.err out/$$base.$$fmt.err ${S2O} 95 (for fmt in ${TEST_FORMATS}; do \ 96 echo "... $$test ... $$fmt ..."; \ 97 xoopts=:W$$fmt ; \ 101 (for fmt i [all...] |
/freebsd-12-stable/contrib/tcsh/ |
H A D | tc.printf.c | 65 int fmt; local 137 fmt = (unsigned char) *f; 138 if (fmt != 'S' && fmt != 'Q' && isupper(fmt)) { 140 fmt = tolower(fmt); 143 switch (fmt) { /* do the format */ 194 fmt = 'x'; 220 if (fmt 368 xsnprintf(char *str, size_t size, const char *fmt, ...) argument 384 xprintf(const char *fmt, ...) argument 395 xvprintf(const char *fmt, va_list va) argument 401 xvsnprintf(char *str, size_t size, const char *fmt, va_list va) argument 412 xvasprintf(const char *fmt, va_list va) argument 437 xasprintf(const char *fmt, ...) argument 461 fprintf(FILE *fp, const char* fmt, ...) argument 472 vfprintf(FILE *fp, const char *fmt, va_list va) argument [all...] |
/freebsd-12-stable/contrib/ncurses/ncurses/base/ |
H A D | safe_sprintf.c | 53 _nc_printf_length(const char *fmt, va_list ap) argument 62 if (fmt == 0 || *fmt == '\0') 64 fmt_len = strlen(fmt) + 1; 72 while (*fmt != '\0') { 73 if (*fmt == '%') { 86 format[f++] = *fmt; 87 while (*++fmt != '\0' && len >= 0 && !done) { 88 format[f++] = *fmt; 90 if (isdigit(UChar(*fmt))) { 221 _nc_printf_string(NCURSES_SP_DCLx const char *fmt, va_list ap) argument 279 _nc_printf_string(const char *fmt, va_list ap) argument [all...] |
/freebsd-12-stable/contrib/tcp_wrappers/ |
H A D | diag.c | 38 char fmt[BUFSIZ]; local 41 sprintf(fmt, "%s: %s, line %d: %s", 44 sprintf(fmt, "%s: %s", tag, format); 45 vsyslog(severity, fmt, ap);
|