Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/xnu-11215/tools/
H A Dcred_dump_creds.c52 printf( "sysctl failed \n" ); in main()
82 printf("[%02d] ", i); in dump_cred_hash_table()
93 printf("%p ", credp->credp); in dump_cred()
94 printf("%lu ", credp->cr_ref); in dump_cred()
95 printf("%d ", credp->cr_uid); in dump_cred()
96 printf("%d ", credp->cr_ruid); in dump_cred()
97 printf("%d ", credp->cr_svuid); in dump_cred()
102 printf(" "); in dump_cred()
106 printf("%d ", credp->cr_svgid); in dump_cred()
114 printf("] "); in dump_cred()
[all …]
H A Dcred_dump_backtraces.c48 printf( "sysctl failed \n" ); in main()
49 printf( "\terrno %d - \"%s\" \n", errno, strerror( errno )); in main()
56 printf( "malloc error %d - \"%s\" \n", errno, strerror( errno )); in main()
61 printf( "sysctl 2 failed \n" ); in main()
62 printf( "\terrno %d - \"%s\" \n", errno, strerror( errno )); in main()
69 printf("number of traces %d \n", bt_buffp->next_slot); in main()
71 printf("[%d] ", i); in main()
73 printf("%p ", btp->stack[j]); in main()
75 printf("\n"); in main()
/xnu-11215/bsd/netkey/
H A Dkey_debug.c219 printf("}\n");
259 printf("\"");
264 printf(" }\n");
292 printf("}\n");
446 printf("}\n");
581 printf("\n");
584 printf("}\n");
603 printf("\n");
606 printf("\n");
637 printf("\n");
[all …]
/xnu-11215/tools/trace/
H A Dwqtrace.lua8 printf("WARNING: Cannot locate debugid for '%s'\n", codename)
112 printf("%s\tprocess is exiting\n",prefix)
123 printf("%s\tclean up complete\n",prefix)
149 printf("%s\tSelection failed: no request\n", prefix)
151 printf("%s\tSelection failed: throttled\n", prefix)
189 printf("%s\tthread parking\n", prefix)
199 printf("%s\tSTART running thread\n", prefix)
215 printf("%s\tDONE running thread\n", prefix)
319 printf("%s\tentering death call\n", prefix);
321 printf("%s\tleaving death call\n", prefix);
[all …]
H A Dbridgetime.lua8 printf("WARNING: Cannot locate debugid for '%s'\n", codename)
69 printf("%s %30s( %-10s %-10s ) rate = %f\n",
77 printf("%s ( %-10s %-10s ) @ %-20s\n",
85 printf("%s ( %-10s Sleep )\n",
88 printf("%s ( %-10s Wake )\n",
91 printf("%s ( %-10s Reset )\n",
98 printf("%s ( %-10s %-10s ) %s\n",
108 printf("%s SKIP_RESET:%3d (Cur: %-10s Prev:%-10s) %-10s\n",
112 printf("%s SKIP_DISTANCE: (Cur: %-10s Prev: %-10s) %-10s\n",
124 printf("%s ( Cur: %-10s Pred: %-10s Diff: %5.6f ms Count: %d ) @ %-20s\n",
[all …]
H A Dkqtrace.lua8 printf("WARNING: Cannot locate debugid for '%s'\n", codename)
222 printf("%s QoS = %s\n", prefix, qos_string(qos))
224 printf("%s request thread = 0x%x, kqrequest state = %s\n", prefix,
242 printf("%s QoS = %s\n", event_prefix_string(buf, workq), qos_string(qos))
251 printf("%s thread = 0x%x, QoS = %s, kqrequest state = %s\n",
257 printf("%s thread = 0x%x, QoS = %s\n", event_prefix_string(buf, true),
267 printf("%s thread = 0x%x, QoS = %s, override QoS delta = %d, kqrequest state = %s%s\n",
278 printf("%s thread = 0x%x, QoS = %s, flags = 0x%x\n", event_prefix_string(buf, false),
284 printf("%s QoS = %s, kqrequest state = %s, override QoS delta = %d\n",
313 printf("%s kevent udata = 0x%x, kevent filter = %s, kevent flags = %s\n",
[all …]
/xnu-11215/libkern/kxld/
H A DWKdmDecompress.c141 printf("\nIn DECOMPRESSOR\n"); in WKdm_decompress()
147 printf(" %u\n %u\n %u\n %u\n", in WKdm_decompress()
155 printf(" %d", arr[i]); in WKdm_decompress()
157 printf("\n");} in WKdm_decompress()
168 printf(" first 200 tags are: \n"); in WKdm_decompress()
170 printf(" %d", arr[i]); in WKdm_decompress()
172 printf("\n");} in WKdm_decompress()
185 printf(" %d", arr[i]); in WKdm_decompress()
187 printf("\n");} in WKdm_decompress()
267 printf("AFTER DECOMPRESSING\n"); in WKdm_decompress()
[all …]
H A DWKdmCompress.c132 printf("\nIn WKdm_compress\n"); in WKdm_compress()
180 printf("next_full_patt is %p\n", in WKdm_compress()
192 printf(" %d", arr[i]); in WKdm_compress()
194 printf("\n");} in WKdm_compress()
217 printf(" first 200 tags are: \n"); in WKdm_compress()
219 printf(" %d", arr[i]); in WKdm_compress()
221 printf("\n");} in WKdm_compress()
256 printf("dest is range %u to %u\n", in WKdm_compress()
262 printf(" %d", arr[i]); in WKdm_compress()
264 printf("\n");} in WKdm_compress()
[all …]
/xnu-11215/tests/
H A Dimm_pinned_control_port_crasher.c75 printf("[Crasher]: Deallocate pthread_self\n"); in pthread_run()
97 printf("[Crasher]: Deallocate mach_task_self twice\n"); in pinned_test_task_self_dealloc()
109 printf("[Crasher]: Mod refs mach_task_self() to 0\n"); in pinned_test_task_self_mod_ref()
188 printf("[Crasher]: Move send mach_task_self_\n"); in immovable_test_move_send_task_self()
198 printf("[Crasher]: Copy send mach_task_self_\n"); in immovable_test_copy_send_task_self()
232 printf("[Crasher]: Copy send task read port\n"); in immovable_test_copy_send_task_read()
246 printf("[Crasher]: Move send task inspect port\n"); in immovable_test_copy_send_task_inspect()
295 printf("[Crasher]: Copy send thread read port\n"); in immovable_test_copy_send_thread_read()
380 printf("Message sent to timer port successfully\n"); in cfi_test_msg_to_timer_port()
440 printf("[Crasher]: My Pid: %d\n", getpid()); in main()
[all …]
H A Dprioritize_process_launch_helper.c114 printf("mach_msg_send failed with error %d\n", ret); in send()
140 printf("Client: Starting sync receive\n"); in receive()
151 printf("mach msg rcv returned %d\n", ret); in receive()
173 printf("The priority of child is %d\n", priority); in main()
176 printf("Helper process exiting\n"); in main()
181 printf("Helper process execing\n"); in main()
194 printf("posix_spawnattr_init failed \n"); in main()
199 printf("posix_spawnattr_setflags failed \n"); in main()
230 printf("posix_spawnattr_init failed \n"); in main()
236 printf("posix_spawnattr_setflags failed \n"); in main()
[all …]
H A Dfd_table_limits_client.c71 printf("client: Look up bootstrap service port\n"); in connect_to_server()
79 printf("client: Set service port as the resource notify port\n"); in connect_to_server()
102 printf("Usage: ./fd_table_limits_client <soft limit> <hard limit> <test_num>\n"); in main()
118 printf("client: getrlimit failed with err = %d\n", errno); in main()
124 printf("client: raising file open limit from %llu (max %llu) to %d\n", in main()
130 printf("client: setrlimit failed with err = %d\n", errno); in main()
136 printf("client: Starting the fd allocation loop\n"); in main()
141 printf("open(/bin/ls) FD #%d failed with err = %d ", i, errno); in main()
147 printf("client: FD #%d\n", i); in main()
152 printf("client: Hit the soft limit \n"); in main()
[all …]
H A Dport_table_limits_client.c69 printf("client: Look up bootstrap service port\n"); in connect_to_server()
77 printf("client: Allocate reply port\n"); in connect_to_server()
89 printf("client: Allocate dummy port\n"); in connect_to_server()
113 printf("client: Sending request\n"); in connect_to_server()
122 printf("client: Received reply\n"); in connect_to_server()
152 printf("Usage: ./port_table_limits_client <soft limit> <hard limit> <test_num>\n"); in main()
159 printf("client: Wait for a reply message from server before continuing port allocation\n"); in main()
166 printf("client: Starting the receive right allocation loop\n"); in main()
174 printf("client: Port #%d\n", i); in main()
178 printf("client: Hitting the hard limit\n"); in main()
[all …]
H A Dkqworkloop_limits_client.c72 printf("client: Look up bootstrap service port\n"); in connect_to_server()
80 printf("client: Set service port as the resource notify port\n"); in connect_to_server()
103 printf("Usage: ./kqworkloop_limits_client <soft limit> <hard limit> <test_num>\n"); in main()
107printf("client: soft limit = %d, hard limit = %d, test_num = %d\n", soft_limit, hard_limit, test_n… in main()
119 printf("client: Starting the kqworkloop allocation loop\n"); in main()
132 printf("Received a message on port"); in main()
139 printf("client: Allocating source #%d\n", i); in main()
144 printf("client: Hit the soft limit \n"); in main()
151 printf("client: Hit the hard limit\n"); in main()
/xnu-11215/osfmk/console/art/
H A Dprogress.m48 printf("{");
57 printf("\n}");
116 printf("\n");
141 printf(",");
143 printf("};\n");
147 printf(",");
149 printf("};\n");
153 printf(",");
159 printf(",");
165 printf(",");
[all …]
/xnu-11215/tools/tests/execperf/
H A Dprintexecinfo.c18 printf("argv = %p\n", argv); in init()
20 printf("argv[%2d] = %p %.100s%s\n", i, argv[i], argv[i], strlen(argv[i]) > 100 ? "..." : ""); in init()
22 printf("envp = %p\n", envp); in init()
24 printf("envp[%2d] = %p %.100s%s\n", i, envp[i], envp[i], strlen(envp[i]) > 100 ? "..." : ""); in init()
26 printf("appl = %p\n", appl); in init()
28 printf("appl[%2d] = %p %.100s%s\n", i, appl[i], appl[i], strlen(appl[i]) > 100 ? "..." : ""); in init()
40 printf("executable load address = 0x%016llx\n", (uint64_t)(uintptr_t)&_mh_execute_header); in printexecinfo()
41 printf("executable cputype 0x%08x cpusubtype 0x%08x (%s:%s)\n", in printexecinfo()
52 printf(" stack address = 0x%016llx\n", stackaddr); in printexecinfo()
71printf(" dyld load address = 0x%016llx\n", (uint64_t)(uintptr_t)all_image_infos->dyldImageLoa… in printdyldinfo()
[all …]
/xnu-11215/bsd/kern/
H A Dsysv_msg.c84 #define MPRINTF(a) printf(a)
410 printf("no such msqid\n"); in msgctl()
417 printf("wrong sequence number\n"); in msgctl()
610 printf("found public key\n"); in msgget()
614 printf("not exclusive\n"); in msgget()
811 printf("msqid is locked\n"); in msgsnd_nocancel()
842 printf("no more msghdrs\n"); in msgsnd_nocancel()
873 printf("goodnight\n"); in msgsnd_nocancel()
897 printf("msqid deleted\n"); in msgsnd_nocancel()
1337 printf("msgrcv: goodnight\n"); in msgrcv_nocancel()
[all …]
H A Dkern_trustcache.c135 printf("unable to allocate memory for image4 payload: %d\n", ret); in txm_load_trust_cache()
812 printf("unable to find payload within img4 object\n"); in load_trust_cache_with_type()
820 printf("unable to find manifest within img4 object\n"); in load_trust_cache_with_type()
888 printf("successfully loaded trust cache of type: %u\n", type); in load_trust_cache_with_type()
918 printf("unable to load legacy trust cache: %d\n", ret); in load_legacy_trust_cache()
920 printf("successfully loaded legacy trust cache\n"); in load_legacy_trust_cache()
935 printf("unable to query trust caches: no cdhash provided\n"); in query_trust_cache()
958 printf("unable to query trust caches: no cdhash provided\n"); in query_trust_cache_for_rem()
1124 printf("skipping engineering trust cache module: %u\n", i); in load_static_trust_cache()
1148 printf("loaded external trust cache module: %u\n", i); in load_static_trust_cache()
[all …]
H A Dnetboot.c351 printf("netboot: NFS boot is deprecated\n"); in netboot_info_init()
357 printf("netboot: HTTP URL %s\n", info->image_path); in netboot_info_init()
422 printf("netboot: path too small %zu < %zu\n", in netboot_rootpath()
600 printf("netboot: no suitable interface\n"); in netboot_mountroot()
609 printf("netboot: socreate, error=%d\n", error); in netboot_mountroot()
615 printf("netboot: SIFFLAGS, error=%d\n", error); in netboot_mountroot()
621 printf("netboot: can't retrieve IP parameters\n"); in netboot_mountroot()
626 printf(" netmask " IP_FORMAT, IP_LIST(&netmask)); in netboot_mountroot()
629 printf(" router " IP_FORMAT, IP_LIST(&router)); in netboot_mountroot()
631 printf("\n"); in netboot_mountroot()
[all …]
/xnu-11215/tools/tests/personas/
H A Dpersona_mgr.c157 printf("%s\n\n", msg); in usage_main()
160 printf("%s v%d.%d\n", PROG_NAME, PROG_VMAJOR, PROG_VMINOR); in usage_main()
167 printf("\t%-15s\tBe verbose\n", "-v"); in usage_main()
169 printf("\t%-15s\tID of the persona\n", "-i id"); in usage_main()
170 printf("\t%-15s\tType of the persona\n", "-t type"); in usage_main()
172 printf("\t%-15s\tUID to use in lookup\n", "-u uid"); in usage_main()
173 printf("\t%-15s\tGID of the persona\n", "-g gid"); in usage_main()
174 printf("\t%-15s\tLogin name of the persona\n", "-l login"); in usage_main()
176 printf("\t%-15s\tgroupspec: G1{,G2,G3...}\n", " "); in usage_main()
179 printf("\n"); in usage_main()
[all …]
H A Dpersona_spawn.c274 printf(" Spawn a new process into a new or existing persona.\n"); in usage_main()
279 printf("\t%-10s\tID of the persona\n", "-I id"); in usage_main()
281 printf("\t%-10s\tOverride/verify the user ID of the new process\n", "-u uid"); in usage_main()
282 printf("\t%-10s\tOverride/verify the group ID of the new process\n", "-g gid"); in usage_main()
284 printf("\t%-15s\tgroupspec: G1{,G2,G3...}\n", " "); in usage_main()
285 printf("\t%-10s\tBe verbose\n", "-v"); in usage_main()
286 printf("\t%-10s\tDo not wait for the child process\n", "-w"); in usage_main()
287 printf("\n"); in usage_main()
313 printf("child exiting (%s).\n", argv[optind]); in main()
380 printf("Invalid option: '%c'\n", ch); in main()
[all …]
/xnu-11215/tools/lockstat/
H A Dlockstat.c111 printf("count = %d\n", count); in main()
298 printf("%16lld ", curptr->lock_spin_util_cnt); in print_spin()
299 printf("%16lld ", curptr->lock_spin_miss_cnt); in print_spin()
300 printf("%-14s\n", curptr->lockgroup_name); in print_spin()
312 printf("\n"); in print_all_spin()
331 printf("%16lld ", curptr->lock_mtx_util_cnt); in print_mutex()
337 printf("%-14s\n", curptr->lockgroup_name); in print_mutex()
349 printf("\n"); in print_all_mutex()
364 printf("%16lld ", curptr->lock_rw_util_cnt); in print_rw()
366 printf("%-14s\n", curptr->lockgroup_name); in print_rw()
[all …]
/xnu-11215/tests/vm/
H A Dtest_vm_no_pager_helper.c26 printf(__VA_ARGS__); \
32 printf(__VA_ARGS__); \
136 printf("popen for command `%s` failed\n", tmp); in execute_and_get_output()
231 printf("couldn't open %s\n", file_path); in read_and_cause_ungraft_crash()
237 printf("couldn't mmap, errno %d\n", errno); in read_and_cause_ungraft_crash()
328 printf("Setting up host\n"); in setup_host_image()
340 printf("Setting up graft\n"); in setup_graft_image()
390 printf("Bad test argument passed\n"); in main()
399 printf("running test %d\n", test_to_run); in main()
403 printf("Running in verbose mode\n"); in main()
[all …]
/xnu-11215/makedefs/
H A DMakeInc.color27 printf "%-.6s%*.*s %9.9s" \
34 printf "%d" $$$$(($$(LOG_PFX_LEN) - $$$${\#__TMP} - 3)))
35 MACHINE_PFX_COL = $$(shell printf "\\033[1m%s\\033[m" "$$(MACHINE_PFX)")
37 Color0:=$$(shell printf "\\033[m")
39 ColorH:=$$(shell printf "\\033[1m")
41 ColorC:=$$(shell printf "[$$(MACHINE_PFX_COL)] \\033[1;34m")
43 ColorM:=$$(shell printf "[$$(MACHINE_PFX_COL)] \\033[1;32m")
45 ColorL:=$$(shell printf "[$$(MACHINE_PFX_COL)] \\033[1;35m")
47 ColorF:=$$(shell printf "")
49 ColorLF:=$$(shell printf "\\033[3m")
[all …]
/xnu-11215/tools/tests/jitter/
H A Dtimer_jitter.c95 printf("Invalid thread policy %s\n", str); in parse_thread_policy()
135 printf("invalid policy type\n"); in thread_setup()
205 printf("Max %s jitter: %.1lf%%\n", label, max * 100); in print_stats_fract()
206 printf("Min %s jitter: %.1lf%%\n", label, min * 100); in print_stats_fract()
207 printf("Avg %s jitter: %.1lf%%\n", label, avg * 100); in print_stats_fract()
208 printf("Stddev: %.1lf%%\n", stddev * 100); in print_stats_fract()
323 printf("Couldn't allocate semaphore %d\n", kret); in main()
329 printf("Couldn't allocate semaphore %d\n", kret); in main()
355 printf("Couldn't set thread policy.\n"); in main()
367 printf("Couldn't disable wake monitor.\n"); in main()
[all …]
/xnu-11215/tools/tests/affinity/
H A Dtags.c17 printf(x); \
23 printf(x); \
53 printf("thread_policy_set(1) returned %d\n", ret); in thread_tag_set()
70 printf("thread_policy_set(1) returned %d\n", ret); in thread_tag_get()
92 printf("Must be run as root\n"); in main()
128 printf(" %d: thread 0x%08x tag %d\n", in main()
133 printf("Enter new tag or <return> to skip or ^D to quit\n"); in main()
136 printf(" %d: thread 0x%08x tag %d: ", in main()
141 printf("\n"); in main()

12345678910>>...20