Home
last modified time | relevance | path

Searched refs:T_ASSERT_NOTNULL (Results 1 – 25 of 111) sorted by relevance

12345

/xnu-12377.81.4/tests/ktrace/
H A Dkperf_backtracing_tests.c47 T_QUIET; T_ASSERT_NOTNULL(name, NULL); in expect_frame()
320 T_QUIET; T_ASSERT_NOTNULL(backtrace_started, NULL); in create_backtrace_thread()
324 T_QUIET; T_ASSERT_NOTNULL(backtrace_go, NULL); in create_backtrace_thread()
330 T_QUIET; T_ASSERT_NOTNULL(thread, "backtrace thread created"); in create_backtrace_thread()
345 T_QUIET; T_ASSERT_NOTNULL(backtrace_go, in start_backtrace_thread()
368 T_ASSERT_NOTNULL(s, "ktrace session was created");
393 T_ASSERT_NOTNULL(filter, "kperf kdebug filter was created");
432 T_QUIET; T_ASSERT_NOTNULL(s, "ktrace_session_create");
496 T_ASSERT_NOTNULL(s, "ktrace session was created");
547 T_QUIET; T_ASSERT_NOTNULL(s, "ktrace session was created");
[all …]
H A Dkdebug_tests.c44 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session");
98 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session");
104 T_ASSERT_NOTNULL(traced_string, "allocated memory for string");
122 T_ASSERT_NOTNULL(observed_string, "allocated memory for observed string");
171 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session");
246 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session");
353 T_QUIET; T_ASSERT_NOTNULL(s, NULL);
444 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session");
491 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session");
534 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session");
[all …]
H A Dkperf_tests.c34 T_ASSERT_NOTNULL(semp, "semaphore passed to thread should not be NULL"); in spinning_thread()
154 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create");
356 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create");
521 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create");
535 T_ASSERT_NOTNULL(per_cpu, "allocated timer latency tracking");
558 T_ASSERT_NOTNULL(fire_times, "allocated fire time tracking");
734 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create"); in expect_kdebug_trigger()
777 T_ASSERT_NOTNULL(filter, NULL); in expect_kdebug_trigger()
883 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create");
928 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "ktrace_session_create");
[all …]
/xnu-12377.81.4/tests/
H A Dproc_info_list_kthreads.c65 …T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(thread_list_tmp, "malloc(size = %d) failed", allocated_siz…
81 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(thread_list, "realloc(size = %d) failed", buf_used);
86 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(thread_list, "realloc(size = %d) failed", buf_used);
100 T_QUIET; T_ASSERT_NOTNULL(thread_list, "thread_list != NULL");
H A Dprocessor_info.c44 T_ASSERT_NOTNULL(cpu_ports, "valid processor port array");
55 T_ASSERT_NOTNULL(prestats, "allocate space for stats (pre)");
76 T_ASSERT_NOTNULL(poststats, "allocate space for stats (post)");
134 T_QUIET; T_ASSERT_NOTNULL(info_array, "valid processor port array");
H A Drecvmsg_x_test.c96 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 Dshared_cache_tests.c23 T_QUIET; T_ASSERT_NOTNULL(tmp_dir, "darwintest created tmp dir");
39 T_ASSERT_NOTNULL(cache_header, "shared cache present");
H A Ddrop_priv.c27 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 Dpfkey.c92 T_QUIET; T_ASSERT_NOTNULL(msg, "pfkey align msg"); in pfkey_align()
93 T_QUIET; T_ASSERT_NOTNULL(mhp, "pfkey align mhp"); in pfkey_align()
1117 T_QUIET; T_ASSERT_NOTNULL(pfkey_source, "dispatch_source_create(DISPATCH_SOURCE_TYPE_READ, ...)"); in pfkey_setup_socket()
1149 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd add policy message is NULL"); in pfkey_process_message_test_60822136()
1158 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd get policy message is NULL"); in pfkey_process_message_test_60822136()
1172 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd delete2 policy message is NULL"); in pfkey_process_message_test_60822136()
1182 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd dump policy message is NULL"); in pfkey_process_message_test_60822136()
1219 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd add policy message is NULL"); in pfkey_process_message_test_60822924()
1228 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd enable policy message is NULL"); in pfkey_process_message_test_60822924()
1242 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd delete2 policy message is NULL"); in pfkey_process_message_test_60822924()
[all …]
H A Dthread_group_set_32261625.c27 T_WITH_ERRNO; T_ASSERT_NOTNULL(machine, "ktrace_get_machine");
36 T_WITH_ERRNO; T_ASSERT_NOTNULL(session, "ktrace_session_create");
H A Dtest_sysctl_kern_procargs_25397314.m68 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 Dperf_exit.c76 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 Dipsec.m144 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 Dposix_spawn_filtering.c112 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 Dstackshot_tests.m120 T_QUIET; T_ASSERT_NOTNULL(buf, "allocated stackshot buffer");
182 T_ASSERT_NOTNULL(config, "created stackshot config");
265 T_WITH_ERRNO; T_QUIET; T_ASSERT_NOTNULL(f,
602 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "dqlabel child semaphore");
605 T_QUIET; T_ASSERT_NOTNULL(parent_done_sem, "dqlabel parent semaphore");
608 T_QUIET; T_ASSERT_NOTNULL(dq, "dispatch queue");
637 T_QUIET; T_ASSERT_NOTNULL(cacheaddr_env, "getenv("CACHEADDR_ENV")");
646 T_QUIET; T_ASSERT_NOTNULL(addr, "shared cache address");
670 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "shared_cache child semaphore");
673 T_QUIET; T_ASSERT_NOTNULL(signal_processing_q, "signal processing queue");
[all …]
H A Drvi_doublefree.c157 T_ASSERT_NOTNULL(hdr, "allocate pktap header buffer");
169 T_ASSERT_NOTNULL(buf, "allocate send buffer");
H A Dshared_cache_reslide_test.c232 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 Dstackshot_idle_25570396.m51 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");
/xnu-12377.81.4/tests/vm/
H A Dmemorystatus_priority_list.c82 T_QUIET; T_ASSERT_NOTNULL(list, "malloc"); in get_priority_list()
151 T_ASSERT_NOTNULL(list, "Priority list not null");
169 T_ASSERT_NOTNULL(list, "Getting self priority entry"); in validate_single()
197 T_ASSERT_NOTNULL(list, "Priority list not null");
H A Dperf_mlock.c72 T_QUIET; T_ASSERT_NOTNULL(buf, "malloc()");
97 T_QUIET; T_ASSERT_NOTNULL(buf, "mmap()");
H A Dmemorystatus_freeze_test.c372 T_QUIET; T_ASSERT_NOTNULL(ds_freeze, "dispatch_source_create (ds_freeze)");
407 T_QUIET; T_ASSERT_NOTNULL(ds_proc, "dispatch_source_create (ds_proc)");
670 T_QUIET; T_ASSERT_NOTNULL(ds_signal, "dispatch_source_create");
830 T_QUIET; T_ASSERT_NOTNULL(frozen_procs, "malloc");
884 T_QUIET; T_ASSERT_NOTNULL(snapshot, "Allocate snapshot of size %d", size);
913 T_QUIET; T_ASSERT_NOTNULL(snapshot, "Got snapshot");
946 T_QUIET; T_ASSERT_NOTNULL(ds_signal, "dispatch_source_create");
1027 T_QUIET; T_ASSERT_NOTNULL(child_entry, "Found child in snapshot");
1060 T_ASSERT_NOTNULL(snapshot, "Got freezer snapshot");
1062 T_QUIET; T_ASSERT_NOTNULL(child_entry, "Child is in freezer snapshot");
[all …]
/xnu-12377.81.4/tests/cpu_counters/
H A Dkpc_tests.c154 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()
321 T_QUIET; T_ASSERT_NOTNULL(counts, "allocated space for counter values");
324 T_QUIET; T_ASSERT_NOTNULL(tly, "allocated space for tallies");
377 T_QUIET; T_ASSERT_NOTNULL(ctrs_a, NULL);
389 T_QUIET; T_ASSERT_NOTNULL(ctrs_b, NULL);
447 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(ktconfig, "create current config");
452 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(cpus, "allocate CPUs array");
461 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(sess, "ktrace_session_create");
[all …]
H A Dcpc_security_tests.c111 T_ASSERT_NOTNULL(internal_events, "allocate space for internal events"); in check_secure_cpmu()
166 T_ASSERT_NOTNULL(kpc_configs, "allocate space for KPC configs"); in check_secure_cpmu()
171 T_ASSERT_NOTNULL(kpc_map, "allocate space for KPC map"); in check_secure_cpmu()
284 T_ASSERT_NOTNULL(events, "allocate space for events"); in check_event_coverage()
320 T_ASSERT_NOTNULL(kpc_configs, "allocate space for KPC configs"); in check_event_coverage()
326 T_ASSERT_NOTNULL(kpc_map, "allocate space for KPC map"); in check_event_coverage()
386 T_ASSERT_NOTNULL(events, "allocate space for events");
419 T_ASSERT_NOTNULL(configs, "allocated %u * %zu", config_count, sizeof(configs[0]));
/xnu-12377.81.4/tests/sched/
H A Dzero_to_n_tests.c52 T_QUIET; T_ASSERT_NOTNULL(stdout_finished_sem, "dispatch_semaphore_create()"); in run_zn()
58 T_QUIET; T_ASSERT_NOTNULL(pipes, "dt_launch_tool_pipe returned non-null pipes"); in run_zn()
86 T_QUIET; T_ASSERT_NOTNULL(stdout_reader, "create darwintest dispatch file reader for stdout"); in run_zn()
89 T_QUIET; T_ASSERT_NOTNULL(stderr_reader, "create darwintest dispatch file reader for stderr"); in run_zn()
/xnu-12377.81.4/tests/vfs/
H A Dchroot_unmount_stress.c209T_ASSERT_NOTNULL((queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)), "Getting…
210T_ASSERT_NOTNULL((timeout_source = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0, queue)…

12345