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

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

Completed in 103 milliseconds