| /freebsd-13.1/share/examples/ses/srcs/ |
| H A D | eltsub.c | 53 sprintf(rbuf, "Unspecified"); in geteltnm() 56 sprintf(rbuf, "Device Slot"); in geteltnm() 59 sprintf(rbuf, "Power Supply"); in geteltnm() 62 sprintf(rbuf, "Cooling"); in geteltnm() 68 sprintf(rbuf, "Door Lock"); in geteltnm() 89 sprintf(rbuf, "Display"); in geteltnm() 95 sprintf(rbuf, "Enclosure"); in geteltnm() 101 sprintf(rbuf, "Language"); in geteltnm() 146 sprintf(rbuf, "OK"); in scode2ascii() 149 sprintf(rbuf, "Critical"); in scode2ascii() [all …]
|
| /freebsd-13.1/contrib/ntp/ntpd/ |
| H A D | refclock_ripencc.c | 3429 pbuf += sprintf(pbuf, in rpt_SW_version() 4051 pbuf += sprintf(pbuf, in rpt_GPS_system_data() 4054 pbuf += sprintf(pbuf, in rpt_GPS_system_data() 4209 pbuf += sprintf(pbuf, in rpt_SV_tracking_status() 4705 pbuf += sprintf(pbuf, in rpt_8F20() 4733 pbuf += sprintf(pbuf, in rpt_8F20() 4741 pbuf += sprintf(pbuf, in rpt_8F20() 4745 pbuf += sprintf(pbuf, in rpt_8F20() 4913 pbuf += sprintf(pbuf, in rpt_8F4B() 5135 pbuf += sprintf(pbuf, in unknown_rpt() [all …]
|
| /freebsd-13.1/contrib/ntp/scripts/monitoring/ |
| H A D | ntptrap | 141 $name = sprintf("[[%d.%d.%d.%d]]",$1,$2,$3,$4); 203 sprintf("&retry(\"%s\");",unpack("H*",$req))); 332 &debug(sprintf("Retry failed: %s assoc %5d op %d", 337 &debug(sprintf("Retrying: %s assoc %5d op %d", 350 $msg .= sprintf("%40s trap#%-5d", 369 $msg .= sprintf("%s %s ", 397 $msg .= sprintf("peer %5d ",$associd); 399 $msg .= sprintf("%-18s %40s ", "[$srcadr]", 438 $msg .= sprintf(" %40s ", &hostname($from)); 445 $msg .= sprintf("peer %5d clock",$associd); [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/ |
| H A D | runtime.c | 634 cp += sprintf(cp, "isa: NULL\n"); in _Block_dump() 637 cp += sprintf(cp, "isa: stack Block\n"); in _Block_dump() 643 cp += sprintf(cp, "isa: GC heap Block\n"); in _Block_dump() 646 cp += sprintf(cp, "isa: global Block\n"); in _Block_dump() 654 cp += sprintf(cp, "flags:"); in _Block_dump() 656 cp += sprintf(cp, " HASDESCRIPTOR"); in _Block_dump() 659 cp += sprintf(cp, " FREEME"); in _Block_dump() 662 cp += sprintf(cp, " ISGC"); in _Block_dump() 665 cp += sprintf(cp, " HASHELP"); in _Block_dump() 668 cp += sprintf(cp, " HASCTOR"); in _Block_dump() [all …]
|
| /freebsd-13.1/contrib/opencsd/decoder/source/ |
| H A D | trc_printable_elem.cpp | 77 sprintf(szFormatBuffer,"%%0%dllX",validChars); // create the format in getValStr() 78 sprintf(szStrBuffer,szFormatBuffer,value); // fill the buffer in getValStr() 82 sprintf(szFormatBuffer,"%%0%dlX",validChars); // create the format in getValStr() 83 sprintf(szStrBuffer,szFormatBuffer,(uint32_t)value); // fill the buffer in getValStr() 88 sprintf(szStrBuffer," (%d:0)", valValidBits-1); in getValStr() 96 sprintf(szStrBuffer," ~[0x%" PRIX64 "]",value & updateMask); in getValStr() 107 sprintf(szStrBuffer,"%" PRIu64 ,value); in getValStr() 111 sprintf(szStrBuffer,"%" PRIu32 ,(uint32_t)value); in getValStr() 116 sprintf(szStrBuffer," (%d:0)", valValidBits-1); in getValStr()
|
| /freebsd-13.1/contrib/ntp/lib/isc/ |
| H A D | print.c | 250 sprintf(buf, "%lu", in isc_print_vsnprintf() 261 sprintf(buf, "%lu", hi); in isc_print_vsnprintf() 287 sprintf(buf, in isc_print_vsnprintf() 293 sprintf(buf, in isc_print_vsnprintf() 307 sprintf(buf, "%lu", in isc_print_vsnprintf() 338 sprintf(buf, "%lx", in isc_print_vsnprintf() 343 sprintf(buf, "%lx", hi); in isc_print_vsnprintf() 360 sprintf(buf, "%lX", in isc_print_vsnprintf() 365 sprintf(buf, "%lX", hi); in isc_print_vsnprintf() 493 sprintf(buf, "%p", v); in isc_print_vsnprintf() [all …]
|
| /freebsd-13.1/contrib/ncurses/ |
| H A D | mk-1st.awk | 72 return sprintf("%s%s%s", prefix, a_name, suffix) 77 result = sprintf("%s%s%s.a", prefix, a_name, suffix); 94 result = sprintf("%s.$(ABI_VERSION)", lib_name_of(a_name)); 109 result = sprintf("%s.$(REL_VERSION)", lib_name_of(a_name)); 208 dst_libs = sprintf("%s/%s", directory, end_name); 240 src_lib1 = sprintf("../lib/%s", end_name); 241 dst_lib1 = sprintf("%s/%s", directory, end_name); 250 src_name = sprintf("../lib/%s", filename); 400 ovr_name = sprintf("libcurses%s.a", suffix) 406 ovr_name = sprintf("libcurses%s", suffix) [all …]
|
| /freebsd-13.1/stand/ficl/ |
| H A D | tools.c | 204 cp += sprintf(cp, "%3d ", (int)(pc-param0)); in seeColon() 218 sprintf(cp, "%.*s ( %#lx literal )", in seeColon() 222 sprintf(cp, "literal %ld (%#lx)", in seeColon() 229 sprintf(cp, "s\" %.*s\"", sp->count, sp->text); in seeColon() 278 sprintf(cp, "%.*s", pFW->nName, pFW->name); in seeColon() 313 sprintf(pVM->pad, ": %.*s", pFW->nName, pFW->name); in seeXT() 328 sprintf(pVM->pad, "variable = %ld (%#lx)", in seeXT() 335 sprintf(pVM->pad, "user variable %ld (%#lx)", in seeXT() 342 sprintf(pVM->pad, "constant = %ld (%#lx)", in seeXT() 518 sprintf(pVM->pad, "next: %.*s", pFW->nName, pFW->name); in stepBreak() [all …]
|
| /freebsd-13.1/sys/tools/sound/ |
| H A D | feeder_rate_mkfilter.awk | 487 scale = sprintf("(v) >> %d", s1); 504 lerp = sprintf( \ 509 lerp = sprintf( \ 518 lerp = sprintf( \ 755 j = length(sprintf("%d", j)); 756 lfmt = sprintf("%%%dd", j); 758 zcfmt = sprintf("%%-%ds", j); 759 zdcfmt = sprintf("%%-%ds", j + 1); 762 l = sprintf(lfmt, ztab[i]); 764 zc = sprintf(zcfmt, zc); [all …]
|
| /freebsd-13.1/sbin/ipf/ipmon/ |
| H A D | ipmon.c | 447 sprintf(pnum, "%u", p); in getlocalproto() 483 sprintf(pname, "%u", port); 513 sprintf(name, "%s/", s); in icmpname() 543 sprintf(name, "%s/", s); in icmpname6() 909 sprintf(t, "%s,%s -> ", in print_statelog() 913 sprintf(t, "%s,%s PR %s", in print_statelog() 931 sprintf(t, "%s PR %s", in print_statelog() 940 sprintf(t, in print_statelog() 1092 sprintf(t, "%s", ifname); in print_ipflog() 1280 sprintf(t, " for %s -", in print_ipflog() [all …]
|
| /freebsd-13.1/contrib/ofed/libibmad/ |
| H A D | dump.c | 350 sprintf(buf, "%d", speed); in dump_linkspeedext() 551 s += sprintf(s, "0x%x\n", mask); in mad_dump_portcapmask() 553 s += sprintf(s, "\t\t\t\tIsSM\n"); in mad_dump_portcapmask() 557 s += sprintf(s, "\t\t\t\tIsTrapSupported\n"); in mad_dump_portcapmask() 565 s += sprintf(s, "\t\t\t\tIsMKeyNVRAM\n"); in mad_dump_portcapmask() 567 s += sprintf(s, "\t\t\t\tIsPKeyNVRAM\n"); in mad_dump_portcapmask() 571 s += sprintf(s, "\t\t\t\tIsSMdisabled\n"); in mad_dump_portcapmask() 575 s += sprintf(s, in mad_dump_portcapmask() 604 s += sprintf(s, in mad_dump_portcapmask() 624 s += sprintf(s, "0x%x\n", mask); in mad_dump_portcapmask2() [all …]
|
| /freebsd-13.1/sys/dev/usb/controller/ |
| H A D | ehci_pci.c | 370 sprintf(sc->sc_vendor, "AMD"); in ehci_pci_attach() 373 sprintf(sc->sc_vendor, "Apple"); in ehci_pci_attach() 376 sprintf(sc->sc_vendor, "ATI"); in ehci_pci_attach() 379 sprintf(sc->sc_vendor, "CMDTECH"); in ehci_pci_attach() 382 sprintf(sc->sc_vendor, "Hygon"); in ehci_pci_attach() 385 sprintf(sc->sc_vendor, "Intel"); in ehci_pci_attach() 388 sprintf(sc->sc_vendor, "NEC"); in ehci_pci_attach() 391 sprintf(sc->sc_vendor, "OPTi"); in ehci_pci_attach() 397 sprintf(sc->sc_vendor, "SiS"); in ehci_pci_attach() 401 sprintf(sc->sc_vendor, "nVidia"); in ehci_pci_attach() [all …]
|
| H A D | ohci_pci.c | 259 sprintf(sc->sc_vendor, "AcerLabs"); in ohci_pci_attach() 262 sprintf(sc->sc_vendor, "AMD"); in ohci_pci_attach() 265 sprintf(sc->sc_vendor, "Apple"); in ohci_pci_attach() 268 sprintf(sc->sc_vendor, "ATI"); in ohci_pci_attach() 271 sprintf(sc->sc_vendor, "CMDTECH"); in ohci_pci_attach() 274 sprintf(sc->sc_vendor, "Hygon"); in ohci_pci_attach() 277 sprintf(sc->sc_vendor, "NEC"); in ohci_pci_attach() 281 sprintf(sc->sc_vendor, "nVidia"); in ohci_pci_attach() 284 sprintf(sc->sc_vendor, "OPTi"); in ohci_pci_attach() 287 sprintf(sc->sc_vendor, "SiS"); in ohci_pci_attach() [all …]
|
| /freebsd-13.1/lib/libc/stdio/ |
| H A D | xprintf_time.c | 96 p += sprintf(p, "%jdy", t / YEAR); in __printf_render_time() 100 p += sprintf(p, "%jdd", t / DAY); in __printf_render_time() 104 p += sprintf(p, "%jdh", t / HOUR); in __printf_render_time() 108 p += sprintf(p, "%jdm", t / MINUTE); in __printf_render_time() 112 p += sprintf(p, "%jds", t); in __printf_render_time() 114 p += sprintf(p, "%jd", (intmax_t)t); in __printf_render_time() 119 p += sprintf(p, ".%.*d", prec, nsec); in __printf_render_time()
|
| /freebsd-13.1/contrib/libarchive/tar/test/ |
| H A D | test_copy.c | 163 sprintf(buff, "f/%s", filenames[i]); in create_tree() 167 sprintf(buff2, "l/%s", filenames[i]); in create_tree() 171 sprintf(buff2, "m/%s", filenames[i]); in create_tree() 176 sprintf(buff, "s/%s", filenames[i]); in create_tree() 177 sprintf(buff2, "../f/%s", filenames[i]); in create_tree() 205 sprintf(name1, "f/%s", filenames[i]); in verify_tree() 211 sprintf(name2, "l/%s", filenames[i]); in verify_tree() 222 sprintf(name1, "s/%s", filenames[i]); in verify_tree() 223 sprintf(name2, "../f/%s", filenames[i]); in verify_tree() 229 sprintf(name1, "d/%s", filenames[i]); in verify_tree()
|
| /freebsd-13.1/lib/libgssapi/ |
| H A D | gss_oid_to_str.c | 70 sprintf(numstr, "%ld ", number/40); in gss_oid_to_str() 72 sprintf(numstr, "%ld ", number%40); in gss_oid_to_str() 84 sprintf(numstr, "%ld ", number); in gss_oid_to_str() 98 sprintf(numstr, "%ld ", number/40); in gss_oid_to_str() 100 sprintf(numstr, "%ld ", number%40); in gss_oid_to_str() 107 sprintf(numstr, "%ld ", number); in gss_oid_to_str()
|
| /freebsd-13.1/sbin/ipfw/ |
| H A D | dummynet.c | 176 sprintf(strt,"%d", t); in us_to_time() 178 sprintf(strt,"%dus", t); in us_to_time() 258 l = sprintf(out + l, " ECN"); in get_extra_parms() 288 l += sprintf(out + l, " TS"); in get_extra_parms() 311 l += sprintf(out + l, "\n"); in get_extra_parms() 343 l += sprintf(out + l, " TS"); in get_extra_parms() 348 l += sprintf(out + l, "\n"); in get_extra_parms() 484 sprintf(qs, "%d B", l); in print_flowset_parms() 486 sprintf(qs, "%3d sl.", l); in print_flowset_parms() 493 sprintf(red, in print_flowset_parms() [all …]
|
| /freebsd-13.1/contrib/traceroute/ |
| H A D | findsaddr-socket.c | 119 sprintf(errbuf, "socket: %.128s", strerror(errno)); in findsaddr() 139 sprintf(errbuf, "write: %.128s", strerror(errno)); in findsaddr() 144 sprintf(errbuf, "short write (%d != %d)", cc, size); in findsaddr() 154 sprintf(errbuf, "read: %.128s", strerror(errno)); in findsaddr() 165 sprintf(errbuf, "bad version %d", rp->rtm_version); in findsaddr() 169 sprintf(errbuf, "bad msglen %d > %d", rp->rtm_msglen, cc); in findsaddr() 173 sprintf(errbuf, "rtm_errno: %.128s", strerror(rp->rtm_errno)); in findsaddr()
|
| H A D | ifaddrlist.c | 87 (void)sprintf(errbuf, "socket: %s", strerror(errno)); in ifaddrlist() 96 (void)sprintf(errbuf, in ifaddrlist() 100 (void)sprintf(errbuf, "SIOCGIFCONF: %s", in ifaddrlist() 133 (void)sprintf(errbuf, "SIOCGIFFLAGS: %.*s: %s", in ifaddrlist() 153 (void)sprintf(errbuf, "SIOCGIFADDR: %s: %s", in ifaddrlist() 160 (void)sprintf(errbuf, "Too many interfaces (%d)", in ifaddrlist()
|
| /freebsd-13.1/usr.sbin/bsdconfig/startup/ |
| H A D | misc | 124 tag = sprintf(mtag_fmt, char, mark, subtag) 139 tag = sprintf(mtag_fmt, char, mark, subtag) 150 tag = sprintf(mtag_fmt, char, mark, subtag) 161 tag = sprintf(mtag_fmt, char, mark, subtag) 172 tag = sprintf(mtag_fmt, char, mark, subtag) 184 tag = sprintf(mtag_fmt, char, mark, subtag) 195 tag = sprintf(mtag_fmt, char, mark, subtag) 209 tag = sprintf(mtag_fmt, char, mark, subtag) 220 tag = sprintf(mtag_fmt, char, mark, subtag)
|
| /freebsd-13.1/contrib/ncurses/ncurses/base/ |
| H A D | MKunctrl.awk | 65 part = sprintf ("^\\%03o", ch + 64); 71 part = sprintf("~\\%03o", ch - 64); 77 part = sprintf("M-\\%03o", ch - 128); 81 part = sprintf("\\%03o", ch); 115 part = sprintf("\\%03o\\0", ch);
|
| /freebsd-13.1/stand/i386/libi386/ |
| H A D | biosacpi.c | 73 sprintf(buf, "0x%08x", VTOP(rsdp)); in biosacpi_detect() 79 sprintf(buf, "%d", revision); in biosacpi_detect() 86 sprintf(buf, "0x%08x", rsdp->RsdtPhysicalAddress); in biosacpi_detect() 91 sprintf(buf, "0x%016llx", rsdp->XsdtPhysicalAddress); in biosacpi_detect() 94 sprintf(buf, "%d", rsdp->Length); in biosacpi_detect()
|
| /freebsd-13.1/stand/fdt/ |
| H A D | fdt_loader_cmd.c | 1172 sprintf(line, " last compatible version = %d\n", in fdt_cmd_hdr() 1334 sprintf(tmp, "\"%s\"%s", d, in fdt_data_str() 1390 sprintf(tmp, "0x%08x%s", fdt32_to_cpu(*c), in fdt_data_cell() 1498 sprintf(line, "%s\n", name); in fdt_prop() 1589 sprintf(command_errbuf, in fdt_modprop() 1592 sprintf(command_errbuf, in fdt_modprop() 1656 sprintf(command_errbuf, "name not specified"); in fdt_extract_nameloc() 1726 sprintf(command_errbuf, "could not process " in fdt_cmd_prop() 1840 sprintf(command_errbuf, in fdt_cmd_mknode() 1843 sprintf(command_errbuf, in fdt_cmd_mknode() [all …]
|
| /freebsd-13.1/stand/efi/loader/arch/arm64/ |
| H A D | exec.c | 88 sprintf(buf, "0x%016llx", (unsigned long long)rsdp); in elf64_exec() 93 sprintf(buf, "%d", revision); in elf64_exec() 98 sprintf(buf, "0x%016x", rsdp->RsdtPhysicalAddress); in elf64_exec() 102 sprintf(buf, "0x%016llx", in elf64_exec() 105 sprintf(buf, "%d", rsdp->Length); in elf64_exec()
|
| /freebsd-13.1/usr.sbin/rtadvd/ |
| H A D | timer_subr.c | 83 p += sprintf(p, "%" PRIu32 "d", day); in sec2str() 85 p += sprintf(p, "%" PRIu32 "h", hour); in sec2str() 87 p += sprintf(p, "%" PRIu32 "m", min); in sec2str() 90 sprintf(p, "%" PRIu32 "s", sec); in sec2str()
|