/frameworks/rs/cpu_ref/linkloader/include/ |
D | ELFSectionHeader.h | 88 read(Archiver &AR, ELFObjectTy const *owner, size_t index = 0); 120 bool serialize(Archiver &AR) { in serialize() argument 121 AR.prologue(TypeTraits<ELFSectionHeader>::size); in serialize() 123 AR & sh_name; in serialize() 124 AR & sh_type; in serialize() 125 AR & sh_flags; in serialize() 126 AR & sh_addr; in serialize() 127 AR & sh_offset; in serialize() 128 AR & sh_size; in serialize() 129 AR & sh_link; in serialize() [all …]
|
D | ELFSymbol.h | 133 read(Archiver &AR, ELFObject<Bitwidth> const *owner, size_t index = 0); 156 bool serialize(Archiver &AR) { in serialize() argument 157 AR.prologue(TypeTraits<ELFSymbol>::size); in serialize() 159 AR & st_name; in serialize() 160 AR & st_value; in serialize() 161 AR & st_size; in serialize() 162 AR & st_info; in serialize() 163 AR & st_other; in serialize() 164 AR & st_shndx; in serialize() 166 AR.epilogue(TypeTraits<ELFSymbol>::size); in serialize() [all …]
|
D | ELFHeader.h | 150 static ELFHeader *read(Archiver &AR) { in read() argument 151 if (!AR) { in read() 158 if (!header->serialize(AR)) { in read() 179 bool serialize(Archiver &AR) { in serialize() argument 180 AR.prologue(TypeTraits<ELFHeaderTy>::size); in serialize() 182 AR & e_ident; in serialize() 183 AR & e_type; in serialize() 184 AR & e_machine; in serialize() 185 AR & e_version; in serialize() 186 AR & e_entry; in serialize() [all …]
|
D | ELFReloc.h | 61 static ELFRelocTy *readRel(Archiver &AR, size_t index); 64 static ELFRelocTy *readRela(Archiver &AR, size_t index); 78 bool serializeRel(Archiver &AR) { in serializeRel() argument 81 AR.prologue(TypeTraits<ELFRelocRelTy>::size); in serializeRel() 83 AR & r_offset; in serializeRel() 84 AR & r_info; in serializeRel() 86 AR.epilogue(TypeTraits<ELFRelocRelTy>::size); in serializeRel() 87 return AR; in serializeRel() 91 bool serializeRela(Archiver &AR) { in serializeRela() argument 92 AR.prologue(TypeTraits<ELFRelocRelaTy>::size); in serializeRela() [all …]
|
D | ELFSectionProgBits.h | 36 static ELFSectionProgBits *read(Archiver &AR, 78 bool serialize(Archiver &AR) { in serialize() argument 82 AR.seek(sh->getOffset(), true); in serialize() 83 AR.prologue(sh->getSize()); in serialize() 84 AR.readBytes(chunk.getBuffer(), sh->getSize()); in serialize() 85 AR.epilogue(sh->getSize()); in serialize() 87 return AR; in serialize()
|
D | ELFSectionNoBits.h | 32 static ELFSectionNoBits *read(Archiver &AR, ELFSectionHeaderTy const *sh);
|
D | ELFSection.h | 36 static ELFSection *read(Archiver &AR, ELFObjectTy *,
|
D | ELFSectionStrTab.h | 39 static ELFSectionStrTab *read(Archiver &AR, ELFSectionHeaderTy const *sh);
|
D | ELFSectionRelTable.h | 43 static ELFSectionRelTable *read(Archiver &AR, ELFSectionHeaderTy const *sh);
|
D | ELFSectionHeaderTable.h | 44 static ELFSectionHeaderTableTy *read(Archiver &AR, ELFObjectTy *owner);
|
D | ELFSectionSymTab.h | 44 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh);
|
D | ELFObject.h | 62 static ELFObject *read(Archiver &AR);
|
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
D | ELFSection.hxx | 34 ELFSection<Bitwidth>::read(Archiver &AR, in read() argument 46 return ELFSectionStrTabTy::read(AR, sh); in read() 49 return ELFSectionSymTabTy::read(AR, owner, sh); in read() 52 return ELFSectionProgBitsTy::read(AR, owner, sh); in read() 55 return ELFSectionNoBitsTy::read(AR, sh); in read() 59 return ELFSectionRelTableTy::read(AR, sh); in read()
|
D | ELFSectionStrTab.hxx | 29 ELFSectionStrTab<Bitwidth>::read(Archiver &AR, in read() argument 38 AR.seek(sh->getOffset(), true); in read() 39 AR.prologue(sh->getSize()); in read() 40 AR.readBytes(&*st->buf.begin(), sh->getSize()); in read() 41 AR.epilogue(sh->getSize()); in read() 43 if (!AR) { in read()
|
D | ELFReloc.hxx | 28 ELFReloc_CRTP<Bitwidth>::readRela(Archiver &AR, size_t index) { in readRela() argument 29 if (!AR) { in readRela() 37 if (!sh->serializeRela(AR)) { in readRela() 56 ELFReloc_CRTP<Bitwidth>::readRel(Archiver &AR, size_t index) { in readRel() argument 57 if (!AR) { in readRel() 66 if (!sh->serializeRel(AR)) { in readRel()
|
D | ELFSectionRelTable.hxx | 55 ELFSectionRelTable<Bitwidth>::read(Archiver &AR, in read() argument 63 AR.seek(sh->getOffset(), true); in read() 72 rt->table.push_back(ELFRelocTy::readRel(AR, i)); in read() 78 rt->table.push_back(ELFRelocTy::readRela(AR, i)); in read() 82 if (!AR) { in read()
|
D | ELFSectionHeaderTable.hxx | 36 ELFSectionHeaderTable<Bitwidth>::read(Archiver &AR, ELFObjectTy *owner) { in read() argument 37 if (!AR) { in read() 53 AR.seek(header->getSectionHeaderTableOffset(), true); in read() 57 ELFSectionHeaderTy::read(AR, owner, i)); in read()
|
D | ELFSectionSymTab.hxx | 88 ELFSectionSymTab<Bitwidth>::read(Archiver &AR, in read() argument 98 AR.seek(sh->getOffset(), true); in read() 103 st->table.push_back(ELFSymbolTy::read(AR, owner, i)); in read() 106 if (!AR) { in read()
|
D | ELFSectionHeader.hxx | 34 ELFSectionHeader_CRTP<Bitwidth>::read(Archiver &AR, in read() argument 38 if (!AR) { in read() 46 if (!sh->serialize(AR)) { in read()
|
D | ELFSectionProgBits.hxx | 33 ELFSectionProgBits<Bitwidth>::read(Archiver &AR, in read() argument 80 if (!result->serialize(AR)) { in read()
|
D | ELFSymbol.hxx | 45 ELFSymbol_CRTP<Bitwidth>::read(Archiver &AR, in read() argument 48 if (!AR) { in read() 56 if (!sh->serialize(AR)) { in read()
|
D | ELFSectionNoBits.hxx | 30 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { in read() argument
|
D | ELFObject.hxx | 38 ELFObject<Bitwidth>::read(Archiver &AR) { in read() argument 42 object->header.reset(ELFHeaderTy::read(AR)); in read() 48 object->shtab.reset(ELFSectionHeaderTableTy::read(AR, object.get())); in read() 61 ELFSectionTy::read(AR, object.get(), (*object->shtab)[i])); in read() 76 ELFSectionTy::read(AR, object.get(), (*object->shtab)[index])); in read()
|
/frameworks/rs/cpu_ref/linkloader/ |
D | main.cpp | 142 void dump_and_run_object(Archiver &AR, int argc, char **argv) { in dump_and_run_object() argument 143 std::unique_ptr<ELFObject<Bitwidth> > object(ELFObject<Bitwidth>::read(AR)); in dump_and_run_object() 171 void dump_and_run_file_from_archive(bool is32bit, Archiver &AR, in dump_and_run_file_from_archive() argument 174 dump_and_run_object<32>(AR, argc, argv); in dump_and_run_file_from_archive() 176 dump_and_run_object<64>(AR, argc, argv); in dump_and_run_file_from_archive() 201 ArchiveReaderLE AR(image, size); in dump_and_run_file() local 202 dump_and_run_file_from_archive(is32bit, AR, argc, argv); in dump_and_run_file() 204 ArchiveReaderBE AR(image, size); in dump_and_run_file() local 205 dump_and_run_file_from_archive(is32bit, AR, argc, argv); in dump_and_run_file()
|
/frameworks/rs/cpu_ref/linkloader/android/ |
D | librsloader.cpp | 69 ArchiveReaderLE AR(buf, buf_size); in rsloaderLoadExecutable() local 72 std::unique_ptr<ELFObject<64> > object(ELFObject<64>::read(AR)); in rsloaderLoadExecutable() 74 std::unique_ptr<ELFObject<32> > object(ELFObject<32>::read(AR)); in rsloaderLoadExecutable()
|