| /xnu-11417.101.15/san/memory/ |
| H A D | kasan-report.c | 66 n += scnprintf(buf + n, len - n, in kasan_dump_shadow() 75 n += scnprintf(buf + n, len - n, " %16lx:", shadow); in kasan_dump_shadow() 91 n += scnprintf(buf + n, len - n, "%s%02x%s", left, (unsigned)*x, right); in kasan_dump_shadow() 94 n += scnprintf(buf + n, len - n, "\n"); in kasan_dump_shadow() 97 n += scnprintf(buf + n, len - n, "\n"); in kasan_dump_shadow() 159 l += scnprintf(buf + l, len - l, "Backtrace: "); in kasan_log_report() 161 l += scnprintf(buf + l, len - l, "%lx,", VM_KERNEL_UNSLIDE(bt[i])); in kasan_log_report() 163 l += scnprintf(buf + l, len - l, "\n"); in kasan_log_report()
|
| H A D | kasan-classic.c | 213 n += scnprintf(logbuf, bufsize, "KASan: free of corrupted/invalid object %#lx\n", p); in kasan_impl_decode_issue() 215 n += scnprintf(logbuf, bufsize, "KASan: UaF of quarantined object %#lx\n", p); in kasan_impl_decode_issue() 217 n += scnprintf(logbuf, bufsize, "KASan: invalid %lu-byte %s %#lx [%s]\n", in kasan_impl_decode_issue()
|
| H A D | kasan-tbi.c | 177 n += scnprintf(logbuf, bufsize, "KASAN_TBI: invalid %lu-byte %s %#lx\n", in kasan_impl_decode_issue()
|
| /xnu-11417.101.15/libkern/ |
| H A D | OSKextVersion.c | 458 cpos = scnprintf(buffer, bufferLength, "%u", (uint32_t)vers_major); in OSKextVersionGetString() 464 cpos += scnprintf(buffer + cpos, bufferLength - cpos, "%u", (uint32_t)vers_minor); in OSKextVersionGetString() 471 cpos += scnprintf(buffer + cpos, bufferLength - cpos, "%u", in OSKextVersionGetString()
|
| H A D | OSKextLib.cpp | 511 pos += scnprintf(buf + pos, buflen - pos, "%s@%llx:%llx\n", in telemetry_backtrace_add_kexts()
|
| /xnu-11417.101.15/osfmk/kern/ |
| H A D | trap_telemetry.c | 625 written += scnprintf(buf + written, buf_len - written, in backtrace_to_offset_bt_string() 634 written += scnprintf(buf + written, buf_len - written, in backtrace_to_offset_bt_string() 644 written += scnprintf(buf + written, buf_len - written, in backtrace_to_offset_bt_string() 751 (void)scnprintf(event->trap_uuid, CA_UUID_LEN, "error:%d\n", in rsb_entry_submit()
|
| H A D | misc_protos.h | 197 extern int scnprintf(char *, size_t, const char *, ...) __printflike(3, 4);
|
| H A D | telemetry.c | 1581 rc += scnprintf(buf, buflen, "%s@%lx:%lx\n", in telemetry_backtrace_add_kernel() 1584 rc += scnprintf(buf, buflen, "%s@0:%lx\n", in telemetry_backtrace_add_kernel() 1622 l += scnprintf(buf + l, buflen - l, "%lx\n", in telemetry_backtrace_to_string()
|
| H A D | kalloc.c | 404 len = scnprintf(buf, MAX_ZONE_NAME, "%s.%u", kheap_name, size); in kalloc_zone_init()
|
| /xnu-11417.101.15/libkern/net/ |
| H A D | inet_ntop.c | 175 tp += scnprintf(tp, sizeof(tmp), "%x", words[i]); in inet_ntop6()
|
| /xnu-11417.101.15/bsd/kern/ |
| H A D | uipc_mbuf.c | 9289 k = scnprintf(c, clen, "%lu/%u mbufs in use:\n", totmbufs, m_mbufs); 9296 k = scnprintf(c, clen, "\t%u mbufs allocated to %s\n", 9304 k = scnprintf(c, clen, "\t%u mbufs allocated to " 9310 k = scnprintf(c, clen, "\t%lu mbufs allocated to caches\n", 9314 k = scnprintf(c, clen, "%u/%u mbuf 2KB clusters in use\n" 9323 k = scnprintf(c, clen, "%u/%u mbuf %uKB clusters in use\n", 9338 k = scnprintf(c, clen, "%lu KB allocated to network (approx. %lu%% " 9341 k = scnprintf(c, clen, "%lu KB returned to the system\n", 9347 k = scnprintf(c, clen, 9355 k = scnprintf(c, clen, "worker thread last run time: " [all …]
|
| H A D | subr_prf.c | 541 scnprintf(char *buf, size_t size, const char *fmt, ...) in scnprintf() function
|
| H A D | kern_exec.c | 6395 int len = scnprintf(str, sizeof(str), "%s0x%llx", key, entropy[0]); in exec_add_entropy_key() 6399 len = scnprintf(&str[start], remaining, ",0x%llx", entropy[i]); in exec_add_entropy_key()
|
| /xnu-11417.101.15/bsd/libkern/ |
| H A D | libkern.h | 167 int scnprintf(char *__counted_by(count), size_t count, const char *, ...) __printflike(3, 4);
|
| /xnu-11417.101.15/bsd/sys/ |
| H A D | persona.h | 334 p += scnprintf(p, end - p, "%s/%d", in persona_desc()
|
| /xnu-11417.101.15/bsd/net/ |
| H A D | remote_vif.c | 358 n = scnprintf(data, *len, "%s%u", ifnet_name(client->_ifp), in rvi_ctl_getopt()
|
| H A D | dlil_subr.c | 367 namelen = scnprintf(workbuf, sizeof(workbuf), "%s", in dlil_alloc_lladdr()
|
| H A D | if_utun.c | 2423 *len = scnprintf(data, *len, "%s", pcb->utun_if_xname) + 1; in utun_ctl_getopt()
|
| H A D | dlil.c | 7967 k = scnprintf(c, clen, "\ntop ifcq_len %u packets by %s\n", in dlil_dump_top_if_qlen() 7972 k = scnprintf(c, clen, "\ntop inq_len %u packets by %s\n", in dlil_dump_top_if_qlen()
|
| /xnu-11417.101.15/osfmk/ipc/ |
| H A D | ipc_importance.c | 3630 pos += scnprintf(buf + pos, size - pos, "Importance for "); in ipc_importance_extract_content() 3643 pos += scnprintf(buf + pos, size - pos, "%s[%d]", in ipc_importance_extract_content() 3649 pos += scnprintf(buf + pos, size - pos, "pid %d", pid); in ipc_importance_extract_content() 3655 pos += scnprintf(buf + pos, size - pos, in ipc_importance_extract_content()
|
| /xnu-11417.101.15/bsd/skywalk/core/ |
| H A D | skywalk.c | 754 n = scnprintf(o, lim, "%s 0x%llx len %d lim %d\n", label, in __counted_by() 760 n = scnprintf(o, size, "%5d: ", i); in __counted_by()
|
| /xnu-11417.101.15/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 613 dp->d_namlen = (__uint8_t)scnprintf(dp->d_name, sizeof(dp->d_name), in devfs_devfd_readdir()
|
| /xnu-11417.101.15/doc/primitives/ |
| H A D | string-handling.md | 202 build a string with successive calls to `scnprintf`, you would use
|
| /xnu-11417.101.15/bsd/netinet/ |
| H A D | mptcp.c | 1541 k = scnprintf(c, clen, "\nmptcp reass qlen %d\n", mptcp_reass_total_qlen); in dump_mptcp_reass_qlen()
|
| /xnu-11417.101.15/bsd/vm/ |
| H A D | vm_unix.c | 3272 len = scnprintf(str, sizeof(str), "0x%llx:0x%llx 0x%llx:0x%llx",
|