Home
last modified time | relevance | path

Searched refs:fmtstr (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_label.c47 char *fmtstr; in get_fmtstr() local
59 if ((ret = nvlist_lookup_string(args, "format", &fmtstr)) != 0) { in get_fmtstr()
65 return (fmtstr); in get_fmtstr()
117 char *fmtstr, buf[BUFSZ]; in simple_dimm_label() local
134 if ((fmtstr = get_fmtstr(mod, in)) == NULL) { in simple_dimm_label()
141 (void) snprintf(buf, BUFSZ, fmtstr, in simple_dimm_label()
178 char *fmtstr, *order, buf[BUFSZ]; in simple_dimm_label_mp() local
207 if ((fmtstr = get_fmtstr(mod, in)) == NULL) { in simple_dimm_label_mp()
218 (void) snprintf(buf, BUFSZ, fmtstr, topo_node_instance(chip), in simple_dimm_label_mp()
222 (void) snprintf(buf, BUFSZ, fmtstr, topo_node_instance(chip), in simple_dimm_label_mp()
[all …]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c901 adjust_buf(wchar_t **bp, int *len, wchar_t **offset, char *fmtstr, size_t slen) in adjust_buf() argument
908 fmtstr++; in adjust_buf()
909 } while (strchr("-+ 0", *fmtstr) != (char *)0 || *fmtstr == ('#')); in adjust_buf()
910 if (*fmtstr != '*') { in adjust_buf()
911 if (isdigit(*fmtstr)) { in adjust_buf()
912 width = *fmtstr-'0'; in adjust_buf()
913 while (isdigit(*++fmtstr)) in adjust_buf()
914 width = width * 10 + *fmtstr - '0'; in adjust_buf()
917 fmtstr++; in adjust_buf()
918 if (*fmtstr == '.') { in adjust_buf()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_methods.c41 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()
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsysioerr.c517 char *fmtstr = "!SBus%d CE Primary Error from PIO: " in sysio_log_ce_err() local
521 fmtstr++; in sysio_log_ce_err()
523 cmn_err(CE_CONT, fmtstr, inst, (uint32_t)(t_afsr>>32), in sysio_log_ce_err()
528 char *fmtstr = "!SBus%d CE Primary Error DMA read: " in sysio_log_ce_err() local
533 fmtstr++; in sysio_log_ce_err()
535 cmn_err(CE_CONT, fmtstr, inst, (uint32_t)(t_afsr>>32), in sysio_log_ce_err()
540 char *fmtstr = "!SBus%d CE Primary Error DMA write: " in sysio_log_ce_err() local
544 fmtstr++; in sysio_log_ce_err()
546 cmn_err(CE_CONT, fmtstr, inst, (uint32_t)(t_afsr>>32), in sysio_log_ce_err()
552 char *fmtstr = "!SBus%d CE Secondary Error from PIO: " in sysio_log_ce_err() local
[all …]
/illumos-gate/usr/src/tools/sgs/sgsmsg/
H A Dsgsmsg.c604 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()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c332 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()
/illumos-gate/usr/src/lib/libdisasm/common/
H A Ddis_sparc_fmt.c2228 const char *fmtstr = NULL; in prt_imm() local
2236 fmtstr = (octal != 0) ? "- 0%lo" : "- 0x%lx"; in prt_imm()
2238 fmtstr = (octal != 0) ? "+ 0%lo" : "+ 0x%lx"; in prt_imm()
2245 fmtstr = (octal != 0) ? "-0%lo" : "-0x%lx"; in prt_imm()
2251 fmtstr = (octal != 0) ? "0%lo" : "0x%lx"; in prt_imm()
2254 bprintf(dhp, fmtstr, sv); in prt_imm()