/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_rcm.c | 1329 * implemented to format RCM messages for plugins. 1347 static char format[RCM_MAX_FORMAT]; local 1437 /* Construct the format string */ 1438 (void) snprintf(format, RCM_MAX_FORMAT, "%%-%ds %%-%ds", 1446 (void) sprintf(&((*msg)[strlen(*msg)]), format,
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | char_io.c | 183 grub_vprintf (const char *format, int *dataptr) argument 187 while ((c = *(format++)) != 0) 192 switch (c = *(format++)) 885 grub_vsprintf (char *buffer, const char *format, int *dataptr) argument 893 while ((c = *format++) != 0) 900 switch (c = *(format++)) 943 grub_sprintf (char *buffer, const char *format, ...) argument 945 int *dataptr = (int *) &format; 948 return (grub_vsprintf (buffer, format, dataptr)); 954 noisy_printf (const char *format, argument 967 grub_printf(const char *format,...) argument [all...] |
/osnet-11/usr/src/cmd/hal/hald/ |
H A D | util.c | 424 hal_util_compute_udi (HalDeviceStore *store, gchar *dst, gsize dstsize, const gchar *format, ...) argument 430 va_start (args, format); 431 g_vsnprintf (buf, sizeof (buf), format, args);
|
H A D | hald_dbus.c | 59 char *format, ...) __attribute__((format (printf, 4, 5))); 73 * @param format printf-style format for error message 79 char *format, ...) 85 va_start(args, format); 86 vsnprintf(buf, sizeof buf, format, args); 76 raise_error(DBusConnection *connection, DBusMessage *in_reply_to, const char *error_name, char *format, ...) argument
|
/osnet-11/usr/src/lib/libast/common/port/ |
H A D | astconf.c | 600 * format synthesized value 604 format(register Feature_t* fp, const char* path, const char* value, unsigned int flags, Error_f conferror) function 610 error(-2, "astconf format name=%s path=%s value=%s flags=%04x fp=%p%s", fp->name, path, value, flags, fp, state.synthesizing ? " SYNTHESIZING" : ""); 807 return format(fp, path, value, flags, conferror); 1405 if (state.recent && streq(name, state.recent->name) && (s = format(state.recent, path, value, flags, conferror)))
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | adt_token.c | 625 * The format string, normally null, is sort of a wrapper around 627 * handles the format string 632 #define WRITE_TEXT(handle, val, format) { \ 633 if (asprintf(&cvt, format, val) != -1) { \ 644 struct adt_event_state *event, char *format) 656 * -- store as longs and format them in praudit. 678 format != NULL ? format : "%s"); 710 format != NULL ? format 643 adt_to_text(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument 855 adt_to_uauth(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument 881 adt_to_user(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument 911 adt_to_xclient(datadef *def, void *p_data, int required, struct adt_event_state *event, char *format) argument [all...] |
/osnet-11/usr/src/lib/libsuri/common/ |
H A D | suri.c | 1306 char *format; local 1325 * difficult to translate. So, we must create a format string. 1327 (void) asprintf(&format, "%s: %s", 1329 if (format == NULL) 1337 suri_err_set_action(sh, format, suri_type_to_name(type), mdev); 1338 free(format); 1354 suri_err_set_action(sh, format, suri_type_to_name(type), mdev); 1355 free(format); 1360 free(format);
|
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_crypto.c | 76 parse_format(key_format_t *format, char *s, int len) argument 83 *format = KEY_FORMAT_RAW; 85 *format = KEY_FORMAT_HEX; 88 *format = KEY_FORMAT_PASSPHRASE; 149 keysource_prop_parser(char *prop_value, key_format_t *format, argument 156 *format = KEY_FORMAT_NONE; 174 if (!parse_format(format, s, len)) 210 key_format_t format; local 215 if (!keysource_prop_parser(keysource, &format, &locator, &uri)) 231 size_t *passphraselen, key_format_t format, zfs_cmd_ 230 get_passphrase(libzfs_handle_t *hdl, char **passphrase, size_t *passphraselen, key_format_t format, zfs_cmd_t *zc, zfs_crypto_zckey_t cmd) argument 406 KMF_ENCODE_FORMAT format = KMF_FORMAT_RAWKEY; local 529 key_format_t format; local 1142 key_format_t format; local [all...] |
/osnet-11/usr/src/lib/librestart/common/ |
H A D | librestart.c | 477 mc_error_create(mc_error_t *e, int type, const char *format, ...) argument 484 * If the type is ENOMEM and format is NULL, then 489 if (type == ENOMEM && format == NULL) 499 va_start(args, format); 500 size = vsnprintf(NULL, 0, format, args) + 1; 510 (void) vsnprintf(le->msg, le->size, format, args);
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | name.c | 167 * output variable name in format for re-input 2661 char *format; local 2666 format = "%.*Lg"; 2668 format = "%.*La"; 2670 format = "%.*Lf"; 2671 sfprintf(shp->strbuf,format,nv_size(np),ld); 2677 format = "%.*g"; 2679 format = "%.*a"; 2681 format = "%.*f"; 2682 sfprintf(shp->strbuf,format,nv_siz [all...] |
/osnet-11/usr/src/lib/libkmf/libkmf/common/ |
H A D | certop.c | 1398 * the URI string and the format of the CRL file. The caller should free 1403 char *filename, char **retn_uri, KMF_ENCODE_FORMAT *format) 1416 retn_uri == NULL || format == NULL) 1454 proxy_port, 30, filename, format); 1533 KMF_ENCODE_FORMAT format; local 1601 &uri, &format); 2653 kmf_create_cert_file(const KMF_DATA *certdata, KMF_ENCODE_FORMAT format, argument 2663 if (format != KMF_FORMAT_PEM && format != KMF_FORMAT_ASN1) 2666 if (format 1402 cert_get_crl(KMF_HANDLE_T handle, const KMF_DATA *cert, char *proxy, char *filename, char **retn_uri, KMF_ENCODE_FORMAT *format) argument [all...] |
/osnet-11/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 2399 KMF_ENCODE_FORMAT format; local 2417 /* Check the cert file and auto-detect the file format of it. */ 2418 ret = kmf_is_cert_file(handle, certfile, &format); 2428 * If the imported cert is in PEM format, convert it to 2429 * DER format in order to store it in NSS token. 2431 if (format == KMF_FORMAT_PEM) { 2449 if (format == KMF_FORMAT_PEM) { 2466 KMF_ENCODE_FORMAT format; local 2490 * the encoded format of the file. 2492 ret = kmf_is_crl_file(handle, crlfilename, &format); [all...] |
/osnet-11/usr/src/lib/libpam/ |
H A D | pam_framework.c | 234 * format and args = message to print (PAM[<pid>]: is prepended). 241 pam_trace(int flag, char *format, ...) argument 252 (long)getpid(), format); 253 va_start(args, format); 263 * format and args = message to log 267 __pam_log(int priority, const char *format, ...) argument 272 va_start(args, format); 273 (void) vsyslog(priority, format, args); 2386 * PAM policy files in either pam.conf(4) format or the 2387 * per-service format o [all...] |
/osnet-11/usr/src/lib/libpool/common/ |
H A D | pool_internal.c | 1519 * like format string and then an appropriate number of parameters for the 1520 * specified format. The character buffer is automatically resized to fit 1545 * like format string and then an appropriate number of parameters for the 1546 * specified format. The character buffer is automatically resized to fit 1726 do_dprintf(const char *format, va_list ap) argument 1730 (void) vfprintf(stderr, format, ap); 1736 dprintf(const char *format, ...) argument 1740 va_start(alist, format); 1741 do_dprintf(format, alist);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | find.c | 281 "File is written as a binary format \bcpio\b(1) file entry.", 316 "fprintf", FPRINTF, File|Stat, 1, "file format", 0, 348 "List the current file in `ls -dils' format to the standard output.", 373 "File is written as a character format \bcpio\b(1) file entry.", 410 "printf", PRINTF, Str|Stat, 1, "format", 420 "[+----- format directives -----?]" 422 "[+%a?access time in \bctime\b(3) format]" 423 "[+%Ac?access time is \bstrftime\b(3) %\ac\a format]" 425 "[+%c?status change time in \bctime\b(3) format]" 426 "[+%Cc?status change time is \bstrftime\b(3) %\ac\a format]" 736 format(State_t* state, register char* s) function [all...] |
H A D | ls.c | 61 " when \b%(\b\akey\a\b)\b is specified in \b--format\b. \akey\a may" 62 " override internal \b--format\b identifiers.]:[key[=value]]]" 69 "[Z:format?Append to the listing format string. \aformat\a follows" 76 " and \asubformat\as are:]:[format]{" 118 " \b--format=\"%8(mtime)u %(ctime:time=%H:%M:%S)s\"\b" 130 "[l:long|verbose?Use a long listing format.]" 206 "[103:dump?Print the generated \b--format\b string on the standard output" 208 "[104:testdate?\b--format\b time values newer than \adate\a will be printed" 333 unsigned long testdate; /* --format tes 343 char* format; /* sfkeyprintf() format */ member in struct:__anon1493 [all...] |
/osnet-11/usr/src/lib/libdisasm/sparc/ |
H A D | dis_sparc_fmt.c | 67 * Generally, instructions found in the same table use the same output format 70 * radically enough from those in the same table, that their own format 73 * Typically each table has a unique format function defined in this file. In 77 * as to when a new format function is defined. 750 * format: call address <name> 959 * format: casa/casxa [%rs1] imm_asi, %rs2, %rd 1023 * format a load/store instruction 1024 * format: ldXX [%rs1 + %rs2], %rd load, i==0 2359 * format indicates if it is: 2366 prt_imm(dis_handle_t *dhp, uint32_t val, int format) argument [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_consume.c | 823 dt_print_stack(dtrace_hdl_t *dtp, FILE *fp, const char *format, argument 835 if (format == NULL) 836 format = "%s"; 890 if (dt_printf(dtp, fp, format, c) < 0) 901 dt_print_ustack(dtrace_hdl_t *dtp, FILE *fp, const char *format, argument 926 if (format == NULL) 927 format = "%s"; 993 if ((err = dt_printf(dtp, fp, format, c)) < 0) 1011 if ((err = dt_printf(dtp, fp, format, c)) < 0) 1040 const char *format local 1070 dt_print_umod(dtrace_hdl_t *dtp, FILE *fp, const char *format, caddr_t addr) argument 1113 dt_print_sym(dtrace_hdl_t *dtp, FILE *fp, const char *format, caddr_t addr) argument 1149 dt_print_mod(dtrace_hdl_t *dtp, FILE *fp, const char *format, caddr_t addr) argument [all...] |
H A D | dt_parser.c | 117 int yyintdecimal; /* int token format flag (1=decimal, 0=octal/hex) */ 4855 dnerror(const dt_node_t *dnp, dt_errtag_t tag, const char *format, ...) argument 4862 va_start(ap, format); 4863 xyvwarn(tag, format, ap); 4872 dnwarn(const dt_node_t *dnp, dt_errtag_t tag, const char *format, ...) argument 4879 va_start(ap, format); 4880 xyvwarn(tag, format, ap); 4888 xyerror(dt_errtag_t tag, const char *format, ...) argument 4892 va_start(ap, format); 4893 xyvwarn(tag, format, a 4901 xywarn(dt_errtag_t tag, const char *format, ...) argument 4911 xyvwarn(dt_errtag_t tag, const char *format, va_list ap) argument 4922 yyerror(const char *format, ...) argument 4935 yywarn(const char *format, ...) argument 4945 yyvwarn(const char *format, va_list ap) argument [all...] |
H A D | dt_printf.c | 230 pfprint_sint(dtrace_hdl_t *dtp, FILE *fp, const char *format, argument 238 return (dt_printf(dtp, fp, format, 241 return (dt_printf(dtp, fp, format, 244 return (dt_printf(dtp, fp, format, 247 return (dt_printf(dtp, fp, format, 256 pfprint_uint(dtrace_hdl_t *dtp, FILE *fp, const char *format, argument 263 return (dt_printf(dtp, fp, format, 266 return (dt_printf(dtp, fp, format, 269 return (dt_printf(dtp, fp, format, 272 return (dt_printf(dtp, fp, format, 280 pfprint_dint(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 291 pfprint_fp(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 314 pfprint_addr(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 342 pfprint_mod(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 350 pfprint_umod(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 358 pfprint_uaddr(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 395 pfprint_stack(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *vaddr, size_t size, uint64_t normal) argument 446 pfprint_time(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 484 pfprint_time822(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 499 pfprint_port(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 515 pfprint_inetaddr(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 542 pfprint_cstr(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 554 pfprint_wstr(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 566 pfprint_estr(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 581 pfprint_echr(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 605 pfprint_pct(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 810 char *format; local 1261 pfprint_average(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 1275 pfprint_stddev(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 1289 pfprint_quantize(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 1297 pfprint_lquantize(dtrace_hdl_t *dtp, FILE *fp, const char *format, const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal) argument 1313 char format[64] = "%"; local 1776 char *format = alloca(formatlen); local [all...] |
/osnet-11/usr/src/lib/fm/libdisklog/common/ |
H A D | libdisklog.c | 66 dl_fprintf(FILE *stream, const char *format, ...) argument 71 va_start(args, format); 72 ret = vfprintf(stream, format, args);
|
/osnet-11/usr/src/lib/libadr/common/ |
H A D | adr.c | 520 adr_data_new_fstring(const char *format, ...) argument 527 va_start(args, format); 528 r = vasprintf(&str, format, args);
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | vasnprintf.c | 20 FCHAR_T The element type of the format string. 23 in the format string are ASCII. MUST be set if 25 DIRECTIVE Structure denoting a format directive. 27 DIRECTIVES Structure denoting the set of format directives of a 28 format string. Depends on FCHAR_T. 29 PRINTF_PARSE Function that parses a format string. 1744 const FCHAR_T *format, va_list args) 1749 if (PRINTF_PARSE (format, &d, &a) < 0) 1839 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) 1848 need that the format strin 1743 VASNPRINTF(DCHAR_T *resultbuf, size_t *lengthp, const FCHAR_T *format, va_list args) argument [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 402 static char format[MAX_FORMAT]; local 486 /* Construct the format string */ 487 (void) snprintf(format, MAX_FORMAT, "%%-%ds %%-%ds", 496 format, rcm_info_rsrc(tuple),
|
/osnet-11/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 372 char *format; member in struct:error_sum_cb_arg 384 char *format = sumarg->format; local 392 format, hp_name(node), hp_usage(node)); 414 static char format[MAX_FORMAT]; local 498 /* Construct the format string */ 499 (void) snprintf(format, MAX_FORMAT, "%%-%ds %%-%ds", 504 sumarg.format = format; 791 char *format; local [all...] |