/frameworks/compile/linkloader/include/ |
D | ELFSectionHeader.h | 89 read(Archiver &AR, ELFObjectTy const *owner, size_t index = 0); 121 bool serialize(Archiver &AR) { in serialize() argument 122 AR.prologue(TypeTraits<ELFSectionHeader>::size); in serialize() 124 AR & sh_name; in serialize() 125 AR & sh_type; in serialize() 126 AR & sh_flags; in serialize() 127 AR & sh_addr; in serialize() 128 AR & sh_offset; in serialize() 129 AR & sh_size; in serialize() 130 AR & sh_link; in serialize() [all …]
|
D | ELFSymbol.h | 140 read(Archiver &AR, ELFObject<Bitwidth> const *owner, size_t index = 0); 163 bool serialize(Archiver &AR) { in serialize() argument 164 AR.prologue(TypeTraits<ELFSymbol>::size); in serialize() 166 AR & st_name; in serialize() 167 AR & st_value; in serialize() 168 AR & st_size; in serialize() 169 AR & st_info; in serialize() 170 AR & st_other; in serialize() 171 AR & st_shndx; in serialize() 173 AR.epilogue(TypeTraits<ELFSymbol>::size); in serialize() [all …]
|
D | ELFHeader.h | 151 static ELFHeader *read(Archiver &AR) { in read() argument 152 if (!AR) { in read() 159 if (!header->serialize(AR)) { in read() 180 bool serialize(Archiver &AR) { in serialize() argument 181 AR.prologue(TypeTraits<ELFHeaderTy>::size); in serialize() 183 AR & e_ident; in serialize() 184 AR & e_type; in serialize() 185 AR & e_machine; in serialize() 186 AR & e_version; in serialize() 187 AR & e_entry; in serialize() [all …]
|
D | ELFReloc.h | 62 static ELFRelocTy *readRel(Archiver &AR, size_t index); 65 static ELFRelocTy *readRela(Archiver &AR, size_t index); 79 bool serializeRel(Archiver &AR) { in serializeRel() argument 82 AR.prologue(TypeTraits<ELFRelocRelTy>::size); in serializeRel() 84 AR & r_offset; in serializeRel() 85 AR & r_info; in serializeRel() 87 AR.epilogue(TypeTraits<ELFRelocRelTy>::size); in serializeRel() 88 return AR; in serializeRel() 92 bool serializeRela(Archiver &AR) { in serializeRela() argument 93 AR.prologue(TypeTraits<ELFRelocRelaTy>::size); in serializeRela() [all …]
|
D | ELFSectionProgBits.h | 38 static ELFSectionProgBits *read(Archiver &AR, 50 bool serialize(Archiver &AR) { in serialize() argument 54 AR.seek(sh->getOffset(), true); in serialize() 55 AR.prologue(sh->getSize()); in serialize() 56 AR.readBytes(chunk.getBuffer(), sh->getSize()); in serialize() 57 AR.epilogue(sh->getSize()); in serialize() 59 return AR; in serialize()
|
D | ELFSectionNoBits.h | 32 static ELFSectionNoBits *read(Archiver &AR, ELFSectionHeaderTy const *sh);
|
D | ELFSection.h | 37 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 | 45 static ELFSectionHeaderTableTy *read(Archiver &AR, ELFObjectTy *owner);
|
/frameworks/compile/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 | 30 ELFSectionStrTab<Bitwidth>::read(Archiver &AR, in read() argument 39 AR.seek(sh->getOffset(), true); in read() 40 AR.prologue(sh->getSize()); in read() 41 AR.readBytes(&*st->buf.begin(), sh->getSize()); in read() 42 AR.epilogue(sh->getSize()); in read() 44 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 | 49 ELFSectionRelTable<Bitwidth>::read(Archiver &AR, in read() argument 57 AR.seek(sh->getOffset(), true); in read() 66 rt->table.push_back(ELFRelocTy::readRel(AR, i)); in read() 72 rt->table.push_back(ELFRelocTy::readRela(AR, i)); in read() 76 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 69 if (!result->serialize(AR)) { in read()
|
D | ELFObject.hxx | 34 ELFObject<Bitwidth>::read(Archiver &AR) { in read() argument 38 object->header.reset(ELFHeaderTy::read(AR)); in read() 44 object->shtab.reset(ELFSectionHeaderTableTy::read(AR, object.get())); in read() 57 ELFSectionTy::read(AR, object.get(), (*object->shtab)[i])); in read() 72 ELFSectionTy::read(AR, object.get(), (*object->shtab)[index])); in read()
|
D | ELFSymbol.hxx | 50 ELFSymbol_CRTP<Bitwidth>::read(Archiver &AR, in read() argument 53 if (!AR) { in read() 61 if (!sh->serialize(AR)) { in read()
|
D | ELFSectionNoBits.hxx | 32 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { in read() argument
|
/frameworks/compile/linkloader/ |
D | main.cpp | 144 void dump_and_run_object(Archiver &AR, int argc, char **argv) { in dump_and_run_object() argument 145 llvm::OwningPtr<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/compile/linkloader/android/ |
D | librsloader.cpp | 44 ArchiveReaderLE AR(buf, buf_size); in rsloaderCreateExec() local 46 llvm::OwningPtr<ELFObject<32> > object(ELFObject<32>::read(AR)); in rsloaderCreateExec()
|
/frameworks/compile/libbcc/runtime/make/ |
D | options.mk | 28 AR := ar
|
/frameworks/compile/libbcc/runtime/ |
D | Makefile | 170 $(call Set,Tmp.AR,$(strip \ 171 $(call GetCNAVar,AR,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch)))) 188 $(Verb) $(Tmp.AR) $(Tmp.ARFLAGS) $$@ $(Tmp.Inputs)
|