Lines Matching full:index
77 size_t index; in test_equal_f64() local
79 for (index = 0; index < length; index++) { in test_equal_f64()
80 if (a[index] != b[index]) { in test_equal_f64()
91 size_t index; in test_equal_f32() local
93 for (index = 0; index < length; index++) { in test_equal_f32()
94 if (a[index] != b[index]) { in test_equal_f32()
106 size_t index; in test_equal_f16() local
108 for (index = 0; index < length; index++) { in test_equal_f16()
109 if (a[index] != b[index]) { in test_equal_f16()
121 size_t index; in test_equal_q63() local
123 for (index = 0; index < length; index++) { in test_equal_q63()
124 if (a[index] != b[index]) { in test_equal_q63()
135 size_t index; in test_equal_q31() local
137 for (index = 0; index < length; index++) { in test_equal_q31()
138 if (a[index] != b[index]) { in test_equal_q31()
149 size_t index; in test_equal_q15() local
151 for (index = 0; index < length; index++) { in test_equal_q15()
152 if (a[index] != b[index]) { in test_equal_q15()
163 size_t index; in test_equal_q7() local
165 for (index = 0; index < length; index++) { in test_equal_q7()
166 if (a[index] != b[index]) { in test_equal_q7()
178 size_t index; in test_near_equal_f64() local
180 for (index = 0; index < length; index++) { in test_near_equal_f64()
181 if (fabs(a[index] - b[index]) > threshold) { in test_near_equal_f64()
193 size_t index; in test_near_equal_f32() local
195 for (index = 0; index < length; index++) { in test_near_equal_f32()
196 if (fabsf(a[index] - b[index]) > threshold) { in test_near_equal_f32()
209 size_t index; in test_near_equal_f16() local
211 for (index = 0; index < length; index++) { in test_near_equal_f16()
212 if (fabsf((float)a[index] - (float)b[index]) > (float)threshold) { in test_near_equal_f16()
224 size_t index; in test_near_equal_q63() local
226 for (index = 0; index < length; index++) { in test_near_equal_q63()
227 if (llabs(a[index] - b[index]) > threshold) { in test_near_equal_q63()
238 size_t index; in test_near_equal_q31() local
240 for (index = 0; index < length; index++) { in test_near_equal_q31()
241 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q31()
252 size_t index; in test_near_equal_q15() local
254 for (index = 0; index < length; index++) { in test_near_equal_q15()
255 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q15()
266 size_t index; in test_near_equal_q7() local
268 for (index = 0; index < length; index++) { in test_near_equal_q7()
269 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q7()
281 size_t index; in test_rel_error_f64() local
284 for (index = 0; index < length; index++) { in test_rel_error_f64()
285 delta = fabs(a[index] - b[index]); in test_rel_error_f64()
286 average = (fabs(a[index]) + fabs(b[index])) / 2.0; in test_rel_error_f64()
304 size_t index; in test_rel_error_f32() local
307 for (index = 0; index < length; index++) { in test_rel_error_f32()
308 delta = fabsf(a[index] - b[index]); in test_rel_error_f32()
309 average = (fabsf(a[index]) + fabsf(b[index])) / 2.0f; in test_rel_error_f32()
328 size_t index; in test_rel_error_f16() local
331 for (index = 0; index < length; index++) { in test_rel_error_f16()
332 delta = fabsf((float)a[index] - (float)b[index]); in test_rel_error_f16()
333 average = (fabsf((float)a[index]) + fabsf((float)b[index])) / 2.0f; in test_rel_error_f16()
352 size_t index; in test_close_error_f64() local
354 for (index = 0; index < length; index++) { in test_close_error_f64()
355 if (fabs(val[index] - ref[index]) > in test_close_error_f64()
356 (abs_threshold + rel_threshold * fabs(ref[index]))) { in test_close_error_f64()
368 size_t index; in test_close_error_f32() local
370 for (index = 0; index < length; index++) { in test_close_error_f32()
371 if (fabsf(val[index] - ref[index]) > in test_close_error_f32()
372 (abs_threshold + rel_threshold * fabsf(ref[index]))) { in test_close_error_f32()
385 size_t index; in test_close_error_f16() local
387 for (index = 0; index < length; index++) { in test_close_error_f16()
388 if (fabsf((float)val[index] - (float)ref[index]) > in test_close_error_f16()
389 (abs_threshold + rel_threshold * fabsf((float)ref[index]))) { in test_close_error_f16()