Home
last modified time | relevance | path

Searched refs:AR (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/rs/cpu_ref/linkloader/include/
DELFSectionHeader.h88 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 …]
DELFSymbol.h133 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 …]
DELFHeader.h150 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 …]
DELFReloc.h61 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 …]
DELFSectionProgBits.h36 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()
DELFSectionNoBits.h32 static ELFSectionNoBits *read(Archiver &AR, ELFSectionHeaderTy const *sh);
DELFSection.h36 static ELFSection *read(Archiver &AR, ELFObjectTy *,
DELFSectionStrTab.h39 static ELFSectionStrTab *read(Archiver &AR, ELFSectionHeaderTy const *sh);
DELFSectionRelTable.h43 static ELFSectionRelTable *read(Archiver &AR, ELFSectionHeaderTy const *sh);
DELFSectionHeaderTable.h44 static ELFSectionHeaderTableTy *read(Archiver &AR, ELFObjectTy *owner);
DELFSectionSymTab.h44 read(Archiver &AR, ELFObjectTy *owner, ELFSectionHeaderTy const *sh);
DELFObject.h62 static ELFObject *read(Archiver &AR);
/frameworks/rs/cpu_ref/linkloader/include/impl/
DELFSection.hxx34 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()
DELFSectionStrTab.hxx29 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()
DELFReloc.hxx28 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()
DELFSectionRelTable.hxx55 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()
DELFSectionHeaderTable.hxx36 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()
DELFSectionSymTab.hxx88 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()
DELFSectionHeader.hxx34 ELFSectionHeader_CRTP<Bitwidth>::read(Archiver &AR, in read() argument
38 if (!AR) { in read()
46 if (!sh->serialize(AR)) { in read()
DELFSectionProgBits.hxx33 ELFSectionProgBits<Bitwidth>::read(Archiver &AR, in read() argument
80 if (!result->serialize(AR)) { in read()
DELFSymbol.hxx45 ELFSymbol_CRTP<Bitwidth>::read(Archiver &AR, in read() argument
48 if (!AR) { in read()
56 if (!sh->serialize(AR)) { in read()
DELFSectionNoBits.hxx30 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { in read() argument
DELFObject.hxx38 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/
Dmain.cpp142 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/
Dlibrsloader.cpp69 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()

12