/freebsd-12-stable/sbin/fsck_msdosfs/ |
H A D | main.c | 131 ask(int def, const char *fmt, ...) argument 147 va_start(ap, fmt); 148 vsnprintf(prompt, sizeof(prompt), fmt, ap);
|
/freebsd-12-stable/share/examples/tests/tests/tap/ |
H A D | printf_test.c | 54 fail(const char *fmt, ...) argument 61 va_start(ap, fmt); 62 if (vasprintf(&msg, fmt, ap) == -1)
|
/freebsd-12-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/ |
H A D | bdb-err.c | 73 int db_err, const char *fmt, ...) 85 va_start(ap, fmt); 86 msg = apr_pvsprintf(err->pool, fmt, ap); 68 svn_fs_bdb__dberrf(bdb_env_baton_t *bdb_baton, int db_err, const char *fmt, ...) argument
|
/freebsd-12-stable/usr.bin/diff/ |
H A D | xmalloc.c | 75 xasprintf(char **ret, const char *fmt, ...) argument 80 va_start(ap, fmt); 81 i = vasprintf(ret, fmt, ap);
|
/freebsd-12-stable/usr.bin/patch/ |
H A D | util.c | 224 say(const char *fmt, ...) argument 228 va_start(ap, fmt); 229 vfprintf(stdout, fmt, ap); 238 fatal(const char *fmt, ...) argument 242 va_start(ap, fmt); 244 vfprintf(stderr, fmt, ap); 253 pfatal(const char *fmt, ...) argument 259 va_start(ap, fmt); 260 vfprintf(stderr, fmt, ap); 270 ask(const char *fmt, argument [all...] |
/freebsd-12-stable/usr.sbin/pw/ |
H A D | pw_log.c | 45 pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) argument 112 fmt) >= rlen) { 115 va_start(argp, fmt);
|
/freebsd-12-stable/contrib/libxo/tests/gettext/ |
H A D | Makefile.am | 75 ${CHECKER} ./$$base.test --libxo:W$$fmt ${TEST_OPTS} \ 76 > out/$$base.$$fmt.out 2> out/$$base.$$fmt.err ; \ 77 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.out out/$$base.$$fmt.out ${S2O} ; \ 78 ${DIFF} -Nu ${srcdir}/saved/$$base.$$fmt.err out/$$base.$$fmt.err ${S2O} 86 (for fmt in ${TEST_FORMATS}; do \ 87 echo "... $$test ... $$fmt ..."; \ 99 (for fmt i [all...] |
/freebsd-12-stable/lib/libpjdlog/ |
H A D | pjdlog.c | 396 pjdlog_prefix_set(const char *fmt, ...) argument 402 va_start(ap, fmt); 403 pjdlogv_prefix_set(fmt, ap); 411 pjdlogv_prefix_set(const char *fmt, va_list ap) argument 416 assert(fmt != NULL); 421 sizeof(pjdlog_prefix[pjdlog_prefix_current]), fmt, ap); 442 pjdlog_prefix_push(const char *fmt, ...) argument 448 va_start(ap, fmt); 449 pjdlogv_prefix_push(fmt, ap); 457 pjdlogv_prefix_push(const char *fmt, va_lis argument 511 vsnprlcat(char *str, size_t size, const char *fmt, va_list ap) argument 521 snprlcat(char *str, size_t size, const char *fmt, ...) argument 645 _pjdlogv_common(const char *func, const char *file, int line, int loglevel, int debuglevel, int error, const char *fmt, va_list ap) argument 697 _pjdlog_common(const char *func, const char *file, int line, int loglevel, int debuglevel, int error, const char *fmt, ...) argument 713 _pjdlogv_exit(const char *func, const char *file, int line, int exitcode, int error, const char *fmt, va_list ap) argument 729 _pjdlog_exit(const char *func, const char *file, int line, int exitcode, int error, const char *fmt, ...) argument 746 _pjdlog_abort(const char *func, const char *file, int line, int error, const char *failedexpr, const char *fmt, ...) argument [all...] |
/freebsd-12-stable/lib/libc/gen/ |
H A D | syslog.c | 124 syslog(int pri, const char *fmt, ...) argument 128 va_start(ap, fmt); 129 vsyslog(pri, fmt, ap); 134 vsyslog1(int pri, const char *fmt, va_list ap) argument 214 if (strstr(fmt, "%m")) { 230 for ( ; (ch = *fmt); ++fmt) { 231 if (ch == '%' && fmt[1] == 'm') { 232 ++fmt; 235 } else if (ch == '%' && fmt[ 358 vsyslog(int pri, const char *fmt, va_list ap) argument [all...] |
/freebsd-12-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_slkrefr.c | 81 int fmt; local 89 fmt = sp->slk_format; 98 if (numlab > 0 && SLK_STDFMT(fmt)) { 110 if (fmt == 4) 112 wmove(slk->win, SLK_LINES(fmt) - 1, slk->ent[i].ent_x);
|
/freebsd-12-stable/contrib/sendmail/libsm/ |
H A D | vfscanf.c | 115 register unsigned char *SM_NONVOLATILE fmt = (unsigned char *) fmt0; local 166 c = *fmt++; 191 again: c = *fmt++; 211 if (*fmt == 'l') 213 fmt++; 289 fmt = sm_sccl(ccltab, fmt); 770 ** fmt -- character list (within "[]") 776 sm_sccl(tab, fmt) 778 register unsigned char *fmt; [all...] |
/freebsd-12-stable/contrib/flex/ |
H A D | misc.c | 680 void out_dec (fmt, n) 681 const char *fmt; 684 fprintf (stdout, fmt, n); 687 void out_dec2 (fmt, n1, n2) 688 const char *fmt; 691 fprintf (stdout, fmt, n1, n2); 694 void out_hex (fmt, x) 695 const char *fmt; 698 fprintf (stdout, fmt, x); 701 void out_str (fmt, st 740 const char * fmt = "m4_define( [[%s]], [[%s]])m4_dnl\\n"; local [all...] |
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/baddof/ |
H A D | baddof.c | 37 fatal(char *fmt, ...) argument 41 va_start(ap, fmt); 44 vfprintf(stderr, fmt, ap); 46 if (fmt[strlen(fmt) - 1] != '\n')
|
/freebsd-12-stable/crypto/heimdal/appl/test/ |
H A D | gss_common.c | 105 gss_verr(int exitval, int status, const char *fmt, va_list ap) argument 107 vwarnx (fmt, ap); 113 gss_err(int exitval, int status, const char *fmt, ...) argument 117 va_start(args, fmt); 118 gss_verr (exitval, status, fmt, args);
|
/freebsd-12-stable/contrib/ncurses/ncurses/trace/ |
H A D | lib_trace.c | 145 _nc_va_tracef(const char *fmt, va_list ap) argument 155 if (strlen(fmt) >= sizeof(Called) - 1) { 156 if (!strncmp(fmt, Called, sizeof(Called) - 1)) { 159 } else if (!strncmp(fmt, Return, sizeof(Return) - 1)) { 198 vfprintf(TraceFP, fmt, ap); 210 _tracef(const char *fmt,...) argument 214 va_start(ap, fmt); 215 _nc_va_tracef(fmt, ap); 334 _nc_locked_tracef(const char *fmt,...) argument 338 va_start(ap, fmt); [all...] |
/freebsd-12-stable/sys/dev/nand/ |
H A D | nandsim_log.c | 89 nandsim_log(struct nandsim_chip *chip, int level, const char *fmt, ...) argument 117 va_start(ap, fmt); 118 vprintf(fmt, ap); 122 va_start(ap, fmt); 123 len = vsnprintf(tmp, NANDSIM_ENTRY_SIZE - 1, fmt, ap); 156 va_start(ap, fmt); 157 len = vsnprintf(tmp, NANDSIM_ENTRY_SIZE - 1, fmt, ap);
|
/freebsd-12-stable/contrib/dtc/ |
H A D | util.c | 50 int xasprintf(char **strp, const char *fmt, ...) argument 62 va_start(ap, fmt); 63 n = vsnprintf(p, size, fmt, ap); 340 int utilfdt_decode_type(const char *fmt, int *type, int *size) argument 344 if (!*fmt) 349 if (strchr("hlLb", *fmt)) { 350 qualifier = *fmt++; 351 if (qualifier == *fmt) { 352 switch (*fmt++) { 362 if ((*fmt [all...] |
/freebsd-12-stable/libexec/rtld-elf/ |
H A D | rtld_printf.c | 124 kvprintf(char const *fmt, struct snprintf_arg *arg, int radix, va_list ap) argument 140 if (fmt == NULL) 141 fmt = "(fmt null)\n"; 149 while ((ch = (u_char)*fmt++) != '%' || stop) { 154 percent = fmt - 1; 158 reswitch: switch (ch = (u_char)*fmt++) { 193 for (n = 0;; ++fmt) { 195 ch = *fmt; 420 while (percent < fmt) 436 rtld_snprintf(char *buf, size_t bufsize, const char *fmt, ...) argument 448 rtld_vsnprintf(char *buf, size_t bufsize, const char *fmt, va_list ap) argument 464 rtld_vfdprintf(int fd, const char *fmt, va_list ap) argument 480 rtld_fdprintf(int fd, const char *fmt, ...) argument [all...] |
/freebsd-12-stable/contrib/gcc/ |
H A D | real.c | 2180 const struct real_format *fmt; 2182 fmt = REAL_MODE_FORMAT (mode); 2183 gcc_assert (fmt); 2253 lshift_significand (r, r, SIGNIFICAND_BITS - fmt->pnan); 2271 const struct real_format *fmt; 2274 fmt = REAL_MODE_FORMAT (mode); 2275 gcc_assert (fmt); 2278 if (fmt->b == 10) 2284 SET_REAL_EXP (r, fmt->emax * fmt 2176 const struct real_format *fmt; local 2267 const struct real_format *fmt; local 2319 round_for_format(const struct real_format *fmt, REAL_VALUE_TYPE *r) argument 2471 const struct real_format *fmt; local 2503 const struct real_format *fmt; local 2527 real_to_target_fmt(long *buf, const REAL_VALUE_TYPE *r_orig, const struct real_format *fmt) argument 2548 const struct real_format *fmt; local 2561 real_from_target_fmt(REAL_VALUE_TYPE *r, const long *buf, const struct real_format *fmt) argument 2572 const struct real_format *fmt; local 2587 const struct real_format *fmt; local 2658 encode_ieee_single(const struct real_format *fmt, long *buf, const REAL_VALUE_TYPE *r) argument 2725 decode_ieee_single(const struct real_format *fmt, REAL_VALUE_TYPE *r, const long *buf) argument 2821 encode_ieee_double(const struct real_format *fmt, long *buf, const REAL_VALUE_TYPE *r) argument 2915 decode_ieee_double(const struct real_format *fmt, REAL_VALUE_TYPE *r, const long *buf) argument 3047 encode_ieee_extended(const struct real_format *fmt, long *buf, const REAL_VALUE_TYPE *r) argument 3158 encode_ieee_extended_motorola(const struct real_format *fmt, long *buf, const REAL_VALUE_TYPE *r) argument 3178 encode_ieee_extended_intel_96(const struct real_format *fmt, long *buf, const REAL_VALUE_TYPE *r) argument 3200 encode_ieee_extended_intel_128(const struct real_format *fmt, long *buf, const REAL_VALUE_TYPE *r) argument 3212 decode_ieee_extended(const struct real_format *fmt, REAL_VALUE_TYPE *r, const long *buf) argument 3299 decode_ieee_extended_motorola(const struct real_format *fmt, REAL_VALUE_TYPE *r, const long *buf) argument 3317 decode_ieee_extended_intel_96(const struct real_format *fmt, REAL_VALUE_TYPE *r, const long *buf) argument 3341 decode_ieee_extended_intel_128(const struct real_format *fmt, REAL_VALUE_TYPE *r, const long *buf) argument 3440 encode_ibm_extended(const struct real_format *fmt, long *buf, const REAL_VALUE_TYPE *r) argument 3540 encode_ieee_quad(const struct real_format *fmt, long *buf, const REAL_VALUE_TYPE *r) argument 3671 decode_ieee_quad(const struct real_format *fmt, REAL_VALUE_TYPE *r, const long *buf) argument [all...] |
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_util.c | 280 zfs_error_aux(libzfs_handle_t *hdl, const char *fmt, ...) argument 284 va_start(ap, fmt); 287 fmt, ap); 294 zfs_verror(libzfs_handle_t *hdl, int error, const char *fmt, va_list ap) argument 297 fmt, ap); 327 zfs_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...) argument 331 va_start(ap, fmt); 333 zfs_verror(hdl, error, fmt, ap); 341 zfs_common_error(libzfs_handle_t *hdl, int error, const char *fmt, argument 347 zfs_verror(hdl, EZFS_PERM, fmt, a 378 zfs_standard_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...) argument 454 zpool_standard_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...) argument 582 zfs_asprintf(libzfs_handle_t *hdl, const char *fmt, ...) argument [all...] |
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/plockstat/ |
H A D | plockstat.c | 379 verror(const char *fmt, va_list ap) argument 384 (void) vfprintf(stderr, fmt, ap); 386 if (fmt[strlen(fmt) - 1] != '\n') 392 fatal(const char *fmt, ...) argument 396 va_start(ap, fmt); 397 verror(fmt, ap); 408 dfatal(const char *fmt, ...) argument 412 va_start(ap, fmt); 415 if (fmt ! 438 notice(const char *fmt, ...) argument [all...] |
/freebsd-12-stable/lib/libc/stdlib/ |
H A D | strfmon.c | 75 while (isdigit((unsigned char)*fmt)) { \ 79 VAR += *fmt - '0'; \ 82 fmt++; \ 108 const char *fmt; /* current format poistion pointer */ local 134 fmt = format; 139 while (*fmt) { 141 if (*fmt != '%') 147 if (*(fmt+1) == '%') { 148 fmt++; 150 PRINT(*fmt [all...] |
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lobject.c | 175 const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) { argument 178 const char *e = strchr(fmt, '%'); 180 luaD_checkstack(L, 2); /* fmt + item */ 181 pushstr(L, fmt, e - fmt); 220 fmt = e+2; 223 pushstr(L, fmt, strlen(fmt)); 229 const char *luaO_pushfstring (lua_State *L, const char *fmt, ...) { argument 232 va_start(argp, fmt); [all...] |
/freebsd-12-stable/lib/libbsdstat/ |
H A D | bsdstat.c | 43 char fmt[4096]; local 48 strlcpy(fmt, fmt0, sizeof(fmt)); 49 for (fp = fmt; (tok = strsep(&fp, ", ")) != NULL;) { 97 const struct fmt *f; 117 const struct fmt *f; 137 const struct fmt *f; 156 const struct fmt *f; 185 const struct fmt *f = &sf->stats[i]; 192 bsdstat_init(struct bsdstat *sf, const char *name, const struct fmt *stat [all...] |
/freebsd-12-stable/release/picobsd/tinyware/passwd/ |
H A D | pw_copy.c | 217 goto fmt; 223 goto fmt; 227 goto fmt; 252 goto fmt; 269 goto fmt; 274 goto fmt; 279 goto fmt; 283 goto fmt; 287 goto fmt; 302 fmt [all...] |