Home
last modified time | relevance | path

Searched refs:zassert_not_null (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/Zephyr-latest/tests/posix/headers/src/
Dpthread_h.c64 zassert_not_null(pthread_atfork); in ZTEST()
65 zassert_not_null(pthread_attr_destroy); in ZTEST()
66 zassert_not_null(pthread_attr_getdetachstate); in ZTEST()
67 zassert_not_null(pthread_attr_getguardsize); in ZTEST()
68 zassert_not_null(pthread_attr_getinheritsched); in ZTEST()
69 zassert_not_null(pthread_attr_getschedparam); in ZTEST()
70 zassert_not_null(pthread_attr_getschedpolicy); in ZTEST()
71 zassert_not_null(pthread_attr_getscope); in ZTEST()
72 zassert_not_null(pthread_attr_getstack); in ZTEST()
73 zassert_not_null(pthread_attr_getstacksize); in ZTEST()
[all …]
Dsemaphore_h.c25 zassert_not_null(sem_close); in ZTEST()
26 zassert_not_null(sem_destroy); in ZTEST()
27 zassert_not_null(sem_getvalue); in ZTEST()
28 zassert_not_null(sem_init); in ZTEST()
29 zassert_not_null(sem_open); in ZTEST()
30 zassert_not_null(sem_post); in ZTEST()
31 zassert_not_null(sem_timedwait); in ZTEST()
32 zassert_not_null(sem_trywait); in ZTEST()
33 zassert_not_null(sem_unlink); in ZTEST()
34 zassert_not_null(sem_wait); in ZTEST()
Dnetdb_h.c80 zassert_not_null(endhostent); in ZTEST()
81 zassert_not_null(endnetent); in ZTEST()
82 zassert_not_null(endprotoent); in ZTEST()
83 zassert_not_null(endservent); in ZTEST()
84 zassert_not_null(freeaddrinfo); in ZTEST()
85 zassert_not_null(gai_strerror); in ZTEST()
86 zassert_not_null(getaddrinfo); in ZTEST()
87 zassert_not_null(gethostent); in ZTEST()
88 zassert_not_null(getnameinfo); in ZTEST()
89 zassert_not_null(getnetbyaddr); in ZTEST()
[all …]
Dmqueue_h.c30 zassert_not_null(mq_close); in ZTEST()
31 zassert_not_null(mq_getattr); in ZTEST()
32 zassert_not_null(mq_notify); in ZTEST()
33 zassert_not_null(mq_open); in ZTEST()
34 zassert_not_null(mq_receive); in ZTEST()
35 zassert_not_null(mq_send); in ZTEST()
36 zassert_not_null(mq_setattr); in ZTEST()
37 zassert_not_null(mq_timedreceive); in ZTEST()
38 zassert_not_null(mq_timedsend); in ZTEST()
39 zassert_not_null(mq_unlink); in ZTEST()
Dsched_h.c30 zassert_not_null(sched_get_priority_max); in ZTEST()
31 zassert_not_null(sched_get_priority_min); in ZTEST()
33 zassert_not_null(sched_getparam); in ZTEST()
34 zassert_not_null(sched_getscheduler); in ZTEST()
36 zassert_not_null(sched_rr_get_interval); in ZTEST()
38 zassert_not_null(sched_setparam); in ZTEST()
39 zassert_not_null(sched_setscheduler); in ZTEST()
41 zassert_not_null(sched_yield); in ZTEST()
Dsignal_h.c169 zassert_not_null(abort); in ZTEST()
170 zassert_not_null(alarm); in ZTEST()
171 zassert_not_null(kill); in ZTEST()
172 zassert_not_null(pause); in ZTEST()
173 zassert_not_null(pthread_sigmask); in ZTEST()
174 zassert_not_null(raise); in ZTEST()
175 zassert_not_null(sigaction); in ZTEST()
176 zassert_not_null(sigaddset); in ZTEST()
177 zassert_not_null(sigdelset); in ZTEST()
178 zassert_not_null(sigemptyset); in ZTEST()
[all …]
Dsys_socket_h.c104 zassert_not_null(accept); in ZTEST()
105 zassert_not_null(bind); in ZTEST()
106 zassert_not_null(connect); in ZTEST()
107 zassert_not_null(getpeername); in ZTEST()
108 zassert_not_null(getsockname); in ZTEST()
109 zassert_not_null(listen); in ZTEST()
110 zassert_not_null(recv); in ZTEST()
111 zassert_not_null(recvfrom); in ZTEST()
113 zassert_not_null(send); in ZTEST()
114 zassert_not_null(sendmsg); in ZTEST()
[all …]
Daio_h.c26 zassert_not_null(aio_cancel); in ZTEST()
27 zassert_not_null(aio_error); in ZTEST()
28 zassert_not_null(aio_fsync); in ZTEST()
29 zassert_not_null(aio_read); in ZTEST()
30 zassert_not_null(aio_return); in ZTEST()
31 zassert_not_null(aio_suspend); in ZTEST()
32 zassert_not_null(aio_write); in ZTEST()
33 zassert_not_null(lio_listio); in ZTEST()
Dstropts_h.c21 zassert_not_null((void *)putmsg, "putmsg is null"); in ZTEST()
22 zassert_not_null((void *)fdetach, "fdetach is null"); in ZTEST()
23 zassert_not_null((void *)fattach, "fattach is null"); in ZTEST()
24 zassert_not_null((void *)getmsg, "getmsg is null"); in ZTEST()
25 zassert_not_null((void *)getpmsg, "getpmsg is null"); in ZTEST()
26 zassert_not_null((void *)isastream, "isastream is null"); in ZTEST()
Dnet_if_h.c28 zassert_not_null(if_freenameindex); in ZTEST()
29 zassert_not_null(if_indextoname); in ZTEST()
30 zassert_not_null(if_nameindex); in ZTEST()
31 zassert_not_null(if_nametoindex); in ZTEST()
Ddirent_h.c29 zassert_not_null(closedir); in ZTEST()
32 zassert_not_null(opendir); in ZTEST()
33 zassert_not_null(readdir); in ZTEST()
34 zassert_not_null(readdir_r); in ZTEST()
Dsys_eventfd_h.c31 zassert_not_null(eventfd); in ZTEST()
32 zassert_not_null(eventfd_read); in ZTEST()
33 zassert_not_null(eventfd_write); in ZTEST()
Dunistd_h.c216 zassert_not_null(close); in ZTEST()
221 zassert_not_null(_exit); in ZTEST()
233 zassert_not_null(fdatasync); in ZTEST()
237 zassert_not_null(fsync); in ZTEST()
238 zassert_not_null(ftruncate); in ZTEST()
248 zassert_not_null(getopt); in ZTEST()
251 zassert_not_null(getpid); in ZTEST()
260 zassert_not_null(lseek); in ZTEST()
267 zassert_not_null(read); in ZTEST()
280 zassert_not_null(sleep); in ZTEST()
[all …]
/Zephyr-latest/tests/net/socket/
Dsocket_helpers.h23 zassert_not_null(addr, "null sockaddr"); in prepare_listen_sock_udp_v4()
42 zassert_not_null(addr, "null sockaddr"); in prepare_listen_sock_udp_v6()
62 zassert_not_null(addr, "null addr"); in prepare_sock_udp_v4()
63 zassert_not_null(sock, "null sock"); in prepare_sock_udp_v4()
64 zassert_not_null(sockaddr, "null sockaddr"); in prepare_sock_udp_v4()
80 zassert_not_null(addr, "null addr"); in prepare_sock_udp_v6()
81 zassert_not_null(sock, "null sock"); in prepare_sock_udp_v6()
82 zassert_not_null(sockaddr, "null sockaddr"); in prepare_sock_udp_v6()
99 zassert_not_null(addr, "null addr"); in prepare_sock_tcp_v4()
100 zassert_not_null(sock, "null sock"); in prepare_sock_tcp_v4()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/src/
Disoal_test_common.c84 zassert_not_null(pdu_meta, ""); in isoal_test_create_unframed_pdu()
85 zassert_not_null(pdu_meta->meta, ""); in isoal_test_create_unframed_pdu()
86 zassert_not_null(pdu_meta->pdu, ""); in isoal_test_create_unframed_pdu()
159 zassert_not_null(pdu_meta, ""); in isoal_test_create_framed_pdu_base()
160 zassert_not_null(pdu_meta->meta, ""); in isoal_test_create_framed_pdu_base()
161 zassert_not_null(pdu_meta->pdu, ""); in isoal_test_create_framed_pdu_base()
187 zassert_not_null(pdu_meta, ""); in isoal_test_add_framed_pdu_single()
188 zassert_not_null(pdu_meta->meta, ""); in isoal_test_add_framed_pdu_single()
189 zassert_not_null(pdu_meta->pdu, ""); in isoal_test_add_framed_pdu_single()
205 zassert_not_null(pdu_meta, ""); in isoal_test_add_framed_pdu_start()
[all …]
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Diso.c45 zassert_not_null(server, "server is NULL"); in bt_iso_server_register()
46 zassert_not_null(server->accept, "server->accept is NULL"); in bt_iso_server_register()
56 zassert_not_null(server, "server is NULL"); in bt_iso_server_unregister()
100 zassert_not_null(iso_server, "iso_server is NULL"); in mock_bt_iso_accept()
107 zassert_not_null(*chan, "chan is NULL"); in mock_bt_iso_accept()
110 zassert_not_null(iso); in mock_bt_iso_accept()
147 zassert_not_null(out_big); in bt_iso_big_create()
148 zassert_not_null(param); in bt_iso_big_create()
152 zassert_not_null(big); in bt_iso_big_create()
159 zassert_not_null(bis); in bt_iso_big_create()
[all …]
/Zephyr-latest/tests/bluetooth/host/keys/mocks/
Dsettings_expects.c18 zassert_not_null(bt_settings_encode_key_fake.arg0_val, in expect_single_call_bt_settings_encode_key_with_not_null_key()
22 zassert_not_null(bt_settings_encode_key_fake.arg2_val, in expect_single_call_bt_settings_encode_key_with_not_null_key()
26 zassert_not_null(bt_settings_encode_key_fake.arg4_val, in expect_single_call_bt_settings_encode_key_with_not_null_key()
37 zassert_not_null(bt_settings_encode_key_fake.arg0_val, in expect_single_call_bt_settings_encode_key_with_null_key()
41 zassert_not_null(bt_settings_encode_key_fake.arg2_val, in expect_single_call_bt_settings_encode_key_with_null_key()
/Zephyr-latest/tests/net/ieee802154/custom_l2/src/
Dmain.c78 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
79 zassert_not_null(net_if_l2(iface)->send, "No send() found"); in ZTEST()
83 zassert_not_null(tx_pkt, "Failed to allocate packet"); in ZTEST()
102 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
103 zassert_not_null(net_if_l2(iface)->recv, "No recv () found"); in ZTEST()
107 zassert_not_null(rx_pkt, "Failed to allocate packet"); in ZTEST()
125 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
126 zassert_not_null(net_if_l2(iface)->enable, "No enable() found"); in ZTEST()
142 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
143 zassert_not_null(net_if_l2(iface)->get_flags, "No get_flags() found"); in ZTEST()
/Zephyr-latest/tests/net/promiscuous/src/
Dmain.c216 zassert_not_null(iface1, "Interface 1"); in test_iface_setup()
217 zassert_not_null(iface2, "Interface 2"); in test_iface_setup()
228 zassert_not_null(ifaddr, "addr1"); in test_iface_setup()
239 zassert_not_null(ifaddr, "ll_addr"); in test_iface_setup()
249 zassert_not_null(ifaddr, "addr2"); in test_iface_setup()
259 zassert_not_null(ifaddr, "addr3"); in test_iface_setup()
270 zassert_not_null(maddr, "mcast"); in test_iface_setup()
377 zassert_not_null(pkt, "pkt"); in test_verify_data()
378 zassert_not_null(pkt->buffer, "pkt->buffer"); in test_verify_data()
379 zassert_not_null(pkt1, "pkt1"); in test_verify_data()
[all …]
/Zephyr-latest/tests/kernel/mem_heap/k_heap_api/src/
Dtest_kheap_api.c29 zassert_not_null(p, "k_heap_alloc operation failed"); in tIsr_kheap_alloc_nowait()
45 zassert_not_null(p, "k_heap_alloc failed to allocate memory"); in thread_alloc_heap()
95 zassert_not_null(p0, "allocation failed"); in ZTEST()
120 zassert_not_null(p, "k_heap_alloc operation failed"); in ZTEST()
171 zassert_not_null(p, "k_heap_alloc operation failed"); in ZTEST()
174 zassert_not_null(p, "k_heap_alloc operation failed"); in ZTEST()
211 zassert_not_null(p, "k_heap_alloc operation failed"); in ZTEST()
249 zassert_not_null(p, "k_heap_alloc operation failed"); in ZTEST()
250 zassert_not_null(q, "k_heap_alloc operation failed"); in ZTEST()
287 zassert_not_null(p, "k_heap_calloc operation failed"); in ZTEST()
/Zephyr-latest/tests/bluetooth/audio/bap_base/src/
Dmain.c52 zassert_not_null(fixture->valid_base_data); in bap_base_test_suite_fixture_init()
62 zassert_not_null(fixture->invalid_base_data); in bap_base_test_suite_fixture_init()
75 zassert_not_null(fixture); in bap_base_test_suite_setup()
105 zassert_not_null(base); in ZTEST_F()
162 zassert_not_null(base); in ZTEST_F()
181 zassert_not_null(base); in ZTEST_F()
200 zassert_not_null(base); in ZTEST_F()
220 zassert_not_null(base); in ZTEST_F()
242 zassert_not_null(base); in ZTEST_F()
264 zassert_not_null(base); in ZTEST_F()
[all …]
/Zephyr-latest/tests/subsys/llext/src/
Dthreads_kernel_objects_ext.c40 zassert_not_null(console_dev); in test_thread()
54 zassert_not_null(&my_sem); in test_entry()
58 zassert_not_null(&my_thread); in test_entry()
59 zassert_not_null(&my_thread_stack); in test_entry()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dtest_common.c56 zassert_not_null(cap_stream); in test_unicast_set_state()
57 zassert_not_null(conn); in test_unicast_set_state()
58 zassert_not_null(ep); in test_unicast_set_state()
59 zassert_not_null(preset); in test_unicast_set_state()
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/params/dummy/src/
Dmain.c23 zassert_not_null("foo", "\"foo\" was NULL"); in ZTEST()
32 zassert_not_null("foo", "\"foo\" was NULL"); in ZTEST()
41 zassert_not_null("foo", "\"foo\" was NULL"); in ZTEST()
/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_api.c37 zassert_not_null(ptr, "bytes allocation failed from system pool"); in tIsr_malloc_and_free()
111 zassert_not_null(block1); in ZTEST()
136 zassert_not_null(block1); in ZTEST()
141 zassert_not_null(block2); in ZTEST()
154 zassert_not_null(block1); in ZTEST()
157 zassert_not_null(block1); in ZTEST()
193 zassert_not_null(mem, "calloc operation failed"); in ZTEST()
256 zassert_not_null(ptr, "bytes allocation failed from system pool"); in ZTEST()
334 zassert_not_null(blocks[i], "allocation failed"); in ZTEST()
362 zassert_not_null(blocks[i], "final re-allocation failed"); in ZTEST()
[all …]

12345678910>>...14