Home
last modified time | relevance | path

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

12345678910>>...49

/netbsd/src/external/gpl3/gdb/dist/opcodes/
Dmsp430-dis.c59 sprintf (comm, _("Warning: disassembly unreliable - not enough bytes available")); in msp430dis_read_two_bytes()
65 sprintf (comm, _("Error: read from memory failed")); in msp430dis_read_two_bytes()
153 sprintf (op1, "#4"); in print_as2_reg_name()
154 sprintf (comm1, "r2 As==10"); in print_as2_reg_name()
158 sprintf (op1, "#2"); in print_as2_reg_name()
159 sprintf (comm1, "r3 As==10"); in print_as2_reg_name()
164 sprintf (op1, "@r%d", regno); in print_as2_reg_name()
176 sprintf (op1, "#8"); in print_as3_reg_name()
177 sprintf (comm1, "r2 As==11"); in print_as3_reg_name()
181 sprintf (op1, "#-1"); in print_as3_reg_name()
[all …]
Davr-dis.c77 sprintf (buf, "r%d", insn); in avr_operand()
83 sprintf (buf, "r%d", 16 + (insn & 0xf)); in avr_operand()
85 sprintf (buf, "r%d", 16 + ((insn & 0xf0) >> 4)); in avr_operand()
90 sprintf (buf, "r%d", 24 + ((insn & 0x30) >> 3)); in avr_operand()
96 sprintf (buf, "r%d", 16 + (insn & 7)); in avr_operand()
98 sprintf (buf, "r%d", 16 + ((insn >> 4) & 7)); in avr_operand()
104 sprintf (buf, "r%d", (insn & 0xf) * 2); in avr_operand()
106 sprintf (buf, "r%d", ((insn & 0xf0) >> 3)); in avr_operand()
130 sprintf (comment, _("undefined")); in avr_operand()
152 sprintf (comment, _("undefined")); in avr_operand()
[all …]
Dtic54x-dis.c281 sprintf (operand[i], "pa%d", (unsigned) opcode2); in print_instruction()
286 sprintf (operand[i], (src == OP_B) ? "b" : "a"); in print_instruction()
291 sprintf (operand[i], (src == OP_B) ? "b" : "a"); in print_instruction()
296 sprintf (operand[i], (dst == OP_B) ? "a" : "b"); in print_instruction()
303 sprintf (operand[i], (dst == OP_B) ? "b" : "a"); in print_instruction()
310 sprintf (operand[i], "b"); in print_instruction()
314 sprintf (operand[i], "a"); in print_instruction()
318 sprintf (operand[i], "ar%d", (int) ARX (opcode)); in print_instruction()
325 sprintf (operand[i], "%d", shift); in print_instruction()
335 sprintf (operand[i], "%d", (unsigned) shift); in print_instruction()
[all …]
Dns32k-dis.c222 sprintf (result, "[]"); in optlist()
226 sprintf (result, "["); in optlist()
253 sprintf (result, "%s", optionP->pattern); in list_search()
257 sprintf (result, "undefined"); in list_search()
498 sprintf (result, "f%d", addr_mode); in print_insn_arg()
501 sprintf (result, "r%d", addr_mode); in print_insn_arg()
508 sprintf (result, "%d(r%d)", disp1, addr_mode & 7); in print_insn_arg()
516 sprintf (result, "%d(%d(%s))", disp2, disp1, in print_insn_arg()
521 sprintf (result, "reserved"); in print_insn_arg()
533 sprintf (result, _("$<undefined>")); in print_insn_arg()
[all …]
Dz8k-dis.c533 sprintf (out_str, "%s\t", z8k_table[instr_data->tabl_index].name); in unparse_instr()
548 sprintf (tmp_str, "0x%0lx(r%ld)", instr_data->address, in unparse_instr()
554 sprintf (tmp_str, "rr%ld(#0x%lx)", instr_data->arg_reg[datum_value], in unparse_instr()
557 sprintf (tmp_str, "r%ld(#0x%lx)", instr_data->arg_reg[datum_value], in unparse_instr()
563 sprintf (tmp_str, "rr%ld(r%ld)", instr_data->arg_reg[datum_value], in unparse_instr()
566 sprintf (tmp_str, "r%ld(r%ld)", instr_data->arg_reg[datum_value], in unparse_instr()
571 sprintf (tmp_str, "0x%0lx", instr_data->displacement); in unparse_instr()
581 sprintf (tmp_str, "#0x%0lx", instr_data->immediate); in unparse_instr()
585 sprintf (tmp_str, "%s", codes[instr_data->cond_code]); in unparse_instr()
589 sprintf (tmp_str, "%s", ctrl_names[instr_data->ctrl_code]); in unparse_instr()
[all …]
Dcsky-dis.c351 sprintf (buf, "cpr%d", (int)value); in csky_output_operand()
355 sprintf (buf, "fr%d", (int)value); in csky_output_operand()
360 sprintf (buf, "vr%d", (int)value); in csky_output_operand()
364 sprintf (buf, "cpcr%d", (int)value); in csky_output_operand()
368 sprintf (buf, "cp%d", (int)value); in csky_output_operand()
373 sprintf (buf, "%d", (int)value); in csky_output_operand()
379 sprintf (buf, "0x%x", (unsigned int)value); in csky_output_operand()
384 sprintf (buf, "%d", (int)(value << 2)); in csky_output_operand()
394 sprintf (buf, "%d", (int)value); in csky_output_operand()
404 sprintf (buf, "%d", (int)value); in csky_output_operand()
[all …]
/netbsd/src/external/gpl3/binutils/dist/opcodes/
Dmsp430-dis.c59 sprintf (comm, _("Warning: disassembly unreliable - not enough bytes available")); in msp430dis_read_two_bytes()
65 sprintf (comm, _("Error: read from memory failed")); in msp430dis_read_two_bytes()
153 sprintf (op1, "#4"); in print_as2_reg_name()
154 sprintf (comm1, "r2 As==10"); in print_as2_reg_name()
158 sprintf (op1, "#2"); in print_as2_reg_name()
159 sprintf (comm1, "r3 As==10"); in print_as2_reg_name()
164 sprintf (op1, "@r%d", regno); in print_as2_reg_name()
176 sprintf (op1, "#8"); in print_as3_reg_name()
177 sprintf (comm1, "r2 As==11"); in print_as3_reg_name()
181 sprintf (op1, "#-1"); in print_as3_reg_name()
[all …]
Davr-dis.c77 sprintf (buf, "r%d", insn); in avr_operand()
83 sprintf (buf, "r%d", 16 + (insn & 0xf)); in avr_operand()
85 sprintf (buf, "r%d", 16 + ((insn & 0xf0) >> 4)); in avr_operand()
90 sprintf (buf, "r%d", 24 + ((insn & 0x30) >> 3)); in avr_operand()
96 sprintf (buf, "r%d", 16 + (insn & 7)); in avr_operand()
98 sprintf (buf, "r%d", 16 + ((insn >> 4) & 7)); in avr_operand()
104 sprintf (buf, "r%d", (insn & 0xf) * 2); in avr_operand()
106 sprintf (buf, "r%d", ((insn & 0xf0) >> 3)); in avr_operand()
130 sprintf (comment, _("undefined")); in avr_operand()
152 sprintf (comment, _("undefined")); in avr_operand()
[all …]
Dtic54x-dis.c281 sprintf (operand[i], "pa%d", (unsigned) opcode2); in print_instruction()
286 sprintf (operand[i], (src == OP_B) ? "b" : "a"); in print_instruction()
291 sprintf (operand[i], (src == OP_B) ? "b" : "a"); in print_instruction()
296 sprintf (operand[i], (dst == OP_B) ? "a" : "b"); in print_instruction()
303 sprintf (operand[i], (dst == OP_B) ? "b" : "a"); in print_instruction()
310 sprintf (operand[i], "b"); in print_instruction()
314 sprintf (operand[i], "a"); in print_instruction()
318 sprintf (operand[i], "ar%d", (int) ARX (opcode)); in print_instruction()
325 sprintf (operand[i], "%d", shift); in print_instruction()
335 sprintf (operand[i], "%d", (unsigned) shift); in print_instruction()
[all …]
Dns32k-dis.c222 sprintf (result, "[]"); in optlist()
226 sprintf (result, "["); in optlist()
253 sprintf (result, "%s", optionP->pattern); in list_search()
257 sprintf (result, "undefined"); in list_search()
498 sprintf (result, "f%d", addr_mode); in print_insn_arg()
501 sprintf (result, "r%d", addr_mode); in print_insn_arg()
508 sprintf (result, "%d(r%d)", disp1, addr_mode & 7); in print_insn_arg()
516 sprintf (result, "%d(%d(%s))", disp2, disp1, in print_insn_arg()
521 sprintf (result, "reserved"); in print_insn_arg()
533 sprintf (result, _("$<undefined>")); in print_insn_arg()
[all …]
Dz8k-dis.c533 sprintf (out_str, "%s\t", z8k_table[instr_data->tabl_index].name); in unparse_instr()
548 sprintf (tmp_str, "0x%0lx(r%ld)", instr_data->address, in unparse_instr()
554 sprintf (tmp_str, "rr%ld(#0x%lx)", instr_data->arg_reg[datum_value], in unparse_instr()
557 sprintf (tmp_str, "r%ld(#0x%lx)", instr_data->arg_reg[datum_value], in unparse_instr()
563 sprintf (tmp_str, "rr%ld(r%ld)", instr_data->arg_reg[datum_value], in unparse_instr()
566 sprintf (tmp_str, "r%ld(r%ld)", instr_data->arg_reg[datum_value], in unparse_instr()
571 sprintf (tmp_str, "0x%0lx", instr_data->displacement); in unparse_instr()
581 sprintf (tmp_str, "#0x%0lx", instr_data->immediate); in unparse_instr()
585 sprintf (tmp_str, "%s", codes[instr_data->cond_code]); in unparse_instr()
589 sprintf (tmp_str, "%s", ctrl_names[instr_data->ctrl_code]); in unparse_instr()
[all …]
Dcsky-dis.c351 sprintf (buf, "cpr%d", (int)value); in csky_output_operand()
355 sprintf (buf, "fr%d", (int)value); in csky_output_operand()
360 sprintf (buf, "vr%d", (int)value); in csky_output_operand()
364 sprintf (buf, "cpcr%d", (int)value); in csky_output_operand()
368 sprintf (buf, "cp%d", (int)value); in csky_output_operand()
373 sprintf (buf, "%d", (int)value); in csky_output_operand()
379 sprintf (buf, "0x%x", (unsigned int)value); in csky_output_operand()
384 sprintf (buf, "%d", (int)(value << 2)); in csky_output_operand()
394 sprintf (buf, "%d", (int)value); in csky_output_operand()
404 sprintf (buf, "%d", (int)value); in csky_output_operand()
[all …]
/netbsd/src/usr.sbin/sesd/srcs/
Deltsub.c54 sprintf(rbuf, "Unspecified"); in geteltnm()
57 sprintf(rbuf, "Device"); in geteltnm()
60 sprintf(rbuf, "Power supply"); in geteltnm()
63 sprintf(rbuf, "Cooling element"); in geteltnm()
66 sprintf(rbuf, "Temperature sensors"); in geteltnm()
69 sprintf(rbuf, "Door Lock"); in geteltnm()
72 sprintf(rbuf, "Audible alarm"); in geteltnm()
75 sprintf(rbuf, "Enclosure services controller electronics"); in geteltnm()
78 sprintf(rbuf, "SCC controller electronics"); in geteltnm()
81 sprintf(rbuf, "Nonvolatile cache"); in geteltnm()
[all …]
/netbsd/src/external/bsd/ntp/dist/ntpd/
Drefclock_ripencc.c1512 sprintf(logbuf, "U1 %d.%d.%d %02d:%02d:%02d %d %02x", in parse0x8FAD()
1679sprintf(logbuf, "C1 %02d%02d%04d %02d%02d%02d %d %7.0f %.1f %.0f %.1f %d %02d%09.6f %c %02d%09.6f … in parse0x8F0B()
1755 sprintf(logbuf, "L1 %d %d %d %g %g %g %d %d %d", in parse0x4F()
1807 sprintf(logbuf, "S1 %02d %d %d %02x %4.1f %5.1f %4.1f", in parse0x5C()
3237 sprintf(timestring, " <No time yet> "); in show_time()
3241 sprintf(timestring, " <Bad time> "); in show_time()
3251 sprintf(timestring, " %s %02d:%02d:%05.2f ", in show_time()
3280 pbuf += sprintf(pbuf, "\nChannel A Configuration"); in rpt_chan_A_config()
3285 pbuf += sprintf(pbuf, "\n Transmit speed: %s at %s", in rpt_chan_A_config()
3289 pbuf += sprintf(pbuf, "\n Receive speed: %s at %s", in rpt_chan_A_config()
[all …]
/netbsd/src/external/bsd/ntp/dist/scripts/monitoring/
Dntptrap141 $name = sprintf("[[%d.%d.%d.%d]]",$1,$2,$3,$4);
166 &debug(sprintf("hostname(%d.%d.%d.%d) = \"%s\"",unpack("C4",$addr),$name))
169 &debug(sprintf("Failed to get name for %d.%d.%d.%d",unpack("C4",$addr)));
170 return sprintf("[%d.%d.%d.%d]",unpack("C4",$addr));
176 &debug(sprintf("%d request(s) scheduled",scalar(@Requests)));
199 … &debug(sprintf("Request: %s: %s(%d)",&hostname($addr), &ntp'cntrlop_name($op), $assoc)); #';))
203 sprintf("&retry(\"%s\");",unpack("H*",$req)));
262 … &debug(sprintf("%s uses auth_keyid %d",&hostname($from),$auth_keyid)) if defined($auth_keyid);
277 &log(sprintf("%50s: %s: %s",(gethostbyaddr($from,&AF_INET))[$[],$ret,$data));
302 &debug(sprintf("Schedule timeout \"%s\" for %s", $id, $date));
[all …]
/netbsd/src/external/bsd/ipf/dist/tools/
Dipmon.c465 sprintf(pnum, "%u", p); in getlocalproto()
498 sprintf(pname, "%u", port); in portlocalname()
526 sprintf(name, "icmptype(%d)/", type); in icmpname()
528 sprintf(name, "%s/", s); in icmpname()
537 sprintf(name + strlen(name), "%d", code); in icmpname()
556 sprintf(name, "icmpv6type(%d)/", type); in icmpname6()
558 sprintf(name, "%s/", s); in icmpname6()
567 sprintf(name + strlen(name), "%d", code); in icmpname6()
596 sprintf((char *)t, "%02x", *s & 0xff); in dumphex()
600 sprintf((char *)t, " "); in dumphex()
[all …]
/netbsd/src/external/gpl3/gdb/dist/sim/bfin/
Dinterp.c146 tbuf += sprintf (tbuf, "exit(%i)", args[0]); in bfin_syscall()
154 tbuf += sprintf (tbuf, "gettimeofday(%#x, %#x)", args[0], args[1]); in bfin_syscall()
189 tbuf += sprintf (tbuf, "ioctl(%i, %#x, %u)", args[0], args[1], args[2]); in bfin_syscall()
207 tbuf += sprintf (tbuf, "mmap2(%#x, %u, %#x, %#x, %i, %u)", in bfin_syscall()
249 tbuf += sprintf (tbuf, "munmap(%#x, %u)", args[0], args[1]); in bfin_syscall()
254 tbuf += sprintf (tbuf, "dup2(%i, %i)", args[0], args[1]); in bfin_syscall()
268 tbuf += sprintf (tbuf, "llseek(%i, %u, %u, %#x, %u)", in bfin_syscall()
292 tbuf += sprintf (tbuf, "pread(%i, %#x, %u, %i)", in bfin_syscall()
340 tbuf += sprintf (tbuf, "getcwd(%#x, %u)", args[0], args[1]); in bfin_syscall()
358 tbuf += sprintf (tbuf, "stat64(%#x:\"%s\", %u)", args[0], tstr, args[1]); in bfin_syscall()
[all …]
/netbsd/src/external/bsd/top/dist/
Dsigconv.awk50 j = sprintf("%d", $3);
57 siglist[j] = sprintf("\"%s\",\t%2d", \
62 j = sprintf("%d", $4);
69 siglist[j] = sprintf("\"%s\",\t%2d", \
74 j = sprintf("%d", $4);
81 siglist[j] = sprintf("\"%s\",\t%2d", \
/netbsd/src/external/bsd/ipf/dist/FWTK/
Dfwtkp86 ! sprintf(xuf,"220 %s FTP proxy (Version %s) ready.",huf,FWTK_VERSION_MINOR);
96 ! sprintf(xuf,"220-%s FTP proxy (Version %s) ready.",huf,FWTK_VERSION_MINOR);
98 ! sprintf(xuf,"220 %s FTP Proxy (Version %s) ready.",huf,FWTK_VERSION_MINOR);
125 + sprintf(buf,"USER %s",user);
138sprintf(mbuf,"Permission denied for user %s to connect to %s",authuser,dest);
144sprintf(mbuf,"No match in netperm-table for %s to ftp to %s",authuser,dest);
147sprintf(mbuf,"Permission denied for user %s to connect to %s",authuser,dest);
153sprintf(mbuf,"No match in netperm-table for %s to ftp to %s",authuser,dest);
159 ! sprintf(buf,"521 %s: %s",dest,ebuf);
168 ! sprintf(buf,"521 %s,%d: %s",dest,ntohs(port),ebuf);
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dwide-int-print.cc61 sprintf (buf, "-" HOST_WIDE_INT_PRINT_UNSIGNED, in print_decs()
64 sprintf (buf, HOST_WIDE_INT_PRINT_DEC, wi.to_shwi ()); in print_decs()
89 sprintf (buf, HOST_WIDE_INT_PRINT_UNSIGNED, wi.to_uhwi ()); in print_decu()
109 buf += sprintf (buf, "0x0"); in print_hex()
112 buf += sprintf (buf, "0x"); in print_hex()
120 buf += sprintf (buf, HOST_WIDE_INT_PRINT_PADDED_HEX, uhwi); in print_hex()
123 buf += sprintf (buf, HOST_WIDE_INT_PRINT_HEX_PURE, uhwi); in print_hex()
/netbsd/src/external/gpl3/binutils/dist/binutils/
Dwrstabs.c424 sprintf (buf, "%ld", tindex); in stab_push_defined_type()
619 sprintf (buf, "%ld=%ld", tindex, tindex); in stab_empty_type()
644 sprintf (buf, "%ld=%ld", tindex, tindex); in stab_void_type()
681 int len = sprintf (buf, "%ld=r%ld;", tindex, tindex); in stab_int_type()
687 sprintf (buf + len, "%ld;", ((long) 1 << (size * 8)) - 1); in stab_int_type()
698 sprintf (buf + len, "%ld;%ld;", in stab_int_type()
745 sprintf (buf, "%ld=r%s;%u;0;", tindex, int_type, size); in stab_float_type()
765 sprintf (buf, "%ld=r%ld;%u;0;", tindex, tindex, size); in stab_complex_type()
821 sprintf (buf, "xe%s:", tag); in stab_enum_type()
840 out += sprintf (out, "%s:T%ld=e", tag, tindex); in stab_enum_type()
[all …]
/netbsd/src/external/gpl2/xcvs/dist/src/
Dserver.c233 (void) sprintf (tmp, "%s/%s", dir_where_cvsadm_lives, CVSADM); in create_adm_p()
241 (void) sprintf (tmp, "%s/%s", dir_where_cvsadm_lives, CVSADM_REP); in create_adm_p()
261 (void) sprintf (empty, "%s/%s/%s", current_parsed_root->directory, in create_adm_p()
306 (void) sprintf (tmp, "%s/%s", dir_where_cvsadm_lives, CVSADM_ENT); in create_adm_p()
431 sprintf (tmpstr, "unknown error %d", status); in print_error()
785 sprintf (pending_error_text, in serve_root()
800 sprintf (pending_error_text, in serve_root()
821 sprintf (pending_error_text, "\ in serve_root()
871 sprintf (pending_error_text, in serve_root()
911 sprintf (p, "%ld", (long) getpid ()); in serve_root()
[all …]
/netbsd/src/lib/libc/compat/net/
Dcompat_ns_ntoa.c61 sprintf(obuf, "%x", ntohl(net.long_e)); in ns_ntoa()
68 sprintf(cp, ".0"); in ns_ntoa()
72 sprintf(cp, ".%x", *up++); in ns_ntoa()
75 sprintf(cp, "%02x", *up++); in ns_ntoa()
80 sprintf(cp, ".%x", port); in ns_ntoa()
/netbsd/src/tests/lib/libc/locale/
Dt_sprintf.c117 sprintf(buf, "%'f", t->double_value); in h_sprintf()
120 sprintf(buf, "%'d", t->int_value); in h_sprintf()
192 ATF_TC(sprintf);
193 ATF_TC_HEAD(sprintf, tc) in ATF_TC_HEAD() argument
198 ATF_TC_BODY(sprintf, tc) in ATF_TC_BODY() argument
237 ATF_TP_ADD_TC(tp, sprintf); in ATF_TP_ADD_TCS()
/netbsd/src/external/lgpl3/mpfr/dist/src/
Dset_d64.c162 sprintf (s, "NaN"); in decimal64_to_string()
168 sprintf (s, "Inf"); in decimal64_to_string()
170 sprintf (s, "-Inf"); in decimal64_to_string()
202 sprintf (t, "%1u%3u%3u%3u%3u%3u", d0, T[d1], T[d2], T[d3], T[d4], T[d5]); in decimal64_to_string()
275 sprintf (t, "E%d", exp); in decimal64_to_string()
293 sprintf (s, "NaN"); /* sprintf puts a final '\0' */ in decimal64_to_string()
298 sprintf (s, "Inf"); in decimal64_to_string()
303 sprintf (s, "-Inf"); in decimal64_to_string()
474 sprintf (s, "E%d", exp); /* adds a final '\0' */ in decimal64_to_string()

12345678910>>...49