/external/jhead/ |
jpgfile.c | 18 static Section_t * Sections = NULL; 109 // Check sections array to see if it needs to be increased in size. 118 Sections = (Section_t *)realloc(Sections, sizeof(Section_t)*SectionsAllocated); 119 if (Sections == NULL){ 158 Sections[SectionsRead].Type = marker; 159 Sections[SectionsRead].Offset = ftell(infile); 173 Sections[SectionsRead].Size = itemlen; 181 Sections[SectionsRead].Data = Data; 224 Sections[SectionsRead].Data = Data [all...] |
/external/llvm/tools/llvm-objdump/ |
MachODump.cpp | 153 std::vector<SectionRef> &Sections, 167 Sections.push_back(*SI); 255 std::vector<SectionRef> Sections; 260 getSectionsAndSymbols(Header, MachOOF, Sections, Symbols, FoundFns, 271 Sections[0].getAddress(BaseAddress); 295 // get the sections and supply it to the section name parsing machinery. 309 for (unsigned SectIdx = 0; SectIdx != Sections.size(); SectIdx++) { 312 Sections[SectIdx].isText(SectIsText); 317 if (Sections[SectIdx].getName(SectName) || 319 continue; // Skip non-text sections [all...] |
/external/llvm/tools/yaml2obj/ |
yaml2coff.cpp | 39 for (std::vector<COFFYAML::Section>::iterator i = Obj.Sections.begin(), 40 e = Obj.Sections.end(); i != e; ++i) { 124 SectionTableSize = sizeof(COFF::section) * CP.Obj.Sections.size(); 129 for (std::vector<COFFYAML::Section>::iterator i = CP.Obj.Sections.begin(), 130 e = CP.Obj.Sections.end(); 166 CP.Obj.Header.NumberOfSections = CP.Obj.Sections.size(); 207 for (std::vector<COFFYAML::Section>::iterator i = CP.Obj.Sections.begin(), 208 e = CP.Obj.Sections.end(); 232 for (std::vector<COFFYAML::Section>::iterator i = CP.Obj.Sections.begin(), 233 e = CP.Obj.Sections.end() [all...] |
yaml2elf.cpp | 96 // Used to keep track of section names, so that in the YAML file sections 158 /// \brief The accumulated contents of all sections so far. 273 const std::vector<ELFYAML::Section> &Sections = Doc.Sections; 279 Header.e_shnum = Sections.size() + 4; 290 for (unsigned i = 0, e = Sections.size(); i != e; ++i) { 291 StringRef Name = Sections[i].Name; 313 for (unsigned i = 0, e = Sections.size(); i != e; ++i) { 314 const ELFYAML::Section &Sec = Sections[i];
|
/external/llvm/tools/llvm-readobj/ |
llvm-readobj.h | 32 extern llvm::cl::opt<bool> Sections;
|
llvm-readobj.cpp | 60 // -sections, -s 61 cl::opt<bool> Sections("sections", 62 cl::desc("Display all sections.")); 64 cl::desc("Alias for --sections"), 65 cl::aliasopt(Sections)); 208 if (opts::Sections)
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldMachO.cpp | 62 for (int i = 0, e = Sections.size(); i != e; ++i) { 63 if (Sections[i].Name == "__eh_frame") 64 EHFrame = &Sections[i]; 65 else if (Sections[i].Name == "__text") 66 Text = &Sections[i]; 67 else if (Sections[i].Name == "__gcc_except_tab") 68 ExceptTab = &Sections[i]; 89 const SectionEntry &Section = Sections[RE.SectionID]; 291 SectionEntry &Section = Sections[SectionID];
|
RuntimeDyld.cpp | 41 // Just iterate over the sections we have and resolve all the relocations 43 for (int i = 0, e = Sections.size(); i != e; ++i) { 44 uint64_t Addr = Sections[i].LoadAddress; 54 for (unsigned i = 0, e = Sections.size(); i != e; ++i) { 55 if (Sections[i].Address == LocalAddress) { 78 // Used sections from the object file 177 unsigned SectionID = Sections.size(); 183 Sections.push_back(SectionEntry(StringRef(), Addr, TotalSize, 0)); 222 // necessary section allocation size in loadObject by walking all the sections 265 unsigned SectionID = Sections.size() [all...] |
RuntimeDyldImpl.h | 128 // A list of all sections emitted by the dynamic linker. These sections are 131 SectionList Sections; 133 // Keep a map of sections from object file to the SectionID which 154 // Relocations to sections already loaded. Indexed by SectionID which is the 203 return Sections[SectionID].LoadAddress; 207 return (uint8_t*)Sections[SectionID].Address;
|
RuntimeDyldELF.cpp | 95 // addresses for sections and common symbols 155 for (int i = 0, e = Sections.size(); i != e; ++i) { 156 if (Sections[i].Name == ".eh_frame") 157 return StringRef((const char*)Sections[i].Address, Sections[i].Size); 509 // The TOC consists of sections .got, .toc, .tocbss, .plt in that 510 // order. The TOC starts where the first of these sections starts. 511 SectionList::const_iterator it = Sections.begin(); 512 SectionList::const_iterator ite = Sections.end(); 527 it = Sections.begin() [all...] |
/external/llvm/tools/obj2yaml/ |
coff2yaml.cpp | 53 std::vector<COFFYAML::Section> &Sections = YAMLObj.Sections; 82 Sections.push_back(Sec);
|
/external/llvm/test/MC/ARM/ |
eh-directive-cantunwind.s | 26 @ CHECK: Sections [
|
eh-compact-pr1.s | 27 @ CHECK: Sections [
|
eh-compact-pr0.s | 38 @ CHECK: Sections [
|
eh-directive-text-section-multiple-func.s | 33 @ CHECK: Sections [
|
eh-directive-text-section.s | 26 @ CHECK: Sections [
|
eh-directive-section-comdat.s | 13 @ of the grouped sections should be recorded in .group section. 43 @ CHECK: Sections [
|
eh-directive-section-multiple-func.s | 13 @ .ARM.exidx.TEST1 sections. 43 @ CHECK: Sections [
|
eh-directive-section.s | 49 @ CHECK: Sections [ 152 @ Check the symbols and the sections they belong to
|
/external/llvm/lib/MC/ |
ELFObjectWriter.cpp | 278 /// \param NumRegularSections - Number of non-relocation sections. 298 // Create the sections that show up in the symbol table. Currently 299 // those are the .note.GNU-stack section and the group sections. 315 std::vector<const MCSectionELF*> &Sections); [all...] |
WinCOFFObjectWriter.cpp | 123 typedef std::vector<COFFSection*> sections; typedef in class:__anon23689::WinCOFFObjectWriter 132 sections Sections; 236 assert(Section->Number != -1 && "Sections with relocations must be real!"); 328 for (sections::iterator I = Sections.begin(), E = Sections.end(); I != E; ++I) 347 return createCOFFEntity<COFFSection>(Name, Sections); 716 for (sections::iterator i = Sections.begin() [all...] |
/external/llvm/include/llvm/MC/ |
MCAssembler.h | 849 iplist<MCSectionData> Sections; 853 /// The map of sections to their associated assembler backend data. 1039 const SectionDataListType &getSectionList() const { return Sections; } 1040 SectionDataListType &getSectionList() { return Sections; } 1042 iterator begin() { return Sections.begin(); } 1043 const_iterator begin() const { return Sections.begin(); } 1045 iterator end() { return Sections.end(); } 1046 const_iterator end() const { return Sections.end(); } 1048 size_t size() const { return Sections.size(); } [all...] |
/external/llvm/include/llvm/Object/ |
COFFYAML.h | 64 std::vector<Section> Sections;
|
ELFYAML.h | 78 std::vector<Section> Sections;
|
/external/llvm/test/MC/AsmParser/ |
section.s | 49 # CHECK: Sections [
|