Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/cmsis_dsp/complexmath/src/
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 …]
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 …]
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-latest/drivers/i2c/
Di2c_shell.c195 uint8_t *buf, uint8_t buf_length) in i2c_read_to_buffer() argument
221 reg_addr_bytes, buf, buf_length); in i2c_read_to_buffer()
223 ret = i2c_read(dev, buf, buf_length, dev_addr); in i2c_read_to_buffer()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_registry.c495 static bool lwm2m_validate_time_resource_lenghts(uint16_t resource_length, uint16_t buf_length) in lwm2m_validate_time_resource_lenghts() argument
501 if (buf_length != sizeof(time_t) && buf_length != sizeof(uint32_t)) { in lwm2m_validate_time_resource_lenghts()
508 static int lwm2m_check_buf_sizes(uint8_t data_type, uint16_t resource_length, uint16_t buf_length) in lwm2m_check_buf_sizes() argument
513 if (resource_length > buf_length) { in lwm2m_check_buf_sizes()
527 if (resource_length != buf_length) { in lwm2m_check_buf_sizes()
/Zephyr-latest/drivers/i3c/
Di3c_shell.c418 char *s_reg_addr, uint8_t *buf, uint8_t buf_length) in i3c_read_to_buffer() argument
449 reg_addr_bytes, buf, buf_length); in i3c_read_to_buffer()