Searched refs:atOffset (Results 1 – 2 of 2) sorted by relevance
30 uint32_t keyLength() const { return *this->atOffset<uint32_t, kLengthOffset>(); } in keyLength()33 uint32_t getChecksum() const { return *this->atOffset<uint32_t, kChecksumOffset>(); } in getChecksum()76 const KeyHeader& header() const { return *this->atOffset<KeyHeader, kHeaderOffset>(); } in header()79 template<typename T, size_t OFFSET> T* atOffset() { in atOffset() function83 template<typename T, size_t OFFSET> const T* atOffset() const { in atOffset() function90 *(this->atOffset<uint32_t, GrProgramDesc::kLengthOffset>()) = SkToU32(keyLength); in finalize()92 uint32_t* checksum = this->atOffset<uint32_t, GrProgramDesc::kChecksumOffset>(); in finalize()
137 KeyHeader* header = glDesc->atOffset<KeyHeader, kHeaderOffset>(); in Build()