/cts/tools/dex-tools/src/dex/structure/ |
DexFile.java | 23 * {@code DexFile} represents a whole dex file, containing multiple classes. 25 public interface DexFile extends NamedElement { 29 * DexFile}. 32 * DexFile}
|
/art/compiler/dex/quick/ |
dex_file_to_method_inliner_map.h | 30 class DexFile; 33 * Map each DexFile to its DexFileMethodInliner. 36 * for a particular DexFile. 43 DexFileMethodInliner* GetMethodInliner(const DexFile* dex_file) NO_THREAD_SAFETY_ANALYSIS; 49 std::map<const DexFile*, DexFileMethodInliner*> inliners_ GUARDED_BY(lock_);
|
/art/runtime/ |
dex_file_verifier.cc | 33 case DexFile::kDexTypeHeaderItem: return 1 << 0; 34 case DexFile::kDexTypeStringIdItem: return 1 << 1; 35 case DexFile::kDexTypeTypeIdItem: return 1 << 2; 36 case DexFile::kDexTypeProtoIdItem: return 1 << 3; 37 case DexFile::kDexTypeFieldIdItem: return 1 << 4; 38 case DexFile::kDexTypeMethodIdItem: return 1 << 5; 39 case DexFile::kDexTypeClassDefItem: return 1 << 6; 40 case DexFile::kDexTypeMapList: return 1 << 7; 41 case DexFile::kDexTypeTypeList: return 1 << 8; 42 case DexFile::kDexTypeAnnotationSetRefList: return 1 << 9 [all...] |
method_reference.h | 24 class DexFile; 26 // A method is uniquely located by its DexFile and the method_ids_ table index into that DexFile 28 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) { 30 const DexFile* dex_file;
|
method_helper.cc | 29 const DexFile* dex_file = method_->GetDexFile(); 32 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); 43 const DexFile::TypeList* types = method_->GetParameterTypeList(); 44 const DexFile::TypeList* other_types = other->method_->GetParameterTypeList(); 65 uint32_t MethodHelper::FindDexMethodIndexInOtherDexFile(const DexFile& other_dexfile) 68 const DexFile* dexfile = method->GetDexFile(); local 69 if (dexfile == &other_dexfile) { 72 const DexFile::MethodId& mid = dexfile->GetMethodId(method->GetDexMethodIndex()) 109 const DexFile* dexfile = method->GetDexFile(); local [all...] |
class_reference.h | 25 class DexFile; 27 // A class is uniquely located by its DexFile and the class_defs_ table index into that DexFile 28 typedef std::pair<const DexFile*, uint32_t> ClassReference;
|
dex_file_test.cc | 34 const DexFile* dex(OpenTestDexFile("Nested")); 135 static const DexFile* OpenDexFileBase64(const char* base64, 157 std::vector<const DexFile*> tmp; 158 bool success = DexFile::Open(location, location, &error_msg, &tmp); 161 const DexFile* dex_file = tmp[0]; 169 std::unique_ptr<const DexFile> raw(OpenDexFileBase64(kRawDex, tmp.GetFilename().c_str())); 172 const DexFile::Header& header = raw->GetHeader(); 200 const DexFile* raw(OpenTestDexFile("Main")); 208 EXPECT_TRUE(DexFile::GetChecksum(GetLibCoreDexFileName().c_str(), &checksum, &error_msg)) 215 const DexFile* raw(OpenTestDexFile("Nested")) [all...] |
dex_file-inl.h | 28 inline int32_t DexFile::GetStringLength(const StringId& string_id) const { 33 inline const char* DexFile::GetStringDataAndUtf16Length(const StringId& string_id, 41 inline const Signature DexFile::GetMethodSignature(const MethodId& method_id) const { 45 inline const DexFile::TryItem* DexFile::GetTryItems(const CodeItem& code_item, uint32_t offset) { 51 static inline bool DexFileStringEquals(const DexFile* df1, uint32_t sidx1, 52 const DexFile* df2, uint32_t sidx2) { 85 const DexFile::TypeId& return_type_id = dex_file_->GetTypeId(proto_id_->return_type_idx_); 86 const DexFile::TypeId& rhs_return_type_id = 94 const DexFile::TypeList* params = dex_file_->GetProtoParameters(*proto_id_) [all...] |
dex_file.cc | 50 const byte DexFile::kDexMagic[] = { 'd', 'e', 'x', '\n' }; 51 const byte DexFile::kDexMagicVersion[] = { '0', '3', '5', '\0' }; 73 bool DexFile::GetChecksum(const char* filename, uint32_t* checksum, std::string* error_msg) { 82 if (DexFile::IsMultiDexLocation(filename)) { 110 std::unique_ptr<const DexFile> dex_file(DexFile::OpenFile(fd.release(), filename, false, error_msg)); 121 bool DexFile::Open(const char* filename, const char* location, std::string* error_msg, 122 std::vector<const DexFile*>* dex_files) { 130 return DexFile::OpenZip(fd.release(), location, error_msg, dex_files); 133 std::unique_ptr<const DexFile> dex_file(DexFile::OpenFile(fd.release(), location, true [all...] |
dex_method_iterator.h | 28 explicit DexMethodIterator(const std::vector<const DexFile*>& dex_files) 49 // End of this DexFile, advance and retry. 106 const DexFile& GetDexFile() { 128 const DexFile& GetDexFileInternal() const { 130 const DexFile* dex_file = dex_files_[dex_file_index_]; 135 const std::vector<const DexFile*>& dex_files_; 141 const DexFile::ClassDef* class_def_;
|
dex_file_verifier.h | 29 static bool Verify(const DexFile* dex_file, const byte* begin, size_t size, 37 DexFileVerifier(const DexFile* dex_file, const byte* begin, size_t size, const char* location) 58 bool CheckAndGetHandlerOffsets(const DexFile::CodeItem* code_item, 108 const DexFile::FieldId* CheckLoadFieldId(uint32_t idx, const char* error_fmt); 109 const DexFile::MethodId* CheckLoadMethodId(uint32_t idx, const char* error_fmt); 114 const DexFile* const dex_file_; 118 const DexFile::Header* const header_; 127 std::unordered_set<decltype(DexFile::ClassDef::class_idx_)> defined_classes_;
|
dex_method_iterator_test.cc | 31 std::vector<const DexFile*> dex_files; 38 const DexFile& dex_file = it.GetDexFile();
|
method_helper-inl.h | 30 const DexFile* dex_file = method_->GetDexFile(); 31 const DexFile::MethodId& mid = dex_file->GetMethodId(GetMethod()->GetDexMethodIndex()); 33 const DexFile::MethodId& other_mid = 37 const DexFile* other_dex_file = other->method_->GetDexFile(); 38 const DexFile::MethodId& other_mid = 58 const DexFile* dex_file = method->GetDexFile(); 59 const DexFile::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); 60 const DexFile::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id);
|
/dalvik/libdex/ |
DexOptData.h | 25 #include "libdex/DexFile.h" 34 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile);
|
/art/compiler/driver/ |
dex_compilation_unit.h | 39 const DexFile& dex_file, const DexFile::CodeItem* code_item, 55 const DexFile* GetDexFile() const { 67 const DexFile::CodeItem* GetCodeItem() const { 72 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); 77 const DexFile::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); 118 const DexFile* const dex_file_; 120 const DexFile::CodeItem* const code_item_;
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
Item.java | 58 * Populates a {@link DexFile} with items from within this instance. 67 public abstract void addContents(DexFile file); 71 * using the given {@link DexFile} to look things up as needed. 79 public abstract void writeTo(DexFile file, AnnotatedOutput out);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
Item.java | 58 * Populates a {@link DexFile} with items from within this instance. 67 public abstract void addContents(DexFile file); 71 * using the given {@link DexFile} to look things up as needed. 79 public abstract void writeTo(DexFile file, AnnotatedOutput out);
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
Item.java | 58 * Populates a {@link DexFile} with items from within this instance. 67 public abstract void addContents(DexFile file); 71 * using the given {@link DexFile} to look things up as needed. 79 public abstract void writeTo(DexFile file, AnnotatedOutput out);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/ |
DexFile.java | 40 public interface DexFile {
|
/art/compiler/ |
compilers.h | 32 CompiledMethod* Compile(const DexFile::CodeItem* code_item, 38 const DexFile& dex_file) const OVERRIDE; 42 const DexFile& dex_file) const OVERRIDE; 49 const std::vector<const art::DexFile*>& dex_files, 78 CompiledMethod* Compile(const DexFile::CodeItem* code_item, 84 const DexFile& dex_file) const OVERRIDE; 86 CompiledMethod* TryCompile(const DexFile::CodeItem* code_item, 92 const DexFile& dex_file) const;
|
compiler.h | 50 virtual CompiledMethod* Compile(const DexFile::CodeItem* code_item, 56 const DexFile& dex_file) const = 0; 58 static CompiledMethod* TryCompileWithSeaIR(const art::DexFile::CodeItem* code_item, 64 const art::DexFile& dex_file); 68 const DexFile& dex_file) const = 0; 75 const std::vector<const art::DexFile*>& dex_files,
|
elf_writer.h | 32 class DexFile; 55 const std::vector<const DexFile*>& dex_files,
|
/art/runtime/interpreter/ |
interpreter.h | 46 const DexFile::CodeItem* code_item, 51 const DexFile::CodeItem* code_item, 58 const DexFile::CodeItem* code_item,
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
ImmutableDexFile.java | 36 import org.jf.dexlib2.iface.DexFile; 43 public class ImmutableDexFile implements DexFile { 54 public static ImmutableDexFile of(DexFile dexFile) { 55 if (dexFile instanceof ImmutableDexFile) { 56 return (ImmutableDexFile)dexFile; 58 return new ImmutableDexFile(dexFile.getClasses());
|
/art/runtime/entrypoints/interpreter/ |
interpreter_entrypoints.h | 37 const DexFile::CodeItem* code_item, 40 const DexFile::CodeItem* code_item,
|