/Zephyr-latest/tests/lib/cmsis_dsp/svm/src/ |
D | f16.c | 53 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 …]
|
D | f32.c | 53 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/ |
D | biquad_f32.c | 27 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 …]
|
D | biquad_f16.c | 28 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 …]
|
D | biquad_f64.c | 27 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 …]
|
D | biquad_q31.c | 30 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 …]
|
D | decim_q31.c | 30 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 …]
|
D | decim_q15.c | 30 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 …]
|
D | decim_f32.c | 30 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 …]
|
D | biquad_q15.c | 27 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()
|
D | fir_f16.c | 31 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()
|
D | fir_f32.c | 31 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()
|
D | fir_q15.c | 31 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()
|
D | fir_q7.c | 31 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()
|
D | fir_q31.c | 31 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()
|
D | misc_f32.c | 34 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/ |
D | barycenter_f16.c | 26 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()
|
D | barycenter_f32.c | 26 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/ |
D | log_backend_ws.c | 26 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));
|
D | log_backend_ble.c | 16 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/ |
D | unary_q7.c | 101 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()
|
D | unary_q15.c | 196 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()
|
D | unary_q31.c | 196 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/ |
D | f32.c | 139 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/ |
D | psa_crypto.c | 339 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()
|