Lines Matching refs:native_offset
50 void AddEntry(uint32_t native_offset, const uint8_t* references) { in AddEntry() argument
51 size_t table_index = TableIndex(native_offset); in AddEntry()
56 SetCodeOffset(table_index, native_offset); in AddEntry()
57 DCHECK_EQ(native_offset, GetCodeOffset(table_index)); in AddEntry()
62 size_t TableIndex(uint32_t native_offset) { in TableIndex() argument
63 return NativePcOffsetToReferenceMap::Hash(native_offset) % entries_; in TableIndex()
67 uint32_t native_offset = 0; in GetCodeOffset() local
70 native_offset |= table_[table_offset + i] << (i * 8); in GetCodeOffset()
72 return native_offset; in GetCodeOffset()
75 void SetCodeOffset(size_t table_index, uint32_t native_offset) { in SetCodeOffset() argument
78 table_[table_offset + i] = (native_offset >> (i * 8)) & 0xFF; in SetCodeOffset()