Searched refs:fTotalSize (Results 1 – 4 of 4) sorted by relevance
25 size_t modHead = head & (fTotalSize - 1); in getAllocationOffset()26 size_t modTail = tail & (fTotalSize - 1); in getAllocationOffset()31 return fTotalSize; in getAllocationOffset()37 if (fTotalSize - modHead < size) { in getAllocationOffset()41 return fTotalSize; in getAllocationOffset()44 head += fTotalSize - modHead; in getAllocationOffset()50 return fTotalSize; in getAllocationOffset()60 if (offset < fTotalSize) { in suballocate()65 fTotalSize *= 2; in suballocate()69 fCurrentBuffer = resourceProvider->createBuffer(fTotalSize, fType, kDynamic_GrAccessPattern); in suballocate()[all …]
27 , fTotalSize(size) in GrRingBuffer()47 size_t size() const { return fTotalSize; } in size()61 size_t fTotalSize; variable
49 : fTotalSize(data->size()) in HaltingStream()55 fLimit = std::min(fTotalSize, fLimit + extra); in addNewData()79 bool isAllDataReceived() const { return fLimit == fTotalSize; } in isAllDataReceived()82 const size_t fTotalSize;
49 : fTotalSize(data->size()) in HaltingStream()55 fLimit = SkTMin(fTotalSize, fLimit + extra); in addNewData()79 bool isAllDataReceived() const { return fLimit == fTotalSize; } in isAllDataReceived()82 const size_t fTotalSize;