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

/frameworks/compile/mclinker/include/mcld/LD/
H A DELFReaderIf.h65 /// readSectionHeaders - read ELF section header table and create LDSections
68 /// readRegularSection - read a regular section and create fragments.
78 /// This is used to get the signature of a group section.
97 /// LinkInfo - some section needs sh_link and sh_info, remember them.
99 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.cpp65 // Update the value of sh_addr in pDebugImg to its corresponding section in
71 ALOGE("Invalid section header table offset found! (e_shoff = %d)",
78 ALOGE("Invalid image supplied (debug image doesn't contain all the section"
90 ELFSectionBits<32> *section = local
92 if (section != NULL) {
94 reinterpret_cast<llvm::ELF::Elf32_Addr>(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.cpp84 /// readHeader - read section header and create LDSections.
102 LDContext::sect_iterator section, sectEnd = pInput.context()->sectEnd(); local
103 for (section = pInput.context()->sectBegin(); section != sectEnd; ++section) {
104 // ignore the section if the LDSection* in input context is NULL
105 if (NULL == *section)
108 switch((*section)->kind()) {
111 assert(NULL != (*section)->getLink());
114 *(*section)
[all...]
H A DEhFrameReader.cpp123 LDSection& section = pEhFrame.getSection(); local
124 if (section.size() == 0x0) {
131 uint64_t file_off = pInput.fileOffset() + section.offset();
133 pInput.memArea()->request(file_off, section.size());
H A DELFObjectWriter.cpp53 void ELFObjectWriter::writeSection(MemoryArea& pOutput, LDSection *section) argument
57 switch (section->kind()) {
59 if (section->getSectionData() == NULL)
68 region = pOutput.request(section->offset(), section->size());
70 llvm::report_fatal_error(llvm::Twine("cannot get enough memory region for output section `") +
71 llvm::Twine(section->name()) +
86 llvm::errs() << "WARNING: unsupported section kind: "
87 << section->kind()
88 << " of section "
368 Module::const_iterator section, sectEnd = pModule.end(); local
[all...]
H A DELFReader.cpp54 /// readRegularSection - read a regular section and create fragments.
107 // If the section should not be included, set the st_shndx SHN_UNDEF
108 // - A section in interrelated groups are not included.
125 // get ld_value - ld_value must be section relative.
131 // get section
132 LDSection* section = NULL; local
134 section = pInput.context()->getSection(st_shndx);
139 // Section symbol's st_name is the section index.
140 assert(NULL != section && "get a invalid section");
439 LDSection* section = IRBuilder::CreateELFHeader(pInput, local
693 LDSection* section = NULL; local
995 LDSection* section = IRBuilder::CreateELFHeader(pInput, local
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_CameraMetadata.cpp477 // First, find the section by the longest string match
478 const char *section = NULL; local
483 ALOGVV("%s: Trying to match against section '%s'",
485 if (strstr(key, str) == key) { // key begins with the section name
488 ALOGVV("%s: Key begins with section name", __FUNCTION__);
490 // section name is the longest we've found so far
491 if (section == NULL || sectionLength < strLength) {
492 section = str;
496 ALOGVV("%s: Found new best section (idx %d)", __FUNCTION__, sectionIndex);
504 if (section
[all...]
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentGraph.cpp178 // 1. its section kind is changed to Ignore. (The target section is a
179 // discarded group section.)
301 LDSection* section = *sect_it; local
304 if (LDFileFormat::Regular != section->kind() &&
305 LDFileFormat::BSS != section->kind())
308 sect_data = section->getSectionData();
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp281 // variable length section of ES_infos. It does not include the
1062 sp<PSISection> section = mPSISections.valueAt(sectionIndex); local
1065 CHECK(section->isEmpty());
1072 status_t err = section->append(br->data(), br->numBitsLeft() / 8);
1078 if (!section->isComplete()) {
1082 ABitReader sectionBits(section->data(), section->size());
1105 section.clear();
1109 if (section != NULL) {
1110 section
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp803 Section_t* section = FindSection(M_EXIF); local
804 if (section) {
835 Section_t* section = FindSection(M_EXIF); local
836 if (section) {
840 memcpy(result, section->Data + ImageInfo.ThumbnailOffset + 8, outThumbSize);
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp203 /// This function is called after section merging but before read relocations.
215 LDSection* section = *iter; local
217 switch (section->kind()) {
221 if (!section->hasEhFrame())
225 if (!section->hasSectionData())
230 if (isCIdentifier(section->name())) {
231 std::string start_name = "__start_" + section->name();
233 section->getSectionData()->front(), 0x0);
244 std::string stop_name = "__stop_" + section->name();
246 section
[all...]

Completed in 429 milliseconds