/Zephyr-Core-3.5.0/tests/drivers/gpio/gpio_api_1pin/src/ |
D | test_port.c | 150 const gpio_port_value_t test_vector[] = { in ZTEST() local 179 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in ZTEST() 180 port_set_masked_raw_and_verify(port, BIT(TEST_PIN), test_vector[i], i); in ZTEST() 181 port_get_raw_and_verify(port, BIT(TEST_PIN), test_vector[i], i); in ZTEST() 190 const gpio_port_value_t test_vector[] = { in ZTEST() local 219 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in ZTEST() 220 port_set_masked_and_verify(port, BIT(TEST_PIN), test_vector[i], i); in ZTEST() 221 port_get_and_verify(port, BIT(TEST_PIN), test_vector[i], i); in ZTEST() 230 const gpio_port_value_t test_vector[] = { in ZTEST() local 262 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in ZTEST() [all …]
|
D | test_pin.c | 143 const int test_vector[] = { in ZTEST() local 160 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in ZTEST() 161 pin_set_raw_and_verify(port, TEST_PIN, test_vector[i], i); in ZTEST() 163 val_expected = test_vector[i] != 0 ? 1 : 0; in ZTEST() 180 const int test_vector[] = { in ZTEST() local 197 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in ZTEST() 198 pin_set_and_verify(port, TEST_PIN, test_vector[i], i); in ZTEST() 200 val_expected = test_vector[i] != 0 ? 1 : 0; in ZTEST() 219 const int test_vector[] = {0, 2, 0, 9, -1, 0, 0, 1, INT_MAX, INT_MIN}; in ZTEST() local 236 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/bluetooth/mesh/rpl/src/ |
D | main.c | 15 #define EMPTY_ENTRIES_CNT (CONFIG_BT_MESH_CRPL - ARRAY_SIZE(test_vector)) 45 static struct test_rpl_entry test_vector[ARRAY_SIZE(test_vector_default)]; variable 52 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in prepare_rpl_and_start_reset() 55 .ctx.addr = test_vector[i].src, in prepare_rpl_and_start_reset() 56 .old_iv = test_vector[i].old_iv, in prepare_rpl_and_start_reset() 57 .seq = test_vector[i].seq, in prepare_rpl_and_start_reset() 68 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in prepare_rpl_and_start_reset() 69 ztest_expect_data(settings_save_one, name, test_vector[i].name); in prepare_rpl_and_start_reset() 74 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in prepare_rpl_and_start_reset() 77 .ctx.addr = test_vector[i].src, in prepare_rpl_and_start_reset() [all …]
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/ |
D | test_transport.c | 125 } test_vector[] = { variable 145 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in test_tx_unicast() 146 err = bt_mesh_test_send(rx_cfg.addr, NULL, test_vector[i].len, in test_tx_unicast() 147 test_vector[i].flags, K_SECONDS(10)); in test_tx_unicast() 162 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in test_tx_group() 163 err = bt_mesh_test_send(GROUP_ADDR, NULL, test_vector[i].len, in test_tx_group() 164 test_vector[i].flags, K_SECONDS(20)); in test_tx_group() 176 ASSERT_OK(bt_mesh_test_send(BT_MESH_ADDR_RELAYS, NULL, test_vector[0].len, in test_tx_fixed() 177 test_vector[0].flags, K_SECONDS(2))); in test_tx_fixed() 181 ASSERT_OK(bt_mesh_test_send(BT_MESH_ADDR_RELAYS, NULL, test_vector[0].len, in test_tx_fixed() [all …]
|
D | test_beacon.c | 681 } test_vector[] = { in test_rx_kr_old_key() local 700 for (size_t i = 0; i < ARRAY_SIZE(test_vector); i++) { in test_rx_kr_old_key() 706 ASSERT_EQUAL(test_vector[i].phase, phase); in test_rx_kr_old_key() 707 ASSERT_EQUAL(test_vector[i].ivu, atomic_test_bit(bt_mesh.flags, in test_rx_kr_old_key() 709 ASSERT_EQUAL(test_vector[i].ivi, bt_mesh.iv_index); in test_rx_kr_old_key()
|
D | test_provision.c | 1441 uint16_t test_vector[] = { 0x0002, 0x0001 }; in test_device_pb_remote_client_server_same_dev() local 1475 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in test_device_pb_remote_client_server_same_dev() 1476 current_dev_addr = test_vector[i]; in test_device_pb_remote_client_server_same_dev()
|
/Zephyr-Core-3.5.0/tests/kernel/interrupt/src/ |
D | dynamic_shared_irq.c | 24 test_vector[i] = 0; in reset_test_vector() 48 test_vector[0] = TEST_DUMMY_ISR_VAL; in dummy_isr() 59 test_vector[0] = 0; in get_irq_slot() 70 if (test_vector[0] == TEST_DUMMY_ISR_VAL) { in get_irq_slot() 166 zassert_true(test_vector[i] == result_vector[i], in ZTEST() 168 i, test_vector[i], result_vector[i]); in ZTEST() 209 zassert_true(test_vector[i] == result_vector[i], in ZTEST() 211 i, test_vector[i], result_vector[i]); in ZTEST() 215 zassert_true(!test_vector[i], in ZTEST() 217 i, test_vector[i], result_vector[i]); in ZTEST()
|
D | test_shared_irq.h | 23 test_vector[idx] = result_vector[idx]; \ 26 static uint32_t test_vector[TEST_VECTOR_SIZE] = { variable
|
D | static_shared_irq.c | 75 zassert_true(test_vector[i] == result_vector[i], in ZTEST() 77 i, test_vector[i], result_vector[i]); in ZTEST()
|
/Zephyr-Core-3.5.0/tests/lib/cpp/libcxx/src/ |
D | main.cpp | 31 ZTEST(libcxx_tests, test_vector) in ZTEST() argument
|