| /xnu-8792.41.9/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 | 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 | 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 | 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 | pfkey.c | 83 T_QUIET; T_ASSERT_NOTNULL(msg, "pfkey align msg"); in pfkey_align() 84 T_QUIET; T_ASSERT_NOTNULL(mhp, "pfkey align mhp"); in pfkey_align() 1072 T_QUIET; T_ASSERT_NOTNULL(pfkey_source, "dispatch_source_create(DISPATCH_SOURCE_TYPE_READ, ...)"); in pfkey_setup_socket() 1104 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd add policy message is NULL"); in pfkey_process_message_test_60822136() 1113 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd get policy message is NULL"); in pfkey_process_message_test_60822136() 1127 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd delete2 policy message is NULL"); in pfkey_process_message_test_60822136() 1137 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd dump policy message is NULL"); in pfkey_process_message_test_60822136() 1174 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd add policy message is NULL"); in pfkey_process_message_test_60822924() 1183 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd enable policy message is NULL"); in pfkey_process_message_test_60822924() 1197 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd delete2 policy message is NULL"); in pfkey_process_message_test_60822924() [all …]
|
| 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 | stackshot_tests.m | 90 T_QUIET; T_ASSERT_NOTNULL(buf, "allocated stackshot buffer"); 151 T_ASSERT_NOTNULL(config, "created stackshot config"); 234 T_WITH_ERRNO; T_QUIET; T_ASSERT_NOTNULL(f, 515 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "dqlabel child semaphore"); 518 T_QUIET; T_ASSERT_NOTNULL(parent_done_sem, "dqlabel parent semaphore"); 521 T_QUIET; T_ASSERT_NOTNULL(dq, "dispatch queue"); 550 T_QUIET; T_ASSERT_NOTNULL(cacheaddr_env, "getenv("CACHEADDR_ENV")"); 559 T_QUIET; T_ASSERT_NOTNULL(addr, "shared cache address"); 583 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "shared_cache child semaphore"); 586 T_QUIET; T_ASSERT_NOTNULL(signal_processing_q, "signal processing queue"); [all …]
|
| 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 | 156 T_WITH_ERRNO; T_ASSERT_NOTNULL(stdout_f, "open(%s)", stdout_path); in get_apple_array() 158 T_QUIET; T_ASSERT_NOTNULL(apple_array, "calloc: %lu\n", sizeof(char *) * kMaxNumArguments); in get_apple_array() 191 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 | monotonic_core.c | 103 T_QUIET; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 180 T_QUIET; T_ASSERT_NOTNULL(threads, "allocated space for threads");
|
| H A D | shared_cache_reslide_test.c | 210 T_ASSERT_NOTNULL(ptr, "faulting on %p in the shared region", (void *)ptr); 231 T_ASSERT_NOTNULL(ptr, "faulting on %p in the shared region", (void *)ptr);
|
| /xnu-8792.41.9/tests/ktrace/ |
| H A D | kperf_backtracing_tests.c | 45 T_QUIET; T_ASSERT_NOTNULL(name, NULL); in expect_frame() 318 T_QUIET; T_ASSERT_NOTNULL(backtrace_started, NULL); in create_backtrace_thread() 322 T_QUIET; T_ASSERT_NOTNULL(backtrace_go, NULL); in create_backtrace_thread() 328 T_QUIET; T_ASSERT_NOTNULL(thread, "backtrace thread created"); in create_backtrace_thread() 343 T_QUIET; T_ASSERT_NOTNULL(backtrace_go, in start_backtrace_thread() 366 T_ASSERT_NOTNULL(s, "ktrace session was created"); 391 T_ASSERT_NOTNULL(filter, "kperf kdebug filter was created"); 430 T_QUIET; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 494 T_ASSERT_NOTNULL(s, "ktrace session was created"); 545 T_QUIET; T_ASSERT_NOTNULL(s, "ktrace session was created"); [all …]
|
| H A D | kpc_tests.c | 115 T_QUIET; T_ASSERT_NOTNULL(configs, "allocated config words"); in prepare_kpc() 134 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(periods, "allocate periods array"); in kpc_reset_atend() 158 T_QUIET; T_ASSERT_NOTNULL(threads, "allocated array of threads"); in start_threads() 268 T_QUIET; T_ASSERT_NOTNULL(counts, "allocated space for counter values"); 271 T_QUIET; T_ASSERT_NOTNULL(tly, "allocated space for tallies"); 324 T_QUIET; T_ASSERT_NOTNULL(ctrs_a, NULL); 336 T_QUIET; T_ASSERT_NOTNULL(ctrs_b, NULL); 381 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(periods, "allocate periods array"); 400 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(ktconfig, "create current config"); 405 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(cpus, "allocate CPUs array"); [all …]
|
| H A D | kdebug_tests.c | 43 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 96 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 102 T_ASSERT_NOTNULL(traced_string, "allocated memory for string"); 120 T_ASSERT_NOTNULL(observed_string, "allocated memory for observed string"); 168 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 242 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 348 T_QUIET; T_ASSERT_NOTNULL(s, NULL); 438 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 484 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session"); 527 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"); 728 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); in expect_kdebug_trigger() 771 T_ASSERT_NOTNULL(filter, NULL); in expect_kdebug_trigger() 873 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 918 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); [all …]
|
| /xnu-8792.41.9/tests/vm/ |
| H A D | memorystatus_freeze_test.c | 353 T_QUIET; T_ASSERT_NOTNULL(ds_freeze, "dispatch_source_create (ds_freeze)"); 388 T_QUIET; T_ASSERT_NOTNULL(ds_proc, "dispatch_source_create (ds_proc)"); 616 T_QUIET; T_ASSERT_NOTNULL(ds_signal, "dispatch_source_create"); 743 T_QUIET; T_ASSERT_NOTNULL(frozen_procs, "malloc"); 799 T_QUIET; T_ASSERT_NOTNULL(snapshot, "Allocate snapshot of size %d", size); 828 T_QUIET; T_ASSERT_NOTNULL(snapshot, "Got snapshot"); 861 T_QUIET; T_ASSERT_NOTNULL(ds_signal, "dispatch_source_create"); 938 T_QUIET; T_ASSERT_NOTNULL(child_entry, "Found child in snapshot"); 967 T_ASSERT_NOTNULL(snapshot, "Got freezer snapshot"); 969 T_QUIET; T_ASSERT_NOTNULL(child_entry, "Child is in freezer snapshot"); [all …]
|
| /xnu-8792.41.9/tests/iokit/ |
| H A D | io_catalog_send_data.m | 26 T_QUIET; T_ASSERT_NOTNULL(cfData, "IOCFSerialize root catalogue array"); 50 T_QUIET; T_ASSERT_NOTNULL(cfstrMatchName,
|