Lines Matching full:output

25 	q31_t *output;  in ZTEST()  local
27 /* Allocate output buffer */ in ZTEST()
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()
36 /* Validate output */ 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()
45 /* Free output buffer */ in ZTEST()
46 free(output); in ZTEST()
53 q31_t *output; in ZTEST() local
55 /* Allocate output buffer */ in ZTEST()
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()
64 /* Validate output */ 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()
73 /* Free output buffer */ in ZTEST()
74 free(output); in ZTEST()
82 q31_t *output; in ZTEST() local
84 /* Allocate output buffer */ in ZTEST()
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()
103 /* Validate output */ 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()
113 /* Free output buffer */ in ZTEST()
114 free(output); in ZTEST()