Searched refs:m_image (Results 1 – 8 of 8) sorted by relevance
/netbsd-src/external/bsd/elftosb/dist/common/ |
H A D | SRecordSourceFile.cpp | 23 : SourceFile(path), m_image(0), m_hasEntryRecord(false) in SRecordSourceFile() 42 m_image = new StExecutableImage(); in open() 52 assert(m_image); in close() 57 delete m_image; in close() 58 m_image = 0; in close() 65 assert(m_image); in createDataSource() 66 return new MemoryImageDataSource(m_image); in createDataSource() 107 assert(m_image); in buildMemoryImage() 139 m_image->addTextRegion(startAddress, buffer, dataLength); in buildMemoryImage() 173 m_image->addTextRegion(startAddress, buffer, dataLength); in buildMemoryImage()
|
H A D | DataSource.cpp | 121 : DataSource(), m_image(image) in MemoryImageDataSource() 124 m_segments.reserve(m_image->getRegionCount()); in MemoryImageDataSource() 142 return m_image->getRegionCount(); in getSegmentCount() 154 if (index >= m_segments.size() && index < m_image->getRegionCount()) in getSegmentAt() 161 const StExecutableImage::MemoryRegion & region = m_image->getRegionAtIndex(index); in getSegmentAt() 164 newSegment = new TextSegment(*this, m_image, index); in getSegmentAt() 168 newSegment = new FillSegment(*this, m_image, index); in getSegmentAt() 178 : DataSource::Segment(source), m_image(image), m_index(index) in TextSegment() 184 const StExecutableImage::MemoryRegion & region = m_image->getRegionAtIndex(m_index); in getData() 195 const StExecutableImage::MemoryRegion & region = m_image->getRegionAtIndex(m_index); in getLength() [all …]
|
H A D | StExecutableImage.cpp | 41 m_image.push_back(regionCopy); in StExecutableImage() 49 for (it = m_image.begin(); it != m_image.end(); ++it) in ~StExecutableImage() 113 if (inIndex >= m_image.size()) in getRegionAtIndex() 117 MemoryRegionList::const_iterator it = m_image.begin(); in getRegionAtIndex() 119 for (; it != m_image.end(); ++it, ++i) in getRegionAtIndex() 158 MemoryRegionList::iterator rit = m_image.begin(); in applyAddressFilters() 159 for (; rit != m_image.end(); ++rit) in applyAddressFilters() 237 m_image.remove(region); in cropRegionToFilter() 291 MemoryRegionList::iterator it = m_image.begin(); in insertOrMergeRegion() 292 MemoryRegionList::iterator sortedPosition = m_image.begin(); in insertOrMergeRegion() [all …]
|
H A D | StExecutableImage.h | 183 inline unsigned getRegionCount() const { return static_cast<unsigned>(m_image.size()); } in getRegionCount() 189 inline const_iterator getRegionBegin() const { return m_image.begin(); } in getRegionBegin() 192 inline const_iterator getRegionEnd() const { return m_image.end(); } in getRegionEnd() 238 MemoryRegionList m_image; //!< The memory regions. variable
|
H A D | DataSource.h | 268 StExecutableImage * m_image; //!< Coalesced image of the file. 286 StExecutableImage * m_image; //!< Coalesced image of the file. 291 StExecutableImage * m_image; //!< The memory image that is the data source.
|
H A D | EncoreBootImage.h | 705 …Section() : CipherBlockGenerator(), m_identifier(0), m_image(0), m_alignment(BOOT_IMAGE_MINIMUM_SE… in Section() 708 …Section(uint32_t identifier) : CipherBlockGenerator(), m_identifier(identifier), m_image(0), m_ali… in Section() 735 void setImage(EncoreBootImage * image) { m_image = image; } in setImage() 738 EncoreBootImage * getImage() const { return m_image; } in getImage() 764 EncoreBootImage * m_image; //!< The image to which this section belongs. variable
|
H A D | SRecordSourceFile.h | 72 StExecutableImage * m_image; //!< Memory image of the S-record file. variable
|
H A D | EncoreBootImage.cpp | 1133 if (m_image) in fillSectionHeader() 1135 header.m_offset = ENDIAN_HOST_TO_LITTLE_U32(m_image->getSectionOffset(this)); in fillSectionHeader()
|