/system/core/gatekeeperd/ |
D | SoftGateKeeperDevice.cpp | 41 memcpy(desired_password_buffer.buffer.get(), desired_password, desired_password_length); in enroll() 45 memcpy(current_password_handle_buffer.buffer.get(), current_password_handle, in enroll() 51 memcpy(current_password_buffer.buffer.get(), current_password, current_password_length); in enroll() 83 memcpy(password_handle_buffer.buffer.get(), enrolled_password_handle, in verify() 86 memcpy(provided_password_buffer.buffer.get(), provided_password, provided_password_length); in verify()
|
/system/core/fastboot/ |
D | bootimg_utils.cpp | 60 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in mkbootimg() 79 memcpy(hdr->magic + hdr->page_size, kernel.data(), kernel.size()); in mkbootimg() 80 memcpy(hdr->magic + hdr->page_size + kernel_actual, ramdisk.data(), ramdisk.size()); in mkbootimg() 81 memcpy(hdr->magic + hdr->page_size + kernel_actual + ramdisk_actual, second.data(), in mkbootimg() 83 memcpy(hdr->magic + hdr->page_size + kernel_actual + ramdisk_actual + second_actual, dtb.data(), in mkbootimg()
|
/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 | 32 memcpy(buf, data, data_len); in append_to_buf() 44 memcpy(dest, *buf_ptr, size); in copy_from_buf() 76 memcpy(new_buffer, buffer_.get() + read_position_, available_read()); in reserve() 105 memcpy(buffer_.get(), data, data_len); in Reinitialize() 125 memcpy(buffer_.get() + write_position_, src, write_length); in write() 133 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/gatekeeper/ |
D | gatekeeper_messages.cpp | 38 memcpy(*buffer, &to_append->length, sizeof(to_append->length)); in append_to_buffer() 41 memcpy(*buffer, to_append->buffer.get(), to_append->length); in append_to_buffer() 50 memcpy(&target->length, *buffer, sizeof(target->length)); in read_from_buffer() 57 memcpy(target->buffer.get(), *buffer, target->length); in read_from_buffer() 90 memcpy(buffer + sizeof(serial_header_t), &retry_timeout, sizeof(retry_timeout)); in Serialize() 117 memcpy(&retry_timeout, payload, sizeof(retry_timeout)); in Deserialize() 167 memcpy(buffer, &challenge, sizeof(challenge)); in nonErrorSerialize() 188 memcpy(&challenge, payload, sizeof(challenge)); in nonErrorDeserialize() 227 memcpy(buffer, &request_reenroll, sizeof(request_reenroll)); in nonErrorSerialize() 244 memcpy(&request_reenroll, payload, sizeof(request_reenroll)); in nonErrorDeserialize()
|
/system/extras/simpleperf/ |
D | utils.h | 95 memcpy(&data, p, sizeof(T)); in MoveFromBinaryFormat() 102 memcpy(&data, p, sizeof(T)); in MoveFromBinaryFormat() 110 memcpy(data_p, p, size); in MoveFromBinaryFormat() 117 memcpy(p, &data, sizeof(T)); in MoveToBinaryFormat() 125 memcpy(p, data_p, size); in MoveToBinaryFormat()
|
/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/chre/apps/chqts/src/shared/ |
D | nano_endian_le_test.cc | 38 ::memcpy(&value, kLittleEndianRepresentation, sizeof(value)); in TEST() 46 ::memcpy(&value, kLittleEndianRepresentation, sizeof(value)); in TEST()
|
D | nano_endian_be_test.cc | 40 ::memcpy(&value, kLittleEndianRepresentation, sizeof(value)); in TEST() 48 ::memcpy(&value, kBigEndianRepresentation, sizeof(value)); in TEST()
|
/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/update_engine/payload_generator/ |
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()
|
D | boot_img_filesystem_unittest.cc | 38 memcpy(hdr.magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in GetBootImg() 43 memcpy(boot_img.data() + offset, &hdr, sizeof(hdr)); in GetBootImg() 45 memcpy(boot_img.data() + offset, kernel.data(), kernel.size()); in GetBootImg() 47 memcpy(boot_img.data() + offset, ramdisk.data(), ramdisk.size()); in GetBootImg()
|
/system/chre/apps/chqts/src/general_test/ |
D | event_between_apps_test.cc | 67 nanoapp_testing::memcpy(&app1InstanceId, message, sizeof(app1InstanceId)); in handleEvent() 108 nanoapp_testing::memcpy(&mApp0InstanceId, message, in handleEvent() 122 nanoapp_testing::memcpy(&magic, eventData, sizeof(magic)); in handleEvent()
|
/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/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/netd/resolv/ |
D | res_init.cpp | 318 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], &set->sin, size); in res_setservers() 320 memcpy(&statp->nsaddr_list[nserv], &set->sin, size); in res_setservers() 330 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], &set->sin6, size); in res_setservers() 332 memcpy(&statp->nsaddr_list[nserv], &set->sin6, size); in res_setservers() 362 memcpy(&set->sin, &statp->_u._ext.ext->nsaddrs[i], size); in res_getservers() 364 memcpy(&set->sin, &statp->nsaddr_list[i], size); in res_getservers() 371 memcpy(&set->sin6, &statp->_u._ext.ext->nsaddrs[i], size); in res_getservers() 373 memcpy(&set->sin6, &statp->nsaddr_list[i], size); in res_getservers()
|
/system/core/trusty/gatekeeper/ |
D | trusty_gatekeeper.cpp | 93 memcpy(desired_password_buffer.buffer.get(), desired_password, desired_password_length); in Enroll() 97 memcpy(current_password_handle_buffer.buffer.get(), current_password_handle, in Enroll() 103 memcpy(current_password_buffer.buffer.get(), current_password, current_password_length); in Enroll() 134 memcpy(password_handle_buffer.buffer.get(), enrolled_password_handle, in Verify() 137 memcpy(provided_password_buffer.buffer.get(), provided_password, provided_password_length); in Verify()
|
/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 | 120 memcpy(dst, reinterpret_cast<uint8_t*>(&data) + align_bytes, copy_bytes); in PtraceRead() 131 memcpy(dst, &data, sizeof(long)); in PtraceRead() 142 memcpy(dst, &data, left_over); in PtraceRead() 194 memcpy(dst, actual_base, actual_len); in Read() 265 memcpy(dst, actual_base, actual_len); in Read() 383 memcpy(dst, &data_[addr - start_], read_length); in Read() 430 memcpy(dst, &cache_dst[addr & kCacheMask], size); in Read() 436 memcpy(dst, &cache_dst[addr & kCacheMask], max_read); in Read() 451 memcpy(dst, cache_dst, size - max_read); in Read()
|
/system/chre/util/ |
D | dynamic_vector_base.cc | 40 memcpy(newData, mData, mSize * elementSize); in doReserve() 79 memcpy(static_cast<uint8_t *>(mData) + (mSize * elementSize), in doPushBack()
|