Lines Matching full:length
24 size_t length = ARRAY_SIZE(in_angles); in ZTEST() local
28 output = malloc(length * sizeof(q15_t)); in ZTEST()
32 for (index = 0; index < length; index++) { in ZTEST()
38 test_snr_error_q15(length, output, ref_cos, SNR_ERROR_THRESH), in ZTEST()
42 test_near_equal_q15(length, output, ref_cos, ABS_ERROR_THRESH), in ZTEST()
52 size_t length = ARRAY_SIZE(in_angles); in ZTEST() local
56 output = malloc(length * sizeof(q15_t)); in ZTEST()
60 for (index = 0; index < length; index++) { in ZTEST()
66 test_snr_error_q15(length, output, ref_sin, SNR_ERROR_THRESH), in ZTEST()
70 test_near_equal_q15(length, output, ref_sin, ABS_ERROR_THRESH), in ZTEST()
80 size_t length = ARRAY_SIZE(in_sqrt); in ZTEST() local
85 output = malloc(length * sizeof(q15_t)); in ZTEST()
89 for (index = 0; index < length; index++) { in ZTEST()
105 test_snr_error_q15(length, output, ref_sqrt, SNR_ERROR_THRESH), in ZTEST()
109 test_near_equal_q15(length, output, ref_sqrt, in ZTEST()
120 size_t length = ARRAY_SIZE(ref_divide); in ZTEST() local
126 output = malloc(length * sizeof(q15_t)); in ZTEST()
129 shift = malloc(length * sizeof(uint16_t)); in ZTEST()
133 for (index = 0; index < length; index++) { in ZTEST()
141 test_snr_error_q15(length, output, ref_divide, SNR_ERROR_THRESH), in ZTEST()
145 test_near_equal_q15(length, output, ref_divide, in ZTEST()
151 length * sizeof(uint16_t)) == 0, in ZTEST()