Lines Matching refs:offset
56 T get(unsigned offset, bool littleEndian, bool* status = 0)
59 if (offset + sizeof(T) > byteLength()) {
65 ASSERT_WITH_SECURITY_IMPLICATION(offset + sizeof(T) <= byteLength());
67 *reinterpret_cast<T*>(static_cast<uint8_t*>(m_baseAddress) + offset),
72 T read(unsigned& offset, bool littleEndian, bool* status = 0)
74 T result = this->template get<T>(offset, littleEndian, status);
76 offset += sizeof(T);
81 void set(unsigned offset, T value, bool littleEndian, bool* status = 0)
84 if (offset + sizeof(T) > byteLength()) {
90 ASSERT_WITH_SECURITY_IMPLICATION(offset + sizeof(T) <= byteLength());
91 *reinterpret_cast<T*>(static_cast<uint8_t*>(m_baseAddress) + offset) =