Home
last modified time | relevance | path

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

123

/xnu-8020.101.4/tests/
H A Dperfmon_unit_tests.c42 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 Dproc_info_list_kthreads.c64 …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 Dprocessor_info.c38 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 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 Dperfmon_tests.c40 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 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 Dmemorystatus_freeze_test.c352 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 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 Dstackshot_tests.m84 T_QUIET; T_ASSERT_NOTNULL(buf, "allocated stackshot buffer");
143 T_ASSERT_NOTNULL(config, "created stackshot config");
222 T_WITH_ERRNO; T_QUIET; T_ASSERT_NOTNULL(f,
431 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "dqlabel child semaphore");
434 T_QUIET; T_ASSERT_NOTNULL(parent_done_sem, "dqlabel parent semaphore");
437 T_QUIET; T_ASSERT_NOTNULL(dq, "dispatch queue");
466 T_QUIET; T_ASSERT_NOTNULL(cacheaddr_env, "getenv("CACHEADDR_ENV")");
475 T_QUIET; T_ASSERT_NOTNULL(addr, "shared cache address");
499 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "shared_cache child semaphore");
502 T_QUIET; T_ASSERT_NOTNULL(signal_processing_q, "signal processing queue");
[all …]
H A Dpfkey.c81 T_QUIET; T_ASSERT_NOTNULL(msg, "pfkey align msg"); in pfkey_align()
82 T_QUIET; T_ASSERT_NOTNULL(mhp, "pfkey align mhp"); in pfkey_align()
1070 T_QUIET; T_ASSERT_NOTNULL(pfkey_source, "dispatch_source_create(DISPATCH_SOURCE_TYPE_READ, ...)"); in pfkey_setup_socket()
1102 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd add policy message is NULL"); in pfkey_process_message_test_60822136()
1111 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd get policy message is NULL"); in pfkey_process_message_test_60822136()
1125 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd delete2 policy message is NULL"); in pfkey_process_message_test_60822136()
1135 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd dump policy message is NULL"); in pfkey_process_message_test_60822136()
1172 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd add policy message is NULL"); in pfkey_process_message_test_60822924()
1181 T_QUIET; T_ASSERT_NOTNULL(policy_message, "spd enable policy message is NULL"); in pfkey_process_message_test_60822924()
1195 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.m141 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 Dposix_spawn_filtering.c111 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 Dtrial_experiments.c156 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 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");
H A Dpriority_queue.cpp95 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 Dshared_cache_reslide_test.c210 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-8020.101.4/tests/ktrace/
H A Dkperf_backtracing_tests.c45 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 Dkpc_tests.c113 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 Dkdebug_tests.c43 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);
433 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session");
479 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session");
521 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(s, "created session");
[all …]
H A Dkperf_tests.c32 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 …]
H A Dkdebug_coproc_tests.c27 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(ktsess, "failed to create session"); in future_events_session()
117 T_ASSERT_NOTNULL(ktsess, "create session");
/xnu-8020.101.4/tests/iokit/
H A Dio_catalog_send_data.m26 T_QUIET; T_ASSERT_NOTNULL(cfData, "IOCFSerialize root catalogue array");
50 T_QUIET; T_ASSERT_NOTNULL(cfstrMatchName,

123