Searched defs:section (Results 1 - 14 of 14) sorted by relevance

/frameworks/compile/mclinker/include/mcld/LD/
H A DELFReaderIf.h62 /// readSectionHeaders - read ELF section header table and create LDSections
66 /// readRegularSection - read a regular section and create fragments.
76 /// This is used to get the signature of a group section.
95 /// LinkInfo - some section needs sh_link and sh_info, remember them.
97 LDSection* section; member in struct:mcld::ELFReaderIF::LinkInfo
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSymbol.hxx36 ELFSectionTy const *section = owner->getSectionByIndex(index); local
38 *static_cast<ELFSectionStrTabTy const *>(section);
66 // Set the section header index
142 "STT_OBJECT with not BITS section.");
160 rsl_assert(sec != 0 && "STT_OBJECT with null section.");
222 "STT_FUNC with not PROGBITS section.");
225 rsl_assert(sec != 0 && "STT_FUNC with null section.");
252 "STT_SECTION with not BITS section.");
255 rsl_assert(sec != 0 && "STT_SECTION with null section.");
281 "STT_SECTION with not BITS section
[all...]
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DELFObjectLoaderImpl.cpp74 // Update the value of sh_addr in pDebugImg to its corresponding section in
86 ALOGE("Invalid section header table offset found! (e_shoff = %ld)",
89 ALOGE("Invalid section header table offset found! (e_shoff = %d)",
98 ALOGE("Invalid image supplied (debug image doesn't contain all the section"
102 ALOGE("Invalid image supplied (debug image doesn't contain all the section"
122 ELFSectionBits<64> *section = local
125 ELFSectionBits<32> *section =
128 if (section != NULL) {
129 uintptr_t address = reinterpret_cast<uintptr_t>(section->getBuffer());
/frameworks/compile/mclinker/unittests/
H A DNamePoolTest.cpp183 const llvm::MCSectionData *section = 0; local
193 section,
216 const llvm::MCSectionData *section = 0; local
230 section,
246 section,
261 section,
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp93 /// readHeader - read section header and create LDSections.
113 LDContext::sect_iterator section, sectEnd = pInput.context()->sectEnd(); local
114 for (section = pInput.context()->sectBegin(); section != sectEnd; ++section) {
115 // ignore the section if the LDSection* in input context is NULL
116 if (NULL == *section)
119 switch((*section)->kind()) {
122 assert(NULL != (*section)->getLink());
125 *(*section)
[all...]
H A DEhFrameReader.cpp126 LDSection& section = pEhFrame.getSection(); local
127 if (section.size() == 0x0) {
134 uint64_t file_off = pInput.fileOffset() + section.offset();
136 pInput.memArea()->request(file_off, section.size());
H A DGarbageCollection.cpp42 // SectionMap will cause the output order change in .text section and leads to
52 /// shouldKeep - check the section name for the keep sections
64 /// shouldProcessGC - check if the section kind is handled in GC
119 // section
142 // bypass the discarded relocation section
143 // 1. its section kind is changed to Ignore. (The target section is a
144 // discarded group section.)
179 // of this section, create an entry in ReachedSections map
202 LDSection* section local
342 LDSection* section = *sect; local
[all...]
H A DELFObjectWriter.cpp55 FileOutputBuffer& pOutput, LDSection *section)
59 switch (section->kind()) {
61 if (section->getSectionData() == NULL)
71 region = pOutput.request(section->offset(), section->size());
87 llvm::errs() << "WARNING: unsupported section kind: "
88 << section->kind()
89 << " of section "
90 << section->name()
96 switch(section
54 writeSection(Module& pModule, FileOutputBuffer& pOutput, LDSection *section) argument
382 Module::const_iterator section, sectEnd = pModule.end(); local
[all...]
H A DELFReader.cpp55 /// readRegularSection - read a regular section and create fragments.
108 // If the section should not be included, set the st_shndx SHN_UNDEF
109 // - A section in interrelated groups are not included.
126 // get ld_value - ld_value must be section relative.
132 // get section
133 LDSection* section = NULL; local
135 section = pInput.context()->getSection(st_shndx);
140 // Section symbol's st_name is the section index.
141 assert(NULL != section && "get a invalid section");
422 LDSection* section = IRBuilder::CreateELFHeader(pInput, local
658 LDSection* section = NULL; local
943 LDSection* section = IRBuilder::CreateELFHeader(pInput, local
[all...]
/frameworks/base/cmds/idmap/
H A Dinspect.cpp127 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { argument
131 printf("%-12s %-12s 0x%08x ", section, subsection, value);
137 void print_path(const char *section, const char *subsection, const char *fmt, ...) { argument
141 printf("%-12s %-12s .......... ", section, subsection);
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_CameraMetadata.cpp645 // First, find the section by the longest string match
646 const char *section = NULL; local
654 ALOGVV("%s: Trying to match against section '%s'",
656 if (strstr(key, str) == key) { // key begins with the section name
659 ALOGVV("%s: Key begins with section name", __FUNCTION__);
661 // section name is the longest we've found so far
662 if (section == NULL || sectionLength < strLength) {
663 section = str;
667 ALOGVV("%s: Found new best section (%s)", __FUNCTION__, section);
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp289 // variable length section of ES_infos. It does not include the
1097 sp<PSISection> section = mPSISections.valueAt(sectionIndex); local
1100 if (!section->isEmpty()) {
1109 status_t err = section->append(br->data(), br->numBitsLeft() / 8);
1115 if (!section->isComplete()) {
1119 ABitReader sectionBits(section->data(), section->size());
1142 section.clear();
1146 if (section != NULL) {
1147 section
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp176 // when building shared object, the .got section is must.
201 "static linkage should not result in a dynamic relocation section");
209 "static linkage should not result in a dynamic relocation section");
246 /// dynamic - the dynamic section of the target machine.
247 /// Use co-variant return type to return its own dynamic section.
254 /// dynamic - the dynamic section of the target machine.
255 /// Use co-variant return type to return its own dynamic section.
329 // SHT_MIPS_OPTIONS section's block descriptor.
334 Elf64_Half section; // Section header index of section affecte member in struct:llvm::ELF::Elf_Options
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp223 /// This function is called after section merging but before read relocations.
235 LDSection* section = *iter; local
237 switch (section->kind()) {
241 if (!section->hasEhFrame())
245 if (!section->hasSectionData())
250 if (isCIdentifier(section->name())) {
251 std::string start_name = "__start_" + section->name();
253 section->getSectionData()->front(), 0x0);
264 std::string stop_name = "__stop_" + section->name();
266 section
[all...]

Completed in 951 milliseconds