Lines Matching refs:TBase
29 template <typename TBase> class GrTRecorder {
52 TBase& back() { in back()
86 SK_WHEN((std::is_base_of<TBase, TItem>::value), TItem&)
94 TBase* get() const { return reinterpret_cast<TBase*>(const_cast<Header*>(this) + 1); } in get()
104 template <typename TBase>
106 inline SK_WHEN((std::is_base_of<TBase, TItem>::value), TItem&)
107 GrTRecorder<TBase>::emplaceWithData(size_t extraDataSize, Args... args) { in emplaceWithData()
129 reinterpret_cast<uintptr_t>(static_cast<TBase*>(item))); in emplaceWithData()
133 template <typename TBase> inline void GrTRecorder<TBase>::reset() { in reset()
135 i.~TBase(); in reset()
145 template <typename TBase> template <bool IsConst> class GrTRecorder<TBase>::IterImpl {
147 using T = typename std::conditional<IsConst, const TBase, TBase>::type;
173 friend class GrTRecorder<TBase>; // To construct from Header.