/freebsd-12-stable/lib/libc/stdio/ |
H A D | vwscanf.c | 43 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 D | dprintf.c | 38 dprintf(int fd, const char * __restrict fmt, ...) argument 43 va_start(ap, fmt); 44 ret = vdprintf(fd, fmt, ap);
|
H A D | fprintf.c | 51 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 D | fscanf.c | 55 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 D | fwprintf.c | 43 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 D | fwscanf.c | 43 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 D | scanf.c | 55 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 D | swprintf.c | 43 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 D | ypclnt_error.c | 46 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 D | h_vsprintf.c | 40 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 D | openpam_asprintf.c | 46 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 D | printactiveaddr.c | 18 printactiveaddress(v, fmt, addr, ifname) 20 char *fmt, *ifname; 26 PRINTF(fmt, inet_ntoa(addr->in4));
|
/freebsd-12-stable/stand/libsa/ |
H A D | panic.c | 56 panic(const char *fmt,...) argument 61 va_start(ap, fmt); 62 vprintf(fmt, ap);
|
/freebsd-12-stable/usr.bin/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 eval, int code, const char *fmt, argument [all...] |
/freebsd-12-stable/usr.bin/printf/ |
H A D | printf.c | 113 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 D | fprintf.c | 28 ** 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 D | fscanf.c | 28 ** 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 D | reactivatetest.c | 73 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 D | xo.h | 203 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 D | floatformat.c | 64 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 D | floatformat.c | 64 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 D | log.c | 111 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 D | log.c | 111 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 D | doublest.c | 110 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 D | odsyntax.c | 83 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...] |