Searched refs:fmt (Results 51 - 75 of 1433) sorted by relevance

1234567891011>>

/freebsd-12-stable/lib/libc/stdio/
H A Dvwscanf.c43 vwscanf(const wchar_t * __restrict fmt, va_list ap) argument
45 return (vfwscanf(stdin, fmt, ap));
48 vwscanf_l(locale_t locale, const wchar_t * __restrict fmt, va_list ap) argument
50 return (vfwscanf_l(stdin, locale, fmt, ap));
H A Ddprintf.c38 dprintf(int fd, const char * __restrict fmt, ...) argument
43 va_start(ap, fmt);
44 ret = vdprintf(fd, fmt, ap);
H A Dfprintf.c51 fprintf(FILE * __restrict fp, const char * __restrict fmt, ...) argument
56 va_start(ap, fmt);
57 ret = vfprintf_l(fp, __get_locale(), fmt, ap);
62 fprintf_l(FILE * __restrict fp, locale_t locale, const char * __restrict fmt, ...) argument
68 va_start(ap, fmt);
69 ret = vfprintf_l(fp, locale, fmt, ap);
H A Dfscanf.c55 fscanf(FILE * __restrict fp, char const * __restrict fmt, ...) argument
60 va_start(ap, fmt);
62 ret = __svfscanf(fp, __get_locale(), fmt, ap);
68 fscanf_l(FILE * __restrict fp, locale_t locale, char const * __restrict fmt, ...) argument
74 va_start(ap, fmt);
76 ret = __svfscanf(fp, locale, fmt, ap);
H A Dfwprintf.c43 fwprintf(FILE * __restrict fp, const wchar_t * __restrict fmt, ...) argument
48 va_start(ap, fmt);
49 ret = vfwprintf(fp, fmt, ap);
55 fwprintf_l(FILE * __restrict fp, locale_t locale, const wchar_t * __restrict fmt, ...) argument
60 va_start(ap, fmt);
61 ret = vfwprintf_l(fp, locale, fmt, ap);
H A Dfwscanf.c43 fwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, ...) argument
48 va_start(ap, fmt);
49 r = vfwscanf(fp, fmt, ap);
55 fwscanf_l(FILE * __restrict fp, locale_t locale, const wchar_t * __restrict fmt, ...) argument
60 va_start(ap, fmt);
61 r = vfwscanf_l(fp, locale, fmt, ap);
H A Dscanf.c55 scanf(char const * __restrict fmt, ...) argument
60 va_start(ap, fmt);
62 ret = __svfscanf(stdin, __get_locale(), fmt, ap);
68 scanf_l(locale_t locale, char const * __restrict fmt, ...) argument
74 va_start(ap, fmt);
76 ret = __svfscanf(stdin, locale, fmt, ap);
H A Dswprintf.c43 swprintf(wchar_t * __restrict s, size_t n, const wchar_t * __restrict fmt, ...) argument
48 va_start(ap, fmt);
49 ret = vswprintf(s, n, fmt, ap);
56 const wchar_t * __restrict fmt, ...)
61 va_start(ap, fmt);
62 ret = vswprintf_l(s, n, locale, fmt, ap);
55 swprintf_l(wchar_t * __restrict s, size_t n, locale_t locale, const wchar_t * __restrict fmt, ...) argument
/freebsd-12-stable/lib/libypclnt/
H A Dypclnt_error.c46 ypclnt_error(ypclnt_t *ypclnt, const char *func, const char *fmt, ...) argument
53 if (fmt == NULL)
56 va_start(ap, fmt);
57 vasprintf(&errmsg, fmt, ap);
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/ssp/
H A Dh_vsprintf.c40 wrap(const char *fmt, ...) argument
44 va_start(ap, fmt);
45 (void)vsprintf(b, fmt, ap);
/freebsd-12-stable/contrib/openpam/lib/libpam/
H A Dopenpam_asprintf.c46 openpam_asprintf(char **str, const char *fmt, ...) argument
51 va_start(ap, fmt);
52 ret = vasprintf(str, fmt, ap);
/freebsd-12-stable/contrib/ipfilter/lib/
H A Dprintactiveaddr.c18 printactiveaddress(v, fmt, addr, ifname)
20 char *fmt, *ifname;
26 PRINTF(fmt, inet_ntoa(addr->in4));
/freebsd-12-stable/stand/libsa/
H A Dpanic.c56 panic(const char *fmt,...) argument
61 va_start(ap, fmt);
62 vprintf(fmt, ap);
/freebsd-12-stable/usr.bin/ar/
H A Dutil.c43 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 eval, int code, const char *fmt, argument
[all...]
/freebsd-12-stable/usr.bin/printf/
H A Dprintf.c113 char *format, *fmt, *start; local
152 fmt = format = *argv;
153 escape(fmt, 1, &len); /* backslash interpretation */
163 start = fmt;
164 while (fmt < format + len) {
165 if (fmt[0] == '%') {
166 fwrite(start, 1, fmt - start, stdout);
167 if (fmt[1] == '%') {
170 fmt += 2;
172 fmt
212 printf_doformat(char *fmt, int *rval) argument
476 escape(char *fmt, int percent, size_t *len) argument
[all...]
/freebsd-12-stable/contrib/sendmail/libsm/
H A Dfprintf.c28 ** fmt -- markup format for the string to be printed
29 ** ... -- additional information for 'fmt'
38 sm_io_fprintf(SM_FILE_T *fp, int timeout, const char *fmt, ...) argument
40 sm_io_fprintf(fp, timeout, fmt, va_alist)
43 char *fmt;
51 SM_VA_START(ap, fmt);
52 ret = sm_io_vfprintf(fp, timeout, fmt, ap);
H A Dfscanf.c28 ** fmt -- the format to translate the data to
38 sm_io_fscanf(SM_FILE_T *fp, int timeout, char const *fmt, ...) argument
40 sm_io_fscanf(fp, timeout, fmt, va_alist)
43 char *fmt;
51 SM_VA_START(ap, fmt);
52 ret = sm_vfscanf(fp, timeout, fmt, ap);
/freebsd-12-stable/contrib/libpcap/testprogs/
H A Dreactivatetest.c73 error(const char *fmt, ...) argument
78 va_start(ap, fmt);
79 (void)vfprintf(stderr, fmt, ap);
81 if (*fmt) {
82 fmt += strlen(fmt);
83 if (fmt[-1] != '\n')
/freebsd-12-stable/contrib/libxo/libxo/
H A Dxo.h203 xo_emit_hv (xo_handle_t *xop, const char *fmt, va_list vap);
206 xo_emit_h (xo_handle_t *xop, const char *fmt, ...);
209 xo_emit (const char *fmt, ...);
213 const char *fmt, va_list vap);
216 xo_emit_hf (xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, ...);
219 xo_emit_f (xo_emit_flags_t flags, const char *fmt, ...);
223 xo_emit_hvp (xo_handle_t *xop, const char *fmt, va_list vap) argument
225 return xo_emit_hv(xop, fmt, vap);
230 xo_emit_hp (xo_handle_t *xop, const char *fmt, ...) argument
233 va_start(vap, fmt);
241 xo_emit_p(const char *fmt, ...) argument
252 xo_emit_hvfp(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, va_list vap) argument
260 xo_emit_hfp(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, ...) argument
271 xo_emit_fp(xo_emit_flags_t flags, const char *fmt, ...) argument
463 xo_emit_warn_hcvp(xo_handle_t *xop, int as_warning, int code, const char *fmt, va_list vap) argument
471 xo_emit_warn_hcp(xo_handle_t *xop, int code, const char *fmt, ...) argument
481 xo_emit_warn_cp(int code, const char *fmt, ...) argument
491 xo_emit_warn_p(const char *fmt, ...) argument
502 xo_emit_warnx_p(const char *fmt, ...) argument
512 xo_emit_err_p(int eval, const char *fmt, ...) argument
525 xo_emit_errx_p(int eval, const char *fmt, ...) argument
536 xo_emit_errc_p(int eval, int code, const char *fmt, ...) argument
[all...]
/freebsd-12-stable/contrib/gcclibs/libiberty/
H A Dfloatformat.c64 static int floatformat_always_valid (const struct floatformat *fmt,
68 floatformat_always_valid (const struct floatformat *fmt ATTRIBUTE_UNUSED,
144 static int floatformat_i387_ext_is_valid (const struct floatformat *fmt,
148 floatformat_i387_ext_is_valid (const struct floatformat *fmt, const void *from) argument
157 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
158 fmt->exp_start, fmt->exp_len);
159 int_bit = get_field (ufrom, fmt->byteorder, fmt
302 floatformat_to_double(const struct floatformat *fmt, const void *from, double *to) argument
464 floatformat_from_double(const struct floatformat *fmt, const double *from, void *to) argument
560 floatformat_is_valid(const struct floatformat *fmt, const void *from) argument
[all...]
/freebsd-12-stable/contrib/binutils/libiberty/
H A Dfloatformat.c64 static int floatformat_always_valid (const struct floatformat *fmt,
68 floatformat_always_valid (const struct floatformat *fmt ATTRIBUTE_UNUSED,
144 static int floatformat_i387_ext_is_valid (const struct floatformat *fmt,
148 floatformat_i387_ext_is_valid (const struct floatformat *fmt, const void *from) argument
157 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
158 fmt->exp_start, fmt->exp_len);
159 int_bit = get_field (ufrom, fmt->byteorder, fmt
302 floatformat_to_double(const struct floatformat *fmt, const void *from, double *to) argument
464 floatformat_from_double(const struct floatformat *fmt, const double *from, void *to) argument
560 floatformat_is_valid(const struct floatformat *fmt, const void *from) argument
[all...]
/freebsd-12-stable/contrib/ntp/sntp/libevent/
H A Dlog.c111 event_err(int eval, const char *fmt, ...) argument
115 va_start(ap, fmt);
116 event_logv_(EVENT_LOG_ERR, strerror(errno), fmt, ap);
122 event_warn(const char *fmt, ...) argument
126 va_start(ap, fmt);
127 event_logv_(EVENT_LOG_WARN, strerror(errno), fmt, ap);
132 event_sock_err(int eval, evutil_socket_t sock, const char *fmt, ...) argument
137 va_start(ap, fmt);
138 event_logv_(EVENT_LOG_ERR, evutil_socket_error_to_string(err), fmt, ap);
144 event_sock_warn(evutil_socket_t sock, const char *fmt, argument
155 event_errx(int eval, const char *fmt, ...) argument
166 event_warnx(const char *fmt, ...) argument
176 event_msgx(const char *fmt, ...) argument
186 event_debugx_(const char *fmt, ...) argument
196 event_logv_(int severity, const char *errstr, const char *fmt, va_list ap) argument
[all...]
/freebsd-12-stable/contrib/libevent/
H A Dlog.c111 event_err(int eval, const char *fmt, ...) argument
115 va_start(ap, fmt);
116 event_logv_(EVENT_LOG_ERR, strerror(errno), fmt, ap);
122 event_warn(const char *fmt, ...) argument
126 va_start(ap, fmt);
127 event_logv_(EVENT_LOG_WARN, strerror(errno), fmt, ap);
132 event_sock_err(int eval, evutil_socket_t sock, const char *fmt, ...) argument
137 va_start(ap, fmt);
138 event_logv_(EVENT_LOG_ERR, evutil_socket_error_to_string(err), fmt, ap);
144 event_sock_warn(evutil_socket_t sock, const char *fmt, argument
155 event_errx(int eval, const char *fmt, ...) argument
166 event_warnx(const char *fmt, ...) argument
176 event_msgx(const char *fmt, ...) argument
186 event_debugx_(const char *fmt, ...) argument
196 event_logv_(int severity, const char *errstr, const char *fmt, va_list ap) argument
[all...]
/freebsd-12-stable/contrib/gdb/gdb/
H A Ddoublest.c110 convert_floatformat_to_doublest (const struct floatformat *fmt, argument
133 if (fmt->byteorder == floatformat_littlebyte_bigword)
139 longswaps = fmt->totalsize / FLOATFORMAT_CHAR_BIT;
144 newfrom = (unsigned char *) xmalloc (fmt->totalsize);
164 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
165 fmt->exp_start, fmt->exp_len);
170 mant_bits_left = fmt->man_len;
171 mant_off = fmt
333 convert_doublest_to_floatformat(CONST struct floatformat *fmt, const DOUBLEST *from, void *to) argument
450 floatformat_is_negative(const struct floatformat *fmt, char *val) argument
460 floatformat_is_nan(const struct floatformat *fmt, char *val) argument
509 floatformat_mantissa(const struct floatformat *fmt, char *val) argument
572 floatformat_to_doublest(const struct floatformat *fmt, const void *in, DOUBLEST *out) argument
599 floatformat_from_doublest(const struct floatformat *fmt, const DOUBLEST *in, void *out) argument
678 const struct floatformat *fmt = floatformat_from_length (len); local
703 const struct floatformat *fmt = floatformat_from_length (len); local
[all...]
/freebsd-12-stable/usr.bin/hexdump/
H A Dodsyntax.c83 fshead->nextfu->fmt[TYPE_OFFSET] = *optarg;
84 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] =
88 fshead->nextfu->fmt = empty;
89 fshead->nextfs->nextfu->fmt = padding;
275 fshead->nextfu->fmt[TYPE_OFFSET] = 'x';
276 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = 'x';
278 fshead->nextfu->fmt[TYPE_OFFSET] = 'd';
279 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = 'd';
287 odformat(const char *fmt) argument
291 while (*fmt !
312 odformatfp(char fchar __unused, const char *fmt) argument
367 odformatint(char fchar, const char *fmt) argument
432 odadd(const char *fmt) argument
[all...]

Completed in 302 milliseconds

1234567891011>>