| /xnu-11417.121.6/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-11417.121.6/tests/vfs/ |
| H A D | getattrlist_mountextflags.c | 80 snprintf(diskurl, sizeof(diskurl), "/%s", diskid); in get_mount_path() 156 snprintf(args, sizeof(args), "diskutil eject %s", disk); in cleanup() 231 snprintf(image_path, sizeof(image_path), "%s/msdos.dmg", testdir); 234 snprintf(args, sizeof(args), "diskimagetool create -fs none -s 1m %s", image_path); 238 snprintf(args, sizeof(args), "diskimagetool attach --external %s", image_path); 246 snprintf(args, sizeof(args), "newfs_msdos -v MSDOS %s", disk); 250 snprintf(args, sizeof(args), "datest --mount --device %s", disk);
|
| /xnu-11417.121.6/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-11417.121.6/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-11417.121.6/libkern/c++/ |
| H A D | OSNumber.cpp | 252 snprintf(temp, sizeof(temp), "integer size=\"%d\"", size); in serialize() 259 snprintf(temp, sizeof(temp), "0x%lx%08lx", (unsigned long)(value >> 32), in serialize() 262 snprintf(temp, sizeof(temp), "0x%lx", (unsigned long)value); in serialize()
|
| H A D | OSSerialize.cpp | 104 snprintf(temp, sizeof(temp), "%u", tagIdx); in previouslySerialized() 138 snprintf(temp, sizeof(temp), "%u", tagIdx); in addXMLStartTag()
|
| /xnu-11417.121.6/tests/ |
| H A D | locks.c | 22 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test() 58 snprintf(arg, sizeof(arg), "%d", ncpus); in clpc_set_core_count()
|
| H A D | debug_enable_syscall_rejection.c | 89 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 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 | persona.c | 26 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 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 | vm_sanitize.c | 18 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|
| H A D | recoverable_trap.c | 21 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 | thread_test_context.c | 19 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|
| /xnu-11417.121.6/libkern/uuid/ |
| H A D | uuid.c | 164 snprintf(out, in uuid_unparse_lower() 181 snprintf(out, in uuid_unparse_upper()
|
| /xnu-11417.121.6/bsd/kern/ |
| H A D | kdebug_triage.c | 134 snprintf(buf, bufsz, "KTriage Error: Subsystem code %u is invalid\n", subsystem); in ktriage_convert_to_string() 144 …snprintf(buf, bufsz, "KTriage: Subsystem %d reported %u with argument 0x%lx\n", subsystem, strindx… in ktriage_convert_to_string() 148 snprintf(buf, bufsz, "%s(arg = 0x%lx) %s", subsystem_strings[0], arg, subsystem_strings[strindx]); in ktriage_convert_to_string()
|
| /xnu-11417.121.6/bsd/net/ |
| H A D | droptap.c | 253 snprintf(dtaphdr.dth_dropfunc, sizeof(dtaphdr.dth_dropfunc), "%s", funcname); in droptap_input_packet() 279 snprintf(dtaphdr.dth_dropfunc, sizeof(dtaphdr.dth_dropfunc), "%s", funcname); in droptap_output_packet() 359 snprintf(dtaphdr.dth_dropfunc, sizeof(dtaphdr.dth_dropfunc), "%s", funcname); in droptap_input_mbuf() 388 snprintf(dtaphdr.dth_dropfunc, sizeof(dtaphdr.dth_dropfunc), "%s", funcname); in droptap_output_mbuf()
|
| /xnu-11417.121.6/tests/ipc/ |
| H A D | waitq.c | 19 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|
| /xnu-11417.121.6/tests/vm/ |
| H A D | vm_kern.c | 20 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|
| H A D | test_vm_no_pager_helper.c | 101 snprintf(quiet_cmd, sizeof(quiet_cmd), "%s%s", cmd, verbose ? "" : " > /dev/null"); in my_system() 392 snprintf(partition_name, sizeof(partition_name), "%ss2", device_name); in create_disk_image() 399 snprintf(partition_name, sizeof(partition_name), "%s", device_name); in create_disk_image()
|
| /xnu-11417.121.6/tests/iokit/ |
| H A D | ossymbol.c | 21 snprintf(name, sizeof(name), "debug.test.%s", t); in run_sysctl_test()
|