Home
last modified time | relevance | path

Searched refs:dex_data (Results 1 – 8 of 8) sorted by relevance

/art/libprofile/profile/
Dprofile_compilation_info.cc935 for (const std::unique_ptr<DexFileData>& dex_data : info_) { in Save() local
936 if (dex_data->profile_key.size() > kMaxDexFileKeyLength) { in Save()
943 sizeof(uint16_t) + dex_data->profile_key.size(); in Save()
944 classes_section_size += dex_data->ClassesDataSize(); in Save()
945 methods_section_size += dex_data->MethodsDataSize(); in Save()
999 for (const std::unique_ptr<DexFileData>& dex_data : info_) { in Save() local
1000 buffer.WriteUintAndAdvance(dex_data->checksum); in Save()
1001 buffer.WriteUintAndAdvance(dex_data->num_type_ids); in Save()
1002 buffer.WriteUintAndAdvance(dex_data->num_method_ids); in Save()
1003 buffer.WriteUintAndAdvance(dchecked_integral_cast<uint16_t>(dex_data->profile_key.size())); in Save()
[all …]
/art/openjdkjvmti/
Dti_class_definition.cc137 /*out*/std::vector<unsigned char>* dex_data) in DequickenDexFile() argument
141 dex_data->resize(fixed_dex_file->Size()); in DequickenDexFile()
142 memcpy(dex_data->data(), fixed_dex_file->Begin(), fixed_dex_file->Size()); in DequickenDexFile()
147 /*out*/std::vector<unsigned char>* dex_data) in GetDexDataForRetransformation() argument
158 dex_data->resize(orig_dex_bytes->GetLength()); in GetDexDataForRetransformation()
159 memcpy(dex_data->data(), orig_dex_bytes->GetData(), dex_data->size()); in GetDexDataForRetransformation()
182 DequickenDexFile(dex_file, klass->GetDescriptor(&storage), dex_data); in GetDexDataForRetransformation()
333 auto get_original = [&](/*out*/std::vector<unsigned char>* dex_data) in Init()
335 GetDexDataForRetransformation(m_klass, dex_data); in Init()
366 auto get_original = [&](/*out*/std::vector<unsigned char>* dex_data) in InitFirstLoad()
[all …]
Dtransform.cc279 art::ArrayRef<const unsigned char> dex_data = def->GetDexData(); in TransformSingleClassDirect() local
287 static_cast<jint>(dex_data.size()), in TransformSingleClassDirect()
288 dex_data.data(), in TransformSingleClassDirect()
Devents.h117 const unsigned char* dex_data,
/art/runtime/native/
Ddalvik_system_DexFile.cc268 MemMap dex_data = AllocateDexMemoryMap(env, start, end); in DexFile_openInMemoryDexFilesNative() local
269 if (!dex_data.IsValid()) { in DexFile_openInMemoryDexFilesNative()
283 memcpy(dex_data.Begin(), base_address + start, length); in DexFile_openInMemoryDexFilesNative()
286 jbyte* destination = reinterpret_cast<jbyte*>(dex_data.Begin()); in DexFile_openInMemoryDexFilesNative()
290 dex_mem_maps.push_back(std::move(dex_data)); in DexFile_openInMemoryDexFilesNative()
/art/compiler/optimizing/
Doptimizing_unit_test.h239 const uint8_t* dex_data = reinterpret_cast<uint8_t*>(allocator->Alloc(kDexDataSize)); variable
244 dex_data,
/art/profman/
Dprofman.cc840 for (const auto& [target, dex_data] : ics) { in GetInlineCacheLine()
843 if (dex_data.is_missing_types_) { in GetInlineCacheLine()
845 } else if (dex_data.is_megamorphic_) { in GetInlineCacheLine()
849 for (dex::TypeIndex type_index : dex_data.classes_) { in GetInlineCacheLine()
/art/runtime/
Doat_file.cc2034 const uint8_t* dex_data = dex_file_pointer_; in InitializeTypeLookupTable() local
2037 dex_data += dex_header->data_off_; in InitializeTypeLookupTable()
2039 lookup_table_ = TypeLookupTable::Open(dex_data, lookup_table_data_, num_class_defs); in InitializeTypeLookupTable()