• Home
  • Raw
  • Download

Lines Matching full:offset

95     const uint8_t *GetPointer(int32_t offset) const  in GetPointer()  argument
98 return pc_ + offset; in GetPointer()
112 T Read(size_t offset) const in Read() argument
115 return *reinterpret_cast<unaligned_type *>(GetPointer(offset)); in Read()
118 void Write(uint32_t value, uint32_t offset, uint32_t width) in Write() argument
120 auto *dst = const_cast<uint8_t *>(GetPointer(offset)); in Write()
122 … LOG(FATAL, PANDAFILE) << "Cannot write value : " << value << "at the dst offset : " << offset; in Write()
126 uint8_t ReadByte(size_t offset) const in ReadByte() argument
128 return Read<uint8_t>(offset); in ReadByte()
146 const uint8_t *GetPointer(int32_t offset) const in GetPointer() argument
148 return GetPointer(offset, 1); in GetPointer()
158 const uint8_t *GetPointer(int32_t offset, size_t size) const in GetPointer() argument
161 const uint8_t *ptr_from = pc_ + offset; in GetPointer()
197 T Read(size_t offset) const in Read() argument
200 auto ptr = reinterpret_cast<unaligned_type *>(GetPointer(offset, sizeof(T))); in Read()
285 auto JumpTo(int32_t offset) const -> std::enable_if_t<M == BytecodeInstMode::FAST, BytecodeInst>
287 return BytecodeInst(Base::GetPointer(offset));
291 auto JumpTo(int32_t offset) const -> std::enable_if_t<M == BytecodeInstMode::SAFE, BytecodeInst>
296 const uint8_t *ptr = Base::GetPointer(offset);
354 uint8_t ReadByte(size_t offset) const in ReadByte() argument
356 return Base::template Read<uint8_t>(offset); in ReadByte()
360 auto ReadHelper(size_t byteoffset, size_t bytecount, size_t offset, size_t width) const;
362 template <size_t offset, size_t width, bool is_signed = false>
366 auto Read64(size_t offset, size_t width) const;