Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/cmsis_dsp/matrix/src/
Dunary_f16.c46 float16_t *tmp1, *tmp2, *output; in test_op2() local
55 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float16_t)); in test_op2()
56 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
65 mat_in1.pData = tmp1; in test_op2()
119 free(tmp1); in test_op2()
136 float16_t *tmp1, *output; in test_op1() local
144 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float16_t)); in test_op1()
145 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op1()
151 mat_in1.pData = tmp1; in test_op1()
201 free(tmp1); in test_op1()
[all …]
Dunary_f32.c42 float32_t *tmp1, *tmp2, *output; in test_op2() local
51 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op2()
52 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
61 mat_in1.pData = tmp1; in test_op2()
115 free(tmp1); in test_op2()
132 float32_t *tmp1, *output; in test_op1() local
140 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op1()
141 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op1()
147 mat_in1.pData = tmp1; in test_op1()
197 free(tmp1); in test_op1()
[all …]
Dunary_f64.c34 float64_t *tmp1, *tmp2, *output; in test_op2() local
43 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t)); in test_op2()
44 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
53 mat_in1.pData = tmp1; in test_op2()
103 free(tmp1); in test_op2()
117 float64_t *tmp1, *output; in test_op1() local
125 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t)); in test_op1()
126 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op1()
132 mat_in1.pData = tmp1; in test_op1()
179 free(tmp1); in test_op1()
[all …]
Dunary_q15.c34 q15_t *tmp1, *tmp2, *output; in test_op2() local
43 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2()
44 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
53 mat_in1.pData = tmp1; in test_op2()
102 free(tmp1); in test_op2()
118 q15_t *tmp1, *output; in test_op1() local
126 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op1()
127 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op1()
133 mat_in1.pData = tmp1; in test_op1()
181 free(tmp1); in test_op1()
[all …]
Dunary_q31.c34 q31_t *tmp1, *tmp2, *output; in test_op2() local
43 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op2()
44 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
53 mat_in1.pData = tmp1; in test_op2()
102 free(tmp1); in test_op2()
118 q31_t *tmp1, *output; in test_op1() local
126 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op1()
127 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op1()
133 mat_in1.pData = tmp1; in test_op1()
181 free(tmp1); in test_op1()
[all …]
Dunary_q7.c30 q7_t *tmp1, *output; in test_op1() local
38 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q7_t)); in test_op1()
39 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op1()
45 mat_in1.pData = tmp1; in test_op1()
89 free(tmp1); in test_op1()
101 q7_t *tmp1, *vec, *output_buf, *output; in test_op2v() local
107 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q7_t)); in test_op2v()
108 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2v()
117 mat_in1.pData = tmp1; in test_op2v()
157 free(tmp1); in test_op2v()
Dbinary_f32.c31 float32_t *tmp1, *tmp2, *output; in test_op2() local
40 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op2()
41 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
50 mat_in1.pData = tmp1; in test_op2()
107 free(tmp1); in test_op2()
122 float32_t *tmp1, *tmp2, *output; in test_op2c() local
131 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float32_t)); in test_op2c()
132 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2c()
141 mat_in1.pData = tmp1; in test_op2c()
198 free(tmp1); in test_op2c()
Dbinary_f64.c31 float64_t *tmp1, *tmp2, *output; in test_op2() local
40 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t)); in test_op2()
41 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
50 mat_in1.pData = tmp1; in test_op2()
107 free(tmp1); in test_op2()
127 float64_t *tmp1, *tmp2, *output;
136 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float64_t));
137 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED);
146 mat_in1.pData = tmp1;
203 free(tmp1);
Dbinary_q31.c31 q31_t *tmp1, *tmp2, *output; in test_op2() local
40 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op2()
41 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
50 mat_in1.pData = tmp1; in test_op2()
105 free(tmp1); in test_op2()
120 q31_t *tmp1, *tmp2, *output; in test_op2c() local
129 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q31_t)); in test_op2c()
130 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2c()
139 mat_in1.pData = tmp1; in test_op2c()
195 free(tmp1); in test_op2c()
Dbinary_f16.c31 float16_t *tmp1, *tmp2, *output; in test_op2() local
40 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float16_t)); in test_op2()
41 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
50 mat_in1.pData = tmp1; in test_op2()
107 free(tmp1); in test_op2()
122 float16_t *tmp1, *tmp2, *output; in test_op2c() local
131 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(float16_t)); in test_op2c()
132 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2c()
141 mat_in1.pData = tmp1; in test_op2c()
198 free(tmp1); in test_op2c()
Dbinary_q15.c33 q15_t *tmp1, *tmp2, *scratch, *output; in test_op2() local
45 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2()
46 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
55 mat_in1.pData = tmp1; in test_op2()
112 free(tmp1); in test_op2()
128 q15_t *tmp1, *tmp2, *scratch, *output; in test_op2c() local
140 tmp1 = malloc(2 * MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q15_t)); in test_op2c()
141 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2c()
150 mat_in1.pData = tmp1; in test_op2c()
207 free(tmp1); in test_op2c()
Dbinary_q7.c29 q7_t *tmp1, *tmp2, *scratch, *output; in test_op2() local
41 tmp1 = malloc(MAX_MATRIX_DIM * MAX_MATRIX_DIM * sizeof(q7_t)); in test_op2()
42 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_op2()
51 mat_in1.pData = tmp1; in test_op2()
108 free(tmp1); in test_op2()
/Zephyr-latest/tests/lib/cmsis_dsp/distance/src/
Df32.c40 float32_t *output, *tmp1 = NULL, *tmp2 = NULL; in test_arm_distance_f32() local
48 tmp1 = malloc(DIMS_VEC * sizeof(float32_t)); in test_arm_distance_f32()
49 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_distance_f32()
61 memcpy(tmp1, input1, DIMS_VEC * sizeof(float32_t)); in test_arm_distance_f32()
85 tmp1, tmp2, DIMS_VEC); in test_arm_distance_f32()
119 free(tmp1); in test_arm_distance_f32()
Df16.c42 float16_t *output, *tmp1 = NULL, *tmp2 = NULL; in test_arm_distance_f16() local
50 tmp1 = malloc(DIMS_VEC * sizeof(float16_t)); in test_arm_distance_f16()
51 zassert_not_null(tmp1, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_distance_f16()
63 memcpy(tmp1, input1, DIMS_VEC * sizeof(float16_t)); in test_arm_distance_f16()
87 tmp1, tmp2, DIMS_VEC); in test_arm_distance_f16()
133 free(tmp1); in test_arm_distance_f16()
/Zephyr-latest/subsys/bluetooth/host/
Duuid.c103 uint32_t tmp1, tmp5; in bt_uuid_to_str() local
115 memcpy(&tmp1, &BT_UUID_128(uuid)->val[2], sizeof(tmp1)); in bt_uuid_to_str()
124 sys_le32_to_cpu(tmp1), sys_le16_to_cpu(tmp0)); in bt_uuid_to_str()
Dsmp.c780 static const uint8_t tmp1[4] = { 0x31, 0x70, 0x6d, 0x74 }; in sc_derive_link_key() local
782 if (bt_crypto_h6(conn->le.keys->ltk.val, tmp1, ilk)) { in sc_derive_link_key()