Lines Matching full:length
22 size_t length = in_entropy_dim[0]; in ZTEST() local
27 __ASSERT_NO_MSG(ARRAY_SIZE(in_entropy_dim) > length); in ZTEST()
28 __ASSERT_NO_MSG(ARRAY_SIZE(ref_entropy) >= length); in ZTEST()
31 output = malloc(length * sizeof(float64_t)); in ZTEST()
35 for (index = 0; index < length; index++) { in ZTEST()
43 test_snr_error_f64(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
47 test_near_equal_f64(length, ref, output, REL_ERROR_THRESH), in ZTEST()
57 size_t length = in_kl_dim[0]; in ZTEST() local
63 __ASSERT_NO_MSG(ARRAY_SIZE(in_kl_dim) > length); in ZTEST()
64 __ASSERT_NO_MSG(ARRAY_SIZE(ref_kl) >= length); in ZTEST()
67 output = malloc(length * sizeof(float64_t)); in ZTEST()
71 for (index = 0; index < length; index++) { in ZTEST()
82 test_snr_error_f64(length, ref, output, SNR_ERROR_THRESH), in ZTEST()
86 test_near_equal_f64(length, ref, output, REL_ERROR_THRESH), in ZTEST()