Searched refs:format (Results 26 - 50 of 1169) sorted by relevance

1234567891011>>

/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_pname.c47 uu_die_internal(int status, const char *format, va_list alist) __NORETURN;
89 uu_warn_internal(int err, const char *format, va_list alist) argument
94 (void) vfprintf(stderr, format, alist);
96 if (strrchr(format, '\n') == NULL)
101 uu_vwarn(const char *format, va_list alist) argument
103 uu_warn_internal(errno, format, alist);
108 uu_warn(const char *format, ...) argument
111 va_start(alist, format);
112 uu_warn_internal(errno, format, alist);
117 uu_die_internal(int status, const char *format, va_lis argument
135 uu_vdie(const char *format, va_list alist) argument
142 uu_die(const char *format, ...) argument
151 uu_vxdie(int status, const char *format, va_list alist) argument
158 uu_xdie(int status, const char *format, ...) argument
[all...]
/freebsd-11-stable/contrib/libpcap/missing/
H A Dwin_snprintf.c7 pcap_vsnprintf(char *str, size_t str_size, const char *format, va_list args) argument
11 ret = _vsnprintf_s(str, str_size, _TRUNCATE, format, args);
34 pcap_snprintf(char *str, size_t str_size, const char *format, ...) argument
39 va_start(args, format);
40 ret = pcap_vsnprintf(str, str_size, format, args);
H A Dasprintf.c9 * snprintf() - so that, if you format into a 1-byte buffer, it
14 pcap_vasprintf(char **strp, const char *format, va_list args) argument
54 * many characters this format and those arguments will need
64 len = vsnprintf(&buf, sizeof buf, format, args);
75 ret = vsnprintf(str, str_size, format, args);
91 pcap_asprintf(char **strp, const char *format, ...) argument
96 va_start(args, format);
97 ret = pcap_vasprintf(strp, format, args);
H A Dwin_asprintf.c8 pcap_vasprintf(char **strp, const char *format, va_list args) argument
15 len = _vscprintf(format, args);
26 ret = pcap_vsnprintf(str, str_size, format, args);
42 pcap_asprintf(char **strp, const char *format, ...) argument
47 va_start(args, format);
48 ret = pcap_vasprintf(strp, format, args);
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/common/
H A Dutils.c64 vwarn(const char *format, va_list alist) argument
71 (void) vfprintf(stderr, format, alist);
73 if (strchr(format, '\n') == NULL)
79 warn(const char *format, ...) argument
83 va_start(alist, format);
84 vwarn(format, alist);
89 vdie(const char *format, va_list alist) argument
91 vwarn(format, alist);
97 die(const char *format, ...) argument
101 va_start(alist, format);
[all...]
/freebsd-11-stable/usr.bin/mkimg/
H A Dformat.c28 __FBSDID("$FreeBSD: stable/11/usr.bin/mkimg/format.c 329059 2018-02-09 09:15:43Z manu $");
39 #include "format.h"
43 static struct mkimg_format *format; variable in typeref:struct:mkimg_format
64 if (format == NULL)
66 return (format->resize(end));
77 format = f;
88 return (format);
96 if (format == NULL)
98 error = format->write(fd);
/freebsd-11-stable/contrib/ntp/libparse/
H A Dclk_dcf7000.c57 static struct format dcf7000_fmt =
85 * convert dcf7000 type format
91 struct format *format,
96 if (!Strok(buffer, format->fixed_string))
102 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
103 format->field_offsets[O_DAY].length) ||
104 Stoi(&buffer[format->field_offsets[O_MONTH].offset], &clock_time->month,
105 format->field_offsets[O_MONTH].length) ||
106 Stoi(&buffer[format
88 cvt_dcf7000( unsigned char *buffer, int size, struct format *format, clocktime_t *clock_time, void *local ) argument
[all...]
H A Dclk_varitext.c69 * The Varitext receiver sends a datagram in the following format every minute
97 static struct format varitext_fmt =
121 inp_varitext, /* Because of the strange format we need to parse it ourselves */
133 * convert simple type format
139 struct format *format,
145 if (!Strok(buffer, format->fixed_string)) {
148 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
149 format->field_offsets[O_DAY].length) ||
150 Stoi(&buffer[format
136 cvt_varitext( unsigned char *buffer, int size, struct format *format, clocktime_t *clock_time, void *local ) argument
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Derror.c61 isc_error_unexpected(const char *file, int line, const char *format, ...) { argument
64 va_start(args, format);
65 (unexpected_callback)(file, line, format, args);
70 isc_error_fatal(const char *file, int line, const char *format, ...) { argument
73 va_start(args, format);
74 (fatal_callback)(file, line, format, args);
87 default_unexpected_callback(const char *file, int line, const char *format, argument
91 vfprintf(stderr, format, args);
97 default_fatal_callback(const char *file, int line, const char *format, argument
103 vfprintf(stderr, format, arg
[all...]
/freebsd-11-stable/contrib/groff/contrib/grap2graph/
H A Dgrap2graph.sh12 # A -format FOO option changes the image output format to any format
14 # The default format is PNG.
35 format="png"
42 -format)
43 format=$2
82 convert -trim -crop 0x0 $convert_opts - $tmp/grap2graph.$format \
83 && cat $tmp/grap2graph.$format
/freebsd-11-stable/crypto/openssh/
H A Dlog.h62 __attribute__((format(printf, 1, 2)));
63 void error(const char *, ...) __attribute__((format(printf, 1, 2)));
65 __attribute__((format(printf, 1, 2)));
67 __attribute__((format(printf, 1, 2)));
68 void logit(const char *, ...) __attribute__((format(printf, 1, 2)));
69 void verbose(const char *, ...) __attribute__((format(printf, 1, 2)));
70 void debug(const char *, ...) __attribute__((format(printf, 1, 2)));
71 void debug2(const char *, ...) __attribute__((format(printf, 1, 2)));
72 void debug3(const char *, ...) __attribute__((format(printf, 1, 2)));
77 __attribute__((format(print
[all...]
/freebsd-11-stable/contrib/binutils/bfd/
H A Dformat.c26 A format is a BFD concept of high level file contents type. The
42 File format functions
57 bfd_boolean bfd_check_format (bfd *abfd, bfd_format format);
61 with the format @var{format} (i.e., one of <<bfd_object>>,
65 call, only the named target and format combination is
76 if <<format>> is not one of <<bfd_object>>, <<bfd_archive>> or
84 none of the backends recognised the file format.
87 more than one backend recognised the file format.
91 bfd_check_format (bfd *abfd, bfd_format format) argument
117 bfd_check_format_matches(bfd *abfd, bfd_format format, char ***matching) argument
391 bfd_set_format(bfd *abfd, bfd_format format) argument
429 bfd_format_string(bfd_format format) argument
[all...]
/freebsd-11-stable/contrib/wpa/src/fst/
H A Dfst_internal.h20 #define fst_printf(level, format, ...) \
21 wpa_printf((level), "FST: " format, ##__VA_ARGS__)
23 #define fst_printf_group(group, level, format, ...) \
24 wpa_printf((level), "FST: %s: " format, \
27 #define fst_printf_iface(iface, level, format, ...) \
28 fst_printf_group(fst_iface_get_group(iface), (level), "%s: " format, \
/freebsd-11-stable/contrib/tzcode/zic/
H A Dscheck.c22 scheck(string, format)
24 const char * const format;
34 if (string == NULL || format == NULL)
36 fbuf = imalloc((int) (2 * strlen(format) + 4));
39 fp = format;
65 result = (char *) format;
/freebsd-11-stable/contrib/gcclibs/libssp/
H A Dsnprintf-chk.c48 size_t slen, const char *format, ...)
56 va_start (arg, format);
57 done = vsnprintf (s, n, format, arg);
47 __snprintf_chk(char *s, size_t n, int flags __attribute__((unused)), size_t slen, const char *format, ...) argument
H A Dsprintf-chk.c51 size_t slen, const char *format, ...)
56 va_start (arg, format);
58 done = vsprintf (s, format, arg);
61 done = vsnprintf (s, slen, format, arg);
50 __sprintf_chk(char *s, int flags __attribute__((unused)), size_t slen, const char *format, ...) argument
H A Dvsnprintf-chk.c48 size_t slen, const char *format, va_list arg)
53 return vsnprintf (s, n, format, arg);
47 __vsnprintf_chk(char *s, size_t n, int flags __attribute__((unused)), size_t slen, const char *format, va_list arg) argument
/freebsd-11-stable/contrib/mdocml/
H A Dtest-vasprintf.c30 testfunc(char **ret, const char *format, ...) argument
35 va_start(ap, format);
36 irc = vasprintf(ret, format, ap);
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Derror.cpp35 const char *format,
68 errprint(format, arg1, arg2, arg3);
77 const char *format,
83 current_lineno, type, format, arg1, arg2, arg3);
87 void error(const char *format, argument
92 do_error(ERROR, format, arg1, arg2, arg3);
95 void warning(const char *format, argument
100 do_error(WARNING, format, arg1, arg2, arg3);
103 void fatal(const char *format, argument
108 do_error(FATAL, format, arg
31 do_error_with_file_and_line(const char *filename, const char *source_filename, int lineno, error_type type, const char *format, const errarg &arg1, const errarg &arg2, const errarg &arg3) argument
76 do_error(error_type type, const char *format, const errarg &arg1, const errarg &arg2, const errarg &arg3) argument
111 error_with_file_and_line(const char *filename, int lineno, const char *format, const errarg &arg1, const errarg &arg2, const errarg &arg3) argument
122 warning_with_file_and_line(const char *filename, int lineno, const char *format, const errarg &arg1, const errarg &arg2, const errarg &arg3) argument
133 fatal_with_file_and_line(const char *filename, int lineno, const char *format, const errarg &arg1, const errarg &arg2, const errarg &arg3) argument
[all...]
/freebsd-11-stable/crypto/heimdal/appl/test/
H A Dnt_gss_common.h42 __attribute__ ((format (printf, 3, 0)));
45 __attribute__ ((format (printf, 3, 4)));
/freebsd-11-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionGroupFormat.cpp30 {LLDB_OPT_SET_1, false, "format", 'f', OptionParser::eRequiredArgument,
32 "Specify a format to be used for display."},
33 {LLDB_OPT_SET_2, false, "gdb-format", 'G', OptionParser::eRequiredArgument,
35 "Specify a format using a GDB format specifier string."},
38 "The size in bytes to use when displaying with the selected format."},
93 Format format = eFormatDefault; local
97 ParserGDBFormatLetter(execution_context, gdb_format_str[0], format,
104 // something is wrong. Also, if none of the format, size or count was
107 (format
169 ParserGDBFormatLetter( ExecutionContext *execution_context, char format_letter, Format &format, uint32_t &byte_size) argument
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dm2-valprint.c31 CORE_ADDR address, struct ui_file *stream, int format,
37 return (c_val_print (type, valaddr, 0, address, stream, format, deref_ref,
30 m2_val_print(struct type *type, char *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int format, int deref_ref, int recurse, enum val_prettyprint pretty) argument
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dstrpftime-test.h49 strftime (char *buf, size_t maxsize, const char *format,
53 strptime (const char *buf, const char *format, struct tm *timeptr);
/freebsd-11-stable/sys/mips/cavium/octe/
H A Dethernet-util.h31 #define DEBUGPRINT(format, ...) printf(format, ##__VA_ARGS__)
/freebsd-11-stable/contrib/unbound/util/
H A Dlog.h72 * @param format: printf-style format string. Arguments follow.
75 const char* format, ...) ATTR_FORMAT(printf, 2, 3);
147 * @param format: printf-style format string. Arguments follow.
149 void log_info(const char* format, ...) ATTR_FORMAT(printf, 1, 2);
154 * @param format: printf-style format string. Arguments follow.
156 void log_err(const char* format, ...) ATTR_FORMAT(printf, 1, 2);
161 * @param format
[all...]

Completed in 158 milliseconds

1234567891011>>