Lines Matching refs:offset
162 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn32() argument
163 DCHECK_LE(offset + 4u, code->size()); in SetInsn32()
164 DCHECK_ALIGNED(offset, 2u); in SetInsn32()
165 uint8_t* addr = &(*code)[offset]; in SetInsn32()
172 uint32_t Thumb2RelativePatcher::GetInsn32(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn32() argument
173 DCHECK_LE(offset + 4u, code.size()); in GetInsn32()
174 DCHECK_ALIGNED(offset, 2u); in GetInsn32()
175 const uint8_t* addr = &code[offset]; in GetInsn32()
184 uint32_t Thumb2RelativePatcher::GetInsn32(Vector* code, uint32_t offset) { in GetInsn32() argument
186 return GetInsn32(ArrayRef<const uint8_t>(*code), offset); in GetInsn32()
189 uint32_t Thumb2RelativePatcher::GetInsn16(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn16() argument
190 DCHECK_LE(offset + 2u, code.size()); in GetInsn16()
191 DCHECK_ALIGNED(offset, 2u); in GetInsn16()
192 const uint8_t* addr = &code[offset]; in GetInsn16()
197 uint32_t Thumb2RelativePatcher::GetInsn16(Vector* code, uint32_t offset) { in GetInsn16() argument
199 return GetInsn16(ArrayRef<const uint8_t>(*code), offset); in GetInsn16()