/external/skia/include/private/ |
D | SkTInternalLList.h | 46 , fTail(nullptr) { in SkTInternalLList() 51 fTail = nullptr; in reset() 55 SkASSERT(fHead && fTail); in remove() 69 fTail = prev; in remove() 90 if (nullptr == fTail) { in addToHead() 91 fTail = entry; in addToHead() 103 entry->fPrev = fTail; in addToTail() 105 if (fTail) { in addToTail() 106 fTail->fNext = entry; in addToTail() 108 fTail = entry; in addToTail() [all …]
|
/external/skqp/include/private/ |
D | SkTInternalLList.h | 46 , fTail(nullptr) { in SkTInternalLList() 51 fTail = nullptr; in reset() 55 SkASSERT(fHead && fTail); in remove() 69 fTail = prev; in remove() 90 if (nullptr == fTail) { in addToHead() 91 fTail = entry; in addToHead() 103 entry->fPrev = fTail; in addToTail() 105 if (fTail) { in addToTail() 106 fTail->fNext = entry; in addToTail() 108 fTail = entry; in addToTail() [all …]
|
/external/skqp/src/gpu/ |
D | GrMemoryPool.cpp | 41 fTail = fHead; in GrMemoryPool() 63 SkASSERT(fHead == fTail); in ~GrMemoryPool() 72 if (fTail->fFreeSize < size) { in allocate() 77 block->fPrev = fTail; in allocate() 79 SkASSERT(nullptr == fTail->fNext); in allocate() 80 fTail->fNext = block; in allocate() 81 fTail = block; in allocate() 85 SkASSERT(kAssignedMarker == fTail->fBlockSentinal); in allocate() 86 SkASSERT(fTail->fFreeSize >= size); in allocate() 87 intptr_t ptr = fTail->fCurrPtr; in allocate() [all …]
|
D | GrResourceAllocator.cpp | 127 fTail = nullptr; in popHead() 143 fHead = fTail = intvl; in insertByIncreasingStart() 148 } else if (fTail->start() <= intvl->start()) { in insertByIncreasingStart() 150 fTail->setNext(intvl); in insertByIncreasingStart() 151 fTail = intvl; in insertByIncreasingStart() 174 fHead = fTail = intvl; in insertByIncreasingEnd() 179 } else if (fTail->end() <= intvl->end()) { in insertByIncreasingEnd() 181 fTail->setNext(intvl); in insertByIncreasingEnd() 182 fTail = intvl; in insertByIncreasingEnd() 200 SkASSERT(SkToBool(fHead) == SkToBool(fTail)); in validate() [all …]
|
D | GrTessellator.cpp | 228 VertexList() : fHead(nullptr), fTail(nullptr) {} in VertexList() 229 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList() 231 Vertex* fTail; member 233 list_insert<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, prev, next, &fHead, &fTail); in insert() 236 insert(v, fTail, nullptr); in append() 242 if (fTail) { in append() 243 fTail->fNext = list.fHead; in append() 244 list.fHead->fPrev = fTail; in append() 248 fTail = list.fTail; in append() 254 list_remove<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, &fHead, &fTail); in remove() [all …]
|
/external/skia/src/gpu/ |
D | GrMemoryPool.cpp | 41 fTail = fHead; in GrMemoryPool() 63 SkASSERT(fHead == fTail); in ~GrMemoryPool() 72 if (fTail->fFreeSize < size) { in allocate() 77 block->fPrev = fTail; in allocate() 79 SkASSERT(nullptr == fTail->fNext); in allocate() 80 fTail->fNext = block; in allocate() 81 fTail = block; in allocate() 85 SkASSERT(kAssignedMarker == fTail->fBlockSentinal); in allocate() 86 SkASSERT(fTail->fFreeSize >= size); in allocate() 87 intptr_t ptr = fTail->fCurrPtr; in allocate() [all …]
|
D | GrResourceAllocator.cpp | 127 fTail = nullptr; in popHead() 143 fHead = fTail = intvl; in insertByIncreasingStart() 148 } else if (fTail->start() <= intvl->start()) { in insertByIncreasingStart() 150 fTail->setNext(intvl); in insertByIncreasingStart() 151 fTail = intvl; in insertByIncreasingStart() 174 fHead = fTail = intvl; in insertByIncreasingEnd() 179 } else if (fTail->end() <= intvl->end()) { in insertByIncreasingEnd() 181 fTail->setNext(intvl); in insertByIncreasingEnd() 182 fTail = intvl; in insertByIncreasingEnd() 200 SkASSERT(SkToBool(fHead) == SkToBool(fTail)); in validate() [all …]
|
D | GrTessellator.cpp | 228 VertexList() : fHead(nullptr), fTail(nullptr) {} in VertexList() 229 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList() 231 Vertex* fTail; member 233 list_insert<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, prev, next, &fHead, &fTail); in insert() 236 insert(v, fTail, nullptr); in append() 242 if (fTail) { in append() 243 fTail->fNext = list.fHead; in append() 244 list.fHead->fPrev = fTail; in append() 248 fTail = list.fTail; in append() 254 list_remove<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, &fHead, &fTail); in remove() [all …]
|
D | GrRenderTargetOpList.cpp | 42 : fHead(std::move(op)), fTail(fHead.get()) { in List() 51 fTail = that.fTail; in operator =() 52 that.fTail = nullptr; in operator =() 62 SkASSERT(fTail == temp.get()); in popHead() 63 fTail = nullptr; in popHead() 83 SkASSERT(fTail == op); in removeOp() 84 fTail = prev; in removeOp() 99 fTail = fHead.get(); in pushHead() 105 fTail->chainConcat(std::move(op)); in pushTail() 106 fTail = fTail->nextInChain(); in pushTail() [all …]
|
/external/skia/src/core/ |
D | SkStream.cpp | 481 , fTail(other.fTail) in SkDynamicMemoryWStream() 485 other.fTail = nullptr; in SkDynamicMemoryWStream() 508 fHead = fTail = nullptr; in reset() 515 if (fTail) { in bytesWritten() 516 return fBytesWrittenBeforeTail + fTail->written(); in bytesWritten() 526 if (fTail) { in write() 527 if (fTail->avail() > 0) { in write() 528 size = SkTMin(fTail->avail(), count); in write() 529 buffer = fTail->append(buffer, size); in write() 537 fBytesWrittenBeforeTail += fTail->written(); in write() [all …]
|
D | SkArenaAllocList.h | 26 void reset() { fHead = fTail = nullptr; } in reset() 48 Iter tail() { return Iter(fTail); } in tail() 58 Node* fTail = nullptr; variable 64 SkASSERT(!fHead == !fTail); in append() 66 if (!fTail) { in append() 67 fHead = fTail = n; in append() 69 fTail = fTail->fNext = n; in append() 71 return fTail->fT; in append()
|
D | SkRWBuffer.cpp | 130 : fHead(head), fAvailable(available), fTail(tail) in SkROBuffer() 181 if (fBuffer->fTail == fBlock) { in next() 194 SkRWBuffer::SkRWBuffer(size_t initialCapacity) : fHead(nullptr), fTail(nullptr), fTotalUsed(0) { in SkRWBuffer() 197 fTail = &fHead->fBlock; in SkRWBuffer() 222 fTail = &fHead->fBlock; in append() 225 size_t written = fTail->append(src, length); in append() 232 fTail->fNext = block; in append() 233 fTail = block; in append() 234 written = fTail->append(src, length); in append() 243 fHead->validate(fTotalUsed, fTail); in validate() [all …]
|
D | SkResourceCache.cpp | 82 fTail = nullptr; in init() 213 Rec* rec = fTail; in purgeAsNeeded() 245 Rec* rec = fTail; in purgeSharedID() 274 Rec* rec = fTail; in visitAll() 317 fTail = prev; in release() 331 SkASSERT(fTail); in moveToHead() 353 if (!fTail) { in addToHead() 354 fTail = rec; in addToHead() 367 SkASSERT(nullptr == fTail); in validate() 372 if (fHead == fTail) { in validate() [all …]
|
/external/skqp/src/core/ |
D | SkStream.cpp | 481 , fTail(other.fTail) in SkDynamicMemoryWStream() 485 other.fTail = nullptr; in SkDynamicMemoryWStream() 508 fHead = fTail = nullptr; in reset() 515 if (fTail) { in bytesWritten() 516 return fBytesWrittenBeforeTail + fTail->written(); in bytesWritten() 526 if (fTail) { in write() 527 if (fTail->avail() > 0) { in write() 528 size = SkTMin(fTail->avail(), count); in write() 529 buffer = fTail->append(buffer, size); in write() 537 fBytesWrittenBeforeTail += fTail->written(); in write() [all …]
|
D | SkArenaAllocList.h | 26 void reset() { fHead = fTail = nullptr; } in reset() 48 Iter tail() { return Iter(fTail); } in tail() 58 Node* fTail = nullptr; variable 64 SkASSERT(!fHead == !fTail); in append() 66 if (!fTail) { in append() 67 fHead = fTail = n; in append() 69 fTail = fTail->fNext = n; in append() 71 return fTail->fT; in append()
|
D | SkRWBuffer.cpp | 130 : fHead(head), fAvailable(available), fTail(tail) in SkROBuffer() 181 if (fBuffer->fTail == fBlock) { in next() 194 SkRWBuffer::SkRWBuffer(size_t initialCapacity) : fHead(nullptr), fTail(nullptr), fTotalUsed(0) { in SkRWBuffer() 197 fTail = &fHead->fBlock; in SkRWBuffer() 222 fTail = &fHead->fBlock; in append() 225 size_t written = fTail->append(src, length); in append() 232 fTail->fNext = block; in append() 233 fTail = block; in append() 234 written = fTail->append(src, length); in append() 243 fHead->validate(fTotalUsed, fTail); in validate() [all …]
|
D | SkResourceCache.cpp | 82 fTail = nullptr; in init() 213 Rec* rec = fTail; in purgeAsNeeded() 245 Rec* rec = fTail; in purgeSharedID() 274 Rec* rec = fTail; in visitAll() 317 fTail = prev; in release() 331 SkASSERT(fTail); in moveToHead() 353 if (!fTail) { in addToHead() 354 fTail = rec; in addToHead() 367 SkASSERT(nullptr == fTail); in validate() 372 if (fHead == fTail) { in validate() [all …]
|
/external/skqp/src/gpu/gradients/ |
D | GrGradientBitmapCache.cpp | 46 fHead = fTail = nullptr; in GrGradientBitmapCache() 71 SkASSERT(fTail != entry); in release() 74 SkASSERT(fTail == entry); in release() 75 fTail = entry->fPrev; in release() 86 fTail = entry; in attachToHead() 114 SkASSERT(fTail); in add() 115 delete this->release(fTail); in add() 221 SkASSERT(nullptr == fTail->fNext); in validate() 224 SkASSERT(fHead == fTail); in validate() 226 SkASSERT(fHead != fTail); in validate() [all …]
|
/external/skia/src/gpu/gradients/ |
D | GrGradientBitmapCache.cpp | 46 fHead = fTail = nullptr; in GrGradientBitmapCache() 71 SkASSERT(fTail != entry); in release() 74 SkASSERT(fTail == entry); in release() 75 fTail = entry->fPrev; in release() 86 fTail = entry; in attachToHead() 114 SkASSERT(fTail); in add() 115 delete this->release(fTail); in add() 221 SkASSERT(nullptr == fTail->fNext); in validate() 224 SkASSERT(fHead == fTail); in validate() 226 SkASSERT(fHead != fTail); in validate() [all …]
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCSTLList.h | 38 T* nextTail = (&right.fHead == right.fTail) ? nullptr : right.fTail; in append() 44 right.fTail = &right.fHead; in append() 46 fTail->fNext = newRightHead; in append() 47 fTail = !nextTail ? newRightHead : nextTail; in append() 63 T* fTail = &fHead; variable
|
/external/skia/src/gpu/ccpr/ |
D | GrCCSTLList.h | 38 T* nextTail = (&right.fHead == right.fTail) ? nullptr : right.fTail; in append() 44 right.fTail = &right.fHead; in append() 46 fTail->fNext = newRightHead; in append() 47 fTail = !nextTail ? newRightHead : nextTail; in append() 63 T* fTail = &fHead; variable
|
/external/skia/src/pathops/ |
D | SkOpContour.h | 50 result->setPrev(fTail); in appendSegment() 51 if (fTail) { in appendSegment() 52 fTail->setNext(result); in appendSegment() 54 fTail = result; in appendSegment() 143 SkASSERT(prior == fTail); in debugValidate() 171 return fTail->pts()[SkPathOpsVerbToPoints(fTail->verb())]; in end() 280 fTail = nullptr; in reset() 356 const SkOpSegment* segment = fTail; in toPartialBackward() 376 SkOpSegment* fTail; variable
|
/external/skqp/src/pathops/ |
D | SkOpContour.h | 50 result->setPrev(fTail); in appendSegment() 51 if (fTail) { in appendSegment() 52 fTail->setNext(result); in appendSegment() 54 fTail = result; in appendSegment() 143 SkASSERT(prior == fTail); in debugValidate() 171 return fTail->pts()[SkPathOpsVerbToPoints(fTail->verb())]; in end() 280 fTail = nullptr; in reset() 356 const SkOpSegment* segment = fTail; in toPartialBackward() 376 SkOpSegment* fTail; variable
|
/external/skqp/include/core/ |
D | SkRWBuffer.h | 61 SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* fTail); 66 const SkBufferBlock* fTail; variable 94 return sk_sp<SkROBuffer>(new SkROBuffer(fHead, fTotalUsed, fTail)); in makeROBufferSnapshot() 107 SkBufferBlock* fTail; variable
|
/external/skia/include/core/ |
D | SkRWBuffer.h | 61 SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* fTail); 66 const SkBufferBlock* fTail; variable 94 return sk_sp<SkROBuffer>(new SkROBuffer(fHead, fTotalUsed, fTail)); in makeROBufferSnapshot() 107 SkBufferBlock* fTail; variable
|