| /xnu-10063.141.1/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 | 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 | 34 T_ASSERT_NOTNULL(semp, "semaphore passed to thread should not be NULL"); in spinning_thread() 153 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 354 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 518 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 532 T_ASSERT_NOTNULL(per_cpu, "allocated timer latency tracking"); 555 T_ASSERT_NOTNULL(fire_times, "allocated fire time tracking"); 730 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); in expect_kdebug_trigger() 773 T_ASSERT_NOTNULL(filter, NULL); in expect_kdebug_trigger() 875 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); 920 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); [all …]
|
| /xnu-10063.141.1/tests/ |
| 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 | 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 | 89 T_QUIET; T_ASSERT_NOTNULL(msg, "pfkey align msg"); in pfkey_align() 90 T_QUIET; T_ASSERT_NOTNULL(mhp, "pfkey align mhp"); in pfkey_align() 1085 T_QUIET; T_ASSERT_NOTNULL(pfkey_source, "dispatch_source_create(DISPATCH_SOURCE_TYPE_READ, ...)"); in pfkey_setup_socket() 1117 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd add policy message is NULL"); in pfkey_process_message_test_60822136() 1126 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd get policy message is NULL"); in pfkey_process_message_test_60822136() 1140 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd delete2 policy message is NULL"); in pfkey_process_message_test_60822136() 1150 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd dump policy message is NULL"); in pfkey_process_message_test_60822136() 1187 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd add policy message is NULL"); in pfkey_process_message_test_60822924() 1196 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd enable policy message is NULL"); in pfkey_process_message_test_60822924() 1210 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 | ipsec.m | 144 T_QUIET; T_ASSERT_NOTNULL(ipsecIfName, "failed to get ipsec interface name"); 149 T_QUIET; T_ASSERT_NOTNULL(delegateIPsecIfName, "failed to get delegate ipsec interface name"); 240 T_QUIET; T_ASSERT_NOTNULL(msg, "pfkey align msg"); 241 T_QUIET; T_ASSERT_NOTNULL(mhp, "pfkey align mhp"); 345 T_QUIET; T_ASSERT_NOTNULL(sa_message, "add sa message is NULL"); 427 T_QUIET; T_ASSERT_NOTNULL(pfkey_source, "dispatch_source_create(DISPATCH_SOURCE_TYPE_READ, ...)"); 505 T_QUIET; T_ASSERT_NOTNULL(ipsecIfName, "failed to get ipsec interface name"); 523 T_QUIET; T_ASSERT_NOTNULL(interface, "ipsec interface creation failed"); 537 T_QUIET; T_ASSERT_NOTNULL(ipsecIfName, "failed to get ipsec interface name"); 589 T_QUIET; T_ASSERT_NOTNULL(delegateIPsecIfName, "failed to get ipsec interface name"); [all …]
|
| H A D | stackshot_tests.m | 101 T_QUIET; T_ASSERT_NOTNULL(buf, "allocated stackshot buffer"); 162 T_ASSERT_NOTNULL(config, "created stackshot config"); 245 T_WITH_ERRNO; T_QUIET; T_ASSERT_NOTNULL(f, 527 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "dqlabel child semaphore"); 530 T_QUIET; T_ASSERT_NOTNULL(parent_done_sem, "dqlabel parent semaphore"); 533 T_QUIET; T_ASSERT_NOTNULL(dq, "dispatch queue"); 562 T_QUIET; T_ASSERT_NOTNULL(cacheaddr_env, "getenv("CACHEADDR_ENV")"); 571 T_QUIET; T_ASSERT_NOTNULL(addr, "shared cache address"); 595 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "shared_cache child semaphore"); 598 T_QUIET; T_ASSERT_NOTNULL(signal_processing_q, "signal processing queue"); [all …]
|
| H A D | posix_spawn_filtering.c | 112 T_ASSERT_NOTNULL(strstr(env_file_content, "HELLO=WORLD\n"), "original env var present"); 113 T_ASSERT_NOTNULL(strstr(env_file_content, "ADDED_VAR=VIA_RULES\n"), "added env var present");
|
| H A D | shared_cache_reslide_test.c | 232 T_ASSERT_NOTNULL(ptr, "faulting on %p in the shared region", (void *)ptr); 253 T_ASSERT_NOTNULL(ptr, "faulting on %p in the shared region", (void *)ptr); 262 T_ASSERT_NOTNULL(ptr, "faulting on write on %p in the shared region", (void *)ptr);
|
| 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 | cpucount.c | 61 T_QUIET; T_ASSERT_NOTNULL(dict, "dict must not be null"); in dict_number_internal() 62 T_QUIET; T_ASSERT_NOTNULL(key, " key must not be null"); in dict_number_internal() 63 T_QUIET; T_ASSERT_NOTNULL(dst_out, "dst out must not be null"); in dict_number_internal() 66 …T_QUIET; T_ASSERT_NOTNULL(val, "unable to get value for key %s", CFStringGetCStringPtr(key, kCFStr… in dict_number_internal()
|
| H A D | libmalloc_apple_array.c | 159 T_WITH_ERRNO; T_ASSERT_NOTNULL(stdout_f, "open(%s)", stdout_path); in get_apple_array() 161 T_QUIET; T_ASSERT_NOTNULL(apple_array, "calloc: %lu\n", sizeof(char *) * kMaxNumArguments); in get_apple_array() 197 T_ASSERT_NOTNULL(str, "skip over ="); in get_apple_array_key()
|
| 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 | perf_compressor.c | 213 T_QUIET; T_ASSERT_NOTNULL(ds_decompr, "dispatch_source_create (ds_decompr)"); in run_compressor_test() 222 T_QUIET; T_ASSERT_NOTNULL(ds_freeze, "dispatch_source_create (ds_freeze)"); in run_compressor_test() 263 T_QUIET; T_ASSERT_NOTNULL(ds_proc, "dispatch_source_create (ds_proc)"); in run_compressor_test()
|
| /xnu-10063.141.1/tests/cpu_counters/ |
| H A D | kpc_tests.c | 154 T_QUIET; T_ASSERT_NOTNULL(configs, "allocated config words"); in prepare_kpc() 182 T_QUIET; T_ASSERT_NOTNULL(configs, "allocated config words"); in kpc_reset_atend() 209 T_QUIET; T_ASSERT_NOTNULL(threads, "allocated array of threads"); in start_threads() 319 T_QUIET; T_ASSERT_NOTNULL(counts, "allocated space for counter values"); 322 T_QUIET; T_ASSERT_NOTNULL(tly, "allocated space for tallies"); 375 T_QUIET; T_ASSERT_NOTNULL(ctrs_a, NULL); 387 T_QUIET; T_ASSERT_NOTNULL(ctrs_b, NULL); 443 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(ktconfig, "create current config"); 448 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(cpus, "allocate CPUs array"); 457 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(sess, "ktrace_session_create"); [all …]
|
| /xnu-10063.141.1/tests/vm/ |
| H A D | memorystatus_freeze_test.c | 339 T_QUIET; T_ASSERT_NOTNULL(ds_freeze, "dispatch_source_create (ds_freeze)"); 374 T_QUIET; T_ASSERT_NOTNULL(ds_proc, "dispatch_source_create (ds_proc)"); 635 T_QUIET; T_ASSERT_NOTNULL(ds_signal, "dispatch_source_create"); 767 T_QUIET; T_ASSERT_NOTNULL(frozen_procs, "malloc"); 823 T_QUIET; T_ASSERT_NOTNULL(snapshot, "Allocate snapshot of size %d", size); 852 T_QUIET; T_ASSERT_NOTNULL(snapshot, "Got snapshot"); 885 T_QUIET; T_ASSERT_NOTNULL(ds_signal, "dispatch_source_create"); 964 T_QUIET; T_ASSERT_NOTNULL(child_entry, "Found child in snapshot"); 995 T_ASSERT_NOTNULL(snapshot, "Got freezer snapshot"); 997 T_QUIET; T_ASSERT_NOTNULL(child_entry, "Child is in freezer snapshot"); [all …]
|
| /xnu-10063.141.1/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,
|