Lines Matching refs:values
55 static size_t values[MAX_SAMPLES], sorted[MAX_SAMPLES], ref[MAX_SAMPLES]; in test_size_t_priority_queue_int() local
68 memset(values, 0, sizeof(values)); in test_size_t_priority_queue_int()
73 values[i] = random ? test_random() : (size_t)(count - i); in test_size_t_priority_queue_int()
74 memcpy(sorted, values, sizeof(*sorted) * count); in test_size_t_priority_queue_int()
78 memcpy(values, sorted, sizeof(*values) * count); in test_size_t_priority_queue_int()
80 qsort(values, count, sizeof(*values), &qsort_size_t_compare_rev); in test_size_t_priority_queue_int()
90 if (!TEST_true(ossl_pqueue_size_t_push(pq, values + i, ref + i))) in test_size_t_priority_queue_int()
100 if (values[i] != SIZE_MAX) { in test_size_t_priority_queue_int()
102 values + i)) in test_size_t_priority_queue_int()
104 values[i] = SIZE_MAX; in test_size_t_priority_queue_int()
107 memcpy(sorted, values, sizeof(*sorted) * count); in test_size_t_priority_queue_int()