Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 2118) sorted by relevance

12345678910>>...85

/netbsd-src/sys/arch/ia64/disasm/
H A Ddisasm_decode.c54 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/
H A Ddrm_print.h110 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/gcc/dist/libgfortran/io/
H A Dformat.c101 format_data *fmt; in reset_fnode_counters() local
103 fmt = dtp->u.p.fmt; in reset_fnode_counters()
106 fmt->array.array[0].current = NULL; in reset_fnode_counters()
108 for (f = fmt->array.array[0].u.child; f; f = f->next) in reset_fnode_counters()
152 u->format_hash_table[hash].hashed_fmt = dtp->u.p.fmt; in save_parsed_format()
185 next_char (format_data *fmt, int literal) in next_char() argument
191 if (fmt->format_string_len == 0) in next_char()
194 fmt->format_string_len--; in next_char()
195 c = safe_toupper (*fmt->format_string++); in next_char()
196 fmt->error_element = c; in next_char()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dformat.c102 format_data *fmt; in reset_fnode_counters() local
104 fmt = dtp->u.p.fmt; in reset_fnode_counters()
107 fmt->array.array[0].current = NULL; in reset_fnode_counters()
109 for (f = fmt->array.array[0].u.child; f; f = f->next) in reset_fnode_counters()
153 u->format_hash_table[hash].hashed_fmt = dtp->u.p.fmt; in save_parsed_format()
186 next_char (format_data *fmt, int literal) in next_char() argument
192 if (fmt->format_string_len == 0) in next_char()
195 fmt->format_string_len--; in next_char()
196 c = toupper (*fmt->format_string++); in next_char()
197 fmt->error_element = c; in next_char()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gas/
H A Dconfigure.tgt29 # 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/external/gpl3/binutils.old/dist/gas/
H A Dconfigure.tgt29 # fmt output format; identifies the config/obj-* files
37 fmt=
124 # Assign object format. Set fmt, em, and bfd_gas.
128 aarch64*-*-elf*) fmt=elf;;
129 aarch64*-*-fuchsia*) fmt=elf;;
130 aarch64*-*-haiku*) fmt=elf em=haiku ;;
131 aarch64*-*-genode*) fmt=elf;;
132 aarch64*-*-linux*) fmt=elf em=linux
136 aarch64*-*-netbsd*) fmt=elf em=nbsd;;
138 alpha-*-*vms*) fmt=evax ;;
[all …]
/netbsd-src/sys/arch/x68k/stand/common/
H A Dxprintf.c97 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/
H A Dsubr_prf.c204 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/
H A Dfloatformat.c66 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/
H A Dfloatformat.c71 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/gpl3/binutils.old/dist/libiberty/
H A Dfloatformat.c66 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.old/dist/libiberty/
H A Dfloatformat.c71 static int floatformat_always_valid (const struct floatformat *fmt,
75 floatformat_always_valid (const struct floatformat *fmt ATTRIBUTE_UNUSED, in floatformat_always_valid()
175 static int floatformat_i387_ext_is_valid (const struct floatformat *fmt,
179 floatformat_i387_ext_is_valid (const struct floatformat *fmt, const void *from) in floatformat_i387_ext_is_valid() argument
188 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
189 fmt->exp_start, fmt->exp_len); in floatformat_i387_ext_is_valid()
190 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid()
191 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/
H A Dmsg.c201 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 …]
H A Dvbuf_print.c110 #define VBUF_SNPRINTF(bp, sz, fmt, arg) do { \ argument
114 _ret = snprintf((char *) (bp)->ptr, (bp)->cnt, (fmt), (arg)); \
116 msg_panic("%s: output error for '%s'", myname, mystrdup(fmt)); \
119 myname, mystrdup(fmt), (long) (bp)->cnt); \
123 #define VBUF_SNPRINTF(bp, sz, fmt, arg) do { \ argument
126 sprintf((char *) (bp)->ptr, (fmt), (arg)); \
152 static VSTRING *fmt; /* format specifier */ in vbuf_print() local
164 if (fmt == 0) in vbuf_print()
165 fmt = vstring_alloc(INT_SPACE); in vbuf_print()
190 VSTRING_RESET(fmt); /* clear format string */ in vbuf_print()
[all …]
/netbsd-src/libexec/ld.elf_so/
H A Dxprintf.c55 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/
H A Ddebug.h48 #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/sys/external/bsd/drm2/dist/drm/i915/gvt/
H A Ddebug.h29 #define gvt_err(fmt, args...) \ argument
30 pr_err("gvt: "fmt, ##args)
32 #define gvt_vgpu_err(fmt, args...) \ argument
35 pr_err("gvt: "fmt, ##args); \
37 pr_err("gvt: vgpu %d: "fmt, vgpu->id, ##args);\
40 #define gvt_dbg_core(fmt, args...) \ argument
41 pr_debug("gvt: core: "fmt, ##args)
43 #define gvt_dbg_irq(fmt, args...) \ argument
44 pr_debug("gvt: irq: "fmt, ##args)
46 #define gvt_dbg_mm(fmt, args...) \ argument
[all …]
/netbsd-src/distrib/utils/libhack/
H A Dsyslog.c37 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/openldap/dist/doc/devel/variadic_debug/
H A D04-variadic.cocci4 let fmtn(fmt,n) =
5 List.length (Str.split_delim (Str.regexp_string "%") fmt) = n + 1
20 char[] fmt : script:ocaml() { fmtn(fmt,2) };
25 Debug( E, fmt, args
30 char[] fmt : script:ocaml() { fmtn(fmt,2) };
35 Debug( E, fmt, args
41 char[] fmt : script:ocaml() { fmtn(fmt,1) };
46 Debug( E, fmt, args
51 char[] fmt : script:ocaml() { fmtn(fmt,1) };
56 Debug( E, fmt, args
[all …]
/netbsd-src/external/gpl3/binutils/dist/ld/
H A Dldmisc.c71 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/gpl3/binutils.old/dist/ld/
H A Dldmisc.c69 vfinfo (FILE *fp, const char *fmt, va_list ap, bool is_warning) in vfinfo() argument
102 scan = fmt; in vfinfo()
203 while (*fmt != '\0') in vfinfo()
205 const char *str = fmt; in vfinfo()
206 while (*fmt != '%' && *fmt != '\0') in vfinfo()
207 fmt++; in vfinfo()
208 if (fmt != str) in vfinfo()
209 if (fwrite (str, 1, fmt - str, fp)) in vfinfo()
214 if (*fmt == '%') in vfinfo()
216 fmt++; in vfinfo()
[all …]
/netbsd-src/external/gpl2/dtc/dist/tests/
H A Dutilfdt_test.c22 static void check(const char *fmt, int expect_type, int expect_size) in check() argument
27 if (utilfdt_decode_type(fmt, &type, &size)) in check()
28 FAIL("format '%s': valid format string returned failure", fmt); in check()
30 FAIL("format '%s': expected type='%c', got type='%c'", fmt, in check()
33 FAIL("format '%s': expected size=%d, got size=%d", fmt, in check()
37 static void checkfail(const char *fmt) in checkfail() argument
42 if (!utilfdt_decode_type(fmt, &type, &size)) in checkfail()
44 fmt); in checkfail()
57 char fmt[10], *ptr; in check_sizes() local
60 if (strlen(modifier) + 2 >= sizeof(fmt)) in check_sizes()
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dprintf.c44 #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/
H A Dnubus.c248 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/libevent/dist/
H A Dlog.c105 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 …]

12345678910>>...85