Lines Matching refs:offset
133 for (size_t offset = 0; offset < debug_frame->sh_size;) { in VisitDebugFrame() local
134 const CFI* entry = Read<CFI>(debug_frame->sh_offset + offset); in VisitDebugFrame()
135 DCHECK_LE(entry->size(), debug_frame->sh_size - offset); in VisitDebugFrame()
137 visit_cie(Read<CIE>(debug_frame->sh_offset + offset)); in VisitDebugFrame()
139 const FDE* fde = Read<FDE>(debug_frame->sh_offset + offset); in VisitDebugFrame()
142 offset += entry->size(); in VisitDebugFrame()
152 const T* Read(size_t offset) { in Read() argument
153 DCHECK_LE(offset + sizeof(T), file_.size()); in Read()
154 return reinterpret_cast<const T*>(file_.data() + offset); in Read()
158 ArrayRef<const T> Read(size_t offset, size_t count) { in Read() argument
159 DCHECK_LE(offset + count * sizeof(T), file_.size()); in Read()
160 return ArrayRef<const T>(Read<T>(offset), count); in Read()