Home
last modified time | relevance | path

Searched refs:test_vector (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.5.0/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_port.c150 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 …]
Dtest_pin.c143 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/
Dmain.c15 #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/
Dtest_transport.c125 } 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 …]
Dtest_beacon.c681 } 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()
Dtest_provision.c1441 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/
Ddynamic_shared_irq.c24 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()
Dtest_shared_irq.h23 test_vector[idx] = result_vector[idx]; \
26 static uint32_t test_vector[TEST_VECTOR_SIZE] = { variable
Dstatic_shared_irq.c75 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/
Dmain.cpp31 ZTEST(libcxx_tests, test_vector) in ZTEST() argument