| /netbsd/src/sys/arch/ia64/disasm/ |
| D | disasm_decode.c | 54 enum asm_fmt fmt; in asm_decodeA() local 57 fmt = ASM_FMT_NONE, op = ASM_OP_NONE; in asm_decodeA() 67 fmt = ASM_FMT_A1; in asm_decodeA() 72 fmt = ASM_FMT_A1; in asm_decodeA() 77 fmt = ASM_FMT_A1; in asm_decodeA() 83 fmt = ASM_FMT_A1; in asm_decodeA() 87 fmt = ASM_FMT_A1; in asm_decodeA() 91 fmt = ASM_FMT_A1; in asm_decodeA() 95 fmt = ASM_FMT_A1; in asm_decodeA() 103 fmt = ASM_FMT_A3; in asm_decodeA() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/dist/include/drm/ |
| D | drm_print.h | 110 drm_vprintf(struct drm_printer *p, const char *fmt, va_list *va) in drm_vprintf() argument 112 struct va_format vaf = { .fmt = fmt, .va = va }; in drm_vprintf() 123 #define drm_printf_indent(printer, indent, fmt, ...) \ argument 124 drm_printf((printer), "%.*s" fmt, (indent), "\t\t\t\t\tX", ##__VA_ARGS__) 346 #define DRM_DEV_ERROR(dev, fmt, ...) \ argument 347 drm_dev_printk(dev, KERN_ERR, "*ERROR* " fmt, ##__VA_ARGS__) 355 #define DRM_DEV_ERROR_RATELIMITED(dev, fmt, ...) \ argument 362 DRM_DEV_ERROR(dev, fmt, ##__VA_ARGS__); \ 365 #define DRM_DEV_INFO(dev, fmt, ...) \ argument 366 drm_dev_printk(dev, KERN_INFO, fmt, ##__VA_ARGS__) [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/gas/ |
| D | configure.tgt | 29 # fmt output format; identifies the config/obj-* files 37 fmt= 125 # Assign object format. Set fmt, em, and bfd_gas. 129 aarch64*-*-elf*) fmt=elf;; 130 aarch64*-*-fuchsia*) fmt=elf;; 131 aarch64*-*-haiku*) fmt=elf em=haiku ;; 132 aarch64*-*-genode*) fmt=elf;; 133 aarch64*-*-linux*) fmt=elf em=linux 137 aarch64*-*-gnu*) fmt=elf em=gnu ;; 138 aarch64*-*-netbsd*) fmt=elf em=nbsd;; [all …]
|
| /netbsd/src/sys/arch/x68k/stand/common/ |
| D | xprintf.c | 97 xvsnprintf(char *buf, size_t len, const char *fmt, va_list ap) in xvsnprintf() argument 103 while (*fmt && len > 1) { in xvsnprintf() 104 if (*fmt != '%') { in xvsnprintf() 106 if (IS_SJIS1(*fmt) && IS_SJIS2(fmt[1])) { in xvsnprintf() 109 *b++ = *fmt++; in xvsnprintf() 113 if (*fmt == '\n' && (b == buf || b[-1] != '\r')) { in xvsnprintf() 119 *b++ = *fmt++; in xvsnprintf() 125 fmt++; in xvsnprintf() 126 switch (*fmt++) { in xvsnprintf() 201 xsnprintf(char *buf, size_t len, const char *fmt, ...) in xsnprintf() argument [all …]
|
| /netbsd/src/sys/kern/ |
| D | subr_prf.c | 204 panic(const char *fmt, ...) in panic() argument 208 va_start(ap, fmt); in panic() 209 vpanic(fmt, ap); in panic() 214 vpanic(const char *fmt, va_list ap) in vpanic() argument 268 panicstr = fmt; in vpanic() 270 vsnprintf(scratchstr, sizeof(scratchstr), fmt, ap); in vpanic() 274 kprintf(fmt, TOLOG|TOCONS, NULL, NULL, ap); in vpanic() 303 log(int level, const char *fmt, ...) in log() argument 310 va_start(ap, fmt); in log() 311 kprintf(fmt, TOLOG, NULL, NULL, ap); in log() [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/libiberty/ |
| D | floatformat.c | 66 static int floatformat_always_valid (const struct floatformat *fmt, 70 floatformat_always_valid (const struct floatformat *fmt ATTRIBUTE_UNUSED, in floatformat_always_valid() 186 static int floatformat_i387_ext_is_valid (const struct floatformat *fmt, 190 floatformat_i387_ext_is_valid (const struct floatformat *fmt, const void *from) in floatformat_i387_ext_is_valid() argument 199 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid() 200 fmt->exp_start, fmt->exp_len); in floatformat_i387_ext_is_valid() 201 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid() 202 fmt->man_start, 1); in floatformat_i387_ext_is_valid() 290 floatformat_ibm_long_double_is_valid (const struct floatformat *fmt, in floatformat_ibm_long_double_is_valid() argument 294 const struct floatformat *hfmt = fmt->split_half; in floatformat_ibm_long_double_is_valid() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/libiberty/ |
| D | floatformat.c | 66 static int floatformat_always_valid (const struct floatformat *fmt, 70 floatformat_always_valid (const struct floatformat *fmt ATTRIBUTE_UNUSED, in floatformat_always_valid() 186 static int floatformat_i387_ext_is_valid (const struct floatformat *fmt, 190 floatformat_i387_ext_is_valid (const struct floatformat *fmt, const void *from) in floatformat_i387_ext_is_valid() argument 199 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid() 200 fmt->exp_start, fmt->exp_len); in floatformat_i387_ext_is_valid() 201 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid() 202 fmt->man_start, 1); in floatformat_i387_ext_is_valid() 290 floatformat_ibm_long_double_is_valid (const struct floatformat *fmt, in floatformat_ibm_long_double_is_valid() argument 294 const struct floatformat *hfmt = fmt->split_half; in floatformat_ibm_long_double_is_valid() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libiberty/ |
| D | floatformat.c | 71 static int floatformat_always_valid (const struct floatformat *fmt, 75 floatformat_always_valid (const struct floatformat *fmt ATTRIBUTE_UNUSED, in floatformat_always_valid() 191 static int floatformat_i387_ext_is_valid (const struct floatformat *fmt, 195 floatformat_i387_ext_is_valid (const struct floatformat *fmt, const void *from) in floatformat_i387_ext_is_valid() argument 204 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid() 205 fmt->exp_start, fmt->exp_len); in floatformat_i387_ext_is_valid() 206 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid() 207 fmt->man_start, 1); in floatformat_i387_ext_is_valid() 295 floatformat_ibm_long_double_is_valid (const struct floatformat *fmt, in floatformat_ibm_long_double_is_valid() argument 299 const struct floatformat *hfmt = fmt->split_half; in floatformat_ibm_long_double_is_valid() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/util/ |
| D | msg.c | 201 void msg_info(const char *fmt,...) in msg_info() argument 205 va_start(ap, fmt); in msg_info() 206 vmsg_info(fmt, ap); in msg_info() 210 void vmsg_info(const char *fmt, va_list ap) in vmsg_info() argument 212 msg_vprintf(MSG_INFO, fmt, ap); in vmsg_info() 217 void msg_warn(const char *fmt,...) in msg_warn() argument 221 va_start(ap, fmt); in msg_warn() 222 vmsg_warn(fmt, ap); in msg_warn() 226 void vmsg_warn(const char *fmt, va_list ap) in vmsg_warn() argument 228 msg_vprintf(MSG_WARN, fmt, ap); in vmsg_warn() [all …]
|
| D | vbuf_print.c | 111 #define VBUF_SNPRINTF(bp, sz, fmt, arg) do { \ argument 115 _ret = snprintf((char *) (bp)->ptr, (bp)->cnt, (fmt), (arg)); \ 117 msg_panic("%s: output error for '%s'", myname, mystrdup(fmt)); \ 120 myname, mystrdup(fmt), (long) (bp)->cnt); \ 124 #define VBUF_SNPRINTF(bp, sz, fmt, arg) do { \ argument 127 sprintf((char *) (bp)->ptr, (fmt), (arg)); \ 153 static VSTRING *fmt; /* format specifier */ in vbuf_print() local 165 if (fmt == 0) in vbuf_print() 166 fmt = vstring_alloc(INT_SPACE); in vbuf_print() 191 VSTRING_RESET(fmt); /* clear format string */ in vbuf_print() [all …]
|
| /netbsd/src/libexec/ld.elf_so/ |
| D | xprintf.c | 55 xvsnprintf(char *buf, size_t buflen, const char *fmt, va_list ap) in xvsnprintf() argument 61 while (*fmt != '\0' && bp < ep) { in xvsnprintf() 62 switch (*fmt) { in xvsnprintf() 64 if (fmt[1] != '\0') in xvsnprintf() 65 *bp++ = *++fmt; in xvsnprintf() 71 rflag: switch (fmt[1]) { in xvsnprintf() 77 fmt++; in xvsnprintf() 82 fmt++; in xvsnprintf() 86 fmt++; in xvsnprintf() 104 if (fmt[1] == 'd') { in xvsnprintf() [all …]
|
| /netbsd/src/sys/ufs/chfs/ |
| D | debug.h | 48 #define debug_msg(pref, fmt, ...) \ argument 51 " %s: " fmt, __FUNCTION__ , ##__VA_ARGS__); \ 63 #define chfs_err(fmt, ...) debug_msg(CHFS_ERROR_PREFIX, fmt, ##__VA_ARGS__) argument 64 #define chfs_warn(fmt, ...) debug_msg(CHFS_WARNING_PREFIX, fmt, ##__VA_ARGS__) argument 65 #define chfs_noti(fmt, ...) debug_msg(CHFS_NOTICE_PREFIX, fmt, ##__VA_ARGS__) argument 66 #define dbg(fmt, ...) debug_msg(CHFS_DBG_PREFIX, fmt, ##__VA_ARGS__) argument 67 #define dbg2(fmt, ...) debug_msg(CHFS_DBG2_PREFIX(fmt, ##__VA_ARGS__) argument 68 #define dbg_ebh(fmt, ...) debug_msg(CHFS_DBG_EBH_PREFIX, fmt, ##__VA_ARGS__) argument 70 #define chfs_err(fmt, ...) debug_msg(CHFS_ERROR_PREFIX, fmt, ##__VA_ARGS__) argument 71 #define chfs_warn(fmt, ...) debug_msg(CHFS_WARNING_PREFIX, fmt, ##__VA_ARGS__) argument [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | target-float.c | 90 floatformat_totalsize_bytes (const struct floatformat *fmt) in floatformat_totalsize_bytes() argument 92 return ((fmt->totalsize + FLOATFORMAT_CHAR_BIT - 1) in floatformat_totalsize_bytes() 98 floatformat_precision (const struct floatformat *fmt) in floatformat_precision() argument 102 if (fmt->split_half) in floatformat_precision() 103 return 2 * floatformat_precision (fmt->split_half); in floatformat_precision() 107 int prec = fmt->man_len; in floatformat_precision() 108 if (fmt->intbit == floatformat_intbit_no) in floatformat_precision() 118 floatformat_normalize_byteorder (const struct floatformat *fmt, in floatformat_normalize_byteorder() argument 125 if (fmt->byteorder == floatformat_little in floatformat_normalize_byteorder() 126 || fmt->byteorder == floatformat_big) in floatformat_normalize_byteorder() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.fortran/ |
| D | array-slices.f90 | 23 write(*, fmt="(A)", advance="no") "GDB = " 24 write(*, fmt="(I0)", advance="no") array 25 write(*, fmt="(A)", advance="yes") "" 36 write (*, fmt="(A)", advance="no") "GDB = '" 37 write (*, fmt="(A)", advance="no") array 38 write (*, fmt="(A)", advance="yes") "'" 50 write(*, fmt="(i4)", advance="no") array (i) 57 write(*, fmt="(A)", advance="no") "GDB = (" 60 write(*, fmt="(A)", advance="no") ", " 62 write(*, fmt="(I0)", advance="no") array (i) [all …]
|
| /netbsd/src/distrib/utils/libhack/ |
| D | syslog.c | 37 syslog(int fac, const char *fmt, ...) in syslog() argument 40 va_start(ap, fmt); in syslog() 41 vsyslog(fac, fmt, ap); in syslog() 46 vsyslog(int fac, const char *fmt, va_list ap) in vsyslog() argument 48 (void)vfprintf(stderr, fmt, ap); in vsyslog() 50 if (strstr(fmt, "%m")) in vsyslog() 57 syslog_ss(int priority, struct syslog_data *data, const char *fmt, ...) in syslog_ss() argument 60 va_start(ap, fmt); in syslog_ss() 61 vsyslog(priority, fmt, ap); in syslog_ss() 66 vsyslog_ss(int priority, struct syslog_data *data, const char *fmt, va_list ap) in vsyslog_ss() argument [all …]
|
| /netbsd/src/external/bsd/tcpdump/dist/ |
| D | smbutil.c | 334 unsigned int val, const char *fmt) in write_bits() argument 336 const char *p = fmt; in write_bits() 339 while ((p = strchr(fmt, '|'))) { in write_bits() 340 u_int l = ND_BYTES_BETWEEN(fmt, p); in write_bits() 342 ND_PRINT("%.*s ", (int)l, fmt); in write_bits() 343 fmt = p + 1; in write_bits() 471 const u_char *buf, const char *fmt, const u_char *maxbuf, in smb_fdata1() argument 478 while (*fmt && buf<maxbuf) { in smb_fdata1() 479 switch (*fmt) { in smb_fdata1() 483 fmt++; in smb_fdata1() [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/ld/ |
| D | ldmisc.c | 71 vfinfo (FILE *fp, const char *fmt, va_list ap, bool is_warning) in vfinfo() argument 107 scan = fmt; in vfinfo() 209 while (*fmt != '\0') in vfinfo() 211 const char *str = fmt; in vfinfo() 212 while (*fmt != '%' && *fmt != '\0') in vfinfo() 213 fmt++; in vfinfo() 214 if (fmt != str) in vfinfo() 215 if (fwrite (str, 1, fmt - str, fp)) in vfinfo() 220 if (*fmt == '%') in vfinfo() 222 fmt++; in vfinfo() [all …]
|
| /netbsd/src/external/lgpl3/mpfr/dist/src/ |
| D | printf.c | 44 #define GET_STR_VA(sz, str, fmt, ap) \ argument 47 sz = mpfr_vasprintf (&(str), fmt, ap); \ 56 #define GET_STR(sz, str, fmt) \ argument 60 va_start(ap, fmt); \ 61 sz = mpfr_vasprintf (&(str), fmt, ap); \ 72 mpfr_printf (const char *fmt, ...) in mpfr_printf() argument 77 GET_STR (ret, str, fmt); in mpfr_printf() 85 mpfr_vprintf (const char *fmt, va_list ap) in mpfr_vprintf() argument 90 GET_STR_VA (ret, str, fmt, ap); in mpfr_vprintf() 99 mpfr_fprintf (FILE *fp, const char *fmt, ...) in mpfr_fprintf() argument [all …]
|
| /netbsd/src/sys/arch/mac68k/nubus/ |
| D | nubus.c | 248 na_args.fmt = &fmtblock; in nubus_attach() 270 nubus_get_card_name(bst, bsh, na->fmt)); in nubus_print() 273 na->fmt, NUBUS_RSRC_VEND_ID)); in nubus_print() 275 na->fmt, NUBUS_RSRC_VEND_PART)); in nubus_print() 332 nubus_slot *fmt) in nubus_probe_slot() argument 380 fmt->bytelanes = lanes; in nubus_probe_slot() 381 fmt->step = nbits[(lanes & 0x0f)]; in nubus_probe_slot() 382 fmt->slot = slot; /* XXX redundant; get rid of this someday */ in nubus_probe_slot() 387 fmt->bytelanes, slot); in nubus_probe_slot() 404 fmt->top = hdr; in nubus_probe_slot() [all …]
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/ |
| D | log.c | 104 event_err(int eval, const char *fmt, ...) in event_err() argument 108 va_start(ap, fmt); in event_err() 109 event_logv_(EVENT_LOG_ERR, strerror(errno), fmt, ap); in event_err() 115 event_warn(const char *fmt, ...) in event_warn() argument 119 va_start(ap, fmt); in event_warn() 120 event_logv_(EVENT_LOG_WARN, strerror(errno), fmt, ap); in event_warn() 125 event_sock_err(int eval, evutil_socket_t sock, const char *fmt, ...) in event_sock_err() argument 130 va_start(ap, fmt); in event_sock_err() 131 event_logv_(EVENT_LOG_ERR, evutil_socket_error_to_string(err), fmt, ap); in event_sock_err() 137 event_sock_warn(evutil_socket_t sock, const char *fmt, ...) in event_sock_warn() argument [all …]
|
| /netbsd/src/external/bsd/libevent/dist/ |
| D | log.c | 105 event_err(int eval, const char *fmt, ...) in event_err() argument 109 va_start(ap, fmt); in event_err() 110 event_logv_(EVENT_LOG_ERR, strerror(errno), fmt, ap); in event_err() 116 event_warn(const char *fmt, ...) in event_warn() argument 120 va_start(ap, fmt); in event_warn() 121 event_logv_(EVENT_LOG_WARN, strerror(errno), fmt, ap); in event_warn() 126 event_sock_err(int eval, evutil_socket_t sock, const char *fmt, ...) in event_sock_err() argument 131 va_start(ap, fmt); in event_sock_err() 132 event_logv_(EVENT_LOG_ERR, evutil_socket_error_to_string(err), fmt, ap); in event_sock_err() 138 event_sock_warn(evutil_socket_t sock, const char *fmt, ...) in event_sock_warn() argument [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/sim/common/ |
| D | sim-trace.h | 248 #define STRACE(sd, idx, fmt, args...) \ argument 251 trace_generic (sd, NULL, idx, fmt, ## args); \ 253 #define STRACE_INSN(sd, fmt, args...) STRACE (sd, TRACE_INSN_IDX, fmt, ## args) argument 254 #define STRACE_DISASM(sd, fmt, args...) STRACE (sd, TRACE_DISASM_IDX, fmt, ## args) argument 255 #define STRACE_DECODE(sd, fmt, args...) STRACE (sd, TRACE_DECODE_IDX, fmt, ## args) argument 256 #define STRACE_EXTRACT(sd, fmt, args...) STRACE (sd, TRACE_EXTRACT_IDX, fmt, ## args) argument 257 #define STRACE_LINENUM(sd, fmt, args...) STRACE (sd, TRACE_LINENUM_IDX, fmt, ## args) argument 258 #define STRACE_MEMORY(sd, fmt, args...) STRACE (sd, TRACE_MEMORY_IDX, fmt, ## args) argument 259 #define STRACE_MODEL(sd, fmt, args...) STRACE (sd, TRACE_MODEL_IDX, fmt, ## args) argument 260 #define STRACE_ALU(sd, fmt, args...) STRACE (sd, TRACE_ALU_IDX, fmt, ## args) argument [all …]
|
| /netbsd/src/usr.bin/seq/ |
| D | seq.c | 110 char *fmt = NULL; in main() local 131 fmt = optarg; in main() 141 if (!fmt) in main() 190 if (fmt != NULL) { in main() 191 if (!valid_format(fmt)) in main() 192 errx(1, "invalid format string: `%s'", fmt); in main() 193 fmt = unescape(fmt); in main() 194 if (!valid_format(fmt)) in main() 202 fmt = default_format; in main() 205 fmt = buf; in main() [all …]
|
| /netbsd/src/external/lgpl3/gmp/dist/tests/misc/ |
| D | t-scanf.c | 95 libc_scanf_convert (char *fmt) in libc_scanf_convert() argument 97 char *p = fmt; in libc_scanf_convert() 102 for ( ; *fmt != '\0'; fmt++) in libc_scanf_convert() 104 switch (*fmt) { in libc_scanf_convert() 112 *p++ = *fmt; in libc_scanf_convert() 126 fromstring_gmp_fscanf (const char *input, const char *fmt, ...) in fromstring_gmp_fscanf() argument 131 va_start (ap, fmt); in fromstring_gmp_fscanf() 139 ret = gmp_vfscanf (fp, fmt, ap); in fromstring_gmp_fscanf() 152 fun_gmp_sscanf (const char *input, const char *fmt, void *a1, void *a2) in fun_gmp_sscanf() argument 155 return gmp_sscanf (input, fmt, a1); in fun_gmp_sscanf() [all …]
|
| /netbsd/src/external/bsd/mdocml/dist/ |
| D | compat_err.c | 49 vwarnxi(const char *fmt, va_list ap) in vwarnxi() argument 52 if (fmt != NULL) in vwarnxi() 53 vfprintf(stderr, fmt, ap); in vwarnxi() 57 vwarni(const char *fmt, va_list ap) in vwarni() argument 62 vwarnxi(fmt, ap); in vwarni() 63 if (fmt != NULL) in vwarni() 69 err(int eval, const char *fmt, ...) in err() argument 73 va_start(ap, fmt); in err() 74 vwarni(fmt, ap); in err() 80 errx(int eval, const char *fmt, ...) in errx() argument [all …]
|