Searched defs:AR (Results 1 - 18 of 18) sorted by relevance

/frameworks/compile/linkloader/include/impl/
H A DELFSectionNoBits.hxx32 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { argument
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 DELFSectionStrTab.hxx30 ELFSectionStrTab<Bitwidth>::read(Archiver &AR, argument
39 AR.seek(sh->getOffset(), true);
40 AR.prologue(sh->getSize());
41 AR.readBytes(&*st->buf.begin(), sh->getSize());
42 AR.epilogue(sh->getSize());
44 if (!AR) {
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 DELFSectionHeader.hxx34 ELFSectionHeader_CRTP<Bitwidth>::read(Archiver &AR, argument
38 if (!AR) {
46 if (!sh->serialize(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 DELFSectionProgBits.hxx33 ELFSectionProgBits<Bitwidth>::read(Archiver &AR, argument
77 if (!result->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 DELFSymbol.hxx45 ELFSymbol_CRTP<Bitwidth>::read(Archiver &AR, argument
48 if (!AR) {
56 if (!sh->serialize(AR)) {
H A DELFObject.hxx35 ELFObject<Bitwidth>::read(Archiver &AR) { argument
39 object->header.reset(ELFHeaderTy::read(AR));
45 object->shtab.reset(ELFSectionHeaderTableTy::read(AR, object.get()));
58 ELFSectionTy::read(AR, object.get(), (*object->shtab)[i]));
73 ELFSectionTy::read(AR, object.get(), (*object->shtab)[index]));
/frameworks/compile/libbcc/runtime/make/
H A Doptions.mk28 AR := ar macro
/frameworks/compile/linkloader/include/
H A DELFSectionProgBits.h36 static ELFSectionProgBits *read(Archiver &AR,
66 bool serialize(Archiver &AR) { argument
70 AR.seek(sh->getOffset(), true);
71 AR.prologue(sh->getSize());
72 AR.readBytes(chunk.getBuffer(), sh->getSize());
73 AR.epilogue(sh->getSize());
75 return AR;
H A DELFReloc.h62 static ELFRelocTy *readRel(Archiver &AR, size_t index);
65 static ELFRelocTy *readRela(Archiver &AR, size_t index);
79 bool serializeRel(Archiver &AR) { argument
82 AR.prologue(TypeTraits<ELFRelocRelTy>::size);
84 AR & r_offset;
85 AR & r_info;
87 AR.epilogue(TypeTraits<ELFRelocRelTy>::size);
88 return AR;
92 bool serializeRela(Archiver &AR) { argument
93 AR
[all...]
H A DELFSectionHeader.h89 read(Archiver &AR, ELFObjectTy const *owner, size_t index = 0);
121 bool serialize(Archiver &AR) { argument
122 AR.prologue(TypeTraits<ELFSectionHeader>::size);
124 AR & sh_name;
125 AR & sh_type;
126 AR & sh_flags;
127 AR & sh_addr;
128 AR & sh_offset;
129 AR & sh_size;
130 AR
172 serialize(Archiver &AR) argument
[all...]
H A DELFSymbol.h135 read(Archiver &AR, ELFObject<Bitwidth> const *owner, size_t index = 0);
158 bool serialize(Archiver &AR) { argument
159 AR.prologue(TypeTraits<ELFSymbol>::size);
161 AR & st_name;
162 AR & st_value;
163 AR & st_size;
164 AR & st_info;
165 AR & st_other;
166 AR & st_shndx;
168 AR
182 serialize(Archiver &AR) argument
[all...]
H A DELFHeader.h151 static ELFHeader *read(Archiver &AR) { argument
152 if (!AR) {
159 if (!header->serialize(AR)) {
180 bool serialize(Archiver &AR) { argument
181 AR.prologue(TypeTraits<ELFHeaderTy>::size);
183 AR & e_ident;
184 AR & e_type;
185 AR & e_machine;
186 AR & e_version;
187 AR
[all...]
/frameworks/compile/linkloader/
H A Dmain.cpp144 void dump_and_run_object(Archiver &AR, int argc, char **argv) { argument
145 llvm::OwningPtr<ELFObject<Bitwidth> > object(ELFObject<Bitwidth>::read(AR));
173 void dump_and_run_file_from_archive(bool is32bit, Archiver &AR, argument
176 dump_and_run_object<32>(AR, argc, argv);
178 dump_and_run_object<64>(AR, argc, argv);
203 ArchiveReaderLE AR(image, size);
204 dump_and_run_file_from_archive(is32bit, AR, argc, argv);
206 ArchiveReaderBE AR(image, size);
207 dump_and_run_file_from_archive(is32bit, AR, argc, argv);

Completed in 122 milliseconds