/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | vfprintf.c | 100 const char *fmt; 272 cp = fmt; \ 289 fmt = ++cp; \ 336 cp = fmt; 345 fmt++; 410 ch = *fmt++; 462 fmt++; 514 p = fmt; 861 cp = fmt; \ 873 fmt = ++cp; \ [all …]
|
H A D | vfscanf.c | 166 c = *fmt++; 191 again: c = *fmt++; 211 if (*fmt == 'l') 213 fmt++; 289 fmt = sm_sccl(ccltab, fmt); 776 sm_sccl(tab, fmt) in sm_sccl() argument 838 n = *fmt; 844 fmt++; 860 c = *fmt++; 864 return fmt; [all …]
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | seterror.c | 115 const char *fmt, ...) in sasl_seterror() argument 139 const char *orig_fmt = fmt; in sasl_seterror() 158 } else if(!fmt) return; in sasl_seterror() 182 fmt = dgettext(TEXT_DOMAIN, fmt); in sasl_seterror() 190 formatlen = strlen(fmt); in sasl_seterror() 204 (*error_buf)[outlen]=fmt[pos]; in sasl_seterror() 212 (*error_buf)[outlen]=fmt[pos]; in sasl_seterror() 226 switch(fmt[pos]) in sasl_seterror() 274 frmt[frmtpos++]=fmt[pos]; in sasl_seterror() 290 frmt[frmtpos++]=fmt[pos]; in sasl_seterror() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | logging.c | 217 logdbg(const char *fmt, ...) in logdbg() argument 221 va_start(args, fmt); in logdbg() 222 vlogat(LOGLVL_DBG, fmt, args); in logdbg() 228 loginfo(const char *fmt, ...) in loginfo() argument 232 va_start(args, fmt); in loginfo() 233 vlogat(LOGLVL_INFO, fmt, args); in loginfo() 239 logwarn(const char *fmt, ...) in logwarn() argument 243 va_start(args, fmt); in logwarn() 250 logerr(const char *fmt, ...) in logerr() argument 254 va_start(args, fmt); in logerr() [all …]
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | debug.c | 42 cryptodebug(const char *fmt, ...) in cryptodebug() argument 48 if (fmt == NULL || _cryptodebug_enabled != 1) in cryptodebug() 51 va_start(args, fmt); in cryptodebug() 53 (void) vsnprintf(msgbuf, sizeof (msgbuf), fmt, args); in cryptodebug() 56 _cryptodebug_prefix, fmt); in cryptodebug() 84 cryptoerror(int priority, const char *fmt, ...) in cryptoerror() argument 90 if (fmt == NULL || _cryptoerror_enabled == 0) in cryptoerror() 93 va_start(args, fmt); in cryptoerror() 95 (void) vsnprintf(msgbuf, sizeof (msgbuf), fmt, args); in cryptoerror() 98 _cryptodebug_prefix, fmt); in cryptoerror()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_log.c | 37 ixgbe_notice(void *arg, const char *fmt, ...) in ixgbe_notice() argument 43 va_start(ap, fmt); in ixgbe_notice() 44 (void) vsnprintf(buf, sizeof (buf), fmt, ap); in ixgbe_notice() 58 ixgbe_log(void *arg, const char *fmt, ...) in ixgbe_log() argument 64 va_start(ap, fmt); in ixgbe_log() 65 (void) vsnprintf(buf, sizeof (buf), fmt, ap); in ixgbe_log() 79 ixgbe_error(void *arg, const char *fmt, ...) in ixgbe_error() argument 85 va_start(ap, fmt); in ixgbe_error() 86 (void) vsnprintf(buf, sizeof (buf), fmt, ap); in ixgbe_error()
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | scanw.c | 36 scanw(char *fmt, ...) in scanw() argument 40 va_start(ap, fmt); in scanw() 41 j = _sscans(stdscr, fmt, ap); in scanw() 51 wscanw(WINDOW *win, char *fmt, ...) in wscanw() argument 56 va_start(ap, fmt); in wscanw() 57 j = _sscans(win, fmt, ap); in wscanw() 72 _sscans(WINDOW *win, char *fmt, va_list ap) in _sscans() argument 82 return (_doscan(&junk, fmt, ap)); in _sscans()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | fmt.c | 569 Fmt_t fmt; in b_fmt() local 572 fmt.flags = 0; in b_fmt() 575 fmt.outp = 0; in b_fmt() 577 fmt.indent = 0; in b_fmt() 579 fmt.nwords = 0; in b_fmt() 580 fmt.prefix = 0; in b_fmt() 581 fmt.quote = 0; in b_fmt() 582 fmt.retain = 0; in b_fmt() 583 fmt.section = 1; in b_fmt() 627 dofmt(&fmt); in b_fmt() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | debug.h | 34 #define FPRINTLN(filep, fmt, arg...) \ argument 37 fprintf(filep, fmt "\r\n", ##arg); \ 39 fprintf(filep, fmt "\n", ##arg); \ 42 #define PRINTLN(fmt, arg...) FPRINTLN(stdout, fmt, ##arg) argument 43 #define EPRINTLN(fmt, arg...) FPRINTLN(stderr, fmt, ##arg) argument
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 295 va_start(ap, fmt); in zfs_error_aux() 298 fmt, ap); in zfs_error_aux() 308 fmt, ap); in zfs_verror() 342 va_start(ap, fmt); in zfs_error_fmt() 344 zfs_verror(hdl, error, fmt, ap); in zfs_error_fmt() 366 zfs_verror(hdl, EZFS_IO, fmt, ap); in zfs_common_error() 393 va_start(ap, fmt); in zfs_standard_error_fmt() 404 zfs_verror(hdl, EZFS_IO, fmt, ap); in zfs_standard_error_fmt() 484 va_start(ap, fmt); in zpool_standard_error_fmt() 626 va_start(ap, fmt); in zfs_asprintf() [all …]
|
/illumos-gate/usr/src/lib/libvolmgt/common/ |
H A D | volprivate.c | 179 derrprint(char *fmt, va_list ap) in derrprint() argument 196 (void) vfprintf(stderr, fmt, ap); in derrprint() 203 denter(char *fmt, ...) in denter() argument 207 va_start(ap, fmt); in denter() 208 derrprint(fmt, ap); in denter() 217 dexit(char *fmt, ...) in dexit() argument 224 va_start(ap, fmt); in dexit() 225 derrprint(fmt, ap); in dexit() 233 dprintf(char *fmt, ...) in dprintf() argument 237 va_start(ap, fmt); in dprintf() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | logging.c | 57 log_format(int severity, const char *fmt, va_list ap, char *buf, int bufsize) in log_format() argument 68 (void) vsnprintf(buf + offset, bufsize - offset, fmt, ap); in log_format() 78 nlog(int severity, const char *fmt, ...) in nlog() argument 82 va_start(ap, fmt); in nlog() 83 log_format(severity, fmt, ap, NULL, 0); in nlog() 88 pfail(const char *fmt, ...) in pfail() argument 95 va_start(ap, fmt); in pfail() 96 log_format(LOG_ERR, fmt, ap, msg, 256); in pfail()
|
/illumos-gate/usr/src/ucblib/libucb/port/stdio/ |
H A D | doprnt.c | 1086 while ((fmt = strchr(fmt, '%')) != 0) { in _mkarglst() 1090 if (fmt[sz = strspn(fmt, digits)] == '$') { in _mkarglst() 1095 fmt += sz + 1; in _mkarglst() 1099 fmt += strspn(fmt, skips); in _mkarglst() 1111 fmt += strspn(fmt, digits); in _mkarglst() 1215 fmt = sfmt; in _getarg() 1217 while ((i != argno) && (fmt = strchr(fmt, '%')) != 0) { in _getarg() 1219 if (fmt[n = strspn(fmt, digits)] == '$') { in _getarg() 1223 fmt += n + 1; in _getarg() 1234 fmt += strspn(fmt, skips); in _getarg() [all …]
|
/illumos-gate/usr/src/common/elfcap/ |
H A D | elfcap.c | 578 &format[fmt])) != ELFCAP_ERR_NONE)) in expand() 609 size_t len, elfcap_fmt_t fmt, ushort_t mach) in elfcap_hw1_to_str() argument 615 if ((fmt < 0) || (fmt >= FORMAT_NELTS)) in elfcap_hw1_to_str() 620 str, len, fmt)); in elfcap_hw1_to_str() 625 str, len, fmt)); in elfcap_hw1_to_str() 635 size_t len, elfcap_fmt_t fmt, ushort_t mach) in elfcap_hw2_to_str() argument 641 if ((fmt < 0) || (fmt >= FORMAT_NELTS)) in elfcap_hw2_to_str() 646 str, len, fmt)); in elfcap_hw2_to_str() 662 if ((fmt < 0) || (fmt >= FORMAT_NELTS)) in elfcap_hw3_to_str() 667 str, len, fmt)); in elfcap_hw3_to_str() [all …]
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strfmon.c | 81 fmt++; \ 137 fmt = format; in strfmon_impl() 142 while (*fmt) { in strfmon_impl() 144 if (*fmt != '%') in strfmon_impl() 151 fmt++; in strfmon_impl() 153 PRINT(*fmt++); in strfmon_impl() 167 switch (*++fmt) { in strfmon_impl() 210 if (*fmt == '#') { in strfmon_impl() 229 switch (*fmt++) { in strfmon_impl() 532 char fmt[32]; in format_grouped_double() local [all …]
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | interface.c | 275 char fmt[ BUFSIZ ]; in tfaillog() local 278 (void) snprintf(fmt, sizeof (fmt), "%s: %%s\n", s); in tfaillog() 279 DEBUG(5, fmt, t_errlist[t_errno]); in tfaillog() 282 (void) strcpy(fmt, "tlicall: system error: %s\n"); in tfaillog() 283 DEBUG(5, fmt, strerror(errno)); in tfaillog() 288 (void) snprintf(fmt, sizeof (fmt), in tfaillog() 290 logent(s, fmt); in tfaillog() 291 (void) snprintf(fmt, sizeof (fmt), in tfaillog() 293 DEBUG(5, fmt, 0); in tfaillog() 294 (void) snprintf(fmt, sizeof (fmt), "%s: %%s\n", s); in tfaillog() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/rds/ |
H A D | rdsib_debug.h | 93 char *fmt, ...); 96 char *fmt, ...); 99 char *fmt, ...); 102 char *fmt, ...); 116 char *fmt, ...); 119 char *fmt, ...); 122 char *fmt, ...);
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | directory_error.c | 73 char *fmt; member 120 free(de->fmt); in directory_error_free() 121 de->fmt = NULL; in directory_error_free() 165 de->fmt = strdup(fmt); in directory_error() 166 if (de->fmt == NULL) in directory_error() 170 va_start(va, fmt); in directory_error() 185 va_start(va, fmt); in directory_error() 222 de->fmt = strdup(de_rpc->fmt); in directory_error_from_rpc() 223 if (de->fmt == NULL) in directory_error_from_rpc() 267 de_rpc->fmt = strdup(de->fmt); in directory_error_to_rpc() [all …]
|
/illumos-gate/usr/src/common/util/ |
H A D | sscanf.c | 139 c = *fmt++; in vsscanf() 155 again: c = *fmt++; in vsscanf() 219 fmt = set_ccl(ccltab, fmt); in vsscanf() 536 set_ccl(char *tab, const uchar_t *fmt) in set_ccl() argument 544 c = *fmt++; /* get new first char */ in set_ccl() 570 return (fmt - 1); in set_ccl() 591 n = *fmt; in set_ccl() 596 fmt++; in set_ccl() 611 return (fmt); in set_ccl() 627 va_start(ap, fmt); in sscanf() [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplmatch.c | 151 CplListFormat *fmt); 1030 CplListFormat *fmt) in cpl_plan_listing() argument 1043 fmt->term_width = term_width; in cpl_plan_listing() 1044 fmt->column_width = 0; in cpl_plan_listing() 1045 fmt->nline = fmt->ncol = 0; in cpl_plan_listing() 1065 fmt->column_width = maxlen; in cpl_plan_listing() 1066 fmt->ncol = fmt->term_width / (fmt->column_width + CPL_COL_SEP); in cpl_plan_listing() 1073 if(fmt->ncol < 1) in cpl_plan_listing() 1074 fmt->ncol = 1; in cpl_plan_listing() 1078 fmt->nline = (result->nmatch + fmt->ncol - 1) / fmt->ncol; in cpl_plan_listing() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/ibtl/impl/ |
H A D | ibtl_util.h | 125 char *fmt, ...); 128 char *fmt, ...); 131 char *fmt, ...); 134 char *fmt, ...); 148 char *fmt, ...); 151 char *fmt, ...); 154 char *fmt, ...);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ftrace.h | 99 #define FTRACE_0(fmt) \ argument 102 ftrace_0(fmt, caller()); \ 104 #define FTRACE_1(fmt, d1) \ argument 107 ftrace_1(fmt, d1, caller()); \ 109 #define FTRACE_2(fmt, d1, d2) \ argument 112 ftrace_2(fmt, d1, d2, caller()); \ 114 #define FTRACE_3(fmt, d1, d2, d3) \ argument 117 ftrace_3(fmt, d1, d2, d3, caller()); \
|
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xge_osdep.h | 131 #define xge_os_printf(fmt...) cmn_err(CE_CONT, fmt) argument 132 #define xge_os_sprintf(buf, fmt...) strlen(sprintf(buf, fmt)) argument 134 #define xge_os_vaprintf(fmt) { \ argument 136 va_start(va, fmt); \ 137 vcmn_err(CE_CONT, fmt, va); \ 142 xge_os_vaprintf(fmt); in xge_os_printf() 147 va_start(va, fmt); \ 153 xge_os_vasprintf(buf, fmt); in xge_os_sprintf() 200 #define xge_os_bug(fmt...) cmn_err(CE_PANIC, fmt) argument 205 va_start(ap, fmt); in xge_os_bug() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfvprintf.c | 389 fmt = ft->fmt; 491 { if((_Sftype[fmt]&(SFFMT_INT|SFFMT_UINT)) || fmt == 'n') 539 { if(ft && ft->extf && fp[argp].ft.fmt != fp[argp].fmt) 540 fmt = fp[argp].ft.fmt; 949 fmt = 'x'; 977 fmt = 'd'; 1136 if(fmt == 'x' || fmt == 'X') 1147 if(fmt == 'x' || fmt == 'X') 1183 if(fmt == 'e' || fmt == 'E' && (v |= SFFMT_UPPER)) 1190 else if(fmt == 'f' || fmt == 'F' && (v |= SFFMT_UPPER)) [all …]
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | ldaplog.h | 50 #define LDAPDebug( level, fmt, arg1, arg2, arg3 ) argument 59 # define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \ argument 62 slapd_log_error_proc( NULL, fmt, arg1, arg2, arg3 ); \ 67 # define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \ 70 slapd_log_error_proc( NULL, fmt, arg1, arg2, arg3 ); \ 77 # define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \ 80 sprintf( msg, fmt, arg1, arg2, arg3 ); \
|