Searched refs:fTotalSize (Results 1 – 6 of 6) 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()61 if (offset < fTotalSize) { in suballocate()66 fTotalSize *= 2; in suballocate()72 fCurrentBuffer = resourceProvider->createBuffer(fTotalSize, fType, kDynamic_GrAccessPattern); in suballocate()[all …]
27 , fTotalSize(size) in GrRingBuffer()48 size_t size() const { return fTotalSize; } in size()62 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;
95 fTotalSize = 0; in ~BufferSuballocator()100 size_t size() { return fTotalSize; } in size()104 size_t fTotalSize; variable
195 , fTotalSize(size) function214 size_t modHead = head & (fTotalSize - 1);215 size_t modTail = tail & (fTotalSize - 1);221 if (full || size > fTotalSize/2) {228 if (fTotalSize - modHead < size) {235 head += fTotalSize - modHead;