Home
last modified time | relevance | path

Searched defs:dex_file (Results 1 – 25 of 233) sorted by relevance

12345678910

/art/libdexfile/dex/
Ddex_file_verifier_test.cc43 static void MakeDexVersion37(DexFile* dex_file) { in MakeDexVersion37()
49 static void FixUpChecksum(uint8_t* dex_file) { in FixUpChecksum()
73 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in VerifyModification() local
119 std::unique_ptr<const DexFile> dex_file = std::move(tmp[0]); in OpenDexFileBase64() local
157 [](DexFile* dex_file) { in TEST_F()
167 [](DexFile* dex_file) { in TEST_F()
177 [](DexFile* dex_file) { in TEST_F()
241 static const uint8_t* FindMethodData(const DexFile* dex_file, in FindMethodData()
266 static void SetMethodFlags(DexFile* dex_file, const char* method, uint32_t mask) { in SetMethodFlags()
283 static uint32_t GetMethodFlags(DexFile* dex_file, const char* method) { in GetMethodFlags()
[all …]
Dcode_item_accessors-inl.h56 inline void CodeItemInstructionAccessor::Init(const DexFile& dex_file, in Init()
70 const DexFile& dex_file, in CodeItemInstructionAccessor()
113 inline void CodeItemDataAccessor::Init(const DexFile& dex_file, in Init()
125 inline CodeItemDataAccessor::CodeItemDataAccessor(const DexFile& dex_file, in CodeItemDataAccessor()
187 inline void CodeItemDebugInfoAccessor::Init(const DexFile& dex_file, in Init()
Dclass_iterator.h31 ClassIteratorData(const DexFile& dex_file, uint32_t class_def_idx) in ClassIteratorData()
49 ClassIterator(const DexFile& dex_file, uint32_t class_def_idx) in ClassIterator()
Dtype_lookup_table_test.cc32 std::unique_ptr<const DexFile> dex_file(OpenTestDexFile("Lookup")); in TEST_F() local
40 std::unique_ptr<const DexFile> dex_file(OpenTestDexFile("Lookup")); in TEST_P() local
Ddex_file_layout.cc50 void DexLayoutSection::Subsection::Madvise(const DexFile* dex_file, int advice) const { in Madvise() argument
59 void DexLayoutSections::Madvise(const DexFile* dex_file, MadviseState state) const { in Madvise() argument
Ddex_file_tracking_registrar.h36 explicit DexFileTrackingRegistrar(const DexFile* const dex_file) in DexFileTrackingRegistrar()
Dclass_accessor.h43 explicit BaseItem(const DexFile& dex_file, in BaseItem()
119 : BaseItem(dex_file, ptr_pos, hiddenapi_ptr_pos), in BaseItem() argument
159 : BaseItem(dex_file, ptr_pos, hiddenapi_ptr_pos) {} in BaseItem() argument
186 DataIterator(const DexFile& dex_file, in DataIterator()
Dclass_accessor-inl.h35 inline ClassAccessor::ClassAccessor(const DexFile& dex_file, in ClassAccessor()
43 inline ClassAccessor::ClassAccessor(const DexFile& dex_file, uint32_t class_def_index) in ClassAccessor()
46 inline ClassAccessor::ClassAccessor(const DexFile& dex_file, in ClassAccessor()
Dtype_reference.h34 TypeReference(const DexFile* dex_file, dex::TypeIndex index) in TypeReference()
/art/tools/hiddenapi/
Dhiddenapi_test.cc118 std::unique_ptr<const DexFile> dex_file(dex_loader.OpenDex( in OpenDex() local
166 const dex::ClassDef& FindClass(const char* desc, const DexFile& dex_file) { in FindClass()
177 const DexFile& dex_file) { in GetFieldHiddenFlags()
204 const DexFile& dex_file) { in GetMethodHiddenFlags()
229 hiddenapi::ApiList GetIFieldHiddenFlags(const DexFile& dex_file) { in GetIFieldHiddenFlags()
233 hiddenapi::ApiList GetSFieldHiddenFlags(const DexFile& dex_file) { in GetSFieldHiddenFlags()
237 hiddenapi::ApiList GetIMethodHiddenFlags(const DexFile& dex_file) { in GetIMethodHiddenFlags()
242 hiddenapi::ApiList GetSMethodHiddenFlags(const DexFile& dex_file) { in GetSMethodHiddenFlags()
250 hiddenapi::ApiList GetINMethodHiddenFlags(const DexFile& dex_file) { in GetINMethodHiddenFlags()
258 hiddenapi::ApiList GetSNMethodHiddenFlags(const DexFile& dex_file) { in GetSNMethodHiddenFlags()
[all …]
/art/compiler/utils/
Datomic_dex_ref_map-inl.h33 const DexFile* dex_file) { in NumberOfDexIndices()
89 inline void AtomicDexRefMap<DexFileReferenceType, Value>::AddDexFile(const DexFile* dex_file) { in AddDexFile()
96 for (const DexFile* dex_file : dex_files) { in AddDexFiles() local
105 AtomicDexRefMap<DexFileReferenceType, Value>::GetArray(const DexFile* dex_file) { in GetArray()
112 AtomicDexRefMap<DexFileReferenceType, Value>::GetArray(const DexFile* dex_file) const { in GetArray()
120 const DexFile* dex_file = pair.first; in Visit() local
/art/runtime/verifier/
Dverifier_deps.cc41 for (const DexFile* dex_file : dex_files) { in VerifierDeps() local
67 for (const DexFile* dex_file : dex_files) { in MergeWith() local
83 VerifierDeps::DexFileDeps* VerifierDeps::GetDexFileDeps(const DexFile& dex_file) { in GetDexFileDeps()
109 dex::StringIndex VerifierDeps::GetClassDescriptorStringId(const DexFile& dex_file, in GetClassDescriptorStringId()
133 static dex::StringIndex TryGetClassDescriptorStringId(const DexFile& dex_file, in TryGetClassDescriptorStringId()
149 dex::StringIndex VerifierDeps::GetMethodDeclaringClassStringId(const DexFile& dex_file, in GetMethodDeclaringClassStringId()
168 dex::StringIndex VerifierDeps::GetFieldDeclaringClassStringId(const DexFile& dex_file, in GetFieldDeclaringClassStringId()
219 dex::StringIndex VerifierDeps::GetIdFromString(const DexFile& dex_file, const std::string& str) { in GetIdFromString()
257 std::string VerifierDeps::GetStringFromId(const DexFile& dex_file, dex::StringIndex string_id) in GetStringFromId() argument
286 const DexFile* dex_file = dex_cache->GetDexFile(); in IsInClassPath() local
[all …]
/art/runtime/
Dart_method-inl.h170 const DexFile* dex_file = GetDexFile(); in GetDeclaringClassDescriptor() local
181 const DexFile* dex_file = GetDexFile(); in GetShorty() local
189 const DexFile* dex_file = GetDexFile(); in GetSignature() local
199 const DexFile* dex_file = GetDexFile(); in GetName() local
209 const DexFile* dex_file = GetDexFile(); in GetNameView() local
242 const DexFile* dex_file = GetDexFile(); in GetPrototype() local
248 const DexFile* dex_file = GetDexFile(); in GetParameterTypeList() local
280 const DexFile* dex_file = GetDexFile(); in GetReturnTypeDescriptor() local
290 const DexFile* dex_file = GetDexFile(); in GetTypeDescriptorFromTypeIdx() local
338 const DexFile* dex_file = GetDexFile(); in GetReturnTypeIndex() local
Doat_file_manager.cc174 explicit TypeIndexInfo(const DexFile* dex_file) in TypeIndexInfo()
193 static BitVector GenerateTypeIndexes(const DexFile* dex_file) { in GenerateTypeIndexes()
211 DexFileAndClassPair(const DexFile* dex_file, TypeIndexInfo* type_info, bool from_loaded_oat) in DexFileAndClassPair()
270 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error); in AddDexFilesFromOat() local
304 for (const DexFile* dex_file : dex_files_loaded) { in CheckClassCollision() local
309 for (const DexFile* dex_file : dex_files_unloaded) { in CheckClassCollision() local
590 for (const auto& dex_file : dex_files) { in OpenDexFilesFromOat() local
614 for (const auto& dex_file : dex_files) { in OpenDexFilesFromOat() local
622 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in OpenDexFilesFromOat() local
712 for (const DexFile* dex_file : dex_files) { in GetDexFileHeaders() local
[all …]
Dmodule_exclusion_test.cc63 for (const std::unique_ptr<const DexFile>& dex_file : loaded_dex_files_) { in DoTest() local
99 for (auto& dex_file : dex_files) { in LoadModule() local
183 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in TEST_F() local
/art/dexlayout/
Ddex_ir_builder.cc250 Header* DexIrBuilder(const DexFile& dex_file, in DexIrBuilder()
332 void BuilderMaps::CheckAndSetRemainingOffsets(const DexFile& dex_file, const Options& options) { in CheckAndSetRemainingOffsets()
424 void BuilderMaps::CreateStringId(const DexFile& dex_file, uint32_t i) { in CreateStringId()
437 void BuilderMaps::CreateTypeId(const DexFile& dex_file, uint32_t i) { in CreateTypeId()
445 void BuilderMaps::CreateProtoId(const DexFile& dex_file, uint32_t i) { in CreateProtoId()
458 void BuilderMaps::CreateFieldId(const DexFile& dex_file, uint32_t i) { in CreateFieldId()
468 void BuilderMaps::CreateMethodId(const DexFile& dex_file, uint32_t i) { in CreateMethodId()
478 void BuilderMaps::CreateClassDef(const DexFile& dex_file, uint32_t i) { in CreateClassDef()
515 void BuilderMaps::CreateCallSiteId(const DexFile& dex_file, uint32_t i) { in CreateCallSiteId()
527 void BuilderMaps::CreateMethodHandleItem(const DexFile& dex_file, uint32_t i) { in CreateMethodHandleItem()
[all …]
/art/libdexfile/external/
Ddex_file_supp_test.cc128 std::unique_ptr<DexFile> dex_file = DexFile::OpenFromMemory(kDexData, &size, "", &error_msg); in GetTestDexData() local
185 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
206 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
233 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
258 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
268 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
278 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
289 std::unique_ptr<DexFile> dex_file = GetTestDexData(); in TEST() local
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc49 [&](const DexFile* dex_file) { in Java_Main_areClassesVerified()
59 for (const DexFile* dex_file : dex_files) { in Java_Main_areClassesVerified() local
88 [&](const DexFile* dex_file) { in Java_Main_hasVdexFile()
118 [&](const DexFile* dex_file) { in Java_Main_isBackedByOatFile()
143 [&](const DexFile* dex_file) { in Java_Main_areClassesPreverified()
153 for (const DexFile* dex_file : dex_files) { in Java_Main_areClassesPreverified() local
/art/runtime/dex/
Ddex_file_annotations.cc120 const DexFile& dex_file, in ClassData()
151 static const AnnotationSetItem* FindAnnotationSetForField(const DexFile& dex_file, in FindAnnotationSetForField()
183 const AnnotationItem* SearchAnnotationSet(const DexFile& dex_file, in SearchAnnotationSet()
205 bool SkipAnnotationValue(const DexFile& dex_file, const uint8_t** annotation_ptr) in SkipAnnotationValue()
265 const uint8_t* SearchEncodedAnnotation(const DexFile& dex_file, in SearchEncodedAnnotation()
285 static const AnnotationSetItem* FindAnnotationSetForMethod(const DexFile& dex_file, in FindAnnotationSetForMethod()
317 const DexFile* dex_file = method->GetDexFile(); in FindAnnotationsItemForMethod() local
340 const DexFile& dex_file = klass.GetDexFile(); in FindAnnotationSetForClass() local
421 const DexFile& dex_file = klass.GetDexFile(); in ProcessAnnotationValue() local
716 const DexFile& dex_file = klass.GetDexFile(); in CreateAnnotationMember() local
[all …]
/art/openjdkjvmti/
Dti_class_loader.cc65 const art::DexFile* dex_file) { in AddToClassLoader()
118 const art::DexFile* dex_file) { in AllocateNewDexFileCookie()
177 [&] (art::ObjPtr<art::mirror::Object> dex_file) { in FindSourceDexFileObject()
/art/libprofile/profile/
Dprofile_boot_info.cc29 void ProfileBootInfo::Add(const DexFile* dex_file, uint32_t method_index) { in Add()
44 for (const DexFile* dex_file : dex_files_) { in Save() local
/art/tools/veridex/
Dhidden_api.cc73 std::string HiddenApi::GetApiMethodName(const DexFile& dex_file, uint32_t method_index) { in GetApiMethodName()
83 std::string HiddenApi::GetApiFieldName(const DexFile& dex_file, uint32_t field_index) { in GetApiFieldName()
/art/dex2oat/driver/
Dcompiler_driver.cc353 const DexFile& dex_file, const dex::ClassDef& class_def) in GetDexToDexCompilationLevel()
397 const DexFile& dex_file, in GetDexToDexCompilationLevel()
429 const DexFile& dex_file, in CompileMethodHarness()
478 const DexFile& dex_file, in CompileMethodDex2Dex()
491 Handle<mirror::DexCache> dex_cache ATTRIBUTE_UNUSED) -> CompiledMethod* { in CompileMethodDex2Dex()
540 const DexFile& dex_file, in CompileMethodQuick()
554 Handle<mirror::DexCache> dex_cache) { in CompileMethodQuick()
660 const DexFile* dex_file = dex_files[i]; in Resolve() local
685 for (const DexFile* dex_file : dex_files) { in ResolveConstStrings() local
761 const DexFile& dex_file, in InitializeTypeCheckBitstrings()
[all …]
Dcompiler_driver_test.cc74 const DexFile* dex_file = class_path[i]; in MakeAllExecutable() local
85 const DexFile& dex_file = *method->GetDexFile(); in MakeExecutable() local
93 void MakeDexFileExecutable(jobject class_loader, const DexFile& dex_file) { in MakeDexFileExecutable()
205 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in GetProfileCompilationInfo() local
276 for (const DexFile* dex_file : GetDexFiles(class_loader)) { in TEST_F() local
336 const DexFile* dex_file = nullptr; in TEST_F() local
/art/compiler/optimizing/
Dsharpening.cc56 const DexFile& dex_file = klass->GetDexFile(); in BootImageAOTCanEmbedMethod() local
159 const DexFile& dex_file = load_class->GetDexFile(); in ComputeLoadClassKind() local
310 const DexFile& dex_file = load_string->GetDexFile(); in ProcessLoadString() local

12345678910