Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 175) sorted by relevance

1234567

/xnu-8020.121.3/osfmk/tests/
H A Dktest_emit.c72 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 Dtest_file_helper.c38 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 Dramdisk.c20 snprintf(path, MAXPATHLEN, "/Volumes/%s", name); in setup_ram_volume()
/xnu-8020.121.3/libkern/c++/
H A DOSNumber.cpp184 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 DOSSerialize.cpp93 snprintf(temp, sizeof(temp), "%u", tagIdx); in previouslySerialized()
127 snprintf(temp, sizeof(temp), "%u", tagIdx); in addXMLStartTag()
H A DOSUnserialize.y265snprintf(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 Dinet_ntoa.c40 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 Dkern_asl.c95 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 Dtty_pty.c137 return snprintf(buffer, size, "/dev/tty%c%x", in pty_get_name()
/xnu-8020.121.3/tests/
H A Ddisk_mount_conditioner.c464 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 Din_cksum_test.c21 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 Dproc_core_name_24152432.c66 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 Dperf_exit.c161 snprintf(nthreads_buf, 32, "%d", test_cases[producer_i].threads);
162 snprintf(mem_buf, 32, "%d", test_cases[producer_i].wired_mem);
H A Dhazard.c13 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
H A Dkalloc.c18 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
H A Dcontextswitch.c125 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 Duuid.c164 snprintf(out, in uuid_unparse_lower()
181 snprintf(out, in uuid_unparse_upper()
/xnu-8020.121.3/tests/ipc/
H A Dwaitq.c19 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
/xnu-8020.121.3/tests/vm/
H A Dvm_sysctl_tests.c20 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
H A Dzone_gc_replenish_test.c20 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
H A Dzalloc.c20 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
/xnu-8020.121.3/bsd/skywalk/nexus/flowswitch/
H A Dfsw_netagent.c308 (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 Dnx_netif_mit.c170 (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 Dflow_entry.c358 (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 Dhelpers.c28 snprintf(time_buffer, K_CTIME_BUFFER_LEN, in benchmark_log()

1234567