/Zephyr-latest/tests/subsys/shell/shell_device_filter/src/ |
D | main.c | 31 zassert_equal_ptr(d0, shell_device_filter(0, NULL)); in ZTEST() 32 zassert_equal_ptr(d1, shell_device_filter(1, NULL)); in ZTEST() 33 zassert_equal_ptr(d2, shell_device_filter(2, NULL)); in ZTEST() 34 zassert_equal_ptr(NULL, shell_device_filter(3, NULL)); in ZTEST() 36 zassert_equal_ptr(d0, shell_device_lookup(0, NULL)); in ZTEST() 37 zassert_equal_ptr(d1, shell_device_lookup(1, NULL)); in ZTEST() 38 zassert_equal_ptr(d2, shell_device_lookup(2, NULL)); in ZTEST() 39 zassert_equal_ptr(NULL, shell_device_lookup(3, NULL)); in ZTEST() 44 zassert_equal_ptr(d2, shell_device_lookup(0, "xx_")); in ZTEST() 45 zassert_equal_ptr(NULL, shell_device_lookup(1, "xx_")); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_tx_queue/src/ |
D | main.c | 41 zassert_equal_ptr(node, NULL, ""); in ZTEST() 65 zassert_equal_ptr(node, &ctrl_nodes1[i], NULL); in ZTEST() 70 zassert_equal_ptr(node, NULL, ""); in ZTEST() 94 zassert_equal_ptr(node, &nodes[i], NULL); in ZTEST() 99 zassert_equal_ptr(node, NULL, ""); in ZTEST() 125 zassert_equal_ptr(node, &ctrl_nodes1[i], NULL); in ZTEST() 128 zassert_equal_ptr(node, &data_nodes1[i], NULL); in ZTEST() 133 zassert_equal_ptr(node, NULL, ""); in ZTEST() 170 zassert_equal_ptr(node, &ctrl_nodes1[i], NULL); in ZTEST() 173 zassert_equal_ptr(node, &data_nodes1[i], NULL); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/mocks/ |
D | smp_expects.c | 35 zassert_equal_ptr(bt_smp_le_oob_set_tk_fake.arg0_val, conn, in expect_single_call_bt_smp_le_oob_set_tk() 37 zassert_equal_ptr(bt_smp_le_oob_set_tk_fake.arg1_val, tk, in expect_single_call_bt_smp_le_oob_set_tk() 50 zassert_equal_ptr(bt_smp_le_oob_set_sc_data_fake.arg0_val, conn, in expect_single_call_bt_smp_le_oob_set_sc_data() 52 zassert_equal_ptr(bt_smp_le_oob_set_sc_data_fake.arg1_val, oobd_local, in expect_single_call_bt_smp_le_oob_set_sc_data() 54 zassert_equal_ptr(bt_smp_le_oob_set_sc_data_fake.arg2_val, oobd_remote, in expect_single_call_bt_smp_le_oob_set_sc_data() 67 zassert_equal_ptr(bt_smp_le_oob_get_sc_data_fake.arg0_val, conn, in expect_single_call_bt_smp_le_oob_get_sc_data() 69 zassert_equal_ptr(bt_smp_le_oob_get_sc_data_fake.arg1_val, oobd_local, in expect_single_call_bt_smp_le_oob_get_sc_data() 71 zassert_equal_ptr(bt_smp_le_oob_get_sc_data_fake.arg2_val, oobd_remote, in expect_single_call_bt_smp_le_oob_get_sc_data()
|
D | conn_expects.c | 22 zassert_equal_ptr(bt_conn_lookup_state_le_fake.arg1_val, peer, in expect_single_call_bt_conn_lookup_state_le() 43 zassert_equal_ptr(bt_conn_unref_fake.arg0_val, conn, in expect_single_call_bt_conn_unref()
|
/Zephyr-latest/tests/bluetooth/audio/ascs/include/ |
D | bap_unicast_server_expects.h | 22 zassert_equal_ptr(_conn, mock_bap_unicast_server_cb_config_fake.arg0_val, \ 27 zassert_equal_ptr(_ep, mock_bap_unicast_server_cb_config_fake.arg1_val, \ 48 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_reconfig_fake.arg0_val, \ 69 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_qos_fake.arg0_val, \ 85 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_enable_fake.arg0_val, \ 105 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_metadata_fake.arg0_val, \ 125 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_disable_fake.arg0_val, \ 137 zassert_equal_ptr(_stream, mock_bap_unicast_server_cb_release_fake.arg0_val, \ 149 zassert_equal_ptr(_streams[0], \ 154 zassert_equal_ptr(_streams[1], \ [all …]
|
/Zephyr-latest/tests/subsys/shell/shell_backend/src/ |
D | shell_backend_test.c | 23 zassert_equal_ptr(sh_dummy, shell_backend_dummy_get_ptr(), in ZTEST() 25 zassert_equal_ptr(sh_uart, shell_backend_uart_get_ptr(), "Unexpected shell_uart backend"); in ZTEST() 26 zassert_equal_ptr(shell_backend_get_by_name("blah"), NULL, "Should be NULL if not found"); in ZTEST() 28 zassert_equal_ptr(shell_backend_get(0), sh_dummy < sh_uart ? sh_dummy : sh_uart, in ZTEST() 30 zassert_equal_ptr(shell_backend_get(1), sh_dummy < sh_uart ? sh_uart : sh_dummy, in ZTEST()
|
/Zephyr-latest/tests/lib/devicetree/memory_region/src/ |
D | main.c | 29 zassert_equal_ptr(var_in_test_sram, TEST_SRAM_ADDR, ""); in ZTEST() 31 zassert_equal_ptr(__SRAM_REGION_start, TEST_SRAM_ADDR, ""); in ZTEST() 32 zassert_equal_ptr(__SRAM_REGION_end, TEST_SRAM_ADDR + TEST_SRAM_SIZE, ""); in ZTEST() 33 zassert_equal_ptr(__SRAM_REGION_load_start, TEST_SRAM_ADDR, ""); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_api/src/ |
D | main.c | 218 zassert_equal_ptr(node, &nodes[i], NULL); in ZTEST() 223 zassert_equal_ptr(node, NULL, ""); in ZTEST() 233 zassert_equal_ptr(node, NULL, ""); in ZTEST() 242 zassert_equal_ptr(node, NULL, ""); in ZTEST() 250 zassert_equal_ptr(node, &nodes[i], NULL); in ZTEST() 255 zassert_equal_ptr(node, NULL, ""); in ZTEST() 266 zassert_equal_ptr(node, NULL, ""); in ZTEST() 275 zassert_equal_ptr(node, NULL, ""); in ZTEST() 282 zassert_equal_ptr(node, NULL, ""); in ZTEST() 290 zassert_equal_ptr(node, &nodes[i], NULL); in ZTEST() [all …]
|
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/params/dummy/src/ |
D | main.c | 25 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST() 34 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST() 43 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST()
|
/Zephyr-latest/tests/lib/fdtable/src/ |
D | main.c | 72 zassert_equal_ptr(obj, NULL, "obj is not NULL when fd < 0"); in ZTEST() 78 zassert_equal_ptr(obj, NULL, "obj is not NULL - vtable doesn't match"); in ZTEST() 100 zassert_equal_ptr(obj, original_obj, "obj is different after finalizing"); in ZTEST() 101 zassert_equal_ptr(vtable, original_vtable, "vtable is different after finalizing"); in ZTEST() 116 zassert_equal_ptr(obj, NULL, "obj is different after allocating"); in ZTEST() 117 zassert_equal_ptr(vtable, NULL, "vtable is different after allocating"); in ZTEST() 133 zassert_equal_ptr(obj, NULL, "obj is not NULL after freeing"); in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host/keys/mocks/ |
D | settings_expects.c | 24 zassert_equal_ptr(bt_settings_encode_key_fake.arg3_val, addr, in expect_single_call_bt_settings_encode_key_with_not_null_key() 43 zassert_equal_ptr(bt_settings_encode_key_fake.arg3_val, addr, in expect_single_call_bt_settings_encode_key_with_null_key() 45 zassert_equal_ptr(bt_settings_encode_key_fake.arg4_val, NULL, in expect_single_call_bt_settings_encode_key_with_null_key()
|
/Zephyr-latest/tests/drivers/interrupt_controller/multi_level_backend/src/ |
D | main.c | 110 zassert_equal_ptr(z_get_sw_isr_device_from_irq(IRQ_TO_L2(9) | 8), NULL); in ZTEST() 113 zassert_equal_ptr(z_get_sw_isr_device_from_irq(TEST_IRQN_1), INTC_1_DEV); in ZTEST() 114 zassert_equal_ptr(z_get_sw_isr_device_from_irq(TEST_IRQN_2), INTC_2_DEV); in ZTEST() 115 zassert_equal_ptr(z_get_sw_isr_device_from_irq(TEST_IRQN_3), INTC_3_DEV); in ZTEST() 116 zassert_equal_ptr(z_get_sw_isr_device_from_irq(TEST_IRQN_4), INTC_4_DEV); in ZTEST()
|
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic/group2/src/ |
D | main.c | 27 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST() 37 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST()
|
D | submain.c | 23 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST()
|
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic_cpp/group2/src/ |
D | main.cpp | 30 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST() 40 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST()
|
D | submain.cpp | 25 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST()
|
/Zephyr-latest/tests/subsys/openthread/ |
D | radio_test.c | 178 zassert_equal_ptr(ot, otPlatRadioEnergyScanDone_fake.arg0_val, NULL); in ZTEST() 228 zassert_equal_ptr(ot, otPlatRadioEnergyScanDone_fake.arg0_val, NULL); in ZTEST() 279 zassert_equal_ptr(radio, start_mock_fake.arg0_val, NULL); in ZTEST() 317 zassert_equal_ptr(radio, cca_mock_fake.arg0_val, NULL); in ZTEST() 322 zassert_equal_ptr(frm->mPsdu, tx_mock_fake.arg3_val->data, NULL); in ZTEST() 328 zassert_equal_ptr(ot, otPlatRadioTxDone_fake.arg0_val, NULL); in ZTEST() 350 zassert_equal_ptr(frm->mPsdu, tx_mock_fake.arg3_val->data, NULL); in ZTEST() 352 zassert_equal_ptr(ot, otPlatRadioTxDone_fake.arg0_val, NULL); in ZTEST() 400 zassert_equal_ptr(dev, radio, "Device handle incorrect."); in custom_configure_match_mock() 653 zassert_equal_ptr(radio, start_mock_fake.arg0_val, NULL); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/audio/mocks/include/ |
D | gatt_expects.h | 21 zassert_equal_ptr(_conn, mock_bt_gatt_notify_cb_fake.arg0_val, \ 35 zassert_equal_ptr(_attr, params->attr, \
|
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_update_usage/src/ |
D | main.c | 73 zassert_equal_ptr(bt_keys_get_last_keys_updated(), last_keys_updated, in ZTEST() 94 zassert_equal_ptr(bt_keys_get_last_keys_updated(), last_keys_updated, in ZTEST() 133 zassert_equal_ptr( in ZTEST()
|
/Zephyr-latest/tests/posix/semaphores/src/ |
D | main.c | 153 zassert_equal_ptr(sem1, SEM_FAILED); in ZTEST() 159 zassert_equal_ptr(sem1, SEM_FAILED); in ZTEST() 173 zassert_equal_ptr(sem1, SEM_FAILED); in ZTEST() 179 zassert_equal_ptr(sem1, SEM_FAILED); in ZTEST() 197 zassert_equal_ptr(new_sem1, sem1); /* Should point to the same sem */ in ZTEST() 200 zassert_equal_ptr(new_sem2, sem2); in ZTEST() 211 zassert_equal_ptr((sem_open("sem1", O_CREAT | O_EXCL, 0, 0)), SEM_FAILED); in ZTEST()
|
/Zephyr-latest/tests/ztest/base/src/ |
D | main.c | 22 zassert_equal_ptr(NULL, NULL, NULL); in ZTEST() 88 zassert_equal_ptr(&test_fixture, fixture, "Test fixture should be at 0x%x but was at 0x%x", in ZTEST_F() 116 zassert_equal_ptr(&rule_tests_fixture, data, in rule_before_each() 133 zassert_equal_ptr(&rule_tests_fixture, data, in rule_after_each()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_client/src/ |
D | main.c | 72 zassert_equal_ptr(response_ptr, &testing_user_data, "User data not returned correctly"); in ZTEST() 100 zassert_equal_ptr(res_buf, buf[1], "Response Buf not correct"); in ZTEST() 101 zassert_equal_ptr(response_ptr, &testing_user_data, "User data not returned correctly"); in ZTEST()
|
/Zephyr-latest/tests/drivers/ethernet/eth_ivshmem_queue/src/ |
D | main.c | 63 zassert_equal_ptr(q1.tx.shmem, shmem_buff[0]); in ZTEST() 64 zassert_equal_ptr(q1.rx.shmem, shmem_buff[1]); in ZTEST() 65 zassert_equal_ptr(q2.tx.shmem, shmem_buff[1]); in ZTEST() 66 zassert_equal_ptr(q2.rx.shmem, shmem_buff[0]); in ZTEST()
|
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic/group1/subgroup1/src/ |
D | main.c | 25 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST()
|
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/dummy/agnostic/group1/subgroup2/src/ |
D | main.c | 25 zassert_equal_ptr(NULL, NULL, "NULL was not equal to NULL"); in ZTEST()
|