Lines Matching refs:test_vector

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()
78 .old_iv = test_vector[i].old_iv, in prepare_rpl_and_start_reset()
79 .seq = test_vector[i].seq, in prepare_rpl_and_start_reset()
95 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in check_entries_from_test_vector()
98 .ctx.addr = test_vector[i].src, in check_entries_from_test_vector()
103 .old_iv = !test_vector[i].old_iv, in check_entries_from_test_vector()
104 .seq = test_vector[i].seq in check_entries_from_test_vector()
108 if (test_vector[i].old_iv) { in check_entries_from_test_vector()
174 for (int i = 0; i < ARRAY_SIZE(test_vector); i++) { in expect_pending_store()
175 if (test_vector[i].old_iv) { in expect_pending_store()
176 ztest_expect_value(settings_delete, name, test_vector[i].name); in expect_pending_store()
178 ztest_expect_data(settings_save_one, name, test_vector[i].name); in expect_pending_store()
197 memcpy(test_vector, test_vector_default, sizeof(test_vector)); in setup()
269 struct test_rpl_entry *entry = &test_vector[1]; in ZTEST()
296 struct test_rpl_entry *entry = &test_vector[0]; in ZTEST()
323 struct test_rpl_entry *entry = &test_vector[3]; in ZTEST()
355 struct test_rpl_entry *entry = &test_vector[2]; in ZTEST()
385 struct test_rpl_entry *entry = &test_vector[1]; in ZTEST()
418 struct test_rpl_entry *entry = &test_vector[0]; in ZTEST()