Home
last modified time | relevance | path

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

1234567

/art/libdexfile/dex/
Ddex_file_verifier_test.cc41 static void MakeDexVersion37(DexFile* dex_file) { in MakeDexVersion37()
47 static void FixUpChecksum(uint8_t* dex_file) { in FixUpChecksum()
71 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in VerifyModification() local
117 std::unique_ptr<const DexFile> dex_file = std::move(tmp[0]); in OpenDexFileBase64() local
155 [](DexFile* dex_file) { in TEST_F()
165 [](DexFile* dex_file) { in TEST_F()
175 [](DexFile* dex_file) { in TEST_F()
239 static const uint8_t* FindMethodData(const DexFile* dex_file, in FindMethodData()
264 static void SetMethodFlags(DexFile* dex_file, const char* method, uint32_t mask) { in SetMethodFlags()
281 static uint32_t GetMethodFlags(DexFile* dex_file, const char* method) { in GetMethodFlags()
[all …]
Dcode_item_accessors-inl.h55 inline void CodeItemInstructionAccessor::Init(const DexFile& dex_file, in Init()
69 const DexFile& dex_file, in CodeItemInstructionAccessor()
112 inline void CodeItemDataAccessor::Init(const DexFile& dex_file, in Init()
124 inline CodeItemDataAccessor::CodeItemDataAccessor(const DexFile& dex_file, in CodeItemDataAccessor()
186 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-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()
Dclass_accessor.h42 explicit BaseItem(const DexFile& dex_file, in BaseItem()
118 : BaseItem(dex_file, ptr_pos, hiddenapi_ptr_pos), in BaseItem() argument
158 : BaseItem(dex_file, ptr_pos, hiddenapi_ptr_pos) {} in BaseItem() argument
185 DataIterator(const DexFile& dex_file, in DataIterator()
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.cc119 std::unique_ptr<const DexFile> dex_file(dex_loader.OpenDex( in OpenDex() local
167 const dex::ClassDef& FindClass(const char* desc, const DexFile& dex_file) { in FindClass()
178 const DexFile& dex_file) { in GetFieldHiddenFlags()
205 const DexFile& dex_file) { in GetMethodHiddenFlags()
230 hiddenapi::ApiList GetIFieldHiddenFlags(const DexFile& dex_file) { in GetIFieldHiddenFlags()
234 hiddenapi::ApiList GetSFieldHiddenFlags(const DexFile& dex_file) { in GetSFieldHiddenFlags()
238 hiddenapi::ApiList GetIMethodHiddenFlags(const DexFile& dex_file) { in GetIMethodHiddenFlags()
243 hiddenapi::ApiList GetSMethodHiddenFlags(const DexFile& dex_file) { in GetSMethodHiddenFlags()
251 hiddenapi::ApiList GetINMethodHiddenFlags(const DexFile& dex_file) { in GetINMethodHiddenFlags()
259 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
585 for (const auto& dex_file : dex_files) { in OpenDexFilesFromOat() local
609 for (const auto& dex_file : dex_files) { in OpenDexFilesFromOat() local
617 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in OpenDexFilesFromOat() local
672 for (const DexFile* dex_file : dex_files) { in GetDexFileHeaders() local
[all …]
Dhidden_api.cc105 void InitializeDexFileDomain(const DexFile& dex_file, ObjPtr<mirror::ClassLoader> class_loader) { in InitializeDexFileDomain()
143 const DexFile& dex_file = field.GetDexFile(); in MemberSignature() local
152 const DexFile& dex_file = method.GetDexFile(); in MemberSignature() local
331 static void VisitMembers(const DexFile& dex_file, in VisitMembers()
338 static void VisitMembers(const DexFile& dex_file, in VisitMembers()
/art/dexlayout/
Ddex_ir_builder.cc249 Header* DexIrBuilder(const DexFile& dex_file, in DexIrBuilder()
331 void BuilderMaps::CheckAndSetRemainingOffsets(const DexFile& dex_file, const Options& options) { in CheckAndSetRemainingOffsets()
423 void BuilderMaps::CreateStringId(const DexFile& dex_file, uint32_t i) { in CreateStringId()
436 void BuilderMaps::CreateTypeId(const DexFile& dex_file, uint32_t i) { in CreateTypeId()
444 void BuilderMaps::CreateProtoId(const DexFile& dex_file, uint32_t i) { in CreateProtoId()
457 void BuilderMaps::CreateFieldId(const DexFile& dex_file, uint32_t i) { in CreateFieldId()
467 void BuilderMaps::CreateMethodId(const DexFile& dex_file, uint32_t i) { in CreateMethodId()
477 void BuilderMaps::CreateClassDef(const DexFile& dex_file, uint32_t i) { in CreateClassDef()
514 void BuilderMaps::CreateCallSiteId(const DexFile& dex_file, uint32_t i) { in CreateCallSiteId()
526 void BuilderMaps::CreateMethodHandleItem(const DexFile& dex_file, uint32_t i) { in CreateMethodHandleItem()
[all …]
/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/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
/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/dex2oat/driver/
Dcompiler_driver.cc347 const DexFile& dex_file, const dex::ClassDef& class_def) in GetDexToDexCompilationLevel()
391 const DexFile& dex_file, in GetDexToDexCompilationLevel()
425 const DexFile& dex_file, in CompileMethodHarness()
474 const DexFile& dex_file, in CompileMethodDex2Dex()
487 Handle<mirror::DexCache> dex_cache ATTRIBUTE_UNUSED) -> CompiledMethod* { in CompileMethodDex2Dex()
536 const DexFile& dex_file, in CompileMethodQuick()
550 Handle<mirror::DexCache> dex_cache) { in CompileMethodQuick()
656 const DexFile* dex_file = dex_files[i]; in Resolve() local
681 for (const DexFile* dex_file : dex_files) { in ResolveConstStrings() local
757 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/tools/veridex/
Dhidden_api.cc78 std::string HiddenApi::GetApiMethodName(const DexFile& dex_file, uint32_t method_index) { in GetApiMethodName()
88 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/compiler/optimizing/
Dsharpening.cc55 const DexFile& dex_file = klass->GetDexFile(); in BootImageAOTCanEmbedMethod() local
148 const DexFile& dex_file = load_class->GetDexFile(); in ComputeLoadClassKind() local
287 const DexFile& dex_file = load_string->GetDexFile(); in ProcessLoadString() local

1234567