Home
last modified time | relevance | path

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

/art/libprofile/profile/
Dprofile_compilation_info.cc398 const DexFileData& dex_data = *dex_data_ptr; in Save() local
399 uint32_t methods_region_size = GetMethodsRegionSize(dex_data); in Save()
401 dex_data.profile_key.size() + in Save()
402 sizeof(uint16_t) * dex_data.class_set.size() + in Save()
404 dex_data.bitmap_storage.size(); in Save()
407 sizeof(uint16_t) * dex_data.class_set.size() + in Save()
437 const DexFileData& dex_data = *dex_data_ptr; in Save() local
439 if (dex_data.profile_key.size() >= kMaxDexFileKeyLength) { in Save()
444 uint32_t methods_region_size = GetMethodsRegionSize(dex_data); in Save()
446 DCHECK_LE(dex_data.profile_key.size(), std::numeric_limits<uint16_t>::max()); in Save()
[all …]
Dprofile_compilation_info.h813 DexFileData& dex_data,
835 uint32_t GetMethodsRegionSize(const DexFileData& dex_data);
/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.cc267 art::ArrayRef<const unsigned char> dex_data = def->GetDexData(); in TransformSingleClassDirect() local
275 static_cast<jint>(dex_data.size()), in TransformSingleClassDirect()
276 dex_data.data(), in TransformSingleClassDirect()
/art/compiler/optimizing/
Doptimizing_unit_test.h128 const uint8_t* dex_data = reinterpret_cast<uint8_t*>(allocator->Alloc(kDexDataSize)); in CreateGraph() local
133 dex_data, in CreateGraph()
/art/runtime/native/
Ddalvik_system_DexFile.cc265 MemMap dex_data = AllocateDexMemoryMap(env, start, end); in DexFile_openInMemoryDexFilesNative() local
266 if (!dex_data.IsValid()) { in DexFile_openInMemoryDexFilesNative()
280 memcpy(dex_data.Begin(), base_address + start, length); in DexFile_openInMemoryDexFilesNative()
283 jbyte* destination = reinterpret_cast<jbyte*>(dex_data.Begin()); in DexFile_openInMemoryDexFilesNative()
287 dex_mem_maps.push_back(std::move(dex_data)); in DexFile_openInMemoryDexFilesNative()
/art/runtime/
Doat_file.cc1892 const uint8_t* dex_data = dex_file_pointer_; in OatDexFile() local
1895 dex_data += dex_header->data_off_; in OatDexFile()
1897 lookup_table_ = TypeLookupTable::Open(dex_data, lookup_table_data_, num_class_defs); in OatDexFile()