/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | cftime.c | 51 * 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 D | pfmt.c | 41 /* 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 D | printifname.c | 16 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 D | nv_sata.conf | 25 use-cmdk-devid-format=1;
|
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmform.c | 36 * format date given clock 41 tmform(char* buf, const char* format, time_t* clock) argument 43 return tmfmt(buf, 256, format, clock);
|
H A D | tmfmt.c | 33 * 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 D | diag.c | 38 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 D | die.c | 39 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/tools/stabs/ |
H A D | forth.c | 38 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 D | genassym.c | 38 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/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSDebug.c | 47 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/uts/common/xen/io/ |
H A D | xencons.h | 52 #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 D | utils.c | 38 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 D | fmttime.c | 33 fmttime(const char* format, time_t clock) argument 39 tmfmt(buf, z, format, &clock);
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util_helper.h | 31 void hal_set_proc_title (const char *format, ...);
|
/illumos-gate/usr/src/cmd/sgs/tsort/common/ |
H A D | errbefore.c | 44 errbefore(int severity, char *format, ...) argument
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | printf.c | 39 printf(char *format, ...) argument 44 va_start(ap, format); 55 count = _doprnt(format, ap, stdout);
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_pname.c | 47 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 D | debug_subr.c | 33 sunFm_vpanic(const char *format, va_list ap) argument 35 (void) snmp_vlog(LOG_ERR, format, ap); 43 sunFm_panic(const char *format, ...) argument 47 va_start(ap, format); 48 sunFm_vpanic(format, ap);
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_umemglue.c | 51 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/cmd/fm/fminject/common/ |
H A D | inj_err.c | 68 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 D | utils.c | 64 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/test/util-tests/tests/printf/ |
H A D | printf_test.ksh | 50 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/libbc/libc/gen/common/ |
H A D | strptime.c | 41 static char *yearmatch(/*char *cp, char *format, struct tm *tm, 44 static char *skipnws(/*char *format*/); 50 strptime(buf, format, tm) 52 char *format; 65 while ((c = *format++) != '\0') { 67 switch (*format++) { 79 *format)) != NULL 82 *format)) != NULL) 98 *format)) != NULL 101 *format)) ! [all...] |
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem_fail.c | 105 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...] |