Lines Matching refs:cases
34 } cases[] = { in test_sparse_array() local
49 for (i = 0; i < OSSL_NELEM(cases); i++) { in test_sparse_array()
50 if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))) { in test_sparse_array()
55 if (!TEST_str_eq(ossl_sa_char_get(sa, cases[j].n), cases[j].v)) { in test_sparse_array()
73 } cases[] = { in test_sparse_array_num() local
87 for (i = 0; i < OSSL_NELEM(cases); i++) in test_sparse_array_num()
88 if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v)) in test_sparse_array_num()
89 || !TEST_size_t_eq(ossl_sa_char_num(sa), cases[i].num)) in test_sparse_array_num()
106 const struct index_cases_st *cases; member
114 const struct index_cases_st *cases = doall_data->cases; in leaf_check_all() local
119 if ((doall_data->all || !cases[i].del) in leaf_check_all()
120 && n == cases[i].n && strcmp(value, cases[i].v) == 0) { in leaf_check_all()
130 const struct index_cases_st *cases = doall_data->cases; in leaf_delete() local
135 if (n == cases[i].n && strcmp(value, cases[i].v) == 0) { in leaf_delete()
145 static const struct index_cases_st cases[] = { in test_sparse_array_doall() local
157 doall_data.num_cases = OSSL_NELEM(cases); in test_sparse_array_doall()
158 doall_data.cases = cases; in test_sparse_array_doall()
161 for (i = 0; i < OSSL_NELEM(cases); i++) in test_sparse_array_doall()
162 if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))) { in test_sparse_array_doall()