Searched refs:field_offset (Results 1 – 2 of 2) sorted by relevance
76 const uint32_t field_offset = 12; // offset of first_entry_ in the descriptor struct. in ReadEntryPtr32() local77 if (!memory_->ReadFully(addr + field_offset, &entry, sizeof(entry))) { in ReadEntryPtr32()85 const uint32_t field_offset = 16; // offset of first_entry_ in the descriptor struct. in ReadEntryPtr64() local86 if (!memory_->ReadFully(addr + field_offset, &entry, sizeof(entry))) { in ReadEntryPtr64()
1694 auto field_offset = GetOptionalFieldOffset(field);1695 return field_offset ? ReadScalar<T>(data_ + field_offset) : defaultval;1699 auto field_offset = GetOptionalFieldOffset(field);1700 auto p = data_ + field_offset;1701 return field_offset1710 auto field_offset = GetOptionalFieldOffset(field);1711 auto p = const_cast<uint8_t *>(data_ + field_offset);1712 return field_offset ? reinterpret_cast<P>(p) : nullptr;1716 auto field_offset = GetOptionalFieldOffset(field);1717 if (!field_offset) return false;[all …]