Lines Matching defs:contents
114 const unsigned char* contents;
116 contents = object->section_contents(xindex_shndx, &bytecount, false);
124 contents = object->get_view(shdr.get_sh_offset(), bytecount, true, false);
131 unsigned int shndx = elfcpp::Swap<32, big_endian>::readval(contents + i);
178 // Return a view of the contents of a section.
229 // Read the section contents to get the warning text. It would
236 const unsigned char* contents = this->section_contents(shndx, &len,
241 contents = reinterpret_cast<const unsigned char*>(warning);
244 std::string warning(reinterpret_cast<const char*>(contents), len);
666 // Return TRUE if this is a section whose contents will be needed in the
714 // to the uncompressed size and (if needed) the decompressed contents.
752 const unsigned char* contents =
760 uncompressed_size = get_uncompressed_size(contents, len);
767 elfcpp::Chdr<size, big_endian> chdr(contents);
773 info.contents = NULL;
780 if (decompress_input_section(contents, len,
785 info.contents = uncompressed_data;
970 // Read the section contents.
3107 // Return a view of the decompressed contents of a section. Set *PLEN
3108 // to the size. Set *IS_NEW to true if the contents need to be freed
3139 if (p->second.contents != NULL)
3145 return p->second.contents;
3159 // We could cache the results in p->second.contents and store
3162 // we reach this point, we expect to need the contents only
3184 if (p->second.contents != NULL)
3186 delete[] p->second.contents;
3187 p->second.contents = NULL;