Searched refs:format (Results 1 - 25 of 578) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcftime.c51 * ascftime(buf, format, t) -> where t is produced by localtime
54 * the format specified by the format
55 * argument (see date(1) for format
58 * cftime(buf, format, t) -> just calls ascftime.
74 cftime(char *buf, char *format, const time_t *t) argument
85 return (ascftime(buf, format, p));
89 ascftime(char *buf, const char *format, const struct tm *tm) argument
91 /* Set format string, if not already set */
92 if (format
[all...]
H A Dpfmt.c41 /* pfmt() - format and print */
44 pfmt(FILE *stream, long flag, const char *format, ...) argument
48 va_start(args, format);
49 return (__pfmt_print(stream, flag, format, NULL, NULL, args));
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintifname.c16 void printifname(format, name, ifp)
17 char *format, *name;
20 printf("%s%s", format, name);
/illumos-gate/usr/src/uts/common/io/sata/adapters/nv_sata/
H A Dnv_sata.conf25 use-cmdk-devid-format=1;
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmform.c36 * format date given clock
41 tmform(char* buf, const char* format, time_t* clock) argument
43 return tmfmt(buf, 256, format, clock);
H A Dtmfmt.c33 * format date given clock into buf of length len
38 tmfmt(char* buf, size_t len, const char* format, time_t* clock) argument
40 return tmxfmt(buf, len, format, tmxclock(clock));
/illumos-gate/usr/src/lib/libwrap/
H A Ddiag.c38 static void tcpd_diag(severity, tag, format, ap)
41 char *format;
48 tag, tcpd_context.file, tcpd_context.line, format);
50 sprintf(fmt, "%s: %s", tag, format);
56 void VARARGS(tcpd_warn, char *, format)
60 VASTART(ap, char *, format);
61 tcpd_diag(LOG_ERR, "warning", format, ap);
67 void VARARGS(tcpd_jump, char *, format)
71 VASTART(ap, char *, format);
72 tcpd_diag(LOG_ERR, "error", format, a
[all...]
/illumos-gate/usr/src/cmd/mdb/tools/common/
H A Ddie.c39 die(char *format, ...) argument
46 va_start(ap, format);
47 /* LINTED - variable format specifier */
48 (void) vfprintf(stderr, format, ap);
51 if (format[strlen(format) - 1] != '\n')
58 elfdie(char *format, ...) argument
64 va_start(ap, format);
65 /* LINTED - variable format specifier */
66 (void) vfprintf(stderr, format, a
[all...]
/illumos-gate/usr/src/uts/i86pc/io/vmm/
H A Dvmm_ktr.h41 #define VCPU_CTR0(vm, vcpuid, format) \
42 CTR2(KTR_VMM, "vm %s[%d]: " format, vm_name((vm)), (vcpuid))
44 #define VCPU_CTR1(vm, vcpuid, format, p1) \
45 CTR3(KTR_VMM, "vm %s[%d]: " format, vm_name((vm)), (vcpuid), (p1))
47 #define VCPU_CTR2(vm, vcpuid, format, p1, p2) \
48 CTR4(KTR_VMM, "vm %s[%d]: " format, vm_name((vm)), (vcpuid), (p1), (p2))
50 #define VCPU_CTR3(vm, vcpuid, format, p1, p2, p3) \
51 CTR5(KTR_VMM, "vm %s[%d]: " format, vm_name((vm)), (vcpuid), (p1), (p2), (p3))
53 #define VCPU_CTR4(vm, vcpuid, format, p1, p2, p3, p4) \
54 CTR6(KTR_VMM, "vm %s[%d]: " format, vm_nam
[all...]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A DmDNSDebug.c47 mDNSexport void verbosedebugf_(const char *format, ...) argument
51 va_start(ptr,format);
52 buffer[mDNS_vsnprintf(buffer, sizeof(buffer), format, ptr)] = 0;
59 mDNSlocal void LogMsgWithLevelv(mDNSLogLevel_t logLevel, const char *format, va_list ptr) argument
62 buffer[mDNS_vsnprintf((char *)buffer, sizeof(buffer), format, ptr)] = 0;
69 va_start(ptr,format); \
70 LogMsgWithLevelv(L, format, ptr); \
76 void LogMsg_(const char *format, ...) LOG_HELPER_BODY(MDNS_LOG_MSG)
77 void LogOperation_(const char *format, ...) LOG_HELPER_BODY(MDNS_LOG_OPERATION)
78 void LogSPS_(const char *format,
[all...]
/illumos-gate/usr/src/tools/stabs/
H A Dforth.c38 char *format, int level);
41 char *format, int level);
43 char *format, int level);
45 char *format, int level);
47 char *format, int level);
49 char *format, int level);
51 char *format, int level);
53 char *format, int level);
55 char *format, int level);
57 char *format, in
73 char *format; local
122 switch_on_type(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
163 print_forward(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
170 print_typeof(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
176 print_volatile(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
182 print_intrinsic(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
236 print_pointer(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
261 print_array(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
279 print_function(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
286 print_struct(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
298 print_union(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
310 print_enum(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
[all...]
H A Dgenassym.c38 char *format, int level);
41 char *format, int level);
43 char *format, int level);
45 char *format, int level);
47 char *format, int level);
49 char *format, int level);
51 char *format, int level);
53 char *format, int level);
55 char *format, int level);
57 char *format, in
82 char *format; local
138 switch_on_type(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
189 print_forward(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
196 print_typeof(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
202 print_volatile(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
208 print_intrinsic(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
246 print_pointer(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
269 print_array(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
283 print_function(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
290 print_struct(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
299 print_union(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
308 print_enum(struct mlist *mlp, struct tdesc *tdp, char *format, int level) argument
[all...]
/illumos-gate/usr/src/compat/freebsd/sys/
H A Dktr.h19 #define CTR0(m, format)
20 #define CTR1(m, format, p1)
21 #define CTR2(m, format, p1, p2)
22 #define CTR3(m, format, p1, p2, p3)
23 #define CTR4(m, format, p1, p2, p3, p4)
24 #define CTR5(m, format, p1, p2, p3, p4, p5)
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxencons.h52 #define DEBUGWARN0(fac, format) \
54 cmn_err(CE_WARN, format)
55 #define DEBUGNOTE0(fac, format) \
57 cmn_err(CE_NOTE, format)
58 #define DEBUGNOTE1(fac, format, arg1) \
60 cmn_err(CE_NOTE, format, arg1)
61 #define DEBUGNOTE2(fac, format, arg1, arg2) \
63 cmn_err(CE_NOTE, format, arg1, arg2)
64 #define DEBUGNOTE3(fac, format, arg1, arg2, arg3) \
66 cmn_err(CE_NOTE, format, arg
[all...]
/illumos-gate/usr/src/cmd/consadm/
H A Dutils.c38 warn(const char *format, ...) argument
46 va_start(alist, format);
47 (void) vfprintf(stderr, format, alist);
50 if (strchr(format, '\n') == NULL)
56 die(const char *format, ...) argument
64 va_start(alist, format);
65 (void) vfprintf(stderr, format, alist);
68 if (strchr(format, '\n') == NULL)
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmttime.c33 fmttime(const char* format, time_t clock) argument
39 tmfmt(buf, z, format, &clock);
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil_helper.h31 void hal_set_proc_title (const char *format, ...);
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Derrbefore.c44 errbefore(int severity, char *format, ...) argument
/illumos-gate/usr/src/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...]
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Ddebug_subr.c37 sunFm_vpanic(const char *format, va_list ap) argument
39 (void) snmp_vlog(LOG_ERR, format, ap);
46 sunFm_panic(const char *format, ...) argument
50 va_start(ap, format);
51 sunFm_vpanic(format, ap);
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_err.c68 vwarn(const char *format, va_list alist) argument
75 (void) vfprintf(stderr, format, alist);
77 if (strchr(format, '\n') == NULL)
83 warn(const char *format, ...) argument
87 va_start(alist, format);
88 vwarn(format, alist);
93 vdie(const char *format, va_list alist) argument
95 vwarn(format, alist);
101 die(const char *format, ...) argument
105 va_start(alist, format);
[all...]
/illumos-gate/usr/src/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...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_umemglue.c51 umem_panic(const char *format, ...) argument
55 va_start(alist, format);
56 vfail(format, alist);
61 umem_err_recoverable(const char *format, ...) argument
65 va_start(alist, format);
66 vwarn(format, alist);
71 umem_vsnprintf(char *s, size_t n, const char *format, va_list ap) argument
73 return (mdb_iob_vsnprintf(s, n, format, ap));
77 umem_snprintf(char *s, size_t n, const char *format, ...) argument
82 va_start(ap, format);
[all...]
/illumos-gate/usr/src/test/util-tests/tests/printf/
H A Dprintf_test.ksh50 tests[01][format]='%04x'
56 tests[02][format]='%08x'
62 tests[03][format]='%d %s '
68 tests[04][format]='%2$s %1$d '
74 tests[05][format]='%10s'
80 tests[06][format]='%10.3s'
86 tests[07][format]='%*.*s'
92 tests[08][format]='%2$*1$.*3$s'
98 tests[09][format]='%2$*1$.*3$s'
104 tests[10][format]
[all...]
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem_fail.c105 umem_panic(const char *format, ...) argument
109 va_start(va, format);
110 umem_vprintf(format, va);
113 if (format[strlen(format)-1] != '\n')
122 umem_err_recoverable(const char *format, ...) argument
126 va_start(va, format);
127 umem_vprintf(format, va);
130 if (format[strlen(format)
[all...]

Completed in 88 milliseconds

1234567891011>>