Lines Matching refs:output
25 q31_t *output; in ZTEST() local
28 output = malloc(length * sizeof(q31_t)); in ZTEST()
29 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
33 output[index] = arm_cos_q31(in_angles[index]); in ZTEST()
38 test_snr_error_q31(length, output, ref_cos, SNR_ERROR_THRESH), in ZTEST()
42 test_near_equal_q31(length, output, ref_cos, ABS_ERROR_THRESH), in ZTEST()
46 free(output); in ZTEST()
53 q31_t *output; in ZTEST() local
56 output = malloc(length * sizeof(q31_t)); in ZTEST()
57 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
61 output[index] = arm_sin_q31(in_angles[index]); in ZTEST()
66 test_snr_error_q31(length, output, ref_sin, SNR_ERROR_THRESH), in ZTEST()
70 test_near_equal_q31(length, output, ref_sin, ABS_ERROR_THRESH), in ZTEST()
74 free(output); in ZTEST()
82 q31_t *output; in ZTEST() local
85 output = malloc(length * sizeof(q31_t)); in ZTEST()
86 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
90 status = arm_sqrt_q31(in_sqrt[index], &output[index]); in ZTEST()
105 test_snr_error_q31(length, output, ref_sqrt, SNR_ERROR_THRESH), in ZTEST()
109 test_near_equal_q31(length, output, ref_sqrt, in ZTEST()
114 free(output); in ZTEST()