Home
last modified time | relevance | path

Searched refs:memset (Results 1 – 25 of 1128) sorted by relevance

12345678910>>...46

/Zephyr-latest/arch/arm/core/cortex_a_r/
Dstacks.c27 memset(z_arm_fiq_stack, 0xAA, CONFIG_ARMV7_FIQ_STACK_SIZE); in z_arm_init_stacks()
28 memset(z_arm_svc_stack, 0xAA, CONFIG_ARMV7_SVC_STACK_SIZE); in z_arm_init_stacks()
29 memset(z_arm_abort_stack, 0xAA, CONFIG_ARMV7_EXCEPTION_STACK_SIZE); in z_arm_init_stacks()
30 memset(z_arm_undef_stack, 0xAA, CONFIG_ARMV7_EXCEPTION_STACK_SIZE); in z_arm_init_stacks()
31 memset(K_KERNEL_STACK_BUFFER(z_interrupt_stacks[0]), 0xAA, in z_arm_init_stacks()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/
Dmain.c166 memset(buffer, 0, sizeof(buffer)); in ZTEST()
167 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
169 memset(zse, 0, sizeof(zse)); in ZTEST()
170 memset(zsd, 0, sizeof(zsd)); in ZTEST()
228 memset(buffer, 0, sizeof(buffer)); in ZTEST()
229 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
231 memset(zse, 0, sizeof(zse)); in ZTEST()
232 memset(zsd, 0, sizeof(zsd)); in ZTEST()
292 memset(buffer, 0, sizeof(buffer)); in ZTEST()
293 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/mgmt/mcumgr/cb_notifications/src/
Dmain.c107 memset(buffer, 0, sizeof(buffer)); in ZTEST()
108 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
110 memset(zse, 0, sizeof(zse)); in ZTEST()
111 memset(zsd, 0, sizeof(zsd)); in ZTEST()
153 memset(buffer, 0, sizeof(buffer)); in ZTEST()
154 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
156 memset(zse, 0, sizeof(zse)); in ZTEST()
157 memset(zsd, 0, sizeof(zsd)); in ZTEST()
199 memset(buffer, 0, sizeof(buffer)); in ZTEST()
200 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/
Dmain.c311 memset(buffer, 0, sizeof(buffer)); in ZTEST()
312 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
314 memset(zse, 0, sizeof(zse)); in ZTEST()
315 memset(zsd, 0, sizeof(zsd)); in ZTEST()
372 memset(buffer, 0, sizeof(buffer)); in ZTEST()
373 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
375 memset(zse, 0, sizeof(zse)); in ZTEST()
376 memset(zsd, 0, sizeof(zsd)); in ZTEST()
433 memset(buffer, 0, sizeof(buffer)); in ZTEST()
434 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
[all …]
Dlimited.c54 memset(buffer, 0, sizeof(buffer)); in ZTEST()
55 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
57 memset(zse, 0, sizeof(zse)); in ZTEST()
58 memset(zsd, 0, sizeof(zsd)); in ZTEST()
120 memset(buffer, 0, sizeof(buffer)); in ZTEST()
121 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
123 memset(zse, 0, sizeof(zse)); in ZTEST()
124 memset(zsd, 0, sizeof(zsd)); in ZTEST()
Dbuild_date.c94 memset(buffer, 0, sizeof(buffer)); in ZTEST()
95 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
97 memset(zse, 0, sizeof(zse)); in ZTEST()
98 memset(zsd, 0, sizeof(zsd)); in ZTEST()
170 memset(buffer, 0, sizeof(buffer)); in ZTEST()
171 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
173 memset(zse, 0, sizeof(zse)); in ZTEST()
174 memset(zsd, 0, sizeof(zsd)); in ZTEST()
/Zephyr-latest/tests/boot/mcuboot_data_sharing/src/
Dmain.c29 memset(var, 0xff, sizeof(var)); in ZTEST()
40 memset(var, 0xff, sizeof(var)); in ZTEST()
51 memset(var, 0xff, sizeof(var)); in ZTEST()
62 memset(var, 0xff, sizeof(var)); in ZTEST()
74 memset(var, 0xff, sizeof(var)); in ZTEST()
93 memset(var, 0xff, sizeof(var)); in ZTEST()
106 memset(var, 0xff, sizeof(var)); in ZTEST()
117 memset(var, 0xff, sizeof(var)); in ZTEST()
/Zephyr-latest/tests/bluetooth/host/id/bt_id_read_public_addr/src/
Dmain.c30 memset(&bt_dev, 0x00, sizeof(struct bt_dev)); in tc_setup()
31 memset(&hci_cmd_rsp, 0x00, sizeof(struct net_buf)); in tc_setup()
32 memset(&hci_rp_read_bd_addr, 0x00, sizeof(struct bt_hci_rp_read_bd_addr)); in tc_setup()
103 memset(&bt_dev, 0x00, sizeof(struct bt_dev)); in ZTEST()
104 memset(&hci_cmd_rsp, 0x00, sizeof(struct net_buf)); in ZTEST()
105 memset(&hci_rp_read_bd_addr, 0x00, sizeof(struct bt_hci_rp_read_bd_addr)); in ZTEST()
/Zephyr-latest/tests/net/socket/socketpair/src/
Dpoll.c29 memset(fds, 0, sizeof(fds)); in test_socketpair_poll_timeout_common()
40 memset(fds, 0, sizeof(fds)); in test_socketpair_poll_timeout_common()
103 memset(fds, 0, sizeof(fds)); in ZTEST_F()
107 memset(&ctx, 0, sizeof(ctx)); in ZTEST_F()
141 memset(fds, 0, sizeof(fds)); in ZTEST_F()
145 memset(&ctx, 0, sizeof(ctx)); in ZTEST_F()
174 memset(fds, 0, sizeof(fds)); in ZTEST_USER_F()
186 memset(fds, 0, sizeof(fds)); in ZTEST_USER_F()
194 memset(fds, 0, sizeof(fds)); in ZTEST_USER_F()
247 memset(fds, 0, sizeof(fds)); in ZTEST_F()
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_rd_client/src/
Dmain.c185 memset(&response, 0, sizeof(struct coap_packet)); in message_reply_cb_default()
186 memset(&reply, 0, sizeof(struct coap_reply)); in message_reply_cb_default()
187 memset(&from, 0, sizeof(struct sockaddr)); in message_reply_cb_default()
203 (void)memset(&ctx, 0x0, sizeof(ctx)); in ZTEST()
232 (void)memset(&ctx, 0x0, sizeof(ctx)); in ZTEST()
252 (void)memset(&ctx, 0x0, sizeof(ctx)); in ZTEST()
275 (void)memset(&ctx, 0x0, sizeof(ctx)); in ZTEST()
294 (void)memset(&ctx, 0x0, sizeof(ctx)); in ZTEST()
320 (void)memset(&ctx, 0x0, sizeof(ctx)); in ZTEST()
342 (void)memset(&ctx, 0x0, sizeof(ctx)); in ZTEST()
[all …]
/Zephyr-latest/drivers/i3c/
Di3c_ccc.c33 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_getbcr()
56 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_getdcr()
79 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_getpid()
95 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_rstact_all()
117 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_rstact()
146 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_rstdaa_all()
169 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_setdasa()
194 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_setnewda()
209 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_events_all_set()
237 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_events_set()
[all …]
/Zephyr-latest/tests/crypto/tinycrypt/src/
Dhmac.c87 (void)memset(&h, 0x00, sizeof(h)); in ZTEST()
120 (void)memset(&h, 0x00, sizeof(h)); in ZTEST()
160 (void)memset(&h, 0x00, sizeof(h)); in ZTEST()
202 (void)memset(&h, 0x00, sizeof(h)); in ZTEST()
236 (void)memset(&h, 0x00, sizeof(h)); in ZTEST()
294 (void)memset(&h, 0x00, sizeof(h)); in ZTEST()
368 (void)memset(&h, 0x00, sizeof(h)); in ZTEST()
Dsha256.c183 (void)memset(m, 0x00, sizeof(m)); in ZTEST()
213 (void)memset(m, 0x00, sizeof(m)); in ZTEST()
243 (void)memset(m, 0x00, sizeof(m)); in ZTEST()
273 (void)memset(m, 0x00, sizeof(m)); in ZTEST()
303 (void)memset(m, 0x00, sizeof(m)); in ZTEST()
333 (void)memset(m, 0x41, sizeof(m)); in ZTEST()
363 (void)memset(m, 0x55, sizeof(m)); in ZTEST()
394 (void)memset(m, 0x00, sizeof(m)); in ZTEST()
426 (void)memset(m, 0x5a, sizeof(m)); in ZTEST()
459 (void)memset(m, 0x00, sizeof(m)); in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/src/
Disoal_test_common.c52 memset(buf, 0, sizeof(struct rx_pdu_meta_buffer)); in isoal_test_init_rx_pdu_buffer()
63 memset(buf, 0, sizeof(struct rx_sdu_frag_buffer)); in isoal_test_init_rx_sdu_buffer()
88 memset(pdu_meta->meta, 0, sizeof(*pdu_meta->meta)); in isoal_test_create_unframed_pdu()
89 memset(pdu_meta->pdu, 0, sizeof(*pdu_meta->pdu)); in isoal_test_create_unframed_pdu()
123 memset(&seg_hdr, 0, sizeof(seg_hdr)); in isoal_test_insert_segment()
163 memset(pdu_meta->meta, 0, sizeof(*pdu_meta->meta)); in isoal_test_create_framed_pdu_base()
164 memset(pdu_meta->pdu, 0, sizeof(*pdu_meta->pdu)); in isoal_test_create_framed_pdu_base()
254 memset(buf, 0, sizeof(struct tx_pdu_meta_buffer)); in isoal_test_init_tx_pdu_buffer()
263 memset(buf, 0, sizeof(struct tx_sdu_frag_buffer)); in isoal_test_init_tx_sdu_buffer()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_version/src/
Dmain.c121 memset(buffer, 0, sizeof(buffer)); in ZTEST()
122 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
124 memset(zse, 0, sizeof(zse)); in ZTEST()
125 memset(zsd, 0, sizeof(zsd)); in ZTEST()
208 memset(buffer, 0, sizeof(buffer)); in ZTEST()
209 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
211 memset(zse, 0, sizeof(zse)); in ZTEST()
212 memset(zsd, 0, sizeof(zsd)); in ZTEST()
294 memset(buffer, 0, sizeof(buffer)); in ZTEST()
295 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
[all …]
/Zephyr-latest/scripts/coccinelle/
Dignore_return.cocci1 /// Cast void to memset to ignore its return value
3 //# The return of memset and memcpy is never checked and therefore
18 memset(e1,e2,e3);
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/
Dmain.c122 memset(buffer, 0, sizeof(buffer)); in ZTEST()
123 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
125 memset(zse, 0, sizeof(zse)); in ZTEST()
126 memset(zsd, 0, sizeof(zsd)); in ZTEST()
223 memset(buffer, 0, sizeof(buffer)); in ZTEST()
224 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
226 memset(zse, 0, sizeof(zse)); in ZTEST()
227 memset(zsd, 0, sizeof(zsd)); in ZTEST()
330 memset(buffer, 0, sizeof(buffer)); in ZTEST()
331 memset(buffer_out, 0, sizeof(buffer_out)); in ZTEST()
[all …]
/Zephyr-latest/tests/boards/mec15xxevb_assy6853/i2c_api/src/
Dmain.c41 (void)memset(datas, 0, 3); in ZTEST()
49 (void)memset(datas, 0, 3); in ZTEST()
54 (void)memset(datas, 0, 3); in ZTEST()
/Zephyr-latest/tests/boards/mec172xevb_assy6906/i2c_api/src/
Dmain.c41 (void)memset(datas, 0, 3); in ZTEST()
49 (void)memset(datas, 0, 3); in ZTEST()
54 (void)memset(datas, 0, 3); in ZTEST()
/Zephyr-latest/tests/bluetooth/addr/src/
Dtest_bt_addr_le_eq.c62 memset(&a, 0xaa, sizeof(a)); in ZTEST()
63 memset(&b, 0xbb, sizeof(b)); in ZTEST()
66 memset(a.a.val, 1, sizeof(a.a.val)); in ZTEST()
67 memset(b.a.val, 1, sizeof(b.a.val)); in ZTEST()
/Zephyr-latest/tests/benchmarks/mbedtls/src/
Dbenchmark.c304 memset(&todo, 1, sizeof(todo)); in main()
306 memset(buf, 0xAA, sizeof(buf)); in main()
307 memset(tmp, 0xBB, sizeof(tmp)); in main()
378 memset(buf, 0, sizeof(buf)); in main()
379 memset(tmp, 0, sizeof(tmp)); in main()
403 memset(buf, 0, sizeof(buf)); in main()
404 memset(tmp, 0, sizeof(tmp)); in main()
427 memset(buf, 0, sizeof(buf)); in main()
428 memset(tmp, 0, sizeof(tmp)); in main()
452 memset(buf, 0, sizeof(buf)); in main()
[all …]
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_add_type/src/
Dmain.c37 memset(&key_ref, 0x00, sizeof(struct bt_keys)); in ZTEST()
62 memset(&key_ref, 0x00, sizeof(struct bt_keys)); in ZTEST()
86 memset(&key_ref, 0x00, sizeof(struct bt_keys)); in ZTEST()
/Zephyr-latest/tests/bluetooth/host/id/bt_setup_public_id_addr/src/
Dmain.c28 memset(&bt_dev, 0x00, sizeof(struct bt_dev)); in tc_setup()
29 memset(&hci_cmd_rsp, 0x00, sizeof(struct net_buf)); in tc_setup()
30 memset(&hci_rp_read_bd_addr, 0x00, sizeof(struct bt_hci_rp_read_bd_addr)); in tc_setup()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hci/
Dhci_vendor.c45 (void)memset(addrs[0].ir, 0x00, sizeof(addrs[0].ir)); in hci_vendor_read_static_addr()
60 (void)memset(ir, 0x00, 16); in hci_vendor_read_key_hierarchy_roots()
73 (void)memset(er, 0x00, 16); in hci_vendor_read_key_hierarchy_roots()
/Zephyr-latest/tests/bluetooth/host/id/bt_id_init/src/
Dtest_suite_setup_public_identity.c29 memset(&bt_dev, 0x00, sizeof(struct bt_dev)); in tc_setup()
30 memset(&hci_cmd_rsp, 0x00, sizeof(struct net_buf)); in tc_setup()
31 memset(&hci_rp_read_bd_addr, 0x00, sizeof(struct bt_hci_rp_read_bd_addr)); in tc_setup()

12345678910>>...46