Lines Matching refs:offset
185 void OatHeader::SetInterpreterToInterpreterBridgeOffset(uint32_t offset) { in SetInterpreterToInterpreterBridgeOffset() argument
186 CHECK(offset == 0 || offset >= executable_offset_); in SetInterpreterToInterpreterBridgeOffset()
188 DCHECK_EQ(interpreter_to_interpreter_bridge_offset_, 0U) << offset; in SetInterpreterToInterpreterBridgeOffset()
190 interpreter_to_interpreter_bridge_offset_ = offset; in SetInterpreterToInterpreterBridgeOffset()
191 UpdateChecksum(&interpreter_to_interpreter_bridge_offset_, sizeof(offset)); in SetInterpreterToInterpreterBridgeOffset()
204 void OatHeader::SetInterpreterToCompiledCodeBridgeOffset(uint32_t offset) { in SetInterpreterToCompiledCodeBridgeOffset() argument
205 CHECK(offset == 0 || offset >= interpreter_to_interpreter_bridge_offset_); in SetInterpreterToCompiledCodeBridgeOffset()
207 DCHECK_EQ(interpreter_to_compiled_code_bridge_offset_, 0U) << offset; in SetInterpreterToCompiledCodeBridgeOffset()
209 interpreter_to_compiled_code_bridge_offset_ = offset; in SetInterpreterToCompiledCodeBridgeOffset()
210 UpdateChecksum(&interpreter_to_compiled_code_bridge_offset_, sizeof(offset)); in SetInterpreterToCompiledCodeBridgeOffset()
223 void OatHeader::SetJniDlsymLookupOffset(uint32_t offset) { in SetJniDlsymLookupOffset() argument
224 CHECK(offset == 0 || offset >= interpreter_to_compiled_code_bridge_offset_); in SetJniDlsymLookupOffset()
226 DCHECK_EQ(jni_dlsym_lookup_offset_, 0U) << offset; in SetJniDlsymLookupOffset()
228 jni_dlsym_lookup_offset_ = offset; in SetJniDlsymLookupOffset()
229 UpdateChecksum(&jni_dlsym_lookup_offset_, sizeof(offset)); in SetJniDlsymLookupOffset()
242 void OatHeader::SetPortableImtConflictTrampolineOffset(uint32_t offset) { in SetPortableImtConflictTrampolineOffset() argument
243 CHECK(offset == 0 || offset >= jni_dlsym_lookup_offset_); in SetPortableImtConflictTrampolineOffset()
245 DCHECK_EQ(portable_imt_conflict_trampoline_offset_, 0U) << offset; in SetPortableImtConflictTrampolineOffset()
247 portable_imt_conflict_trampoline_offset_ = offset; in SetPortableImtConflictTrampolineOffset()
248 UpdateChecksum(&portable_imt_conflict_trampoline_offset_, sizeof(offset)); in SetPortableImtConflictTrampolineOffset()
261 void OatHeader::SetPortableResolutionTrampolineOffset(uint32_t offset) { in SetPortableResolutionTrampolineOffset() argument
262 CHECK(offset == 0 || offset >= portable_imt_conflict_trampoline_offset_); in SetPortableResolutionTrampolineOffset()
264 DCHECK_EQ(portable_resolution_trampoline_offset_, 0U) << offset; in SetPortableResolutionTrampolineOffset()
266 portable_resolution_trampoline_offset_ = offset; in SetPortableResolutionTrampolineOffset()
267 UpdateChecksum(&portable_resolution_trampoline_offset_, sizeof(offset)); in SetPortableResolutionTrampolineOffset()
280 void OatHeader::SetPortableToInterpreterBridgeOffset(uint32_t offset) { in SetPortableToInterpreterBridgeOffset() argument
281 CHECK(offset == 0 || offset >= portable_resolution_trampoline_offset_); in SetPortableToInterpreterBridgeOffset()
283 DCHECK_EQ(portable_to_interpreter_bridge_offset_, 0U) << offset; in SetPortableToInterpreterBridgeOffset()
285 portable_to_interpreter_bridge_offset_ = offset; in SetPortableToInterpreterBridgeOffset()
286 UpdateChecksum(&portable_to_interpreter_bridge_offset_, sizeof(offset)); in SetPortableToInterpreterBridgeOffset()
299 void OatHeader::SetQuickGenericJniTrampolineOffset(uint32_t offset) { in SetQuickGenericJniTrampolineOffset() argument
300 CHECK(offset == 0 || offset >= portable_to_interpreter_bridge_offset_); in SetQuickGenericJniTrampolineOffset()
302 DCHECK_EQ(quick_generic_jni_trampoline_offset_, 0U) << offset; in SetQuickGenericJniTrampolineOffset()
304 quick_generic_jni_trampoline_offset_ = offset; in SetQuickGenericJniTrampolineOffset()
305 UpdateChecksum(&quick_generic_jni_trampoline_offset_, sizeof(offset)); in SetQuickGenericJniTrampolineOffset()
318 void OatHeader::SetQuickImtConflictTrampolineOffset(uint32_t offset) { in SetQuickImtConflictTrampolineOffset() argument
319 CHECK(offset == 0 || offset >= quick_generic_jni_trampoline_offset_); in SetQuickImtConflictTrampolineOffset()
321 DCHECK_EQ(quick_imt_conflict_trampoline_offset_, 0U) << offset; in SetQuickImtConflictTrampolineOffset()
323 quick_imt_conflict_trampoline_offset_ = offset; in SetQuickImtConflictTrampolineOffset()
324 UpdateChecksum(&quick_imt_conflict_trampoline_offset_, sizeof(offset)); in SetQuickImtConflictTrampolineOffset()
337 void OatHeader::SetQuickResolutionTrampolineOffset(uint32_t offset) { in SetQuickResolutionTrampolineOffset() argument
338 CHECK(offset == 0 || offset >= quick_imt_conflict_trampoline_offset_); in SetQuickResolutionTrampolineOffset()
340 DCHECK_EQ(quick_resolution_trampoline_offset_, 0U) << offset; in SetQuickResolutionTrampolineOffset()
342 quick_resolution_trampoline_offset_ = offset; in SetQuickResolutionTrampolineOffset()
343 UpdateChecksum(&quick_resolution_trampoline_offset_, sizeof(offset)); in SetQuickResolutionTrampolineOffset()
356 void OatHeader::SetQuickToInterpreterBridgeOffset(uint32_t offset) { in SetQuickToInterpreterBridgeOffset() argument
357 CHECK(offset == 0 || offset >= quick_resolution_trampoline_offset_); in SetQuickToInterpreterBridgeOffset()
359 DCHECK_EQ(quick_to_interpreter_bridge_offset_, 0U) << offset; in SetQuickToInterpreterBridgeOffset()
361 quick_to_interpreter_bridge_offset_ = offset; in SetQuickToInterpreterBridgeOffset()
362 UpdateChecksum(&quick_to_interpreter_bridge_offset_, sizeof(offset)); in SetQuickToInterpreterBridgeOffset()