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