/system/bt/gd/security/ |
D | ecdh_keys.cc | 61 memcpy(pk.x.data(), public_key.x, 32); in GenerateECDHKeyPair() 62 memcpy(pk.y.data(), public_key.y, 32); in GenerateECDHKeyPair() 70 memcpy(public_key.x, pk.x.data(), 32); in ValidateECDHPoint() 71 memcpy(public_key.y, pk.y.data(), 32); in ValidateECDHPoint() 79 memcpy(private_key, my_private_key.data(), 32); in ComputeDHKey() 80 memcpy(peer_publ_key.x, remote_public_key.x.data(), 32); in ComputeDHKey() 81 memcpy(peer_publ_key.y, remote_public_key.y.data(), 32); in ComputeDHKey() 88 memcpy(dhkey.data(), new_publ_key.x, 32); in ComputeDHKey()
|
/system/core/fastboot/ |
D | bootimg_utils.cpp | 63 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in mkbootimg_v3() 70 memcpy(hdr->magic + V3_PAGE_SIZE, kernel.data(), kernel.size()); in mkbootimg_v3() 71 memcpy(hdr->magic + V3_PAGE_SIZE + kernel_actual, ramdisk.data(), ramdisk.size()); in mkbootimg_v3() 100 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in mkbootimg() 119 memcpy(hdr->magic + hdr->page_size, kernel.data(), kernel.size()); in mkbootimg() 120 memcpy(hdr->magic + hdr->page_size + kernel_actual, ramdisk.data(), ramdisk.size()); in mkbootimg() 121 memcpy(hdr->magic + hdr->page_size + kernel_actual + ramdisk_actual, second.data(), in mkbootimg() 123 memcpy(hdr->magic + hdr->page_size + kernel_actual + ramdisk_actual + second_actual, dtb.data(), in mkbootimg()
|
/system/gatekeeper/ |
D | gatekeeper_messages.cpp | 45 memcpy(*buffer, &length, sizeof(length)); in append_to_buffer() 48 memcpy(*buffer, to_append.Data<uint8_t>(), length); in append_to_buffer() 60 memcpy(&length, *buffer, sizeof(length)); in read_from_buffer() 73 memcpy(target_buffer, *buffer, length); in read_from_buffer() 108 memcpy(buffer, &retry_timeout, sizeof(retry_timeout)); in Serialize() 133 memcpy(&retry_timeout, payload, sizeof(retry_timeout)); in Deserialize() 159 memcpy(buffer, &challenge, sizeof(challenge)); in nonErrorSerialize() 173 memcpy(&challenge, payload, sizeof(challenge)); in nonErrorDeserialize() 203 memcpy(buffer, &request_reenroll, sizeof(request_reenroll)); in nonErrorSerialize() 216 memcpy(&request_reenroll, payload, sizeof(request_reenroll)); in nonErrorDeserialize()
|
/system/bt/gd/security/test/ |
D | ecdh_keys_test.cc | 85 memcpy(public_key_a.x.data(), ax, 32); in TEST_F() 86 memcpy(public_key_a.y.data(), ay, 32); in TEST_F() 96 memcpy(public_key_b.x.data(), bx, 32); in TEST_F() 97 memcpy(public_key_b.y.data(), by, 32); in TEST_F() 103 memcpy(dhkey.data(), dhkey_val, 32); in TEST_F()
|
/system/bt/btcore/test/ |
D | device_class_test.cc | 85 memcpy(&val, &dc, sizeof(dc)); in TEST_F() 103 memcpy(&val, &dc, sizeof(dc)); in TEST_F() 121 memcpy(&val, &dc, sizeof(dc)); in TEST_F() 135 memcpy(&test, &dc, sizeof(dc)); in TEST_F() 142 memcpy(&test, &dc, sizeof(dc)); in TEST_F() 148 memcpy(&test, &dc, sizeof(dc)); in TEST_F() 154 memcpy(&test, &dc, sizeof(dc)); in TEST_F() 159 memcpy(&test, &dc, sizeof(dc)); in TEST_F()
|
/system/keymaster/android_keymaster/ |
D | serializable.cpp | 40 memcpy(buf, data, data_len); in append_to_buf() 49 memcpy(dest, *buf_ptr, size); in copy_from_buf() 84 memcpy(new_buffer, buffer_.get() + read_position_, available_read()); in reserve() 113 memcpy(buffer_.get(), data, data_len); in Reinitialize() 133 memcpy(buffer_.get() + write_position_, src, write_length); in write() 141 memcpy(dest, buffer_.get() + read_position_, read_length); in read()
|
/system/bt/btif/src/ |
D | btif_gatt_util.cc | 53 memcpy(p_dest->attr_value.value, p_src->attr_value.value, GATT_MAX_ATTR_LEN); in btif_to_bta_response() 97 memcpy(p_dest, p_src, sizeof(btgatt_track_adv_info_t)); in btif_gatt_move_track_adv_data() 101 memcpy(p_dest->p_adv_pkt_data, p_src->p_adv_pkt_data, p_src->adv_pkt_len); in btif_gatt_move_track_adv_data() 107 memcpy(p_dest->p_scan_rsp_data, p_src->p_scan_rsp_data, in btif_gatt_move_track_adv_data()
|
/system/core/base/include/android-base/ |
D | memory.h | 28 memcpy(&result, address, sizeof(T)); in get_unaligned() 34 memcpy(address, &v, sizeof(T)); in put_unaligned()
|
/system/nvram/core/ |
D | crypto_boringssl.cpp | 40 memcpy(digest, buffer, digest_size); in SHA256() 42 memcpy(digest, buffer, sizeof(buffer)); in SHA256()
|
/system/update_engine/payload_generator/ |
D | boot_img_filesystem_unittest.cc | 44 memcpy(hdr_v3.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in GetBootImg() 48 memcpy(boot_img.data() + offset, &hdr_v3, sizeof(hdr_v3)); in GetBootImg() 52 memcpy(hdr_v0.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in GetBootImg() 57 memcpy(boot_img.data() + offset, &hdr_v0, sizeof(hdr_v0)); in GetBootImg() 60 memcpy(boot_img.data() + offset, kernel.data(), kernel.size()); in GetBootImg() 62 memcpy(boot_img.data() + offset, ramdisk.data(), ramdisk.size()); in GetBootImg()
|
D | payload_generation_config_android_unittest.cc | 124 memcpy(part.data() + kHashTreeOffset, kHashTree, sizeof(kHashTree)); in GetAVBPartition() 125 memcpy(part.data() + kFECOffset, kFEC, sizeof(kFEC)); in GetAVBPartition() 126 memcpy(part.data() + kVBMetaImageOffset, kVBMetaImage, sizeof(kVBMetaImage)); in GetAVBPartition() 127 memcpy(part.data() + kAVBFooterOffset, kAVBFooter, sizeof(kAVBFooter)); in GetAVBPartition()
|
/system/chre/apps/test/chqts/src/shared/ |
D | nano_endian_le_test.cc | 37 ::memcpy(&value, kLittleEndianRepresentation, sizeof(value)); in TEST() 45 ::memcpy(&value, kLittleEndianRepresentation, sizeof(value)); in TEST()
|
D | nano_endian_be_test.cc | 38 ::memcpy(&value, kLittleEndianRepresentation, sizeof(value)); in TEST() 46 ::memcpy(&value, kBigEndianRepresentation, sizeof(value)); in TEST()
|
/system/bt/stack/smp/ |
D | smp_keys.cc | 422 memcpy(p_cb->rand.data(), rand, 8); in smp_generate_srand_mrand_confirm() 427 memcpy((void*)&p_cb->rand[8], rand, BT_OCTET8_LEN); in smp_generate_srand_mrand_confirm() 516 memcpy(p_cb->enc_rand, rand, BT_OCTET8_LEN); in smp_generate_y() 590 memcpy(text.data(), p_cb->rand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key() 591 memcpy(text.data() + BT_OCTET8_LEN, p_cb->rrand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key() 593 memcpy(text.data(), p_cb->rrand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key() 594 memcpy(text.data() + BT_OCTET8_LEN, p_cb->rand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key() 618 memcpy((void*)p_cb->private_key, rand, BT_OCTET8_LEN); in smp_create_private_key() 621 memcpy((void*)&p_cb->private_key[8], rand, BT_OCTET8_LEN); in smp_create_private_key() 624 memcpy((void*)&p_cb->private_key[16], rand, BT_OCTET8_LEN); in smp_create_private_key() [all …]
|
/system/core/libnetutils/ |
D | dhcpmsg.c | 39 memcpy(msg->chaddr, hwaddr, 6); in init_dhcp_msg() 89 memcpy(x, &ipaddr, 4); in init_dhcp_request_msg() 94 memcpy(x, &serveraddr, 4); in init_dhcp_request_msg()
|
/system/extras/simpleperf/ |
D | utils.h | 96 memcpy(&data, p, sizeof(T)); in MoveFromBinaryFormat() 103 memcpy(&data, p, sizeof(T)); in MoveFromBinaryFormat() 111 memcpy(data_p, p, size); in MoveFromBinaryFormat() 118 memcpy(p, &data, sizeof(T)); in MoveToBinaryFormat() 126 memcpy(p, data_p, size); in MoveToBinaryFormat()
|
/system/chre/core/ |
D | log.cc | 48 memcpy(pLogBuffer, ×tampNanos, sizeof(uint64_t)); in pw_TokenizerHandleEncodedMessageWithPayload() 50 memcpy(pLogBuffer, encodedMsg, encodedMsgSize); in pw_TokenizerHandleEncodedMessageWithPayload()
|
/system/core/libbacktrace/ |
D | BacktracePtrace.cpp | 84 memcpy(buffer, reinterpret_cast<uint8_t*>(&data_word) + align_bytes, copy_bytes); in Read() 96 memcpy(buffer, &data_word, sizeof(word_t)); in Read() 107 memcpy(buffer, &data_word, left_over); in Read()
|
/system/chre/apps/test/chqts/src/general_test/ |
D | event_between_apps_test.cc | 64 nanoapp_testing::memcpy(&app1InstanceId, message, sizeof(app1InstanceId)); in handleEvent() 102 nanoapp_testing::memcpy(&mApp0InstanceId, message, sizeof(mApp0InstanceId)); in handleEvent() 115 nanoapp_testing::memcpy(&magic, eventData, sizeof(magic)); in handleEvent()
|
/system/chre/platform/slpi/see/ |
D | platform_sensor.cc | 26 memcpy(mSensorName, sensorName, kSensorNameMaxLen); in initBase() 62 memcpy(mSensorName, other.mSensorName, kSensorNameMaxLen); in operator =()
|
/system/core/adb/ |
D | shell_service_protocol.cpp | 40 memcpy(&packet_length, &buffer_[1], sizeof(packet_length)); in Read() 59 memcpy(&buffer_[1], &typed_length, sizeof(typed_length)); in Write()
|
/system/keymaster/km_openssl/ |
D | hkdf.cpp | 76 memcpy(buf.get(), digest.get(), digest_size_); in GenerateKey() 80 memcpy(buf.get() + block_input_len, info, info_len); in GenerateKey() 89 memcpy(output + i * digest_size_, digest.get(), block_output_len); in GenerateKey()
|
/system/bt/stack/test/ |
D | stack_a2dp_test.cc | 304 memcpy(codec_info_sbc_invalid, codec_info_sbc, sizeof(codec_info_sbc)); in TEST_F() 311 memcpy(codec_info_sbc_invalid, codec_info_sbc, sizeof(codec_info_sbc)); in TEST_F() 330 memcpy(codec_info_aac_invalid, codec_info_aac, sizeof(codec_info_aac)); in TEST_F() 337 memcpy(codec_info_aac_invalid, codec_info_aac, sizeof(codec_info_aac)); in TEST_F() 435 memcpy(codec_info_test, codec_info_sbc, sizeof(codec_info_sbc)); in TEST_F() 472 memcpy(codec_info_sbc_test, codec_info_sbc, sizeof(codec_info_sbc)); in TEST_F() 477 memcpy(codec_info_aac_test, codec_info_aac, sizeof(codec_info_aac)); in TEST_F() 482 memcpy(codec_info_non_a2dp_test, codec_info_non_a2dp, in TEST_F() 492 memcpy(codec_info_sbc_test, codec_info_sbc, sizeof(codec_info_sbc)); in TEST_F() 501 memcpy(codec_info_aac_test, codec_info_aac, sizeof(codec_info_aac)); in TEST_F() [all …]
|
/system/bt/bta/hd/ |
D | bta_hd_api.cc | 133 memcpy(p_buf->d_data, p_app_info->descriptor.dsc_list, in BTA_HdRegisterApp() 137 memcpy(&p_buf->in_qos, p_in_qos, sizeof(tBTA_HD_QOS_INFO)); in BTA_HdRegisterApp() 138 memcpy(&p_buf->out_qos, p_out_qos, sizeof(tBTA_HD_QOS_INFO)); in BTA_HdRegisterApp() 190 memcpy(p_buf->data, p_report->p_data, p_report->len); in BTA_HdSendReport()
|
/system/core/libunwindstack/ |
D | Memory.cpp | 128 memcpy(dst, reinterpret_cast<uint8_t*>(&data) + align_bytes, copy_bytes); in PtraceRead() 139 memcpy(dst, &data, sizeof(long)); in PtraceRead() 150 memcpy(dst, &data, left_over); in PtraceRead() 217 memcpy(dst, actual_base, actual_len); in Read() 288 memcpy(dst, actual_base, actual_len); in Read() 406 memcpy(dst, &data_[addr - start_], read_length); in Read() 453 memcpy(dst, &cache_dst[addr & kCacheMask], size); in Read() 459 memcpy(dst, &cache_dst[addr & kCacheMask], max_read); in Read() 474 memcpy(dst, cache_dst, size - max_read); in Read()
|