Home
last modified time | relevance | path

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

1234567

/xnu-8792.81.2/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-8792.81.2/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-8792.81.2/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.cpp104 snprintf(temp, sizeof(temp), "%u", tagIdx); in previouslySerialized()
138 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-8792.81.2/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-8792.81.2/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()
/xnu-8792.81.2/tests/
H A Ddebug_enable_syscall_rejection.c89 snprintf(binary_path, MAXPATHLEN, "%s/%s", binary_dir, helper_binary); in helper()
175 T_QUIET; T_ASSERT_GE_INT(snprintf(pos1, max_pos_len, "%u", i), 0, "creating pos1");
176 T_QUIET; T_ASSERT_GE_INT(snprintf(pos2, max_pos_len, "%u", i + 1), 0, "creating pos2");
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 Dpersona.c26 snprintf(pinfo.persona_name, MAXLOGNAME, "persona_test.%s", uuid_string); in _create_persona()
88 snprintf(pinfo.persona_name, MAXLOGNAME, "persona_test.%s", uuid_string);
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-8792.81.2/libkern/uuid/
H A Duuid.c164 snprintf(out, in uuid_unparse_lower()
181 snprintf(out, in uuid_unparse_upper()
/xnu-8792.81.2/tests/ipc/
H A Dwaitq.c19 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
/xnu-8792.81.2/tests/vm/
H A Dvm_kern.c20 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
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-8792.81.2/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-8792.81.2/bsd/skywalk/nexus/flowswitch/
H A Dfsw_netagent.c330 (void) snprintf(agent.agent.netagent_domain, in fsw_netagent_register()
332 (void) snprintf(agent.agent.netagent_type, in fsw_netagent_register()
334 (void) snprintf(agent.agent.netagent_desc, in fsw_netagent_register()

1234567