Lines Matching full:length
21 static void test_arm_copy_q15(const q15_t *input1, size_t length) in test_arm_copy_q15() argument
26 output = malloc(length * sizeof(q15_t)); in test_arm_copy_q15()
30 arm_copy_q15(input1, output, length); in test_arm_copy_q15()
34 test_equal_q15(length, input1, output), in test_arm_copy_q15()
45 static void test_arm_fill_q15(size_t length) in test_arm_fill_q15() argument
52 output = malloc(length * sizeof(q15_t)); in test_arm_fill_q15()
56 arm_fill_q15(val, output, length); in test_arm_fill_q15()
59 for (index = 0; index < length; index++) { in test_arm_fill_q15()
73 const q15_t *input1, const uint32_t *ref, size_t length) in test_arm_q15_to_float() argument
78 output = malloc(length * sizeof(float32_t)); in test_arm_q15_to_float()
82 arm_q15_to_float(input1, output, length); in test_arm_q15_to_float()
87 length, (float32_t *)ref, output, REL_ERROR_THRESH), in test_arm_q15_to_float()
99 const q15_t *input1, const q31_t *ref, size_t length) in test_arm_q15_to_q31() argument
104 output = malloc(length * sizeof(q31_t)); in test_arm_q15_to_q31()
108 arm_q15_to_q31(input1, output, length); in test_arm_q15_to_q31()
113 length, ref, output, ABS_ERROR_THRESH_Q31), in test_arm_q15_to_q31()
125 const q15_t *input1, const q7_t *ref, size_t length) in test_arm_q15_to_q7() argument
130 output = malloc(length * sizeof(q7_t)); in test_arm_q15_to_q7()
134 arm_q15_to_q7(input1, output, length); in test_arm_q15_to_q7()
138 test_near_equal_q7(length, ref, output, ABS_ERROR_THRESH_Q7), in test_arm_q15_to_q7()