Lines Matching refs:v

55     static int v[] = { 1, 2, -4, 16, 999, 1, -173, 1, 9 };  in test_int_stack()  local
57 const int n = OSSL_NELEM(v); in test_int_stack()
97 sk_sint_push(s, v + i); in test_int_stack()
104 if (!TEST_ptr_eq(sk_sint_value(s, i), v + i)) { in test_int_stack()
112 : v + finds[i].unsorted; in test_int_stack()
123 : v + finds[i].unsorted; in test_int_stack()
159 if (!TEST_ptr_eq(sk_sint_shift(s), v + 6)) in test_int_stack()
176 static const unsigned char v[] = { 1, 3, 7, 5, 255, 0 }; in test_uchar_stack() local
177 const int n = OSSL_NELEM(v); in test_uchar_stack()
192 sk_uchar_unshift(s, v + i); in test_uchar_stack()
209 if (!TEST_ptr_eq(sk_uchar_pop(s), v + i)) { in test_uchar_stack()
228 sk_uchar_insert(r, v, 0); in test_uchar_stack()
229 sk_uchar_insert(r, v + 2, -1); in test_uchar_stack()
230 sk_uchar_insert(r, v + 1, 1); in test_uchar_stack()
232 if (!TEST_ptr_eq(sk_uchar_value(r, i), v + i)) { in test_uchar_stack()
240 if (!TEST_ptr_eq(sk_uchar_delete(r, 1), v + 1)) in test_uchar_stack()
244 (void)sk_uchar_set(r, 1, v + 1); in test_uchar_stack()
246 if (!TEST_ptr_eq(sk_uchar_value(r, i), v + i)) { in test_uchar_stack()
275 SS *v[10], *p; in test_SS_stack() local
276 const int n = OSSL_NELEM(v); in test_SS_stack()
282 v[i] = OPENSSL_malloc(sizeof(*v[i])); in test_SS_stack()
284 if (!TEST_ptr(v[i])) in test_SS_stack()
286 v[i]->n = i; in test_SS_stack()
287 v[i]->c = 'A' + i; in test_SS_stack()
292 sk_SS_push(s, v[i]); in test_SS_stack()
307 if (!TEST_ptr_ne(p, v[i])) { in test_SS_stack()
311 if (!TEST_int_eq(p->n, v[i]->n)) { in test_SS_stack()
315 if (!TEST_char_eq(p->c, v[i]->c)) { in test_SS_stack()
326 p = sk_SS_delete_ptr(s, v[3]); in test_SS_stack()
333 if (!TEST_ptr_eq(sk_SS_value(s, i), v[i<3 ? i : 1+i])) { in test_SS_stack()
348 SU v[10]; in test_SU_stack() local
349 const int n = OSSL_NELEM(v); in test_SU_stack()
356 v[i].n = i; in test_SU_stack()
358 v[i].c = 'A' + i; in test_SU_stack()
363 sk_SU_push(s, v + i); in test_SU_stack()
370 if (!TEST_ptr_eq(sk_SU_value(s, i), v + i)) { in test_SU_stack()