Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/
Dosdp_sc.c39 memcpy(scbk, pd->sc.pd_client_uid, 8); in osdp_compute_scbk()
53 memcpy(scbk, osdp_scbk_default, 16); in osdp_compute_session_keys()
58 memcpy(scbk, pd->sc.scbk, 16); in osdp_compute_session_keys()
87 memcpy(pd->sc.cp_cryptogram + 0, pd->sc.pd_random, 8); in osdp_compute_cp_cryptogram()
88 memcpy(pd->sc.cp_cryptogram + 8, pd->sc.cp_random, 8); in osdp_compute_cp_cryptogram()
115 memcpy(cp_crypto + 0, pd->sc.pd_random, 8); in osdp_verify_cp_cryptogram()
116 memcpy(cp_crypto + 8, pd->sc.cp_random, 8); in osdp_verify_cp_cryptogram()
128 memcpy(pd->sc.pd_cryptogram + 0, pd->sc.cp_random, 8); in osdp_compute_pd_cryptogram()
129 memcpy(pd->sc.pd_cryptogram + 8, pd->sc.pd_random, 8); in osdp_compute_pd_cryptogram()
138 memcpy(pd_crypto + 0, pd->sc.cp_random, 8); in osdp_verify_pd_cryptogram()
[all …]
/Zephyr-Core-3.7.0/kernel/paging/
Dstatistics.c98 memcpy(stats, &paging_stats, sizeof(paging_stats)); in z_impl_k_mem_paging_stats_get()
120 memcpy(stats, &thread->paging_stats, sizeof(thread->paging_stats)); in z_impl_k_mem_paging_thread_stats_get()
148 memcpy(z_paging_histogram_eviction.bounds, in z_paging_histogram_init()
154 memcpy(z_paging_histogram_backing_store_page_in.bounds, in z_paging_histogram_init()
160 memcpy(z_paging_histogram_backing_store_page_out.bounds, in z_paging_histogram_init()
194 memcpy(hist, &z_paging_histogram_eviction, in z_impl_k_mem_paging_histogram_eviction_get()
206 memcpy(hist, &z_paging_histogram_backing_store_page_in, in z_impl_k_mem_paging_histogram_backing_store_page_in_get()
218 memcpy(hist, &z_paging_histogram_backing_store_page_out, in z_impl_k_mem_paging_histogram_backing_store_page_out_get()
/Zephyr-Core-3.7.0/subsys/bluetooth/host/
Duuid.c45 memcpy(dst, src, sizeof(*dst)); in uuid_to_uuid128()
93 memcpy(&BT_UUID_128(uuid)->val, data, 16); in bt_uuid_create()
114 memcpy(&tmp0, &BT_UUID_128(uuid)->val[0], sizeof(tmp0)); in bt_uuid_to_str()
115 memcpy(&tmp1, &BT_UUID_128(uuid)->val[2], sizeof(tmp1)); in bt_uuid_to_str()
116 memcpy(&tmp2, &BT_UUID_128(uuid)->val[6], sizeof(tmp2)); in bt_uuid_to_str()
117 memcpy(&tmp3, &BT_UUID_128(uuid)->val[8], sizeof(tmp3)); in bt_uuid_to_str()
118 memcpy(&tmp4, &BT_UUID_128(uuid)->val[10], sizeof(tmp4)); in bt_uuid_to_str()
119 memcpy(&tmp5, &BT_UUID_128(uuid)->val[12], sizeof(tmp5)); in bt_uuid_to_str()
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/
Dll_addr.c60 (void)memcpy(rnd_addr, bdaddr, BDADDR_SIZE);
66 (void)memcpy(pub_addr, bdaddr, BDADDR_SIZE);
94 memcpy(bdaddr, addr, BDADDR_SIZE);
102 (void)memcpy(pub_addr, addr, sizeof(pub_addr));
Dull_chan.c85 (void)memcpy(chan_map, map, sizeof(map)); in ull_chan_map_get()
92 (void)memcpy(map, chan_map, sizeof(map)); in chan_map_set()
/Zephyr-Core-3.7.0/tests/application_development/code_relocation/src/
Dtest_file2.c18 memcpy(dst, src, 8); in function_in_sram()
19 printk("Address of memcpy %p\n\n", &memcpy); in function_in_sram()
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dkeys.h29 memcpy(out, in, 16); in bt_mesh_key_import()
35 memcpy(out, in, 16); in bt_mesh_key_export()
41 memcpy(dst, src, sizeof(struct bt_mesh_key)); in bt_mesh_key_assign()
/Zephyr-Core-3.7.0/tests/subsys/mgmt/mcumgr/settings_mgmt/src/
Dsmp_test_util.c42 memcpy(&output_buffer[sizeof(struct smp_hdr)], buffer, *buffer_size); in create_settings_mgmt_read_packet()
64 memcpy(&output_buffer[sizeof(struct smp_hdr)], buffer, *buffer_size); in create_settings_mgmt_write_packet()
82 memcpy(&output_buffer[sizeof(struct smp_hdr)], buffer, *buffer_size); in create_settings_mgmt_delete_packet()
98 memcpy(&output_buffer[sizeof(struct smp_hdr)], buffer, *buffer_size); in create_settings_mgmt_commit_packet()
115 memcpy(&output_buffer[sizeof(struct smp_hdr)], buffer, *buffer_size); in create_settings_mgmt_load_packet()
132 memcpy(&output_buffer[sizeof(struct smp_hdr)], buffer, *buffer_size); in create_settings_mgmt_save_packet()
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/util/
Dmem.c35 memcpy(((uint8_t *)mem_pool + (mem_size * mem_count)), in mem_init()
53 memcpy(&head, mem, sizeof(head)); in mem_acquire()
79 memcpy(mem, mem_head, sizeof(mem)); in mem_release()
167 memcpy(mem, &mem_used, sizeof(mem)); in mem_ut()
180 memcpy(&mem_used, mem, sizeof(void *)); in mem_ut()
/Zephyr-Core-3.7.0/tests/bluetooth/mesh/delayable_msg/src/
Dmain.c171 memcpy(net_buf_simple_add(&buf1, 20), tx_data, 20); in ZTEST()
173 memcpy(net_buf_simple_add(&buf2, 20), tx_data, 20); in ZTEST()
175 memcpy(net_buf_simple_add(&buf3, 20), tx_data, 20); in ZTEST()
177 memcpy(net_buf_simple_add(&buf4, 20), tx_data, 20); in ZTEST()
219 memcpy(net_buf_simple_add(&buf, 20), tx_data, 20); in ZTEST()
253 memcpy(net_buf_simple_add(&buf1, 20), tx_data, 20); in ZTEST()
254 memcpy(net_buf_simple_add(&buf2, BT_MESH_TX_SDU_MAX), tx_data, BT_MESH_TX_SDU_MAX); in ZTEST()
281 memcpy(net_buf_simple_add(&buf1, 20), tx_data, 20); in ZTEST()
282 memcpy(net_buf_simple_add(&buf2, 20), tx_data, 20); in ZTEST()
283 memcpy(net_buf_simple_add(&buf3, 20), tx_data, 20); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/ll/edtt/gatt_test_app/src/gatt/
Dservice_c_2_1.c222 memcpy(value + offset, buf, len); in write_value_v2()
274 memcpy(value + offset, buf, len); in write_long_des_v2d1()
304 memcpy(value + offset, buf, len); in write_value_v2_1()
356 memcpy(value + offset, buf, len); in write_long_des_v2d2()
386 memcpy(value + offset, buf, len); in write_value_v2_2()
438 memcpy(value + offset, buf, len); in write_long_des_v2d3()
490 memcpy(value + offset, buf, len); in write_value_v2_3()
542 memcpy(value + offset, buf, len); in write_long_des_v2d1_1()
594 memcpy(value + offset, buf, len); in write_value_v2_4()
646 memcpy(value + offset, buf, len); in write_long_des_v2d2_1()
[all …]
Dservice_c_2_2.c136 memcpy(value + offset, buf, len); in write_value_v2()
166 memcpy(value + offset, buf, len); in write_value_v2_1()
196 memcpy(value + offset, buf, len); in write_value_v2_2()
226 memcpy(value + offset, buf, len); in write_value_v2_3()
256 memcpy(value + offset, buf, len); in write_value_v2_4()
286 memcpy(value + offset, buf, len); in write_value_v2_5()
Dservice_c_2_3.c136 memcpy(value + offset, buf, len); in write_value_v2()
166 memcpy(value + offset, buf, len); in write_value_v2_1()
196 memcpy(value + offset, buf, len); in write_value_v2_2()
226 memcpy(value + offset, buf, len); in write_value_v2_3()
256 memcpy(value + offset, buf, len); in write_value_v2_4()
286 memcpy(value + offset, buf, len); in write_value_v2_5()
/Zephyr-Core-3.7.0/tests/subsys/usb/bos/src/
Dtest_bos.c224 memcpy(&webusb_bos_descriptor_2.bos, in ZTEST()
228 memcpy(&webusb_bos_descriptor_2.platform_msos, in ZTEST()
231 memcpy(&webusb_bos_descriptor_2.capability_data_msos, in ZTEST()
235 memcpy(&webusb_bos_descriptor_2.platform_webusb, in ZTEST()
238 memcpy(&webusb_bos_descriptor_2.capability_data_webusb, in ZTEST()
/Zephyr-Core-3.7.0/drivers/spi/
Dspi_handlers.c33 bufs->buffers = memcpy(buf_copy, in copy_and_check()
88 memcpy(&tx_bufs_copy, tx, sizeof(tx_bufs_copy)); in z_vrfy_spi_transceive()
100 memcpy(&rx_bufs_copy, rx, sizeof(rx_bufs_copy)); in z_vrfy_spi_transceive()
106 memcpy(&config_copy, config, sizeof(*config)); in z_vrfy_spi_transceive()
/Zephyr-Core-3.7.0/subsys/net/
Dhostname.c28 memcpy(info.hostname, hostname, sizeof(hostname)); in trigger_net_event()
52 memcpy(hostname, host, len); in net_hostname_set()
139 memcpy(hostname, CONFIG_NET_HOSTNAME, sizeof(CONFIG_NET_HOSTNAME) - 1); in net_hostname_init()
/Zephyr-Core-3.7.0/subsys/net/l2/virtual/
Dvirtual_mgmt.c45 memcpy(&config.peer6addr, &params->peer6addr, in virtual_interface_set_config()
61 memcpy(&config.link_types, &params->link_types, in virtual_interface_set_config()
113 memcpy(&params->peer6addr, &config.peer6addr, in virtual_interface_get_config()
134 memcpy(&params->link_types, &config.link_types, in virtual_interface_get_config()
/Zephyr-Core-3.7.0/subsys/demand_paging/backing_store/
Dbacking_store_qemu_x86_tiny.c60 (void)memcpy(location_to_flash(location), K_MEM_SCRATCH_PAGE, in k_mem_paging_backing_store_page_out()
66 (void)memcpy(K_MEM_SCRATCH_PAGE, location_to_flash(location), in k_mem_paging_backing_store_page_in()
/Zephyr-Core-3.7.0/samples/net/dsa/src/
Ddsa_lldp.c49 memcpy(eth_hdr->src.addr, net_if_get_link_addr(iface)->addr, ETH_ALEN); in dsa_lldp_send()
64 memcpy(p, net_if_get_link_addr(iface)->addr, ETH_ALEN); in dsa_lldp_send()
70 memcpy(p, net_if_get_link_addr(iface)->addr, ETH_ALEN); in dsa_lldp_send()
82 memcpy(p, sys_name, strlen(sys_name)); in dsa_lldp_send()
141 memcpy(t, p, length); in dsa_lldp_print_info()
/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/
Dethernet_mgmt.c113 memcpy(&config.mac_address, &params->mac_address, in ethernet_set_config()
137 memcpy(&config.qav_param, &params->qav_param, in ethernet_set_config()
157 memcpy(&config.qbv_param, &params->qbv_param, in ethernet_set_config()
173 memcpy(&config.qbu_param, &params->qbu_param, in ethernet_set_config()
185 memcpy(&config.txtime_param, &params->txtime_param, in ethernet_set_config()
200 memcpy(&config.t1s_param, &params->t1s_param, in ethernet_set_config()
215 memcpy(&config.filter, &params->filter, sizeof(struct ethernet_filter)); in ethernet_set_config()
370 memcpy(&params->qbv_param.cycle_time, in ethernet_get_config()
373 memcpy(&params->qbv_param.base_time, in ethernet_get_config()
384 memcpy(&params->qbv_param.gate_control, in ethernet_get_config()
[all …]
/Zephyr-Core-3.7.0/scripts/coccinelle/
Dignore_return.cocci3 //# The return of memset and memcpy is never checked and therefore
21 memcpy(e1,e2,e3);
/Zephyr-Core-3.7.0/drivers/entropy/
Dentropy_b91_trng.c36 memcpy(buffer, &value, sizeof(value)); in entropy_b91_trng_get_entropy()
40 memcpy(buffer, &value, length); in entropy_b91_trng_get_entropy()
/Zephyr-Core-3.7.0/tests/crypto/tinycrypt/src/
Dctr_mode.c103 (void)memcpy(out, ctr, sizeof(ctr)); in test_ctr_sp_800_38a_encrypt_decrypt()
114 (void)memcpy(ctr, out, sizeof(ctr)); in test_ctr_sp_800_38a_encrypt_decrypt()
/Zephyr-Core-3.7.0/subsys/lorawan/services/
Dfrag_flash.c78 memcpy(frag_cache[i].data, data, size); in frag_flash_write()
86 memcpy(frag_cache[cached_frags].data, data, size); in frag_flash_write()
101 memcpy(data, frag_cache[i].data, size); in frag_flash_read()
/Zephyr-Core-3.7.0/subsys/tracing/
Dtracing_backend_adsp_memory_window.c38 memcpy((void *)(mem_window->data + mem_window->head_offset), data, to_copy); in tracing_backend_adsp_memory_window_output()
42 memcpy((void *)mem_window->data, data + to_copy, length); in tracing_backend_adsp_memory_window_output()

12345678910>>...42