Lines Matching refs:length
21 static void test_arm_copy_q31(const q31_t *input1, size_t length) in test_arm_copy_q31() argument
26 output = malloc(length * sizeof(q31_t)); in test_arm_copy_q31()
30 arm_copy_q31(input1, output, length); in test_arm_copy_q31()
34 test_equal_q31(length, input1, output), in test_arm_copy_q31()
45 static void test_arm_fill_q31(size_t length) in test_arm_fill_q31() argument
52 output = malloc(length * sizeof(q31_t)); in test_arm_fill_q31()
56 arm_fill_q31(val, output, length); in test_arm_fill_q31()
59 for (index = 0; index < length; index++) { in test_arm_fill_q31()
73 const q31_t *input1, const uint32_t *ref, size_t length) in test_arm_q31_to_float() argument
78 output = malloc(length * sizeof(float32_t)); in test_arm_q31_to_float()
82 arm_q31_to_float(input1, output, length); in test_arm_q31_to_float()
87 length, (float32_t *)ref, output, REL_ERROR_THRESH), in test_arm_q31_to_float()
99 const q31_t *input1, const q15_t *ref, size_t length) in test_arm_q31_to_q15() argument
104 output = malloc(length * sizeof(q15_t)); in test_arm_q31_to_q15()
108 arm_q31_to_q15(input1, output, length); in test_arm_q31_to_q15()
112 test_near_equal_q15(length, ref, output, ABS_ERROR_THRESH_Q15), in test_arm_q31_to_q15()
124 const q31_t *input1, const q7_t *ref, size_t length) in test_arm_q31_to_q7() argument
129 output = malloc(length * sizeof(q7_t)); in test_arm_q31_to_q7()
133 arm_q31_to_q7(input1, output, length); in test_arm_q31_to_q7()
137 test_near_equal_q7(length, ref, output, ABS_ERROR_THRESH_Q7), in test_arm_q31_to_q7()