Home
last modified time | relevance | path

Searched refs:tmp2 (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/tests/lib/cmsis_dsp/matrix/src/
Dbinary_f32.c31 float32_t *tmp1, *tmp2, *output; in test_op2() local
43 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op2()
44 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
51 mat_in2.pData = tmp2; in test_op2()
108 free(tmp2); in test_op2()
122 float32_t *tmp1, *tmp2, *output; in test_op2c() local
134 tmp2 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op2c()
135 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2c()
142 mat_in2.pData = tmp2; in test_op2c()
199 free(tmp2); in test_op2c()
Dbinary_f64.c31 float64_t *tmp1, *tmp2, *output; in test_op2() local
43 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t)); in test_op2()
44 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
51 mat_in2.pData = tmp2; in test_op2()
108 free(tmp2); in test_op2()
127 float64_t *tmp1, *tmp2, *output;
139 tmp2 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t));
140 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED);
147 mat_in2.pData = tmp2;
204 free(tmp2);
Dbinary_q31.c31 q31_t *tmp1, *tmp2, *output; in test_op2() local
43 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op2()
44 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
51 mat_in2.pData = tmp2; in test_op2()
106 free(tmp2); in test_op2()
120 q31_t *tmp1, *tmp2, *output; in test_op2c() local
132 tmp2 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op2c()
133 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2c()
140 mat_in2.pData = tmp2; in test_op2c()
196 free(tmp2); in test_op2c()
Dbinary_f16.c31 float16_t *tmp1, *tmp2, *output; in test_op2() local
43 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float16_t)); in test_op2()
44 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
51 mat_in2.pData = tmp2; in test_op2()
108 free(tmp2); in test_op2()
122 float16_t *tmp1, *tmp2, *output; in test_op2c() local
134 tmp2 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float16_t)); in test_op2c()
135 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2c()
142 mat_in2.pData = tmp2; in test_op2c()
199 free(tmp2); in test_op2c()
Dbinary_q15.c33 q15_t *tmp1, *tmp2, *scratch, *output; in test_op2() local
48 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2()
49 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
56 mat_in2.pData = tmp2; in test_op2()
113 free(tmp2); in test_op2()
128 q15_t *tmp1, *tmp2, *scratch, *output; in test_op2c() local
143 tmp2 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2c()
144 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2c()
151 mat_in2.pData = tmp2; in test_op2c()
208 free(tmp2); in test_op2c()
Dbinary_q7.c29 q7_t *tmp1, *tmp2, *scratch, *output; in test_op2() local
44 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q7_t)); in test_op2()
45 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
52 mat_in2.pData = tmp2; in test_op2()
109 free(tmp2); in test_op2()
Dunary_f64.c34 float64_t *tmp1, *tmp2, *output; in test_op2() local
46 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t)); in test_op2()
47 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
54 mat_in2.pData = tmp2; in test_op2()
104 free(tmp2); in test_op2()
318 float64_t *input1, *input2, *tmp1, *tmp2, *output; in ZTEST() local
330 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t)); in ZTEST()
331 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
340 mat_in2.pData = tmp2; in ZTEST()
386 free(tmp2); in ZTEST()
[all …]
Dunary_f16.c46 float16_t *tmp1, *tmp2, *output; in test_op2() local
58 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float16_t)); in test_op2()
59 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
66 mat_in2.pData = tmp2; in test_op2()
120 free(tmp2); in test_op2()
488 float16_t *input1, *input2, *tmp1, *tmp2, *output; in ZTEST() local
500 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float16_t)); in ZTEST()
501 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
510 mat_in2.pData = tmp2; in ZTEST()
556 free(tmp2); in ZTEST()
[all …]
Dunary_f32.c42 float32_t *tmp1, *tmp2, *output; in test_op2() local
54 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op2()
55 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
62 mat_in2.pData = tmp2; in test_op2()
116 free(tmp2); in test_op2()
484 float32_t *input1, *input2, *tmp1, *tmp2, *output; in ZTEST() local
496 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in ZTEST()
497 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in ZTEST()
506 mat_in2.pData = tmp2; in ZTEST()
552 free(tmp2); in ZTEST()
[all …]
Dunary_q15.c34 q15_t *tmp1, *tmp2, *output; in test_op2() local
46 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2()
47 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
54 mat_in2.pData = tmp2; in test_op2()
103 free(tmp2); in test_op2()
Dunary_q31.c34 q31_t *tmp1, *tmp2, *output; in test_op2() local
46 tmp2 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op2()
47 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
54 mat_in2.pData = tmp2; in test_op2()
103 free(tmp2); in test_op2()
/Zephyr-latest/tests/lib/cmsis_dsp/distance/src/
Df16.c42 float16_t *output, *tmp1 = NULL, *tmp2 = NULL; in test_arm_distance_f16() local
53 tmp2 = malloc(DIMS_VEC * sizeof(float16_t)); in test_arm_distance_f16()
54 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_distance_f16()
64 memcpy(tmp2, input2, DIMS_VEC * sizeof(float16_t)); in test_arm_distance_f16()
87 tmp1, tmp2, DIMS_VEC); in test_arm_distance_f16()
134 free(tmp2); in test_arm_distance_f16()
Df32.c40 float32_t *output, *tmp1 = NULL, *tmp2 = NULL; in test_arm_distance_f32() local
51 tmp2 = malloc(DIMS_VEC * sizeof(float32_t)); in test_arm_distance_f32()
52 zassert_not_null(tmp2, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_distance_f32()
62 memcpy(tmp2, input2, DIMS_VEC * sizeof(float32_t)); in test_arm_distance_f32()
85 tmp1, tmp2, DIMS_VEC); in test_arm_distance_f32()
120 free(tmp2); in test_arm_distance_f32()
/Zephyr-latest/subsys/bluetooth/host/
Duuid.c104 uint16_t tmp0, tmp2, tmp3, tmp4; in bt_uuid_to_str() local
116 memcpy(&tmp2, &BT_UUID_128(uuid)->val[6], sizeof(tmp2)); in bt_uuid_to_str()
123 sys_le16_to_cpu(tmp3), sys_le16_to_cpu(tmp2), in bt_uuid_to_str()
Dsmp.c985 static const uint8_t tmp2[4] = { 0x32, 0x70, 0x6d, 0x74 }; in smp_br_derive_ltk() local
987 if (bt_crypto_h6(link_key->val, tmp2, ilk)) { in smp_br_derive_ltk()
/Zephyr-latest/drivers/sensor/sensirion/sht3xd/
Dsht3xd.c148 uint32_t tmp2 = (uint32_t)data->rh_sample * 100U; in sht3xd_channel_get() local
149 val->val1 = tmp2 / 0xFFFF; in sht3xd_channel_get()
151 val->val2 = (tmp2 % 0xFFFF) * 15625U / 1024; in sht3xd_channel_get()