/titanic_50/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_label.c | 45 char *fmtstr; in get_fmtstr() local 57 if ((ret = nvlist_lookup_string(args, "format", &fmtstr)) != 0) { in get_fmtstr() 63 return (fmtstr); in get_fmtstr() 115 char *fmtstr, buf[BUFSZ]; in simple_dimm_label() local 132 if ((fmtstr = get_fmtstr(mod, in)) == NULL) { in simple_dimm_label() 139 (void) snprintf(buf, BUFSZ, fmtstr, in simple_dimm_label() 176 char *fmtstr, *order, buf[BUFSZ]; in simple_dimm_label_mp() local 205 if ((fmtstr = get_fmtstr(mod, in)) == NULL) { in simple_dimm_label_mp() 216 (void) snprintf(buf, BUFSZ, fmtstr, topo_node_instance(chip), in simple_dimm_label_mp() 220 (void) snprintf(buf, BUFSZ, fmtstr, topo_node_instance(chip), in simple_dimm_label_mp() [all …]
|
/titanic_50/usr/src/cmd/awk_xpg4/ |
H A D | awk2.c | 903 adjust_buf(wchar_t **bp, int *len, wchar_t **offset, char *fmtstr, size_t slen) in adjust_buf() argument 910 fmtstr++; in adjust_buf() 911 } while (strchr("-+ 0", *fmtstr) != (char *)0 || *fmtstr == ('#')); in adjust_buf() 912 if (*fmtstr != '*') { in adjust_buf() 913 if (isdigit(*fmtstr)) { in adjust_buf() 914 width = *fmtstr-'0'; in adjust_buf() 915 while (isdigit(*++fmtstr)) in adjust_buf() 916 width = width * 10 + *fmtstr - '0'; in adjust_buf() 919 fmtstr++; in adjust_buf() 920 if (*fmtstr == '.') { in adjust_buf() [all …]
|
/titanic_50/usr/src/lib/fm/topo/modules/common/ipmi/ |
H A D | ipmi_methods.c | 41 char *fmtstr; in get_fmtstr() local 53 if ((ret = nvlist_lookup_string(args, "format", &fmtstr)) != 0) { in get_fmtstr() 59 return (fmtstr); in get_fmtstr() 130 char *fmtstr, buf[BUFSZ]; in ipmi_fru_label() local 147 if ((fmtstr = get_fmtstr(mod, in)) == NULL) { in ipmi_fru_label() 154 (void) snprintf(buf, BUFSZ, fmtstr, in ipmi_fru_label()
|
/titanic_50/usr/src/uts/sun4u/io/ |
H A D | sysioerr.c | 553 char *fmtstr = "!SBus%d CE Primary Error from PIO: " in sysio_log_ce_err() local 557 fmtstr++; in sysio_log_ce_err() 559 cmn_err(CE_CONT, fmtstr, inst, (uint32_t)(t_afsr>>32), in sysio_log_ce_err() 564 char *fmtstr = "!SBus%d CE Primary Error DMA read: " in sysio_log_ce_err() local 569 fmtstr++; in sysio_log_ce_err() 571 cmn_err(CE_CONT, fmtstr, inst, (uint32_t)(t_afsr>>32), in sysio_log_ce_err() 576 char *fmtstr = "!SBus%d CE Primary Error DMA write: " in sysio_log_ce_err() local 580 fmtstr++; in sysio_log_ce_err() 582 cmn_err(CE_CONT, fmtstr, inst, (uint32_t)(t_afsr>>32), in sysio_log_ce_err() 588 char *fmtstr = "!SBus%d CE Secondary Error from PIO: " in sysio_log_ce_err() local [all …]
|
/titanic_50/usr/src/cmd/sgs/tools/common/ |
H A D | sgsmsg.c | 604 const char *fmtstr; in output_data() local 616 fmtstr = (const char *)"static const"; in output_data() 618 fmtstr = (const char *)"const"; in output_data() 621 fmtstr, interface, stbufsize) < 0) { in output_data() 649 fmtstr = "\n\t0x%.2x };\n"; in output_data() 651 fmtstr = " 0x%.2x };\n"; in output_data() 653 if (fprintf(fddata, fmtstr, (unsigned char)stbuf[stbufsize - 1]) < 0) { in output_data()
|
/titanic_50/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-io.c | 332 char buf[ 256 ], *p, *fmtstr; in prldap_try_one_address() local 340 fmtstr = "prldap_try_one_address(): Trying %s:%d...\n"; in prldap_try_one_address() 343 fmtstr = "prldap_try_one_address(): Trying [%s]:%d...\n"; in prldap_try_one_address() 345 fprintf( stderr, fmtstr, p, PR_ntohs( addrp->ipv6.port )); in prldap_try_one_address()
|
/titanic_50/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | bsd-snprintf.c | 69 fmtstr(char *buffer, size_t *currlen, size_t maxlen, char *value, int flags, 312 fmtstr(buffer, &currlen, maxlen, strvalue, flags, min, max); in dopr() 364 fmtstr(char *buffer, size_t *currlen, size_t maxlen, in fmtstr() function
|
/titanic_50/usr/src/lib/libdisasm/common/ |
H A D | dis_sparc_fmt.c | 2226 const char *fmtstr = NULL; in prt_imm() local 2234 fmtstr = (octal != 0) ? "- 0%lo" : "- 0x%lx"; in prt_imm() 2236 fmtstr = (octal != 0) ? "+ 0%lo" : "+ 0x%lx"; in prt_imm() 2243 fmtstr = (octal != 0) ? "-0%lo" : "-0x%lx"; in prt_imm() 2249 fmtstr = (octal != 0) ? "0%lo" : "0x%lx"; in prt_imm() 2252 bprintf(dhp, fmtstr, sv); in prt_imm()
|