Home
last modified time | relevance | path

Searched refs:sprintf (Results 1 – 25 of 1291) sorted by relevance

12345678910>>...52

/titanic_41/usr/src/lib/storage/libg_fc/common/
H A Derrormsgs.c127 (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 …]
/titanic_41/usr/src/cmd/luxadm/
H A Derrormsgs.c140 (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 …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_netbios.c104 sprintf(get_line(0, 0), " - Broadcast"); in print_flag_details()
106 sprintf(get_line(0, 0), " - Recursion Available"); in print_flag_details()
108 sprintf(get_line(0, 0), " - Recursion Desired"); in print_flag_details()
110 sprintf(get_line(0, 0), " - Truncation Flag"); in print_flag_details()
112 sprintf(get_line(0, 0), " - Authoritative Answer"); in print_flag_details()
126 sprintf(errortype, "Success"); in getrcodeerr()
129 sprintf(errortype, "Format Error"); in getrcodeerr()
132 sprintf(errortype, "Server Failure"); in getrcodeerr()
135 sprintf(errortype, "Name Error"); in getrcodeerr()
138 sprintf(errortype, "Unsupported Request Error"); in getrcodeerr()
[all …]
H A Dsnoop_socks.c63 (void) sprintf(cp,
70 (void) sprintf(cp, " User=");
89 (void) sprintf(cp, "SOCKS4 OP=%u", n);
95 (void) sprintf(cp,
106 (void) sprintf(cp,
121 (void) sprintf(cp, "SOCKS5 %s ", cmd);
127 (void) sprintf(cp, "SOCKS (send data): %s",
132 (void) sprintf(cp, "SOCKS (send data): %s",
136 (void) sprintf(cp, "SOCKS (send data): %s",
149 (void) sprintf(cp, "Version = 4");
[all …]
H A Dsnoop_nfs3.c176 (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 Dsnoop_solarnet.c102 (void) sprintf(line, in interpret_solarnet_fw()
109 (void) sprintf(line, " %s", in interpret_solarnet_fw()
112 (void) sprintf(line, "/%s", in interpret_solarnet_fw()
117 (void) sprintf(line, ".%s", buff); in interpret_solarnet_fw()
123 (void) sprintf(line, " (all)"); in interpret_solarnet_fw()
125 (void) sprintf(line, " %lu", thresh); in interpret_solarnet_fw()
133 (void) sprintf(line, " %s", op); in interpret_solarnet_fw()
137 (void) sprintf(line, " (all)"); in interpret_solarnet_fw()
139 (void) sprintf(line, " %lu", thresh); in interpret_solarnet_fw()
146 (void) sprintf(line, " %s", op); in interpret_solarnet_fw()
[all …]
H A Dsnoop_ppp.c335 (void) sprintf(get_sum_line(), in interpret_ppp()
340 (void) sprintf(get_line(0, 0), "Protocol = 0x%x (%s)", in interpret_ppp()
383 (void) sprintf(get_sum_line(), in interpret_ppp_cp()
389 (void) sprintf(get_line(0, 0), "Code = %d %s", code, codestr); in interpret_ppp_cp()
390 (void) sprintf(get_line(0, 0), "Identifier = %d", id); in interpret_ppp_cp()
391 (void) sprintf(get_line(0, 0), "Length = %d", length); in interpret_ppp_cp()
410 (void) sprintf(get_line(0, 0), "Magic-Number = 0x%08x", in interpret_ppp_cp()
421 (void) sprintf(get_line(0, 0), "OUI = 0x%06x (%s)", in interpret_ppp_cp()
423 (void) sprintf(get_line(0, 0), "Kind = %d", kind); in interpret_ppp_cp()
445 (void) sprintf(get_line(0, 0), "Data = %.*s", in interpret_ppp_cp()
[all …]
H A Dsnoop_nfs_acl.c210 (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 Dsnoop_ntp.c100 (void) sprintf(get_sum_line(), in interpret_ntp()
107 (void) sprintf(get_sum_line(), in interpret_ntp()
117 (void) sprintf(get_sum_line(), in interpret_ntp()
135 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode - in interpret_ntp()
140 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode - in interpret_ntp()
143 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode - in interpret_ntp()
148 (void) sprintf(get_line((char *)(uintptr_t)ntp->stratum - in interpret_ntp()
155 (void) sprintf(get_line((char *)(uintptr_t)ntp->ppoll - in interpret_ntp()
157 (void) sprintf(get_line((char *)(uintptr_t)ntp->precision - in interpret_ntp()
161 (void) sprintf(get_line( in interpret_ntp()
[all …]
H A Dsnoop_dhcp.c138 (void) sprintf(get_sum_line(), in interpret_dhcp()
143 (void) sprintf(get_sum_line(), in interpret_dhcp()
147 (void) sprintf(get_sum_line(), in interpret_dhcp()
157 (void) sprintf(get_line((char *)(uintptr_t)dp->htype - in interpret_dhcp()
161 (void) sprintf(get_line((char *)(uintptr_t)dp->hlen - in interpret_dhcp()
164 (void) sprintf(get_line((char *)(uintptr_t)dp->hops - in interpret_dhcp()
167 (void) sprintf(get_line((char *)(uintptr_t)dp->xid - in interpret_dhcp()
170 (void) sprintf(get_line((char *)(uintptr_t)dp->secs - in interpret_dhcp()
173 (void) sprintf(get_line((char *)(uintptr_t)dp->flags - in interpret_dhcp()
176 (void) sprintf(get_line((char *)&dp->ciaddr - dlc_header, 4), in interpret_dhcp()
[all …]
H A Dsnoop_nis.c146 (void) sprintf(line,
154 (void) sprintf(line, " %s",
158 (void) sprintf(line, " %s",
166 (void) sprintf(line, "NISBIND R %s ",
178 (void) sprintf(line, "ERROR=%s",
197 (void) sprintf(get_line(0, 0),
224 (void) sprintf(get_line(0, 0),
235 (void) sprintf(get_line(0, 0),
273 (void) sprintf(line, "NIS C %d", proc);
275 (void) sprintf(line,
[all …]
H A Dsnoop_tcp.c141 (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(get_line(((char *)(uintptr_t)tcp->th_flags - in interpret_tcp()
[all …]
H A Dsnoop_nfs.c145 (void) sprintf(line,
154 (void) sprintf(line, sum_nfsfh());
162 (void) sprintf(line, "%s %s",
172 (void) sprintf(line, "%s at %d for %d",
177 (void) sprintf(line, "%s %s",
182 (void) sprintf(line, " to%s %s",
188 (void) sprintf(line, "%s", fh);
191 (void) sprintf(line, " to%s %s",
197 (void) sprintf(line, "%s %s",
201 (void) sprintf(line, " to %s",
[all …]
H A Dsnoop_mip.c163 (void) sprintf(&buf[index * 3], " %.2x", payload[index]); in dumphex()
166 (void) sprintf(get_line((char *)payload-dlc_header, 1), msg, buf); in dumphex()
240 (void) sprintf(get_line((char *)exthdr-dlc_header, 1), in interpret_extensions()
246 (void) sprintf(get_line((char *)exthdr-dlc_header, 1), in interpret_extensions()
257 (void) sprintf(get_line((char *)&exthdr->length-dlc_header, 1), in interpret_extensions()
497 (void) sprintf(line, "Mobile IP %s(%s)", pt, pc); in interpret_mip_cntrlmsg()
499 (void) sprintf(line, "Mobile IP %s", pt); in interpret_mip_cntrlmsg()
507 (void) sprintf(get_line((char *)&rreq - in interpret_mip_cntrlmsg()
510 (void) sprintf(get_line( in interpret_mip_cntrlmsg()
515 (void) sprintf(get_line( in interpret_mip_cntrlmsg()
[all …]
H A Dsnoop_icmp.c86 (void) sprintf(buff, "ID: %d Sequence number: %d", in interpret_icmp()
95 (void) sprintf(buff, "Net %s unreachable", in interpret_icmp()
105 (void) sprintf(buff, "Host %s unreachable", in interpret_icmp()
115 (void) sprintf(buff, "Bad protocol %d", in interpret_icmp()
128 (void) sprintf(buff, "TCP port %d" in interpret_icmp()
134 (void) sprintf(buff, "UDP port %d" in interpret_icmp()
149 (void) sprintf(buff, "Needed to fragment:" in interpret_icmp()
215 (void) sprintf(buff, "%s %s to %s", in interpret_icmp()
222 (void) sprintf(buff, "ID: %d Sequence number: %d", in interpret_icmp()
233 (void) sprintf(buff, "Lifetime %ds [%d]:", in interpret_icmp()
[all …]
H A Dsnoop_pmap.c132 (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 Dsnoop_slp.c273 sprintf(get_line(0, 0), " \"%s\"", p); in slp_prevresp()
444 sprintf(get_line(0, 0), "%s: length = -1: Use all NAs", tag); in slp_field()
448 sprintf(get_line(0, 0), "%s: length = %d", tag, length); in slp_field()
451 sprintf(get_line(0, 0), in slp_field()
475 sprintf(get_line(0, 0), " \"%s\"", buf); in slp_field()
511 sprintf(get_line(0, 0), in slpv2_url()
516 sprintf(get_line(0, 0), in slpv2_url()
523 sprintf(get_line(0, 0), in slpv2_url()
534 sprintf(get_line(0, 0), " \"%s\"", buf); in slpv2_url()
547 sprintf(get_line(0, 0), "%d Authentication Blocks", n); in slpv2_url()
[all …]
H A Dsnoop_rpcsec.c106 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred()
109 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred()
114 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred()
117 (void) sprintf(get_line(pos, getxdr_pos()), in print_rpcsec_gss_cred()
124 sprintf(line, " handle: length = %d, data = [%s]", in print_rpcsec_gss_cred()
160 (void) sprintf(get_sum_line(), "%s %c seq_num = %u", in rpcsec_gss_pre_proto()
164 sprintf(get_line(0, 0), in rpcsec_gss_pre_proto()
175 sprintf(prognum, "%d", prog); in rpcsec_gss_pre_proto()
180 (void) sprintf(get_sum_line(), in rpcsec_gss_pre_proto()
188 sprintf(get_line(0, 0), in rpcsec_gss_pre_proto()
[all …]
H A Dsnoop_mount.c115 (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 Dsnoop_tftp.c59 (void) sprintf(get_sum_line(), in interpret_tftp()
65 (void) sprintf(get_sum_line(), in interpret_tftp()
69 (void) sprintf(get_sum_line(), in interpret_tftp()
76 (void) sprintf(get_sum_line(), in interpret_tftp()
81 (void) sprintf(get_sum_line(), in interpret_tftp()
92 (void) sprintf(get_line((char *)(uintptr_t)tftp->th_opcode - in interpret_tftp()
103 (void) sprintf( in interpret_tftp()
107 (void) sprintf( in interpret_tftp()
114 (void) sprintf( in interpret_tftp()
119 (void) sprintf(get_line((char *)(uintptr_t)tftp->th_data - in interpret_tftp()
[all …]
/titanic_41/usr/src/lib/libcurses/screen/
H A Diexpand.c78 (void) sprintf(retptr, "\\%.3o", c); retptr += 4; } in iexpand()
80 (void) sprintf(retptr, "\\E"); retptr += 2; } in iexpand()
82 (void) sprintf(retptr, "\\t"); retptr += 2; } in iexpand()
84 (void) sprintf(retptr, "\\b"); retptr += 2; } in iexpand()
86 (void) sprintf(retptr, "\\f"); retptr += 2; } in iexpand()
88 (void) sprintf(retptr, "\\n"); retptr += 2; } in iexpand()
90 (void) sprintf(retptr, "\\r"); retptr += 2; } in iexpand()
92 (void) sprintf(retptr, "\\,"); retptr += 2; } in iexpand()
94 (void) sprintf(retptr, "\\^"); retptr += 2; } in iexpand()
96 (void) sprintf(retptr, BACKBACK); retptr += 2; } in iexpand()
[all …]
H A Dcexpand.c150 (void) sprintf(padbuffer, "%d.%d", paddigits, paddecimal); in rmpadding()
152 (void) sprintf(padbuffer, "%d", paddigits); in rmpadding()
154 (void) sprintf(padbuffer, ".%d", paddecimal); in rmpadding()
184 (void) sprintf(retptr, "\\%.3o", c); retptr += 4; } in cconvert()
186 (void) sprintf(retptr, "\\E"); retptr += 2; } in cconvert()
188 (void) sprintf(retptr, "\\t"); retptr += 2; } in cconvert()
190 (void) sprintf(retptr, "\\b"); retptr += 2; } in cconvert()
192 (void) sprintf(retptr, "\\f"); retptr += 2; } in cconvert()
194 (void) sprintf(retptr, "\\n"); retptr += 2; } in cconvert()
196 (void) sprintf(retptr, "\\r"); retptr += 2; } in cconvert()
[all …]
/titanic_41/usr/src/uts/common/rpc/
H A Dclnt_perr.c140 (void) sprintf(str, "%s: ", s); in clnt_sperror()
167 (void) sprintf(str, "; %s", netdir_sperror()); in clnt_sperror()
173 (void) sprintf(str, "; %s", t_errlist[e.re_terrno]); in clnt_sperror()
175 (void) sprintf(str, "; %d", e.re_terrno); in clnt_sperror()
180 (void) sprintf(str, "; %s", strerror(e.re_errno)); in clnt_sperror()
182 (void) sprintf(str, "; %d", e.re_errno); in clnt_sperror()
191 (void) sprintf(str, "; errno = %s", in clnt_sperror()
194 (void) sprintf(str, "; errno = %d", e.re_errno); in clnt_sperror()
200 (void) sprintf(str, "; %s", t_errlist[e.re_terrno]); in clnt_sperror()
202 (void) sprintf(str, "; %d", e.re_terrno); in clnt_sperror()
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_elf.c501 (void) sprintf(timestr, "%02d:%02d:%02d", in nfsl_get_time()
520 (void) sprintf(timestr, "\"%04d-%02d-%02d %02d:%02d:%02d\"", in nfsl_get_date()
543 (void) sprintf(timestr, "%04d-%02d-%02d %02d:%02d:%02d", in nfsl_get_date_nq()
630 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_diropargs_print()
633 elfbufoffset += sprintf(&elfbuf[elfbufoffset], " %s", in nfslog_diropargs_print()
648 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_sattr_print()
652 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_sattr_print()
656 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_sattr_print()
660 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_sattr_print()
664 elfbufoffset += sprintf(&elfbuf[elfbufoffset], in nfslog_sattr_print()
[all …]
/titanic_41/usr/src/lib/libtnfprobe/
H A Ddebug_funcs.c81 str_len = sprintf(buf_p, "probe %.*s; ", attr_len, attr_start); in tnf_probe_debug()
89 str_len = sprintf(buf_p, "sunw%%debug \"%.*s\"; ", in tnf_probe_debug()
97 (void) sprintf(buf_p, "\n"); in tnf_probe_debug()
117 str_len = sprintf(buf_p, "%.*s=", name_len, name_start); in tnf_probe_debug()
126 str_len = sprintf(buf_p, "<unknown>; "); in tnf_probe_debug()
130 str_len = sprintf(buf_p, "%ld; ", in tnf_probe_debug()
135 str_len = sprintf(buf_p, "%lu; ", in tnf_probe_debug()
141 str_len = sprintf(buf_p, "%lld; ", in tnf_probe_debug()
147 str_len = sprintf(buf_p, "%llu; ", in tnf_probe_debug()
152 str_len = sprintf(buf_p, "%f; ", in tnf_probe_debug()
[all …]

12345678910>>...52