/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | errormsgs.c | 127 (void) sprintf(err_msg, in g_get_errString() 139 (void) sprintf(err_msg, in g_get_errString() 145 (void) sprintf(err_msg, in g_get_errString() 152 (void) sprintf(err_msg, in g_get_errString() 159 (void) sprintf(err_msg, in g_get_errString() 166 (void) sprintf(err_msg, in g_get_errString() 173 (void) sprintf(err_msg, in g_get_errString() 181 (void) sprintf(err_msg, in g_get_errString() 189 (void) sprintf(err_msg, in g_get_errString() 195 (void) sprintf(err_msg, in g_get_errString() [all …]
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | errormsgs.c | 140 (void) sprintf(err_msg, in get_errString() 152 (void) sprintf(err_msg, in get_errString() 158 (void) sprintf(err_msg, in get_errString() 165 (void) sprintf(err_msg, in get_errString() 172 (void) sprintf(err_msg, in get_errString() 179 (void) sprintf(err_msg, in get_errString() 186 (void) sprintf(err_msg, in get_errString() 194 (void) sprintf(err_msg, in get_errString() 202 (void) sprintf(err_msg, in get_errString() 208 (void) sprintf(err_msg, in get_errString() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_netbios.c | 103 sprintf(get_line(0, 0), " - Broadcast"); in print_flag_details() 105 sprintf(get_line(0, 0), " - Recursion Available"); in print_flag_details() 107 sprintf(get_line(0, 0), " - Recursion Desired"); in print_flag_details() 109 sprintf(get_line(0, 0), " - Truncation Flag"); in print_flag_details() 111 sprintf(get_line(0, 0), " - Authoritative Answer"); in print_flag_details() 125 sprintf(errortype, "Success"); in getrcodeerr() 128 sprintf(errortype, "Format Error"); in getrcodeerr() 131 sprintf(errortype, "Server Failure"); in getrcodeerr() 134 sprintf(errortype, "Name Error"); in getrcodeerr() 137 sprintf(errortype, "Unsupported Request Error"); in getrcodeerr() [all …]
|
H A D | snoop_socks.c | 61 (void) sprintf(cp, 68 (void) sprintf(cp, " User="); 87 (void) sprintf(cp, "SOCKS4 OP=%u", n); 93 (void) sprintf(cp, 104 (void) sprintf(cp, 119 (void) sprintf(cp, "SOCKS5 %s ", cmd); 125 (void) sprintf(cp, "SOCKS (send data): %s", 130 (void) sprintf(cp, "SOCKS (send data): %s", 134 (void) sprintf(cp, "SOCKS (send data): %s", 147 (void) sprintf(cp, "Version = 4"); [all …]
|
H A D | snoop_nfs3.c | 176 (void) sprintf(line, "NFS C %s", 185 (void) sprintf(line, sum_nfsfh3()); 188 (void) sprintf(line, sum_nfsfh3()); 195 (void) sprintf(line, "%s Cookie=%llu for %lu", 203 (void) sprintf(line, 209 (void) sprintf(line, "%s (%s)", 217 (void) sprintf(line, "%s %s", 224 (void) sprintf(line, "%s (%s) %s", 231 (void) sprintf(line, "%s (%s) %s", 238 (void) sprintf(line, "%s at %llu for %lu", [all …]
|
H A D | snoop_ppp.c | 333 (void) sprintf(get_sum_line(), in interpret_ppp() 338 (void) sprintf(get_line(0, 0), "Protocol = 0x%x (%s)", in interpret_ppp() 381 (void) sprintf(get_sum_line(), in interpret_ppp_cp() 387 (void) sprintf(get_line(0, 0), "Code = %d %s", code, codestr); in interpret_ppp_cp() 388 (void) sprintf(get_line(0, 0), "Identifier = %d", id); in interpret_ppp_cp() 389 (void) sprintf(get_line(0, 0), "Length = %d", length); in interpret_ppp_cp() 408 (void) sprintf(get_line(0, 0), "Magic-Number = 0x%08x", in interpret_ppp_cp() 419 (void) sprintf(get_line(0, 0), "OUI = 0x%06x (%s)", in interpret_ppp_cp() 421 (void) sprintf(get_line(0, 0), "Kind = %d", kind); in interpret_ppp_cp() 443 (void) sprintf(get_line(0, 0), "Data = %.*s", in interpret_ppp_cp() [all …]
|
H A D | snoop_solarnet.c | 100 (void) sprintf(line, in interpret_solarnet_fw() 107 (void) sprintf(line, " %s", in interpret_solarnet_fw() 110 (void) sprintf(line, "/%s", in interpret_solarnet_fw() 115 (void) sprintf(line, ".%s", buff); in interpret_solarnet_fw() 121 (void) sprintf(line, " (all)"); in interpret_solarnet_fw() 123 (void) sprintf(line, " %lu", thresh); in interpret_solarnet_fw() 131 (void) sprintf(line, " %s", op); in interpret_solarnet_fw() 135 (void) sprintf(line, " (all)"); in interpret_solarnet_fw() 137 (void) sprintf(line, " %lu", thresh); in interpret_solarnet_fw() 144 (void) sprintf(line, " %s", op); in interpret_solarnet_fw() [all …]
|
H A D | snoop_nfs_acl.c | 210 (void) sprintf(line, "NFS_ACL C %s", in interpret_nfs_acl2() 217 (void) sprintf(line, "%s mask=0x%lx", fh, mask); in interpret_nfs_acl2() 220 (void) sprintf(line, sum_nfsfh()); in interpret_nfs_acl2() 223 (void) sprintf(line, sum_nfsfh()); in interpret_nfs_acl2() 227 (void) sprintf(line, "%s (%s)", fh, in interpret_nfs_acl2() 232 (void) sprintf(line, "%s create=%s", fh, in interpret_nfs_acl2() 241 (void) sprintf(line, "NFS_ACL R %s ", in interpret_nfs_acl2() 258 (void) sprintf(line, " (%s)", in interpret_nfs_acl2() 265 (void) sprintf(line, sum_nfsfh()); in interpret_nfs_acl2() 277 (void) sprintf(get_line(0, 0), "Proc = %d (%s)", in interpret_nfs_acl2() [all …]
|
H A D | snoop_nis.c | 142 (void) sprintf(line, "NISBIND C %s", in interpret_nisbind() 149 (void) sprintf(line, " %s", in interpret_nisbind() 153 (void) sprintf(line, " %s", in interpret_nisbind() 161 (void) sprintf(line, "NISBIND R %s ", in interpret_nisbind() 173 (void) sprintf(line, "ERROR=%s", in interpret_nisbind() 192 (void) sprintf(get_line(0, 0), "Proc = %d (%s)", in interpret_nisbind() 218 (void) sprintf(get_line(0, 0), in interpret_nisbind() 227 (void) sprintf(get_line(0, 0), in interpret_nisbind() 262 (void) sprintf(line, "NIS C %d", proc); in interpret_nis() 264 (void) sprintf(line, "NIS C %s", in interpret_nis() [all …]
|
H A D | snoop_ntp.c | 98 (void) sprintf(get_sum_line(), in interpret_ntp() 105 (void) sprintf(get_sum_line(), in interpret_ntp() 115 (void) sprintf(get_sum_line(), in interpret_ntp() 133 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode - in interpret_ntp() 138 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode - in interpret_ntp() 141 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode - in interpret_ntp() 146 (void) sprintf(get_line((char *)(uintptr_t)ntp->stratum - in interpret_ntp() 153 (void) sprintf(get_line((char *)(uintptr_t)ntp->ppoll - in interpret_ntp() 155 (void) sprintf(get_line((char *)(uintptr_t)ntp->precision - in interpret_ntp() 159 (void) sprintf(get_line( in interpret_ntp() [all …]
|
H A D | snoop_dhcp.c | 140 (void) sprintf(get_sum_line(), in interpret_dhcp() 145 (void) sprintf(get_sum_line(), in interpret_dhcp() 149 (void) sprintf(get_sum_line(), in interpret_dhcp() 159 (void) sprintf(get_line((char *)(uintptr_t)dp->htype - in interpret_dhcp() 163 (void) sprintf(get_line((char *)(uintptr_t)dp->hlen - in interpret_dhcp() 166 (void) sprintf(get_line((char *)(uintptr_t)dp->hops - in interpret_dhcp() 169 (void) sprintf(get_line((char *)(uintptr_t)dp->xid - in interpret_dhcp() 172 (void) sprintf(get_line((char *)(uintptr_t)dp->secs - in interpret_dhcp() 175 (void) sprintf(get_line((char *)(uintptr_t)dp->flags - in interpret_dhcp() 178 (void) sprintf(get_line((char *)&dp->ciaddr - dlc_header, 4), in interpret_dhcp() [all …]
|
H A D | snoop_tcp.c | 141 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_sport - in interpret_tcp() 151 (void) sprintf(buff, "(%s)", pname); in interpret_tcp() 155 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_dport - in interpret_tcp() 158 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_seq - in interpret_tcp() 161 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_ack - dlc_header, 4), in interpret_tcp() 164 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_ack - dlc_header) + in interpret_tcp() 166 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp() 168 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp() 172 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp() 175 (void) sprintf( in interpret_tcp() [all …]
|
H A D | snoop_icmp.c | 90 (void) sprintf(buff, "ID: %d Sequence number: %d", in interpret_icmp() 99 (void) sprintf(buff, "Net %s unreachable", in interpret_icmp() 109 (void) sprintf(buff, "Host %s unreachable", in interpret_icmp() 119 (void) sprintf(buff, "Bad protocol %d", in interpret_icmp() 132 (void) sprintf(buff, "TCP port %d" in interpret_icmp() 138 (void) sprintf(buff, "UDP port %d" in interpret_icmp() 153 (void) sprintf(buff, "Needed to fragment:" in interpret_icmp() 219 (void) sprintf(buff, "%s %s to %s", in interpret_icmp() 226 (void) sprintf(buff, "ID: %d Sequence number: %d", in interpret_icmp() 237 (void) sprintf(buff, "Lifetime %ds [%d]:", in interpret_icmp() [all …]
|
H A D | snoop_nfs.c | 143 (void) sprintf(line, 152 (void) sprintf(line, sum_nfsfh()); 160 (void) sprintf(line, "%s %s", 170 (void) sprintf(line, "%s at %d for %d", 175 (void) sprintf(line, "%s %s", 180 (void) sprintf(line, " to%s %s", 186 (void) sprintf(line, "%s", fh); 189 (void) sprintf(line, " to%s %s", 195 (void) sprintf(line, "%s %s", 199 (void) sprintf(line, " to %s", [all …]
|
H A D | snoop_mip.c | 161 (void) sprintf(&buf[index * 3], " %.2x", payload[index]); in dumphex() 164 (void) sprintf(get_line((char *)payload-dlc_header, 1), msg, buf); in dumphex() 238 (void) sprintf(get_line((char *)exthdr-dlc_header, 1), in interpret_extensions() 244 (void) sprintf(get_line((char *)exthdr-dlc_header, 1), in interpret_extensions() 255 (void) sprintf(get_line((char *)&exthdr->length-dlc_header, 1), in interpret_extensions() 495 (void) sprintf(line, "Mobile IP %s(%s)", pt, pc); in interpret_mip_cntrlmsg() 497 (void) sprintf(line, "Mobile IP %s", pt); in interpret_mip_cntrlmsg() 505 (void) sprintf(get_line((char *)&rreq - in interpret_mip_cntrlmsg() 508 (void) sprintf(get_line( in interpret_mip_cntrlmsg() 513 (void) sprintf(get_line( in interpret_mip_cntrlmsg() [all …]
|
H A D | snoop_slp.c | 272 sprintf(get_line(0, 0), " \"%s\"", p); in slp_prevresp() 443 sprintf(get_line(0, 0), "%s: length = -1: Use all NAs", tag); in slp_field() 447 sprintf(get_line(0, 0), "%s: length = %d", tag, length); in slp_field() 450 sprintf(get_line(0, 0), in slp_field() 474 sprintf(get_line(0, 0), " \"%s\"", buf); in slp_field() 510 sprintf(get_line(0, 0), in slpv2_url() 515 sprintf(get_line(0, 0), in slpv2_url() 522 sprintf(get_line(0, 0), in slpv2_url() 533 sprintf(get_line(0, 0), " \"%s\"", buf); in slpv2_url() 546 sprintf(get_line(0, 0), "%d Authentication Blocks", n); in slpv2_url() [all …]
|
H A D | snoop_pmap.c | 132 (void) sprintf(line, "PORTMAP C %s", 140 (void) sprintf(line, 147 (void) sprintf(line, 165 (void) sprintf(line, "PORTMAP R %s ", 171 (void) sprintf(line, "port=%d", port); 174 (void) sprintf(line, "%s", sum_pmaplist()); 179 (void) sprintf(line, "port=%d len=%d", 203 (void) sprintf(get_line(0, 0), 214 (void) sprintf(get_line(0, 0), 219 (void) sprintf(get_line(0, 0), [all …]
|
H A D | snoop_rpcsec.c | 107 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred() 110 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred() 115 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred() 118 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred() 125 sprintf(line, " handle: length = %d, data = [%s]", in print_rpcsec_gss_cred() 161 (void) sprintf(get_sum_line(), "%s %c seq_num = %u", in rpcsec_gss_pre_proto() 165 sprintf(get_line(0, 0), in rpcsec_gss_pre_proto() 176 sprintf(prognum, "%d", prog); in rpcsec_gss_pre_proto() 181 (void) sprintf(get_sum_line(), in rpcsec_gss_pre_proto() 189 sprintf(get_line(0, 0), in rpcsec_gss_pre_proto() [all …]
|
H A D | snoop_mount.c | 115 (void) sprintf(line, "MOUNT%d C %s", 121 (void) sprintf(line, " %s", 131 (void) sprintf(line, " %s", 142 (void) sprintf(line, "MOUNT%d R %s ", 153 (void) sprintf(line, sum_mounts()); 157 (void) sprintf(line, "reply"); 168 (void) sprintf(line, sum_exports()); 175 (void) sprintf(line, sum_ppathcnf()); 191 (void) sprintf(get_line(0, 0), 313 (void) sprintf(get_line(0, 0), "Status = %d (%s)", status, str); in detail_mountstat() [all …]
|
H A D | snoop_nfs4.c | 701 (void) sprintf(line, "NFS C %s", in interpret_nfs4_cb() 711 sprintf(line, " (%.20s) %s", in interpret_nfs4_cb() 718 (void) sprintf(line, "NFS R %s ", in interpret_nfs4_cb() 730 (void) sprintf(get_line(0, 0), "Proc = %d (%s)", in interpret_nfs4_cb() 741 sprintf(get_line(0, 0), "Status = %d (%s)", in interpret_nfs4_cb() 771 (void) sprintf(line, "NFS C %s", in interpret_nfs4() 781 sprintf(line, " (%.20s) %s", in interpret_nfs4() 788 (void) sprintf(line, "NFS R %s ", in interpret_nfs4() 801 (void) sprintf(get_line(0, 0), "Proc = %d (%s)", in interpret_nfs4() 812 sprintf(get_line(0, 0), "Status = %d (%s)", in interpret_nfs4() [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | iexpand.c | 76 (void) sprintf(retptr, "\\%.3o", c); retptr += 4; } in iexpand() 78 (void) sprintf(retptr, "\\E"); retptr += 2; } in iexpand() 80 (void) sprintf(retptr, "\\t"); retptr += 2; } in iexpand() 82 (void) sprintf(retptr, "\\b"); retptr += 2; } in iexpand() 84 (void) sprintf(retptr, "\\f"); retptr += 2; } in iexpand() 86 (void) sprintf(retptr, "\\n"); retptr += 2; } in iexpand() 88 (void) sprintf(retptr, "\\r"); retptr += 2; } in iexpand() 90 (void) sprintf(retptr, "\\,"); retptr += 2; } in iexpand() 92 (void) sprintf(retptr, "\\^"); retptr += 2; } in iexpand() 94 (void) sprintf(retptr, BACKBACK); retptr += 2; } in iexpand() [all …]
|
H A D | cexpand.c | 148 (void) sprintf(padbuffer, "%d.%d", paddigits, paddecimal); in rmpadding() 150 (void) sprintf(padbuffer, "%d", paddigits); in rmpadding() 152 (void) sprintf(padbuffer, ".%d", paddecimal); in rmpadding() 182 (void) sprintf(retptr, "\\%.3o", c); retptr += 4; } in cconvert() 184 (void) sprintf(retptr, "\\E"); retptr += 2; } in cconvert() 186 (void) sprintf(retptr, "\\t"); retptr += 2; } in cconvert() 188 (void) sprintf(retptr, "\\b"); retptr += 2; } in cconvert() 190 (void) sprintf(retptr, "\\f"); retptr += 2; } in cconvert() 192 (void) sprintf(retptr, "\\n"); retptr += 2; } in cconvert() 194 (void) sprintf(retptr, "\\r"); retptr += 2; } in cconvert() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslog_elf.c | 499 (void) sprintf(timestr, "%02d:%02d:%02d", in nfsl_get_time() 518 (void) sprintf(timestr, "\"%04d-%02d-%02d %02d:%02d:%02d\"", in nfsl_get_date() 541 (void) sprintf(timestr, "%04d-%02d-%02d %02d:%02d:%02d", in nfsl_get_date_nq() 628 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_diropargs_print() 631 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s", in nfslog_diropargs_print() 646 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_sattr_print() 650 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_sattr_print() 654 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_sattr_print() 658 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_sattr_print() 662 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_sattr_print() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_perr.c | 138 (void) sprintf(str, "%s: ", s); in clnt_sperror() 165 (void) sprintf(str, "; %s", netdir_sperror()); in clnt_sperror() 171 (void) sprintf(str, "; %s", t_errlist[e.re_terrno]); in clnt_sperror() 173 (void) sprintf(str, "; %d", e.re_terrno); in clnt_sperror() 178 (void) sprintf(str, "; %s", strerror(e.re_errno)); in clnt_sperror() 180 (void) sprintf(str, "; %d", e.re_errno); in clnt_sperror() 189 (void) sprintf(str, "; errno = %s", in clnt_sperror() 192 (void) sprintf(str, "; errno = %d", e.re_errno); in clnt_sperror() 198 (void) sprintf(str, "; %s", t_errlist[e.re_terrno]); in clnt_sperror() 200 (void) sprintf(str, "; %d", e.re_terrno); in clnt_sperror() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf.c | 69 (void) sprintf(errmsg, in ibmf_register() 78 (void) sprintf(errmsg, "Bad version"); in ibmf_register() 87 (void) sprintf(errmsg, "Bad flags"); in ibmf_register() 96 (void) sprintf(errmsg, "invalid class"); in ibmf_register() 107 (void) sprintf(errmsg, "guid/port validation failed"); in ibmf_register() 135 (void) sprintf(errmsg, in ibmf_register() 243 (void) sprintf(errmsg, in ibmf_unregister() 252 (void) sprintf(errmsg, "bad ibmf registration handle"); in ibmf_unregister() 260 (void) sprintf(errmsg, "bad client signature"); in ibmf_unregister() 355 (void) sprintf(errmsg, in ibmf_setup_async_cb() [all …]
|