| /xnu-8019.80.24/tests/ |
| H A D | perfmon_unit_tests.c | 42 T_QUIET; T_ASSERT_NOTNULL(config, "created config"); 121 T_QUIET; T_ASSERT_NOTNULL(config, "created config"); 181 T_QUIET; T_ASSERT_NOTNULL(config, "created config"); 218 T_QUIET; T_ASSERT_NOTNULL(config, "created config"); 220 T_QUIET; T_ASSERT_NOTNULL(config_later, "created later config"); 241 T_QUIET; T_ASSERT_NOTNULL(config, "created config"); 243 T_QUIET; T_ASSERT_NOTNULL(config_later, "created later config");
|
| H A D | proc_info_list_kthreads.c | 64 …T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(thread_list_tmp, "malloc(size = %d) failed", allocated_siz… 80 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(thread_list, "realloc(size = %d) failed", buf_used); 85 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(thread_list, "realloc(size = %d) failed", buf_used); 99 T_QUIET; T_ASSERT_NOTNULL(thread_list, "thread_list != NULL");
|
| H A D | processor_info.c | 38 T_ASSERT_NOTNULL(cpu_ports, "valid processor port array"); 49 T_ASSERT_NOTNULL(prestats, "allocate space for stats (pre)"); 70 T_ASSERT_NOTNULL(poststats, "allocate space for stats (post)"); 128 T_QUIET; T_ASSERT_NOTNULL(info_array, "valid processor port array");
|
| H A D | recvmsg_x_test.c | 96 T_QUIET; T_ASSERT_NOTNULL(msgList = calloc(numMsg, sizeof(struct msghdr_x)), "msgList calloc()"); in recvPackets_x() 97 …T_QUIET; T_ASSERT_NOTNULL(srcAddrs = calloc(numMsg, sizeof(struct sockaddr_in)), "srcAddrs calloc(… in recvPackets_x() 98 T_QUIET; T_ASSERT_NOTNULL(vec = calloc(numMsg, sizeof(struct iovec)), "vec calloc()"); in recvPackets_x() 99 T_QUIET; T_ASSERT_NOTNULL(buffers = calloc(numMsg, buflen), "buffers calloc()"); in recvPackets_x() 100 T_QUIET; T_ASSERT_NOTNULL(cmsgBuf = calloc(numMsg, ALIGN(cmsgLen)), "cmsgBuf calloc()"); in recvPackets_x()
|
| H A D | task_create_suid_cred.c | 51 T_QUIET; T_ASSERT_NOTNULL(path, NULL); in test_id_cred() 62 T_QUIET; T_ASSERT_NOTNULL(attr, NULL); in test_id_cred() 85 T_QUIET; T_ASSERT_NOTNULL(file, NULL); in test_id_cred() 90 T_ASSERT_NOTNULL(strstr(line, "euid=0"), "verify that euid is zero"); in test_id_cred() 114 T_QUIET; T_ASSERT_NOTNULL(attr, NULL); in test_id_cred_reuse() 140 T_QUIET; T_ASSERT_NOTNULL(attr, NULL); in test_ls_cred()
|
| H A D | perfmon_tests.c | 40 T_WITH_ERRNO; T_QUIET; T_ASSERT_NOTNULL(dir, "opendir /dev"); in open_monitors() 57 T_QUIET; T_ASSERT_NOTNULL(monitors.names[monitors.length], "strdup"); in open_monitors() 130 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(names, "calloc"); 135 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(names, "calloc");
|
| H A D | shared_cache_tests.c | 23 T_QUIET; T_ASSERT_NOTNULL(tmp_dir, "darwintest created tmp dir"); 39 T_ASSERT_NOTNULL(cache_header, "shared cache present");
|
| H A D | pfkey.c | 80 T_QUIET; T_ASSERT_NOTNULL(msg, "pfkey align msg"); in pfkey_align() 81 T_QUIET; T_ASSERT_NOTNULL(mhp, "pfkey align mhp"); in pfkey_align() 1069 T_QUIET; T_ASSERT_NOTNULL(pfkey_source, "dispatch_source_create(DISPATCH_SOURCE_TYPE_READ, ...)"); in pfkey_setup_socket() 1101 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd add policy message is NULL"); in pfkey_process_message_test_60822136() 1110 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd get policy message is NULL"); in pfkey_process_message_test_60822136() 1124 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd delete2 policy message is NULL"); in pfkey_process_message_test_60822136() 1134 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd dump policy message is NULL"); in pfkey_process_message_test_60822136() 1171 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd add policy message is NULL"); in pfkey_process_message_test_60822924() 1180 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd enable policy message is NULL"); in pfkey_process_message_test_60822924() 1194 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd delete2 policy message is NULL"); in pfkey_process_message_test_60822924() [all …]
|
| H A D | memorystatus_freeze_test.c | 352 T_QUIET; T_ASSERT_NOTNULL(ds_freeze, "dispatch_source_create (ds_freeze)"); 387 T_QUIET; T_ASSERT_NOTNULL(ds_proc, "dispatch_source_create (ds_proc)"); 647 T_QUIET; T_ASSERT_NOTNULL(ds_signal, "dispatch_source_create"); 772 T_QUIET; T_ASSERT_NOTNULL(frozen_procs, "malloc"); 828 T_QUIET; T_ASSERT_NOTNULL(snapshot, "Allocate snapshot of size %d", size); 857 T_QUIET; T_ASSERT_NOTNULL(snapshot, "Got snapshot"); 890 T_QUIET; T_ASSERT_NOTNULL(ds_signal, "dispatch_source_create"); 967 T_QUIET; T_ASSERT_NOTNULL(child_entry, "Found child in snapshot"); 996 T_ASSERT_NOTNULL(snapshot, "Got freezer snapshot"); 998 T_QUIET; T_ASSERT_NOTNULL(child_entry, "Child is in freezer snapshot"); [all …]
|
| H A D | drop_priv.c | 27 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(value_str, in _get_sudo_invoker() 53 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(pw, "getpwnam(\"mobile\")"); in drop_priv()
|
| H A D | stackshot_tests.m | 84 T_QUIET; T_ASSERT_NOTNULL(buf, "allocated stackshot buffer"); 142 T_ASSERT_NOTNULL(config, "created stackshot config"); 219 T_WITH_ERRNO; T_QUIET; T_ASSERT_NOTNULL(f, 428 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "dqlabel child semaphore"); 431 T_QUIET; T_ASSERT_NOTNULL(parent_done_sem, "dqlabel parent semaphore"); 434 T_QUIET; T_ASSERT_NOTNULL(dq, "dispatch queue"); 463 T_QUIET; T_ASSERT_NOTNULL(cacheaddr_env, "getenv("CACHEADDR_ENV")"); 472 T_QUIET; T_ASSERT_NOTNULL(addr, "shared cache address"); 496 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "shared_cache child semaphore"); 499 T_QUIET; T_ASSERT_NOTNULL(signal_processing_q, "signal processing queue"); [all …]
|
| H A D | thread_group_set_32261625.c | 27 T_WITH_ERRNO; T_ASSERT_NOTNULL(machine, "ktrace_get_machine"); 36 T_WITH_ERRNO; T_ASSERT_NOTNULL(session, "ktrace_session_create");
|
| H A D | test_sysctl_kern_procargs_25397314.m | 68 T_QUIET; T_ASSERT_NOTNULL(buffer, "malloc buffer of size %lu", allocSize); 106 T_QUIET; T_ASSERT_NOTNULL(current, "allocated string"); 124 T_QUIET; T_ASSERT_NOTNULL(current, "allocated string"); 263 T_ASSERT_NOTNULL(procargs->executablePath, "executable path should be non-null"); 269 T_ASSERT_NOTNULL(procargs->executablePath, "executable path should be non-null"); 278 T_ASSERT_NOTNULL(procargs->executablePath, "executable path should be non-null"); 308 T_ASSERT_NOTNULL(procargs->executablePath, "executable path should be non-null"); 332 T_ASSERT_NOTNULL(procargs->executablePath, "executable path should be non-null");
|
| H A D | perf_exit.c | 76 T_ASSERT_NOTNULL(dst, "created time statistic"); in create_stat() 88 T_ASSERT_NOTNULL(begin_ts, "created pid array"); 93 T_ASSERT_NOTNULL(session, "created a trace session");
|
| H A D | ipsec.m | 141 T_QUIET; T_ASSERT_NOTNULL(ipsecIfName, "failed to get ipsec interface name"); 146 T_QUIET; T_ASSERT_NOTNULL(delegateIPsecIfName, "failed to get delegate ipsec interface name"); 237 T_QUIET; T_ASSERT_NOTNULL(msg, "pfkey align msg"); 238 T_QUIET; T_ASSERT_NOTNULL(mhp, "pfkey align mhp"); 342 T_QUIET; T_ASSERT_NOTNULL(sa_message, "add sa message is NULL"); 418 T_QUIET; T_ASSERT_NOTNULL(pfkey_source, "dispatch_source_create(DISPATCH_SOURCE_TYPE_READ, ...)"); 496 T_QUIET; T_ASSERT_NOTNULL(ipsecIfName, "failed to get ipsec interface name"); 514 T_QUIET; T_ASSERT_NOTNULL(interface, "ipsec interface creation failed"); 528 T_QUIET; T_ASSERT_NOTNULL(ipsecIfName, "failed to get ipsec interface name"); 580 T_QUIET; T_ASSERT_NOTNULL(delegateIPsecIfName, "failed to get ipsec interface name"); [all …]
|
| H A D | posix_spawn_filtering.c | 111 T_ASSERT_NOTNULL(strstr(env_file_content, "HELLO=WORLD\n"), "original env var present"); 112 T_ASSERT_NOTNULL(strstr(env_file_content, "ADDED_VAR=VIA_RULES\n"), "added env var present");
|
| H A D | trial_experiments.c | 152 T_WITH_ERRNO; T_ASSERT_NOTNULL(stdout_f, "open(%s)", stdout_path); in get_apple_array() 154 T_QUIET; T_ASSERT_NOTNULL(apple_array, "calloc: %lu\n", sizeof(char *) * kMaxNumArguments); in get_apple_array() 187 T_ASSERT_NOTNULL(str, "skip over ="); in get_libmalloc_experiment_factors()
|
| H A D | stackshot_idle_25570396.m | 51 T_ASSERT_NOTNULL(stackshot, "Allocating stackshot config"); 83 T_ASSERT_NOTNULL(buf, "Getting stackshot buffer"); 110 T_ASSERT_NOTNULL(buf, "Getting stackshot buffer"); 152 T_QUIET; T_ASSERT_NOTNULL(thread_wait, "Initializing work queue semaphore"); 154 T_QUIET; T_ASSERT_NOTNULL(main_wait, "Initializing main thread semaphore");
|
| H A D | priority_queue.cpp | 95 T_QUIET; T_ASSERT_NOTNULL(node, NULL); 165 T_QUIET; T_ASSERT_NOTNULL(node, NULL); 233 T_QUIET; T_ASSERT_NOTNULL(node, NULL);
|
| H A D | shared_cache_reslide_test.c | 206 T_ASSERT_NOTNULL(ptr, "faulting on %p in the shared region", (void *)ptr); 227 T_ASSERT_NOTNULL(ptr, "faulting on %p in the shared region", (void *)ptr);
|
| /xnu-8019.80.24/tests/ktrace/ |
| H A D | kperf_backtracing_tests.c | 45 T_QUIET; T_ASSERT_NOTNULL(name, NULL); in expect_frame() 325 T_QUIET; T_ASSERT_NOTNULL(backtrace_started, NULL); in create_backtrace_thread() 329 T_QUIET; T_ASSERT_NOTNULL(backtrace_go, NULL); in create_backtrace_thread() 335 T_QUIET; T_ASSERT_NOTNULL(thread, "backtrace thread created"); in create_backtrace_thread() 350 T_QUIET; T_ASSERT_NOTNULL(backtrace_go, in start_backtrace_thread() 373 T_ASSERT_NOTNULL(s, "ktrace session was created"); 398 T_ASSERT_NOTNULL(filter, "kperf kdebug filter was created"); 437 T_QUIET; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 501 T_ASSERT_NOTNULL(s, "ktrace session was created"); 552 T_QUIET; T_ASSERT_NOTNULL(s, "ktrace session was created"); [all …]
|
| H A D | kpc_tests.c | 113 T_QUIET; T_ASSERT_NOTNULL(configs, "allocated config words"); in prepare_kpc() 132 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(periods, "allocate periods array"); in kpc_reset_atend() 156 T_QUIET; T_ASSERT_NOTNULL(threads, "allocated array of threads"); in start_threads() 264 T_QUIET; T_ASSERT_NOTNULL(counts, "allocated space for counter values"); 267 T_QUIET; T_ASSERT_NOTNULL(tly, "allocated space for tallies"); 319 T_QUIET; T_ASSERT_NOTNULL(ctrs_a, NULL); 331 T_QUIET; T_ASSERT_NOTNULL(ctrs_b, NULL); 374 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(periods, "allocate periods array"); 393 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(ktconfig, "create current config"); 398 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(cpus, "allocate CPUs array"); [all …]
|
| H A D | kdebug_tests.c | 42 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 90 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 164 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 270 T_QUIET; T_ASSERT_NOTNULL(s, NULL); 315 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 357 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 531 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 714 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 750 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 780 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); [all …]
|
| H A D | kperf_tests.c | 32 T_ASSERT_NOTNULL(semp, "semaphore passed to thread should not be NULL"); in spinning_thread() 151 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 352 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 516 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 530 T_ASSERT_NOTNULL(per_cpu, "allocated timer latency tracking"); 553 T_ASSERT_NOTNULL(fire_times, "allocated fire time tracking"); 719 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); in expect_kdebug_trigger() 762 T_ASSERT_NOTNULL(filter, NULL); in expect_kdebug_trigger() 864 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 909 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); [all …]
|
| H A D | kdebug_coproc_tests.c | 27 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(ktsess, "failed to create session"); in future_events_session() 117 T_ASSERT_NOTNULL(ktsess, "create session");
|