Lines Matching refs:length

40 	size_t length = ARRAY_SIZE(in_angles);
44 output = malloc(length * sizeof(float16_t));
48 for (index = 0; index < length; index++) {
54 test_snr_error_f16(length, output, (float16_t *)ref_cos,
59 test_close_error_f16(length, output, (float16_t *)ref_cos,
70 size_t length = ARRAY_SIZE(in_angles);
74 output = malloc(length * sizeof(float16_t));
78 for (index = 0; index < length; index++) {
84 test_snr_error_f16(length, output, (float16_t *)ref_sin,
89 test_close_error_f16(length, output, (float16_t *)ref_sin,
103 size_t length = ARRAY_SIZE(in_sqrt); in ZTEST() local
108 output = malloc(length * sizeof(float16_t)); in ZTEST()
112 for (index = 0; index < length; index++) { in ZTEST()
129 test_snr_error_f16(length, output, (float16_t *)ref_sqrt, in ZTEST()
134 test_close_error_f16(length, output, (float16_t *)ref_sqrt, in ZTEST()
143 const uint16_t *input1, const uint16_t *ref, size_t length) in test_arm_vlog_f16() argument
148 output = malloc(length * sizeof(float16_t)); in test_arm_vlog_f16()
152 arm_vlog_f16((float16_t *)input1, output, length); in test_arm_vlog_f16()
156 test_snr_error_f16(length, output, (float16_t *)ref, in test_arm_vlog_f16()
161 test_close_error_f16(length, output, (float16_t *)ref, in test_arm_vlog_f16()
175 const uint16_t *input1, const uint16_t *ref, size_t length) in test_arm_vexp_f16() argument
180 output = malloc(length * sizeof(float16_t)); in test_arm_vexp_f16()
184 arm_vexp_f16((float16_t *)input1, output, length); in test_arm_vexp_f16()
188 test_snr_error_f16(length, output, (float16_t *)ref, in test_arm_vexp_f16()
193 test_close_error_f16(length, output, (float16_t *)ref, in test_arm_vexp_f16()
208 size_t length = ARRAY_SIZE(ref_vinverse); in ZTEST() local
212 output = malloc(length * sizeof(float16_t)); in ZTEST()
216 arm_vinverse_f16((float16_t *)in_vinverse, output, length); in ZTEST()
220 test_snr_error_f16(length, output, (float16_t *)ref_vinverse, in ZTEST()
225 test_close_error_f16(length, output, (float16_t *)ref_vinverse, in ZTEST()