| /xnu-8020.121.3/osfmk/tests/ |
| H A D | ktest_emit.c | 72 ret = snprintf(msg, in ktest_emit_testbegin() 100 ret = snprintf(msg, in ktest_emit_testskip() 115 ret = snprintf(msg, size, "\n"); in ktest_emit_testskip() 130 ret = snprintf(msg, in ktest_emit_testend() 158 ret = snprintf(msg, in ktest_emit_log() 173 ret = snprintf(msg, size, "\n"); in ktest_emit_log() 190 ret = snprintf(msg, size, in ktest_emit_perfdata() 201 ret = snprintf(msg, size, perfstr, metric, print_value, unit, desc); in ktest_emit_perfdata() 204 ret = snprintf(msg, size, "\n"); in ktest_emit_perfdata() 219 ret = snprintf(msg, in ktest_emit_testcase() [all …]
|
| /xnu-8020.121.3/tools/tests/perf_index/ |
| H A D | test_file_helper.c | 38 snprintf(filepath, MAXPATHLEN, "%s/file_create-%d-%lld", path, thread_id, i); in test_file_create() 46 snprintf(filepath, MAXPATHLEN, "%s/file_create-%d-%lld", path, thread_id, i); in test_file_create() 69 snprintf(filepath, sizeof(filepath), "%s/file_read", path); in test_file_read_setup() 103 snprintf(filepath, sizeof(filepath), "%s/file_read", path); in test_file_read() 132 snprintf(filepath, sizeof(filepath), "%s/file_read", path); in test_file_read_cleanup() 151 snprintf(filepath, sizeof(filepath), "%s/file_write-%d", path, i); in test_file_write_setup() 204 snprintf(filepath, sizeof(filepath), "%s/file_write-%d", path, i); in test_file_write_cleanup()
|
| H A D | ramdisk.c | 20 snprintf(path, MAXPATHLEN, "/Volumes/%s", name); in setup_ram_volume()
|
| /xnu-8020.121.3/libkern/c++/ |
| H A D | OSNumber.cpp | 184 snprintf(temp, sizeof(temp), "integer size=\"%d\"", size); in serialize() 191 snprintf(temp, sizeof(temp), "0x%lx%08lx", (unsigned long)(value >> 32), in serialize() 194 snprintf(temp, sizeof(temp), "0x%lx", (unsigned long)value); in serialize()
|
| H A D | OSSerialize.cpp | 93 snprintf(temp, sizeof(temp), "%u", tagIdx); in previouslySerialized() 127 snprintf(temp, sizeof(temp), "%u", tagIdx); in addXMLStartTag()
|
| H A D | OSUnserialize.y | 265 …snprintf(yyerror_message, sizeof(yyerror_message), "OSUnserialize: %s near line %d\n", s, lineNumb… in yyerror() 509 snprintf(key, sizeof(key), "%u", tag); in rememberObject() 518 snprintf(key, sizeof(key), "%u", tag); in retrieveObject()
|
| /xnu-8020.121.3/libkern/net/ |
| H A D | inet_ntoa.c | 40 snprintf(buf, sizeof(buf), "%d.%d.%d.%d", in inet_ntoa() 53 snprintf(buf, buflen, "%d.%d.%d.%d", in inet_ntoa_r()
|
| /xnu-8020.121.3/bsd/kern/ |
| H A D | kern_asl.c | 95 snprintf(fmt, MAX_FMT_LEN, "%s [%s %d] [%s %s] ", in kern_asl_msg_va() 100 snprintf(fmt, MAX_FMT_LEN, "%s [%s %d] ", in kern_asl_msg_va()
|
| H A D | tty_pty.c | 137 return snprintf(buffer, size, "/dev/tty%c%x", in pty_get_name()
|
| /xnu-8020.121.3/tests/ |
| H A D | disk_mount_conditioner.c | 464 snprintf(cmd, sizeof(cmd), "hdik -nomount ram://10000 > %s", dev_disk_file); in mkramdisk() 470 snprintf(eject_cmd, sizeof(eject_cmd), "hdik -e `cat %s`", dev_disk_file); in mkramdisk() 476 snprintf(cmd, sizeof(cmd), "newfs_hfs `cat %s`", dev_disk_file); in mkramdisk() 480 snprintf(cmd, sizeof(cmd), "mount -t hfs `cat %s` %s", dev_disk_file, mount_path); in mkramdisk() 517 snprintf(temp_path, PATH_MAX, "%s/dmc.XXXXXXXX", mount_path); in perf_setup()
|
| H A D | in_cksum_test.c | 21 off = (unsigned)snprintf(buf, sizeof(buf), "%08x:", i); in log_hexdump() 23 …off += (unsigned)snprintf(buf + off, sizeof(buf) - off, " %02x", (((const uint8_t *)inp)[i]) & 0xf… in log_hexdump()
|
| H A D | proc_core_name_24152432.c | 66 snprintf(buf, BUFFLEN, "%s %s", ls_path, dump_dir); in list_coredump_files() 121 snprintf(buf, BUFFLEN, format, pid); in look_for_coredump()
|
| H A D | perf_exit.c | 161 snprintf(nthreads_buf, 32, "%d", test_cases[producer_i].threads); 162 snprintf(mem_buf, 32, "%d", test_cases[producer_i].wired_mem);
|
| H A D | hazard.c | 13 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|
| H A D | kalloc.c | 18 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|
| H A D | contextswitch.c | 125 snprintf(name, sizeof(name), "spin thread %2d", thread_id); in spin_thread() 139 snprintf(name, sizeof(name), "thread %2d", thread_id); in thread()
|
| /xnu-8020.121.3/libkern/uuid/ |
| H A D | uuid.c | 164 snprintf(out, in uuid_unparse_lower() 181 snprintf(out, in uuid_unparse_upper()
|
| /xnu-8020.121.3/tests/ipc/ |
| H A D | waitq.c | 19 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|
| /xnu-8020.121.3/tests/vm/ |
| H A D | vm_sysctl_tests.c | 20 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|
| H A D | zone_gc_replenish_test.c | 20 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|
| H A D | zalloc.c | 20 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|
| /xnu-8020.121.3/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_netagent.c | 308 (void) snprintf(agent.agent.netagent_domain, in fsw_netagent_register() 310 (void) snprintf(agent.agent.netagent_type, in fsw_netagent_register() 312 (void) snprintf(agent.agent.netagent_desc, in fsw_netagent_register()
|
| /xnu-8020.121.3/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_mit.c | 170 (void) snprintf(mit->mit_name, sizeof(mit->mit_name), in nx_netif_mit_init() 173 (void) snprintf(mit->mit_name, sizeof(mit->mit_name), in nx_netif_mit_init() 177 (void) snprintf(oid_name, sizeof(oid_name), in nx_netif_mit_init() 181 (void) snprintf(mit->mit_name, sizeof(mit->mit_name), in nx_netif_mit_init() 184 (void) snprintf(mit->mit_name, sizeof(mit->mit_name), in nx_netif_mit_init() 188 (void) snprintf(oid_name, sizeof(oid_name), in nx_netif_mit_init()
|
| /xnu-8020.121.3/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_entry.c | 358 (void) snprintf(fe->fe_proc_name, sizeof(fe->fe_proc_name), "%s", in flow_entry_alloc() 549 (void) snprintf(sf->sf_proc_name, sizeof(sf->sf_proc_name), "%s", in fe_stats_init() 551 (void) snprintf(sf->sf_eproc_name, sizeof(sf->sf_eproc_name), "%s", in fe_stats_init() 725 (void) snprintf(dst, dsz, in fk_as_string() 743 (void) snprintf(dst, dsz, in fe_as_string()
|
| /xnu-8020.121.3/tests/benchmark/ |
| H A D | helpers.c | 28 snprintf(time_buffer, K_CTIME_BUFFER_LEN, in benchmark_log()
|