Searched refs:sprintf (Results 1 - 25 of 1270) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/util-tests/tests/awk/syn/
H A Dsynerr2.awk40 # > ./gawk '/^include / { system(sprintf("cd /etc; cat %s", [$]2)); skip
45 # gawk 'BEGIN {sprintf("%s", $)}'
47 BEGIN { sprintf("%s", $) }
/illumos-gate/usr/src/cmd/luxadm/
H A Derrormsgs.c140 (void) sprintf(err_msg,
152 (void) sprintf(err_msg,
158 (void) sprintf(err_msg,
165 (void) sprintf(err_msg,
172 (void) sprintf(err_msg,
179 (void) sprintf(err_msg,
186 (void) sprintf(err_msg,
194 (void) sprintf(err_msg,
202 (void) sprintf(err_msg,
208 (void) sprintf(err_ms
[all...]
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Derrormsgs.c127 (void) sprintf(err_msg,
139 (void) sprintf(err_msg,
145 (void) sprintf(err_msg,
152 (void) sprintf(err_msg,
159 (void) sprintf(err_msg,
166 (void) sprintf(err_msg,
173 (void) sprintf(err_msg,
181 (void) sprintf(err_msg,
189 (void) sprintf(err_msg,
195 (void) sprintf(err_ms
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Diexpand.c75 /* we ignore the return value from sprintf because BSD/V7 */
78 (void) sprintf(retptr, "\\%.3o", c); retptr += 4; }
80 (void) sprintf(retptr, "\\E"); retptr += 2; }
82 (void) sprintf(retptr, "\\t"); retptr += 2; }
84 (void) sprintf(retptr, "\\b"); retptr += 2; }
86 (void) sprintf(retptr, "\\f"); retptr += 2; }
88 (void) sprintf(retptr, "\\n"); retptr += 2; }
90 (void) sprintf(retptr, "\\r"); retptr += 2; }
92 (void) sprintf(retptr, "\\,"); retptr += 2; }
94 (void) sprintf(retpt
[all...]
H A Dcexpand.c150 (void) sprintf(padbuffer, "%d.%d", paddigits, paddecimal);
152 (void) sprintf(padbuffer, "%d", paddigits);
154 (void) sprintf(padbuffer, ".%d", paddecimal);
181 /* we ignore the return value from sprintf because BSD/V7 */
184 (void) sprintf(retptr, "\\%.3o", c); retptr += 4; }
186 (void) sprintf(retptr, "\\E"); retptr += 2; }
188 (void) sprintf(retptr, "\\t"); retptr += 2; }
190 (void) sprintf(retptr, "\\b"); retptr += 2; }
192 (void) sprintf(retptr, "\\f"); retptr += 2; }
194 (void) sprintf(retpt
[all...]
H A Dkeyname.sh74 (void) sprintf(buf, "KEY_F(%d)", key - 0410);
78 (void) sprintf(buf, "KEY_%s", keystrings[i]);
88 (void) sprintf(buf, "%c", key);
90 (void) sprintf(buf, "M-%s", unctrl(key & 0177));
95 (void) sprintf(buf, "%d", key);
/illumos-gate/usr/src/cmd/bnu/
H A Ddtnamer.c46 sprintf(dtname, "/dev/dk%.3dt", chan);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dgetsumd.c20 sprintf(sumdbuf, "%#0x", sum);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_netbios.c104 sprintf(get_line(0, 0), " - Broadcast");
106 sprintf(get_line(0, 0), " - Recursion Available");
108 sprintf(get_line(0, 0), " - Recursion Desired");
110 sprintf(get_line(0, 0), " - Truncation Flag");
112 sprintf(get_line(0, 0), " - Authoritative Answer");
126 sprintf(errortype, "Success");
129 sprintf(errortype, "Format Error");
132 sprintf(errortype, "Server Failure");
135 sprintf(errortype, "Name Error");
138 sprintf(errortyp
[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(c
[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(lin
[all...]
H A Dsnoop_nis.c142 (void) sprintf(line, "NISBIND C %s",
149 (void) sprintf(line, " %s",
153 (void) sprintf(line, " %s",
161 (void) sprintf(line, "NISBIND R %s ",
173 (void) sprintf(line, "ERROR=%s",
192 (void) sprintf(get_line(0, 0), "Proc = %d (%s)",
218 (void) sprintf(get_line(0, 0),
227 (void) sprintf(get_line(0, 0),
262 (void) sprintf(line, "NIS C %d", proc);
264 (void) sprintf(lin
[all...]
H A Dsnoop_ppp.c335 (void) sprintf(get_sum_line(),
340 (void) sprintf(get_line(0, 0), "Protocol = 0x%x (%s)",
383 (void) sprintf(get_sum_line(),
389 (void) sprintf(get_line(0, 0), "Code = %d %s", code, codestr);
390 (void) sprintf(get_line(0, 0), "Identifier = %d", id);
391 (void) sprintf(get_line(0, 0), "Length = %d", length);
410 (void) sprintf(get_line(0, 0), "Magic-Number = 0x%08x",
421 (void) sprintf(get_line(0, 0), "OUI = 0x%06x (%s)",
423 (void) sprintf(get_line(0, 0), "Kind = %d", kind);
445 (void) sprintf(get_lin
[all...]
H A Dsnoop_tcp.c141 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_sport -
151 (void) sprintf(buff, "(%s)", pname);
155 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_dport -
158 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_seq -
161 (void) sprintf(get_line((char *)(uintptr_t)tcp->th_ack - dlc_header, 4),
164 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_ack - dlc_header) +
166 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags -
168 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags -
172 (void) sprintf(get_line(((char *)(uintptr_t)tcp->th_flags -
175 (void) sprintf(get_lin
[all...]
H A Dsnoop_solarnet.c102 (void) sprintf(line,
109 (void) sprintf(line, " %s",
112 (void) sprintf(line, "/%s",
117 (void) sprintf(line, ".%s", buff);
123 (void) sprintf(line, " (all)");
125 (void) sprintf(line, " %lu", thresh);
133 (void) sprintf(line, " %s", op);
137 (void) sprintf(line, " (all)");
139 (void) sprintf(line, " %lu", thresh);
146 (void) sprintf(lin
[all...]
H A Dsnoop_nfs_acl.c210 (void) sprintf(line, "NFS_ACL C %s",
217 (void) sprintf(line, "%s mask=0x%lx", fh, mask);
220 (void) sprintf(line, sum_nfsfh());
223 (void) sprintf(line, sum_nfsfh());
227 (void) sprintf(line, "%s (%s)", fh,
232 (void) sprintf(line, "%s create=%s", fh,
241 (void) sprintf(line, "NFS_ACL R %s ",
258 (void) sprintf(line, " (%s)",
265 (void) sprintf(line, sum_nfsfh());
277 (void) sprintf(get_lin
[all...]
H A Dsnoop_dhcp.c140 (void) sprintf(get_sum_line(),
145 (void) sprintf(get_sum_line(),
149 (void) sprintf(get_sum_line(),
159 (void) sprintf(get_line((char *)(uintptr_t)dp->htype -
163 (void) sprintf(get_line((char *)(uintptr_t)dp->hlen -
166 (void) sprintf(get_line((char *)(uintptr_t)dp->hops -
169 (void) sprintf(get_line((char *)(uintptr_t)dp->xid -
172 (void) sprintf(get_line((char *)(uintptr_t)dp->secs -
175 (void) sprintf(get_line((char *)(uintptr_t)dp->flags -
178 (void) sprintf(get_lin
[all...]
H A Dsnoop_ntp.c100 (void) sprintf(get_sum_line(),
107 (void) sprintf(get_sum_line(),
117 (void) sprintf(get_sum_line(),
135 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode -
140 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode -
143 (void) sprintf(get_line((char *)(uintptr_t)ntp->li_vn_mode -
148 (void) sprintf(get_line((char *)(uintptr_t)ntp->stratum -
155 (void) sprintf(get_line((char *)(uintptr_t)ntp->ppoll -
157 (void) sprintf(get_line((char *)(uintptr_t)ntp->precision -
161 (void) sprintf(get_lin
[all...]
H A Dsnoop_rquota.c87 (void) sprintf(line,
94 (void) sprintf(line, "RQUOTA R %s ",
99 (void) sprintf(line, "OK");
101 (void) sprintf(line, "No quota");
103 (void) sprintf(line, "No permission");
113 (void) sprintf(get_line(0, 0),
128 (void) sprintf(get_line(0, 0),
150 (void) sprintf(get_line(0, 0),
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_lin
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_perr.c140 (void) sprintf(str, "%s: ", s);
167 (void) sprintf(str, "; %s", netdir_sperror());
173 (void) sprintf(str, "; %s", t_errlist[e.re_terrno]);
175 (void) sprintf(str, "; %d", e.re_terrno);
180 (void) sprintf(str, "; %s", strerror(e.re_errno));
182 (void) sprintf(str, "; %d", e.re_errno);
191 (void) sprintf(str, "; errno = %s",
194 (void) sprintf(str, "; errno = %d", e.re_errno);
200 (void) sprintf(str, "; %s", t_errlist[e.re_terrno]);
202 (void) sprintf(st
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_overflow6.c6 int sprintf(char *dest, char *format, char *str);
18 sprintf(buf1, "%s", str);
27 sm_overflow6.c:18 main() error: sprintf() copies too much data from 'str': 12 vs 10
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dsprintf.c27 sprintf(char* s, const char* fmt, ...) function
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgen_rname.c44 sprintf(*string, "%s", uniq);
47 sprintf(tmp, "%.2x", address->contents[i] & 0xff);
/illumos-gate/usr/src/lib/libtnfprobe/
H A Ddebug_funcs.c81 str_len = sprintf(buf_p, "probe %.*s; ", attr_len, attr_start);
89 str_len = sprintf(buf_p, "sunw%%debug \"%.*s\"; ",
97 (void) sprintf(buf_p, "\n");
117 str_len = sprintf(buf_p, "%.*s=", name_len, name_start);
126 str_len = sprintf(buf_p, "<unknown>; ");
130 str_len = sprintf(buf_p, "%ld; ",
135 str_len = sprintf(buf_p, "%lu; ",
141 str_len = sprintf(buf_p, "%lld; ",
147 str_len = sprintf(buf_p, "%llu; ",
152 str_len = sprintf(buf_
[all...]

Completed in 264 milliseconds

1234567891011>>