Home
last modified time | relevance | path

Searched refs:output_buf (Results 1 – 25 of 33) sorted by relevance

12

/Zephyr-latest/tests/lib/cmsis_dsp/svm/src/
Df16.c53 int32_t *output, *output_buf; in ZTEST() local
60 output_buf = malloc(length * sizeof(int32_t)); in ZTEST()
61 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
63 output = output_buf; in ZTEST()
77 test_equal_q31(length, output_buf, ref_linear), in ZTEST()
81 free(output_buf); in ZTEST()
93 int32_t *output, *output_buf; in ZTEST() local
102 output_buf = malloc(length * sizeof(int32_t)); in ZTEST()
103 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
105 output = output_buf; in ZTEST()
[all …]
Df32.c53 int32_t *output, *output_buf; in ZTEST() local
60 output_buf = malloc(length * sizeof(int32_t)); in ZTEST()
61 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
63 output = output_buf; in ZTEST()
77 test_equal_q31(length, output_buf, ref_linear), in ZTEST()
81 free(output_buf); in ZTEST()
93 int32_t *output, *output_buf; in ZTEST() local
102 output_buf = malloc(length * sizeof(int32_t)); in ZTEST()
103 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
105 output = output_buf; in ZTEST()
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/
Dbiquad_f32.c27 float32_t *state, *output_buf, *output; in ZTEST() local
43 output_buf = calloc(length + 2, sizeof(float32_t)); in ZTEST()
44 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
46 output = output_buf; in ZTEST()
67 test_snr_error_f32(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
71 test_rel_error_f32(length, output_buf, ref, REL_ERROR_THRESH), in ZTEST()
76 free(output_buf); in ZTEST()
87 float32_t *state, *output_buf, *output; in ZTEST() local
94 output_buf = malloc(length * sizeof(float32_t)); in ZTEST()
95 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
[all …]
Dbiquad_f16.c28 float16_t *state, *output_buf, *output; in ZTEST() local
44 output_buf = calloc(length + 2, sizeof(float16_t)); in ZTEST()
45 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
47 output = output_buf; in ZTEST()
68 test_snr_error_f16(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
72 test_close_error_f16(length, ref, output_buf, in ZTEST()
78 free(output_buf); in ZTEST()
89 float16_t *state, *output_buf, *output; in ZTEST() local
96 output_buf = malloc(length * sizeof(float16_t)); in ZTEST()
97 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
[all …]
Dbiquad_f64.c27 float64_t *state, *output_buf, *output; in ZTEST() local
34 output_buf = malloc(length * sizeof(float64_t)); in ZTEST()
35 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
37 output = output_buf; in ZTEST()
57 test_snr_error_f64(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
61 test_rel_error_f64(length, output_buf, ref, REL_ERROR_THRESH), in ZTEST()
66 free(output_buf); in ZTEST()
78 float64_t *state, *output_buf, *output; in ZTEST() local
85 output_buf = malloc(length * sizeof(float64_t)); in ZTEST()
86 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
[all …]
Dbiquad_q31.c30 q31_t *state, *output_buf, *output; in ZTEST() local
37 output_buf = malloc(length * sizeof(q31_t)); in ZTEST()
38 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
40 output = output_buf; in ZTEST()
57 test_snr_error_q31(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
61 test_near_equal_q31(length, output_buf, ref, in ZTEST()
67 free(output_buf); in ZTEST()
79 q31_t *output_buf, *output; in ZTEST() local
86 output_buf = malloc(length * sizeof(q31_t)); in ZTEST()
87 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
[all …]
Ddecim_q31.c30 q31_t *state, *output_buf, *output; in ZTEST() local
38 output_buf = malloc(length * sizeof(q31_t)); in ZTEST()
39 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
41 output = output_buf; in ZTEST()
71 test_snr_error_q31(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
75 test_near_equal_q31(length, output_buf, ref, in ZTEST()
81 free(output_buf); in ZTEST()
94 q31_t *state, *output_buf, *output; in ZTEST() local
102 output_buf = malloc(length * sizeof(q31_t)); in ZTEST()
103 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
[all …]
Ddecim_q15.c30 q15_t *state, *output_buf, *output; in ZTEST() local
38 output_buf = malloc(length * sizeof(q15_t)); in ZTEST()
39 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
41 output = output_buf; in ZTEST()
71 test_snr_error_q15(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
75 test_near_equal_q15(length, output_buf, ref, in ZTEST()
81 free(output_buf); in ZTEST()
94 q15_t *state, *output_buf, *output; in ZTEST() local
102 output_buf = malloc(length * sizeof(q15_t)); in ZTEST()
103 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
[all …]
Ddecim_f32.c30 float32_t *state, *output_buf, *output; in ZTEST() local
38 output_buf = malloc(length * sizeof(float32_t)); in ZTEST()
39 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
41 output = output_buf; in ZTEST()
71 test_snr_error_f32(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
75 test_rel_error_f32(length, output_buf, ref, REL_ERROR_THRESH), in ZTEST()
80 free(output_buf); in ZTEST()
93 float32_t *state, *output_buf, *output; in ZTEST() local
101 output_buf = malloc(length * sizeof(float32_t)); in ZTEST()
102 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
[all …]
Dbiquad_q15.c27 q15_t *state, *output_buf, *output; in ZTEST() local
34 output_buf = malloc(length * sizeof(q15_t)); in ZTEST()
35 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
37 output = output_buf; in ZTEST()
54 test_snr_error_q15(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
58 test_near_equal_q15(length, output_buf, ref, in ZTEST()
64 free(output_buf); in ZTEST()
Dfir_f16.c31 float16_t *state, *output_buf, *output; in ZTEST() local
42 output_buf = malloc(length * sizeof(float16_t)); in ZTEST()
43 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
45 output = output_buf; in ZTEST()
92 test_snr_error_f16(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
96 test_rel_error_f16(length, output_buf, ref, REL_ERROR_THRESH), in ZTEST()
101 free(output_buf); in ZTEST()
Dfir_f32.c31 float32_t *state, *output_buf, *output; in ZTEST() local
42 output_buf = malloc(length * sizeof(float32_t)); in ZTEST()
43 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
45 output = output_buf; in ZTEST()
92 test_snr_error_f32(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
96 test_rel_error_f32(length, output_buf, ref, REL_ERROR_THRESH), in ZTEST()
101 free(output_buf); in ZTEST()
Dfir_q15.c31 q15_t *state, *output_buf, *output; in ZTEST() local
42 output_buf = malloc(length * sizeof(q15_t)); in ZTEST()
43 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
45 output = output_buf; in ZTEST()
92 test_snr_error_q15(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
96 test_near_equal_q15(length, output_buf, ref, in ZTEST()
102 free(output_buf); in ZTEST()
Dfir_q7.c31 q7_t *state, *output_buf, *output; in ZTEST() local
42 output_buf = malloc(length * sizeof(q7_t)); in ZTEST()
43 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
45 output = output_buf; in ZTEST()
92 test_snr_error_q7(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
96 test_near_equal_q7(length, output_buf, ref, in ZTEST()
102 free(output_buf); in ZTEST()
Dfir_q31.c31 q31_t *state, *output_buf, *output; in ZTEST() local
42 output_buf = malloc(length * sizeof(q31_t)); in ZTEST()
43 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
45 output = output_buf; in ZTEST()
92 test_snr_error_q31(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
96 test_near_equal_q31(length, output_buf, ref, in ZTEST()
102 free(output_buf); in ZTEST()
Dmisc_f32.c34 float32_t *output, *output_buf; in test_arm_correlate_f32() local
37 output_buf = calloc(ref_length + 16, sizeof(float32_t)); in test_arm_correlate_f32()
38 output = output_buf + 8; in test_arm_correlate_f32()
57 free(output_buf); in test_arm_correlate_f32()
/Zephyr-latest/tests/lib/cmsis_dsp/support/src/
Dbarycenter_f16.c26 float16_t *output, *output_buf; in ZTEST() local
29 output_buf = malloc(length * sizeof(float16_t)); in ZTEST()
30 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
32 output = output_buf; in ZTEST()
53 length, output_buf, (float16_t *)ref_barycenter, in ZTEST()
58 free(output_buf); in ZTEST()
Dbarycenter_f32.c26 float32_t *output, *output_buf; in ZTEST() local
29 output_buf = malloc(length * sizeof(float32_t)); in ZTEST()
30 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
32 output = output_buf; in ZTEST()
53 length, output_buf, (float32_t *)ref_barycenter, in ZTEST()
58 free(output_buf); in ZTEST()
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_ws.c26 static uint8_t output_buf[CONFIG_LOG_BACKEND_WS_MAX_BUF_SIZE]; variable
69 if (pos >= (sizeof(output_buf) - 1)) { in ws_console_out()
73 output_buf[pos++] = c; in ws_console_out()
81 ret = ws_send_all(ctx->sock, output_buf, pos); in ws_console_out()
100 if (pos >= (sizeof(output_buf) - 1)) { in ws_console_out()
132 LOG_OUTPUT_DEFINE(log_output_ws, line_out, output_buf, sizeof(output_buf));
Dlog_backend_ble.c16 static uint8_t output_buf[LOG_BACKEND_BLE_BUF_SIZE]; variable
142 LOG_OUTPUT_DEFINE(log_output_ble, line_out, output_buf, sizeof(output_buf));
/Zephyr-latest/tests/lib/cmsis_dsp/matrix/src/
Dunary_q7.c101 q7_t *tmp1, *vec, *output_buf, *output; in test_op2v() local
113 output_buf = malloc(length * sizeof(q7_t)); in test_op2v()
114 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2v()
118 output = output_buf; in test_op2v()
149 test_snr_error_q7(length, output_buf, ref, SNR_ERROR_THRESH_LOW), in test_op2v()
153 test_near_equal_q7(length, output_buf, ref, ABS_ERROR_THRESH_Q7), in test_op2v()
159 free(output_buf); in test_op2v()
Dunary_q15.c196 q15_t *tmp1, *vec, *output_buf, *output; in test_op2v() local
208 output_buf = malloc(length * sizeof(q15_t)); in test_op2v()
209 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2v()
213 output = output_buf; in test_op2v()
244 test_snr_error_q15(length, output_buf, ref, SNR_ERROR_THRESH), in test_op2v()
248 test_near_equal_q15(length, output_buf, ref, ABS_ERROR_THRESH_Q15), in test_op2v()
254 free(output_buf); in test_op2v()
Dunary_q31.c196 q31_t *tmp1, *vec, *output_buf, *output; in test_op2v() local
208 output_buf = malloc(length * sizeof(q31_t)); in test_op2v()
209 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2v()
213 output = output_buf; in test_op2v()
244 test_snr_error_q31(length, output_buf, ref, SNR_ERROR_THRESH), in test_op2v()
248 test_near_equal_q31(length, output_buf, ref, ABS_ERROR_THRESH_Q31), in test_op2v()
254 free(output_buf); in test_op2v()
/Zephyr-latest/tests/lib/cmsis_dsp/quaternionmath/src/
Df32.c139 float32_t *output, *output_buf; in ZTEST() local
142 output_buf = malloc(length * sizeof(float32_t)); in ZTEST()
143 zassert_not_null(output_buf, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
145 output = output_buf; in ZTEST()
158 test_snr_error_f32(length, output_buf, ref, SNR_ERROR_THRESH), in ZTEST()
162 test_close_error_f32(length, output_buf, ref, in ZTEST()
167 free(output_buf); in ZTEST()
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dpsa_crypto.c339 unsigned char output_buf[1024]; in crp_generate_csr() local
346 .CSR = output_buf in crp_generate_csr()
352 memset(output_buf, 0, sizeof(output_buf)); in crp_generate_csr()
477 status = mbedtls_x509write_csr_pem(&req, output_buf, sizeof(output_buf), in crp_generate_csr()
491 printf("%s\n", output_buf); in crp_generate_csr()

12