/illumos-gate/usr/src/cmd/newtask/ |
H A D | newtask.c | 80 static void preserve_error(const char *format, ...); 633 preserve_error(const char *format, ...) argument 637 va_start(alist, format); 644 (void) vsnprintf(global_error, GLOBAL_ERR_SZ-1, format, alist);
|
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 56 static void handle_error(const char *format, ...); 614 handle_error(const char *format, ...) argument 617 va_start(ap, format); 620 error_func(format, ap);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_subr.c | 456 dt_dprintf(const char *format, ...) argument 461 va_start(alist, format); 463 (void) vfprintf(stderr, format, alist); 551 dt_printf(dtrace_hdl_t *dtp, FILE *fp, const char *format, ...) argument 556 va_start(ap, format); 568 if ((n = vsnprintf(buf, len, format, ap)) < 0) 603 if ((needed = vsnprintf(NULL, 0, format, ap)) < 0) { 634 avail, format, ap) < 0) { 645 n = vfprintf(fp, format, ap);
|
H A D | dt_consume.c | 1242 dt_print_stack(dtrace_hdl_t *dtp, FILE *fp, const char *format, argument 1254 if (format == NULL) 1255 format = "%s"; 1309 if (dt_printf(dtp, fp, format, c) < 0) 1320 dt_print_ustack(dtrace_hdl_t *dtp, FILE *fp, const char *format, argument 1345 if (format == NULL) 1346 format = "%s"; 1415 if ((err = dt_printf(dtp, fp, format, c)) < 0) 1433 if ((err = dt_printf(dtp, fp, format, c)) < 0) 1462 const char *format local 1492 dt_print_umod(dtrace_hdl_t *dtp, FILE *fp, const char *format, caddr_t addr) argument 1535 dt_print_sym(dtrace_hdl_t *dtp, FILE *fp, const char *format, caddr_t addr) argument 1571 dt_print_mod(dtrace_hdl_t *dtp, FILE *fp, const char *format, caddr_t addr) argument [all...] |
/illumos-gate/usr/src/cmd/prtfru/ |
H A D | prtfru.c | 188 error(const char *format, ...) argument 200 va_start(args, format); 201 if (vfprintf(stderr, format, args) < 0) exit(1); 202 if (errlog && (vfprintf(errlog, format, args) < 0)) exit(1); 209 output(const char *format, ...) argument 214 va_start(args, format); 215 if (vfprintf(stdout, format, args) < 0) { 989 char *format = ((def == &unknown) local 993 output(format, indent, "", path);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_modapi.c | 249 mdb_snprintf(char *buf, size_t nbytes, const char *format, ...) argument 253 va_start(alist, format); 254 nbytes = mdb_iob_vsnprintf(buf, nbytes, format, alist); 261 mdb_printf(const char *format, ...) argument 265 va_start(alist, format); 266 mdb_iob_vprintf(mdb.m_out, format, alist); 271 mdb_warn(const char *format, ...) argument 275 va_start(alist, format); 276 vwarn(format, alist);
|
H A D | mdb.c | 149 char *format = mdb_alloc(strlen(s) * 2 + 1, UM_NOSLEEP); local 162 if (format == NULL) 173 (void) strcpy(format, s); 227 * In order to expand the buffer, we examine the format string for 230 * shift over the remaining format buffer and stick in %%. 232 for (q = format; (q = strchr(q, '%')) != NULL; q++) { 269 * We're now ready to use our printf engine to format the final string. 271 * string will be, allocate it, and format it. 273 len = mdb_iob_asnprintf(NULL, 0, format, argv.a_data); 275 (void) mdb_iob_asnprintf(p, len + 1, format, arg [all...] |
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap.c | 145 * name mappings in Samba username map format (smbusers), Netapp 153 * SMBUSERS is the format of Samba username map (smbusers). For full 155 * The format is for example 158 * USERMAP_CFG is the format of Netapp usermap.cfg file. Search 161 * The format is for example 188 format_t format; member in struct:__anon649 328 print_error(cmd_pos_t *pos, const char *format, ...) argument 334 va_start(ap, format); 349 (void) vfprintf(stderr, format, ap); 449 "idmap export [-f file] format\ 2118 format_t format; local 2223 list_name_mappings(format_t format, FILE *fi) argument 2285 format_t format; local 3471 idmap_cli_logger(int pri, const char *format, ...) argument [all...] |
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | pager.c | 215 ** format. 218 ** formats less than 3. Beginning with format 3, this record is surrounded 231 ** There are three journal formats (so far). The 1st journal format writes 234 ** new format, but we have to be able to read an older journal in order 237 ** The 3rd journal format (added for 2.8.0) adds additional sanity 245 ** The sanity checking information for the 3rd journal format consists 270 ** The following integer determines what format to use when creating 271 ** new primary journal files. By default we always use format 3. 276 ** Note that checkpoint journals always use format 2 and omit the header. 286 ** to which journal format i 322 read32bits(int format, OsFile *fd, u32 *pRes) argument 535 pager_playback_one_page(Pager *pPager, OsFile *jfd, int format) argument 646 int format; /* Format of the journal file. */ local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 1037 warn(const char *format, ...) argument 1041 format = gettext(format); 1044 va_start(alist, format); 1045 (void) vfprintf(stderr, format, alist); 1053 die(const char *format, ...) argument 1057 format = gettext(format); 1060 va_start(alist, format); 1061 (void) vfprintf(stderr, format, alis 1089 warn_ipadmerr(ipadm_status_t err, const char *format, ...) argument [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | slk.c | 305 static short format[][8] = { local 345 i = format[__m_slk_format][index];
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/ |
H A D | piclsdr.c | 101 fru_format->format |= SUN_FORMAT; 113 fru_format->format |= SUN_FORMAT;
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Statistic.java | 210 buf.append(df.format(start)); 212 buf.append(df.format(end));
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | praudit.h | 68 #define PRF_XMLM 0x0004 /* XML format */ 143 int format; member in struct:pr_context 241 extern int pr_printf(pr_context_t *context, const char *format, ...); 245 * Functions that format audit data
|
/illumos-gate/usr/src/cmd/ctwatch/ |
H A D | ctwatch.c | 82 * Given a format string and a variable number of arguments, create a 88 sopen(const char *format, const char *error, const char *permerror, ...) argument 95 if (vsnprintf(path, PATH_MAX, format, varg) >= PATH_MAX) {
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/ |
H A D | Getopt.java | 119 err(String format, char c, String optstr) argument 124 p.printf(format, progname, (optstr == null ?
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | account.c | 104 static char format[] = "%s%c%s%c%ld%c%c%c%c%c%s%c%s%c%s%c(%s)%c%s%c%s%c%s%c%s%c%s%c%s%c"; local 109 sprintf(Record, format,
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | genf.c | 185 g_dump(char *hdr, uchar_t *src, int nbytes, int format) argument 192 assert(format == HEX_ONLY || format == HEX_ASCII); 207 if (format == HEX_ASCII) { 422 * The format of the controller pathname is 582 * Check for this format: 896 string_dump(char *hdr, uchar_t *src, int nbytes, int format, char msg_string[]) argument 903 assert(format == HEX_ONLY || format == HEX_ASCII); 921 if (format [all...] |
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-job.c | 292 * The document format needs to be added, but the control line 296 papiAttributeListGetString(attributes, NULL, "document-format", &s); 299 "document-format", s); 322 list_append(&names, "document-format"); 485 char *format = "text/plain"; local 495 papiAttributeListGetString(attributes, NULL, "document-format", 496 &format); 498 "document-format", format); 499 if ((rfc_fmt = mime_type_to_rfc1179_type(format)) [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | logging.c | 270 log_vwrite(log_context lc, int category, int level, const char *format, argument 308 * Get the current time and format it. 360 (void)vsprintf(lc->buffer, format, args); 430 log_write(log_context lc, int category, int level, const char *format, ...) { argument 433 va_start(args, format); 434 log_vwrite(lc, category, level, format, args);
|
/illumos-gate/usr/src/common/ficl/ |
H A D | primitives.c | 335 * a "format" string. Each character in the format string is copied verbatim 338 * (the "format character"). Here are the valid format characters: 341 * d - read a ficlCell from the stack, format it as a string (base-10, 364 char *format = (char *)ficlStackPopPointer(vm->dataStack); local 365 char *formatStop = format + formatLength; 372 while (format < formatStop) { 379 if (*format != '%') { 380 source = format; [all...] |
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | sdp.c | 262 * Given a media list and a format number, this API will return the rtpmap 263 * attribute matching the format number. 266 sdp_find_media_rtpmap(sdp_media_t *media, const char *format) argument 271 if (media == NULL || format == NULL || (strlen(format) == 0)) { 282 if (strncasecmp(tmp, format, 283 strlen(format)) == 0) { 842 char *format = NULL; local 918 if (sdp_list_to_str(media->m_format, &format, B_TRUE) != 0) 922 format, [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.proc.c | 623 char *format; local 660 format = "%-21s"; 662 format = "%s"; 665 printf(format, ""); 676 printf(format, "Running "); 685 printf(format, 695 printf(format, "Done");
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbskel/ |
H A D | usbskel.c | 1653 * format and args: as you would call cmn_err, except without special 1664 char *format; local 1673 format = kmem_zalloc(formatlen, KM_SLEEP); 1676 format[0] = '!'; 1681 (void) strcpy(&format[devinst_start], 1686 (void) strcat(format, formatarg); 1687 vcmn_err(CE_CONT, format, ap); 1690 kmem_free(format, formatlen);
|
/illumos-gate/usr/src/lib/libc/port/ |
H A D | llib-lc | 321 int cftime(char *buf, char *format, const time_t *t); 322 int ascftime(char *buf, const char *format, const struct tm *tm); 928 const char *_RESTRICT_KYWD format, 1131 int fprintf(FILE *_RESTRICT_KYWD iop, const char *_RESTRICT_KYWD format, ...); 1135 int printf(const char *_RESTRICT_KYWD format, ...); 1140 const char *_RESTRICT_KYWD format, ...); 1145 const char *_RESTRICT_KYWD format, ...); 1149 int vfprintf(FILE *_RESTRICT_KYWD iop, const char *_RESTRICT_KYWD format, 1154 int vprintf(const char *_RESTRICT_KYWD format, va_list); 1159 const char *_RESTRICT_KYWD format, va_lis [all...] |