Home
last modified time | relevance | path

Searched defs:dex_file (Results 1 – 25 of 245) 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
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()
Ddex_file_tracking_registrar.h36 explicit DexFileTrackingRegistrar(const DexFile* const dex_file) in DexFileTrackingRegistrar()
Dart_dex_file_loader.cc143 std::unique_ptr<const DexFile> dex_file(OpenFile(fd.Release(), in GetMultiDexChecksums() local
202 std::unique_ptr<DexFile> dex_file = OpenCommon(begin, in Open() local
266 std::unique_ptr<const DexFile> dex_file(OpenFile(fd, in OpenWithMagic() local
358 std::unique_ptr<DexFile> dex_file = OpenCommon(begin, in OpenFile() local
435 std::unique_ptr<DexFile> dex_file = OpenCommon(begin, in OpenOneDexFileFromZip() local
490 std::unique_ptr<const DexFile> dex_file(OpenOneDexFileFromZip(zip_archive, in OpenAllDexFilesFromZip() local
/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
64 for (const DexFile* dex_file : dex_files) { in MergeWith() local
80 VerifierDeps::DexFileDeps* VerifierDeps::GetDexFileDeps(const DexFile& dex_file) { in GetDexFileDeps()
106 dex::StringIndex VerifierDeps::GetClassDescriptorStringId(const DexFile& dex_file, in GetClassDescriptorStringId()
130 static dex::StringIndex TryGetClassDescriptorStringId(const DexFile& dex_file, in TryGetClassDescriptorStringId()
146 dex::StringIndex VerifierDeps::GetMethodDeclaringClassStringId(const DexFile& dex_file, in GetMethodDeclaringClassStringId()
165 dex::StringIndex VerifierDeps::GetFieldDeclaringClassStringId(const DexFile& dex_file, in GetFieldDeclaringClassStringId()
216 dex::StringIndex VerifierDeps::GetIdFromString(const DexFile& dex_file, const std::string& str) { in GetIdFromString()
254 std::string VerifierDeps::GetStringFromId(const DexFile& dex_file, dex::StringIndex string_id) in GetStringFromId() argument
283 const DexFile* dex_file = dex_cache->GetDexFile(); in IsInClassPath() local
[all …]
/art/runtime/
Dart_method-inl.h172 const DexFile* dex_file = GetDexFile(); in GetDeclaringClassDescriptor() local
183 const DexFile* dex_file = GetDexFile(); in GetShorty() local
191 const DexFile* dex_file = GetDexFile(); in GetSignature() local
201 const DexFile* dex_file = GetDexFile(); in GetName() local
211 const DexFile* dex_file = GetDexFile(); in GetNameView() local
244 const DexFile* dex_file = GetDexFile(); in GetPrototype() local
250 const DexFile* dex_file = GetDexFile(); in GetParameterTypeList() local
282 const DexFile* dex_file = GetDexFile(); in GetReturnTypeDescriptor() local
292 const DexFile* dex_file = GetDexFile(); in GetTypeDescriptorFromTypeIdx() local
340 const DexFile* dex_file = GetDexFile(); in GetReturnTypeIndex() local
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
701 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()
Dresolver.cc49 static bool HasSameNameAndSignature(const DexFile& dex_file, in HasSameNameAndSignature()
57 static bool HasSameNameAndSignature(const DexFile& dex_file, in HasSameNameAndSignature()
65 static bool HasSameNameAndType(const DexFile& dex_file, in HasSameNameAndType()
117 const DexFile& dex_file = resolver_it->second->dex_file_; in GetResolverOf() local
/art/dex2oat/driver/
Dcompiler_driver.cc350 const DexFile& dex_file, const dex::ClassDef& class_def) in GetDexToDexCompilationLevel()
394 const DexFile& dex_file, in GetDexToDexCompilationLevel()
426 const DexFile& dex_file, in CompileMethodHarness()
475 const DexFile& dex_file, in CompileMethodDex2Dex()
488 Handle<mirror::DexCache> dex_cache ATTRIBUTE_UNUSED) -> CompiledMethod* { in CompileMethodDex2Dex()
537 const DexFile& dex_file, in CompileMethodQuick()
551 Handle<mirror::DexCache> dex_cache) { in CompileMethodQuick()
657 const DexFile* dex_file = dex_files[i]; in Resolve() local
682 for (const DexFile* dex_file : dex_files) { in ResolveConstStrings() local
758 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
166 const DexFile& dex_file = load_class->GetDexFile(); in ComputeLoadClassKind() local
318 const DexFile& dex_file = load_string->GetDexFile(); in ProcessLoadString() local

12345678910