Lines Matching refs:buffer_
83 buffer_.start = buffer; in Read()
84 buffer_.end = buffer + size; in Read()
85 ByteCursor cursor(&buffer_); in Read()
117 size_t fat_size = buffer_.Size(); in Read()
142 object_files_[0].size = static_cast<uint32_t>(buffer_.Size()); in Read()
228 assert(!buffer_.start); in Read()
229 buffer_.start = buffer; in Read()
230 buffer_.end = buffer + size; in Read()
231 ByteCursor cursor(&buffer_, true); in Read()
355 if (file_offset > buffer_.Size() || in WalkLoadCommands()
356 file_size > buffer_.Size() - file_offset) { in WalkLoadCommands()
367 segment.contents.start = buffer_.start + file_offset; in WalkLoadCommands()
392 if (symoff > buffer_.Size() || symbols_size > buffer_.Size() - symoff || in WalkLoadCommands()
393 stroff > buffer_.Size() || strsize > buffer_.Size() - stroff) { in WalkLoadCommands()
397 ByteBuffer entries(buffer_.start + symoff, symbols_size); in WalkLoadCommands()
398 ByteBuffer names(buffer_.start + stroff, strsize); in WalkLoadCommands()
495 if (offset < size_t(segment.contents.start - buffer_.start) || in WalkSegmentSections()
496 offset > size_t(segment.contents.end - buffer_.start) || in WalkSegmentSections()
497 size > size_t(segment.contents.end - buffer_.start - offset)) { in WalkSegmentSections()
502 section.contents.start = buffer_.start + offset; in WalkSegmentSections()