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

1234567891011>>

/illumos-gate/usr/src/cmd/zic/
H A Dscheck.c10 scheck(string, format)
12 const char * const format;
22 if (string == NULL || format == NULL)
24 fbuf = imalloc((int)(2 * strlen(format) + 4));
27 fp = format;
53 result = (char *)format;
/illumos-gate/usr/src/test/util-tests/tests/mdb/
H A DMakefile28 format \
40 format/tst.format-cap-E.mdb \
41 format/tst.format-cap-E.mdb.out \
42 format/tst.format-cap-G.mdb \
43 format/tst.format-cap-G.mdb.out \
44 format/ts
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppprintf.c31 ppprintf(char* format, ...) argument
38 va_start(ap, format);
39 sfvprintf(sp, format, ap);
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Derrusage.c47 errusage(char *format, ...) argument
56 va_start(ap, format);
57 (void) vfprintf(stderr, format, ap);
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dfprintf.c51 fprintf(FILE *iop, const char *format, ...) argument
56 va_start(ap, format);
68 count = _doprnt((char *) format, ap, iop);
H A Dprintf.c42 printf(const char *format, ...) argument
47 va_start(ap, format);
58 count = _doprnt((char *) format, ap, stdout);
H A Dsprintf.c52 sprintf(const char *string, const char *format, ...) argument
60 va_start(ap, format);
61 (void) _doprnt((char *) format, ap, &siop);
H A Dvfprintf.c51 vfprintf(FILE *iop, const char *format, va_list ap) argument
65 count = _doprnt((char *) format, ap, iop);
H A Dvprintf.c51 vprintf(const char *format, va_list ap) argument
63 return (_doprnt((char *) format, ap, stdout));
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_nicenum.c50 enum zfs_nicenum_format format)
71 if (format == ZFS_NICENUM_RAW) {
74 } else if (format == ZFS_NICENUM_RAWTIME && num > 0) {
77 } else if (format == ZFS_NICENUM_RAWTIME && num == 0) {
82 while (n >= k_unit[format] && index < units_len[format]) {
83 n /= k_unit[format];
87 u = units[format][index];
90 if ((format == ZFS_NICENUM_TIME) && (num == 0)) {
93 (uint64_t)powl(k_unit[format], inde
49 zfs_nicenum_format(uint64_t num, char *buf, size_t buflen, enum zfs_nicenum_format format) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl_err.c39 * interfaces, but these interfaces only support one format specifier per
47 kctl_vprintf(int code, const char *format, va_list ap) argument
50 vcmn_err(code, format, ap);
60 (void) vsnprintf(buf, sizeof (buf), format, ap);
66 kctl_warn(const char *format, ...) argument
70 va_start(ap, format);
71 kctl_vprintf(CE_WARN, format, ap);
76 kctl_dprintf(const char *format, ...) argument
83 va_start(ap, format);
84 kctl_vprintf(CE_NOTE, format, a
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dvpfmt.c33 * vpfmt() - format and print (variable argument list)
49 vpfmt(FILE *stream, long flag, const char *format, va_list args) argument
51 return (__pfmt_print(stream, flag, format, NULL, NULL, args));
H A Dlfmt.c32 /* lfmt() - format, print and log */
47 lfmt(FILE *stream, long flag, const char *format, ...) argument
52 va_start(args, format);
54 if ((ret = __pfmt_print(stream, flag, format, &text, &sev, args)) < 0)
/illumos-gate/usr/src/cmd/pools/common/
H A Dutils.c66 warn(const char *format, ...) argument
74 va_start(alist, format);
75 (void) vfprintf(stderr, format, alist);
78 if (strrchr(format, '\n') == NULL)
84 die(const char *format, ...) argument
92 va_start(alist, format);
93 (void) vfprintf(stderr, format, alist);
96 if (strrchr(format, '\n') == NULL)
/illumos-gate/usr/src/cmd/ramdiskadm/
H A Dutils.c48 warn(const char *format, ...) argument
56 va_start(alist, format);
57 (void) vfprintf(stderr, format, alist);
60 if (strchr(format, '\n') == NULL)
66 die(const char *format, ...) argument
74 va_start(alist, format);
75 (void) vfprintf(stderr, format, alist);
78 if (strchr(format, '\n') == NULL)
/illumos-gate/usr/src/cmd/rctladm/
H A Dutils.c43 warn(const char *format, ...) argument
49 va_start(alist, format);
50 (void) vfprintf(stderr, format, alist);
52 if (strchr(format, '\n') == NULL)
58 die(char *format, ...) argument
65 va_start(alist, format);
66 (void) vfprintf(stderr, format, alist);
68 if (strchr(format, '\n') == NULL)
/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dfth_struct.c41 * or union member. The member op adds the member name, format, type ID,
53 * Normal integers: ' <format> <offset> <type>-field <name>
54 * <format> defaults to ".d" for enums, ".x" for others
60 * Bitfields: ' <format> <shift> <mask> <offset> bits-field <name>
61 * <format> defaults to ".x"
69 * Pointer: ' <format> <offset> ptr-field <name>
70 * <format> defaults to .x
97 * Struct/Union: ' <format> <offset> struct-field <name>
98 * <format> defaults to ".x"
181 fth_print_level(uint_t bits, char *format) argument
200 fth_convert_format(char *format, char *def) argument
214 fth_print_integer(const char *memname, ulong_t off, uint_t bits, char *format, int level) argument
252 fth_print_pointer(const char *memname, ulong_t off, uint_t bits, char *format, int level) argument
267 fth_print_struct(char *memname, ulong_t off, char *format, int level) argument
283 fth_print_enum(char *memname, ulong_t off, char *format, int level) argument
299 fth_print_array(char *memname, ctf_id_t tid, ulong_t off, ssize_t sz, char *format, int level) argument
432 fth_struct_members(char *memfilter, char *format) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibmf/
H A Dibmf_utils.h41 ibmf_utils_unpack_data(char *format, uchar_t *data, size_t datalen,
45 ibmf_utils_pack_data(char *format, void *structure, size_t structlen,
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmscan.c33 * scan date expression in s using format
38 tmscan(const char* s, char** e, const char* format, char** f, time_t* clock, long flags) argument
40 return tmxsec(tmxscan(s, e, format, f, tmxclock(clock), flags));
H A Dtmxfmt.c36 * format n with padding p into s
88 char* format; member in struct:Stack_s
93 * format t into buf of length len
98 tmxfmt(char* buf, size_t len, const char* format, Time_t t) argument
127 if (!format || !*format)
128 format = tm_info.deformat;
129 oformat = format;
137 if ((c = *format++) == delimiter)
143 format
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_overflow6.c5 int snprintf(char *dest, int limit, char *format, char *str);
6 int sprintf(char *dest, char *format, char *str);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtparm.c66 * format. Often more complex operations are necessary.
140 char format[20]; local
152 (void) strcpy(format, "%");
168 (void) strcat(format, "l");
169 len = strlen(format);
170 format[len] = *string;
171 format[len+1] = '\0';
173 format, npop());
174 (void) strcpy(format, "%");
177 (void) strcat(format, "
[all...]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_sprintf_overflow.c27 char *format; local
37 format = expr_to_var(format_string);
38 if (!format)
40 if (strcmp(format, "\"%s\""))
51 free_string(format);
/illumos-gate/usr/src/lib/libc/port/print/
H A Dwprintf.c60 wprintf(const wchar_t *format, ...) argument
66 va_start(ap, format);
85 count = _wndoprnt(format, ap, stdout, 0);
102 fwprintf(FILE *iop, const wchar_t *format, ...) argument
108 va_start(ap, format);
128 count = _wndoprnt(format, ap, iop, 0);
145 swprintf(wchar_t *string, size_t n, const wchar_t *format, ...) argument
158 va_start(ap, format);
159 count = _wndoprnt(format, ap, &siop, 0);
178 _wprintf_c89(const wchar_t *format, argument
190 _fwprintf_c89(FILE *iop, const wchar_t *format, ...) argument
202 _swprintf_c89(wchar_t *string, size_t n, const wchar_t *format, ...) argument
[all...]
/illumos-gate/usr/src/lib/libumem/common/
H A Dmisc.h49 void debug_printf(const char *format, ...);
54 void log_message(const char *format, ...);
77 void umem_printf(const char *format, ...);
78 void umem_vprintf(const char *format, va_list);
80 void umem_printf_warn(void *ignored, const char *format, ...);
87 void umem_panic(const char *format, ...) __NORETURN;
94 void umem_err_recoverable(const char *format, ...);

Completed in 53 milliseconds

1234567891011>>