Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrTRecorder.h96 return &ptr[length_of<TItem>::kValue]; in GetDataForItem()
100 return &ptr[length_of<TItem>::kValue]; in GetDataForItem()
104 template<typename TItem> struct length_of { struct
120 sk_malloc_throw(sizeof(TAlign) * (length_of<MemBlock>::kValue + length))); in Alloc() argument
146 return reinterpret_cast<TAlign*>(this)[length_of<MemBlock>::kValue + i];
175 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue); in pop_back()
194 &(*fTailBlock)[fTailBlock->fBack - lastItemLength + length_of<Header>::kValue]); in pop_back()
205 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue); in alloc_back()
209 const int totalLength = length_of<Header>::kValue + length_of<TItem>::kValue + dataLength; in alloc_back()
225 &(*fTailBlock)[fTailBlock->fBack + length_of<Header>::kValue]); in alloc_back()
[all …]