Lines Matching refs:output

23 	q15_t *output;  in test_arm_copy_q15()  local
26 output = malloc(length * sizeof(q15_t)); in test_arm_copy_q15()
27 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); 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()
38 free(output); in test_arm_copy_q15()
48 q15_t *output; in test_arm_fill_q15() local
52 output = malloc(length * sizeof(q15_t)); in test_arm_fill_q15()
53 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_fill_q15()
56 arm_fill_q15(val, output, length); in test_arm_fill_q15()
61 output[index], val, ASSERT_MSG_INCORRECT_COMP_RESULT); in test_arm_fill_q15()
65 free(output); in test_arm_fill_q15()
75 float32_t *output; in test_arm_q15_to_float() local
78 output = malloc(length * sizeof(float32_t)); in test_arm_q15_to_float()
79 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); 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()
91 free(output); in test_arm_q15_to_float()
101 q31_t *output; in test_arm_q15_to_q31() local
104 output = malloc(length * sizeof(q31_t)); in test_arm_q15_to_q31()
105 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); 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()
117 free(output); in test_arm_q15_to_q31()
127 q7_t *output; in test_arm_q15_to_q7() local
130 output = malloc(length * sizeof(q7_t)); in test_arm_q15_to_q7()
131 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); 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()
142 free(output); in test_arm_q15_to_q7()