Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrTRecorder.h95 return &ptr[length_of<TItem>::kValue]; in GetDataForItem()
99 return &ptr[length_of<TItem>::kValue]; in GetDataForItem()
103 template<typename TItem> struct length_of { struct
119 sk_malloc_throw(sizeof(TAlign) * (length_of<MemBlock>::kValue + length))); in Alloc() argument
145 return reinterpret_cast<TAlign*>(this)[length_of<MemBlock>::kValue + i];
174 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue); in pop_back()
192 fLastItem = &(*fTailBlock)[fTailBlock->fBack - lastItemLength + length_of<Header>::kValue]; in pop_back()
203 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue); in alloc_back()
207 const int totalLength = length_of<Header>::kValue + length_of<TItem>::kValue + dataLength; in alloc_back()
222 void* rawPtr = &(*fTailBlock)[fTailBlock->fBack + length_of<Header>::kValue]; in alloc_back()
[all …]