Home
last modified time | relevance | path

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

12345678910>>...39

/Zephyr-Core-3.6.0/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(Z_KERNEL_STACK_BUFFER(z_interrupt_stacks[0]), 0xAA, in z_arm_init_stacks()
/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/tests/bluetooth/ctrl_isoal/src/
Disoal_test_common.c45 memset(buf, 0, sizeof(struct rx_pdu_meta_buffer)); in isoal_test_init_rx_pdu_buffer()
56 memset(buf, 0, sizeof(struct rx_sdu_frag_buffer)); in isoal_test_init_rx_sdu_buffer()
81 memset(pdu_meta->meta, 0, sizeof(*pdu_meta->meta)); in isoal_test_create_unframed_pdu()
82 memset(pdu_meta->pdu, 0, sizeof(*pdu_meta->pdu)); in isoal_test_create_unframed_pdu()
116 memset(&seg_hdr, 0, sizeof(seg_hdr)); in isoal_test_insert_segment()
156 memset(pdu_meta->meta, 0, sizeof(*pdu_meta->meta)); in isoal_test_create_framed_pdu_base()
157 memset(pdu_meta->pdu, 0, sizeof(*pdu_meta->pdu)); in isoal_test_create_framed_pdu_base()
247 memset(buf, 0, sizeof(struct tx_pdu_meta_buffer)); in isoal_test_init_tx_pdu_buffer()
256 memset(buf, 0, sizeof(struct tx_sdu_frag_buffer)); in isoal_test_init_tx_sdu_buffer()
/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/tests/benchmarks/mbedtls/src/
Dbenchmark.c318 memset(&todo, 1, sizeof(todo)); in main()
320 memset(buf, 0xAA, sizeof(buf)); in main()
321 memset(tmp, 0xBB, sizeof(tmp)); in main()
392 memset(buf, 0, sizeof(buf)); in main()
393 memset(tmp, 0, sizeof(tmp)); in main()
417 memset(buf, 0, sizeof(buf)); in main()
418 memset(tmp, 0, sizeof(tmp)); in main()
441 memset(buf, 0, sizeof(buf)); in main()
442 memset(tmp, 0, sizeof(tmp)); in main()
466 memset(buf, 0, sizeof(buf)); in main()
[all …]
/Zephyr-Core-3.6.0/drivers/i3c/
Di3c_ccc.c32 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_getbcr()
55 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_getdcr()
78 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_getpid()
94 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_rstact_all()
110 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_rstdaa_all()
150 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_setdasa()
190 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_setnewda()
205 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_events_all_set()
233 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_events_set()
249 memset(&ccc_payload, 0, sizeof(ccc_payload)); in i3c_ccc_do_setmwl_all()
[all …]
/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/subsys/net/lib/tls_credentials/
Dtls_credentials_digest_raw.c53 memset(&sha_state, 0, sizeof(sha_state)); in credential_digest_raw()
54 memset(digest_buf, 0, sizeof(digest_buf)); in credential_digest_raw()
79 memset(digest_buf, 0, sizeof(digest_buf)); in credential_digest_raw()
/Zephyr-Core-3.6.0/include/zephyr/net/
Dsocketcan_utils.h39 memset(zframe, 0, sizeof(*zframe)); in socketcan_to_can_frame()
63 memset(sframe, 0, sizeof(*sframe)); in socketcan_from_can_frame()
93 memset(zfilter, 0, sizeof(*zfilter)); in socketcan_to_can_filter()
109 memset(sfilter, 0, sizeof(*sfilter)); in socketcan_from_can_filter()
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/hci/nordic/
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()

12345678910>>...39