Searched refs:fmt (Results 226 - 250 of 2576) sorted by relevance

1234567891011>>

/netbsd-current/external/bsd/openldap/dist/libraries/liblber/
H A Dstdio.c52 int ber_pvt_vsnprintf( char *str, size_t n, const char *fmt, va_list ap ) argument
70 res = vfprintf( f, fmt, ap );
75 res = vsprintf( str, fmt, ap );
82 int ber_pvt_snprintf( char *str, size_t n, const char *fmt, ... ) argument
87 va_start( ap, fmt );
88 res = vsnprintf( str, n, fmt, ap );
136 int ber_pvt_vsnprintf( char *str, size_t n, const char *fmt, va_list ap ) argument
142 ptr = (char *)fmt;
205 int ber_pvt_vsprintf( char *str, const char *fmt, va_list ap ) argument
207 return vsnprintf( str, 0, fmt, a
215 ber_pvt_vfprintf( FILE *fp, const char *fmt, va_list ap ) argument
227 ber_pvt_printf( const char *fmt, ... ) argument
238 ber_pvt_fprintf( FILE *fp, const char *fmt, ... ) argument
[all...]
/netbsd-current/external/bsd/openpam/dist/lib/libpam/
H A Dopenpam_log.c67 openpam_log(int level, const char *fmt, ...) argument
92 va_start(ap, fmt);
93 vsyslog(priority, fmt, ap);
104 _openpam_log(int level, const char *func, const char *fmt, ...) argument
130 va_start(ap, fmt);
131 if (asprintf(&format, "in %s(): %s", func, fmt) > 0) {
137 vsyslog(priority, fmt, ap);
H A Dopenpam_vasprintf.c49 openpam_vasprintf(char **str, const char *fmt, va_list ap) argument
55 len = vsnprintf(NULL, 0, fmt, ap);
58 ret = vsnprintf(*str, len + 1, fmt, apcopy);
/netbsd-current/external/bsd/libpcap/dist/testprogs/
H A Dcan_set_rfmon_test.c80 error(const char *fmt, ...) argument
85 va_start(ap, fmt);
86 (void)vfprintf(stderr, fmt, ap);
88 if (*fmt) {
89 fmt += strlen(fmt);
90 if (fmt[-1] != '\n')
/netbsd-current/bin/pax/
H A Dtty_subs.c106 tty_prnt(const char *fmt, ...) argument
111 va_start(ap, fmt);
112 (void)vfprintf(ttyoutf, fmt, ap);
149 tty_warn(int set, const char *fmt, ...) argument
152 va_start(ap, fmt);
164 (void)vfprintf(stderr, fmt, ap);
176 syswarn(int set, int errnum, const char *fmt, ...) argument
179 va_start(ap, fmt);
191 (void)vfprintf(stderr, fmt, ap);
/netbsd-current/external/gpl2/lvm2/dist/lib/format_pool/
H A Dformat_pool.c107 struct dm_pool *smem = fid->fmt->cmd->mem;
117 vg->cmd = fid->fmt->cmd;
134 if (!import_pool_pvs(fid->fmt, vg, &vg->pvs, smem, pds))
177 vg_name = strip_dir(vg_name, fid->fmt->cmd->dev_dir);
180 if (!read_pool_pds(fid->fmt, vg_name, mem, &pds))
193 static int _pool_pv_setup(const struct format_type *fmt __attribute((unused)),
208 static int _pool_pv_read(const struct format_type *fmt, const char *pv_name, argument
223 if (!(dev = dev_cache_get(pv_name, fmt->cmd->filter)))
231 if (!(pl = read_pool_disk(fmt, dev, mem, NULL)))
234 if (!import_pool_pv(fmt, fm
252 _pool_create_instance(const struct format_type *fmt, const char *vgname __attribute((unused)), const char *vgid __attribute((unused)), void *private __attribute((unused))) argument
289 _pool_destroy(const struct format_type *fmt) argument
311 struct format_type *fmt = dm_malloc(sizeof(*fmt)); local
[all...]
/netbsd-current/usr.bin/seq/
H A Dseq.c110 char *fmt = NULL; local
131 fmt = optarg;
141 if (!fmt)
190 if (fmt != NULL) {
191 if (!valid_format(fmt))
192 errx(1, "invalid format string: `%s'", fmt);
193 fmt = unescape(fmt);
194 if (!valid_format(fmt))
202 fmt
277 valid_format(const char *fmt) argument
[all...]
/netbsd-current/lib/libc/gen/
H A Dverrc.c58 verrc(int eval, int code, const char *fmt, va_list ap)
61 if (fmt != NULL) {
62 (void)vfprintf(stderr, fmt, ap);
H A Dvwarnc.c58 vwarnc(int code, const char *fmt, va_list ap)
61 if (fmt != NULL) {
62 (void)vfprintf(stderr, fmt, ap);
/netbsd-current/lib/libc/ssp/
H A Dsnprintf_chk.c46 const char * __restrict fmt, ...)
54 va_start(ap, fmt);
55 rv = vsnprintf(buf, len, fmt, ap);
45 __snprintf_chk(char * __restrict buf, size_t len, int flags, size_t slen, const char * __restrict fmt, ...) argument
H A Dvsprintf_chk.c48 const char * __restrict fmt, va_list ap)
53 rv = vsprintf(buf, fmt, ap);
55 if ((rv = vsnprintf(buf, slen, fmt, ap)) >= 0 && (size_t)rv >= slen)
47 __vsprintf_chk(char * __restrict buf, int flags, size_t slen, const char * __restrict fmt, va_list ap) argument
/netbsd-current/sbin/newfs_lfs/
H A Dmisc.c59 fatal(const char *fmt, ...) argument
63 va_start(ap, fmt);
65 (void)vfprintf(stderr, fmt, ap);
/netbsd-current/sys/external/bsd/gnu-efi/dist/apps/
H A Dprintenv.c10 CHAR16 name[256], *val, fmt[20]; local
22 StrCpy(fmt, L"%.-35g %.-20s %s\n");
30 Print(fmt, &vendor, name, val);
/netbsd-current/tools/compat/
H A Ddprintf.c46 dprintf(int fd, const char *fmt, ...) argument
60 va_start(ap, fmt);
61 e = vfprintf(fp, fmt, ap);
/netbsd-current/tests/lib/libc/ssp/
H A Dh_vsnprintf.c41 wrap(size_t len, const char *fmt, ...) argument
45 va_start(ap, fmt);
46 (void)vsnprintf(b, len, fmt, ap);
/netbsd-current/external/bsd/blocklist/bin/
H A Dsupport.c49 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...]
/netbsd-current/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Danalyzer-logging.cc101 logger::log (const char *fmt, ...) argument
104 va_start (ap, fmt);
105 log_va (fmt, &ap);
117 logger::log_va (const char *fmt, va_list *ap) argument
120 log_va_partial (fmt, ap);
132 logger::log_partial (const char *fmt, ...) argument
135 va_start (ap, fmt);
136 log_va_partial (fmt, &ap);
141 logger::log_va_partial (const char *fmt, va_list *ap) argument
144 text.format_spec = fmt;
171 enter_scope(const char *scope_name, const char *fmt, va_list *ap) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dstrerror.c57 static char const fmt[] = "Unknown error %d"; local
58 verify (sizeof buf >= sizeof (fmt) + INT_STRLEN_BOUND (n));
59 sprintf (buf, fmt, n);
/netbsd-current/external/gpl3/gcc/dist/gcc/analyzer/
H A Danalyzer-logging.cc105 logger::log (const char *fmt, ...) argument
108 va_start (ap, fmt);
109 log_va (fmt, &ap);
121 logger::log_va (const char *fmt, va_list *ap) argument
124 log_va_partial (fmt, ap);
136 logger::log_partial (const char *fmt, ...) argument
139 va_start (ap, fmt);
140 log_va_partial (fmt, &ap);
145 logger::log_va_partial (const char *fmt, va_list *ap) argument
148 text.format_spec = fmt;
175 enter_scope(const char *scope_name, const char *fmt, va_list *ap) argument
[all...]
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dstrerror.c57 static char const fmt[] = "Unknown error %d"; local
58 verify (sizeof buf >= sizeof (fmt) + INT_STRLEN_BOUND (n));
59 sprintf (buf, fmt, n);
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dcommon-debug.cc30 debug_printf (const char *fmt, ...) argument
34 va_start (ap, fmt);
35 debug_vprintf (fmt, ap);
/netbsd-current/sys/arch/x68k/stand/libsa/
H A Dfd.c63 error = fd_check_format(id, 0, &sc->fmt);
73 sc->fmt.maxsec.H = fdfmt.maxsec.H;
105 nbytes = howmany(size, 128 << sc->fmt.minsec.N)
106 * (128 << sc->fmt.minsec.N);
108 nhead = sc->fmt.maxsec.H - sc->fmt.minsec.H + 1;
109 nsect = sc->fmt.maxsec.R - sc->fmt.minsec.R + 1;
111 sect = dblk % nsect + sc->fmt.minsec.R;
112 head = (dblk / nsect) % nhead + sc->fmt
[all...]
/netbsd-current/external/mpl/bind/dist/bin/rndc/
H A Dutil.c30 notify(const char *fmt, ...) { argument
34 va_start(ap, fmt);
35 vfprintf(stderr, fmt, ap);
/netbsd-current/external/mpl/bind/dist/bin/confgen/
H A Dutil.c30 notify(const char *fmt, ...) { argument
34 va_start(ap, fmt);
35 vfprintf(stderr, fmt, ap);
/netbsd-current/external/gpl3/gdb.old/dist/sim/common/
H A Dsim-trace.h250 #define STRACE(sd, idx, fmt, args...) \
253 trace_generic (sd, NULL, idx, fmt, ## args); \
255 #define STRACE_INSN(sd, fmt, args...) STRACE (sd, TRACE_INSN_IDX, fmt, ## args)
256 #define STRACE_DISASM(sd, fmt, args...) STRACE (sd, TRACE_DISASM_IDX, fmt, ## args)
257 #define STRACE_DECODE(sd, fmt, args...) STRACE (sd, TRACE_DECODE_IDX, fmt, ## args)
258 #define STRACE_EXTRACT(sd, fmt, args...) STRACE (sd, TRACE_EXTRACT_IDX, fmt, ## arg
[all...]

Completed in 405 milliseconds

1234567891011>>