Home
last modified time | relevance | path

Searched refs:atOffset (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/
DGrProgramDesc.h55 uint32_t keyLength() const { return *this->atOffset<uint32_t, kLengthOffset>(); } in keyLength()
58 uint32_t getChecksum() const { return *this->atOffset<uint32_t, kChecksumOffset>(); } in getChecksum()
85 KeyHeader* header = this->atOffset<KeyHeader, kHeaderOffset>(); in setSurfaceOriginKey()
116 const KeyHeader& header() const { return *this->atOffset<KeyHeader, kHeaderOffset>(); } in header()
121 *(this->atOffset<uint32_t, GrProgramDesc::kLengthOffset>()) = SkToU32(keyLength); in finalize()
123 uint32_t* checksum = this->atOffset<uint32_t, GrProgramDesc::kChecksumOffset>(); in finalize()
129 template<typename T, size_t OFFSET> T* atOffset() { in atOffset() function
133 template<typename T, size_t OFFSET> const T* atOffset() const { in atOffset() function
DGrProgramDesc.cpp194 KeyHeader* header = desc->atOffset<KeyHeader, kHeaderOffset>(); in Build()
/external/skqp/src/gpu/
DGrProgramDesc.h55 uint32_t keyLength() const { return *this->atOffset<uint32_t, kLengthOffset>(); } in keyLength()
58 uint32_t getChecksum() const { return *this->atOffset<uint32_t, kChecksumOffset>(); } in getChecksum()
85 KeyHeader* header = this->atOffset<KeyHeader, kHeaderOffset>(); in setSurfaceOriginKey()
119 const KeyHeader& header() const { return *this->atOffset<KeyHeader, kHeaderOffset>(); } in header()
124 *(this->atOffset<uint32_t, GrProgramDesc::kLengthOffset>()) = SkToU32(keyLength); in finalize()
126 uint32_t* checksum = this->atOffset<uint32_t, GrProgramDesc::kChecksumOffset>(); in finalize()
132 template<typename T, size_t OFFSET> T* atOffset() { in atOffset() function
136 template<typename T, size_t OFFSET> const T* atOffset() const { in atOffset() function
DGrProgramDesc.cpp200 KeyHeader* header = desc->atOffset<KeyHeader, kHeaderOffset>(); in Build()
/external/parameter-framework/upstream/parameter/
DParameterBlackboard.cpp53 auto dest_first = atOffset(offset); in writeInteger()
62 auto first = atOffset(offset); in readInteger()
73 auto dest_last = std::copy(begin(input), end(input), atOffset(offset)); in writeString()
102 std::copy(begin(bytes), end(bytes), atOffset(offset)); in writeBytes()
109 std::copy_n(atOffset(offset), bytes.size(), begin(bytes)); in readBytes()
124 std::copy(begin(fromBB), end(fromBB), atOffset(offset)); in restoreFrom()
131 std::copy_n(atOffset(offset), toBB.size(), begin(toBB)); in saveTo()
DParameterBlackboard.h98 Blackboard::iterator atOffset(size_t offset) { return begin(mBlackboard) + offset; } in atOffset() function
99 Blackboard::const_iterator atOffset(size_t offset) const { return begin(mBlackboard) + offset; } in atOffset() function