Home
last modified time | relevance | path

Searched refs:buf_length (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/tests/lib/cmsis_dsp/complexmath/src/
Dq15.c26 size_t buf_length; in test_arm_cmplx_conj_q15() local
30 buf_length = 2 * length; in test_arm_cmplx_conj_q15()
33 output = malloc(buf_length * sizeof(q15_t)); in test_arm_cmplx_conj_q15()
41 test_snr_error_q15(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_conj_q15()
45 test_near_equal_q15(buf_length, output, ref, in test_arm_cmplx_conj_q15()
152 size_t buf_length; in test_arm_cmplx_mult_cmplx_q15() local
156 buf_length = 2 * length; in test_arm_cmplx_mult_cmplx_q15()
159 output = malloc(buf_length * sizeof(q15_t)); in test_arm_cmplx_mult_cmplx_q15()
167 test_snr_error_q15(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_mult_cmplx_q15()
171 test_near_equal_q15(buf_length, output, ref, in test_arm_cmplx_mult_cmplx_q15()
[all …]
Df16.c24 size_t buf_length; in test_arm_cmplx_conj_f16() local
28 buf_length = 2 * length; in test_arm_cmplx_conj_f16()
31 output = malloc(buf_length * sizeof(float16_t)); in test_arm_cmplx_conj_f16()
39 test_snr_error_f16(buf_length, output, (float16_t *)ref, in test_arm_cmplx_conj_f16()
44 test_rel_error_f16(buf_length, output, (float16_t *)ref, in test_arm_cmplx_conj_f16()
159 size_t buf_length; in test_arm_cmplx_mult_cmplx_f16() local
163 buf_length = 2 * length; in test_arm_cmplx_mult_cmplx_f16()
166 output = malloc(buf_length * sizeof(float16_t)); in test_arm_cmplx_mult_cmplx_f16()
175 test_snr_error_f16(buf_length, output, (float16_t *)ref, in test_arm_cmplx_mult_cmplx_f16()
180 test_rel_error_f16(buf_length, output, (float16_t *)ref, in test_arm_cmplx_mult_cmplx_f16()
[all …]
Df32.c24 size_t buf_length; in test_arm_cmplx_conj_f32() local
28 buf_length = 2 * length; in test_arm_cmplx_conj_f32()
31 output = malloc(buf_length * sizeof(float32_t)); in test_arm_cmplx_conj_f32()
39 test_snr_error_f32(buf_length, output, (float32_t *)ref, in test_arm_cmplx_conj_f32()
44 test_rel_error_f32(buf_length, output, (float32_t *)ref, in test_arm_cmplx_conj_f32()
159 size_t buf_length; in test_arm_cmplx_mult_cmplx_f32() local
163 buf_length = 2 * length; in test_arm_cmplx_mult_cmplx_f32()
166 output = malloc(buf_length * sizeof(float32_t)); in test_arm_cmplx_mult_cmplx_f32()
175 test_snr_error_f32(buf_length, output, (float32_t *)ref, in test_arm_cmplx_mult_cmplx_f32()
180 test_rel_error_f32(buf_length, output, (float32_t *)ref, in test_arm_cmplx_mult_cmplx_f32()
[all …]
Dq31.c25 size_t buf_length; in test_arm_cmplx_conj_q31() local
29 buf_length = 2 * length; in test_arm_cmplx_conj_q31()
32 output = malloc(buf_length * sizeof(q31_t)); in test_arm_cmplx_conj_q31()
40 test_snr_error_q31(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_conj_q31()
44 test_near_equal_q31(buf_length, output, ref, in test_arm_cmplx_conj_q31()
151 size_t buf_length; in test_arm_cmplx_mult_cmplx_q31() local
155 buf_length = 2 * length; in test_arm_cmplx_mult_cmplx_q31()
158 output = malloc(buf_length * sizeof(q31_t)); in test_arm_cmplx_mult_cmplx_q31()
166 test_snr_error_q31(buf_length, output, ref, SNR_ERROR_THRESH), in test_arm_cmplx_mult_cmplx_q31()
170 test_near_equal_q31(buf_length, output, ref, in test_arm_cmplx_mult_cmplx_q31()
[all …]
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_shell.c195 uint8_t *buf, uint8_t buf_length) in i2c_read_to_buffer() argument
220 reg_addr_bytes, buf, buf_length); in i2c_read_to_buffer()
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Dlwm2m_registry.c522 static bool lwm2m_validate_time_resource_lenghts(uint16_t resource_length, uint16_t buf_length) in lwm2m_validate_time_resource_lenghts() argument
528 if (buf_length != sizeof(time_t) && buf_length != sizeof(uint32_t)) { in lwm2m_validate_time_resource_lenghts()
535 static int lwm2m_check_buf_sizes(uint8_t data_type, uint16_t resource_length, uint16_t buf_length) in lwm2m_check_buf_sizes() argument
540 if (resource_length > buf_length) { in lwm2m_check_buf_sizes()
553 if (resource_length != buf_length) { in lwm2m_check_buf_sizes()