/external/skqp/src/core/ |
D | SkTInternalLList.h | 45 , fTail(nullptr) { in SkTInternalLList() 50 fTail = nullptr; in reset() 54 SkASSERT(fHead && fTail); in remove() 68 fTail = prev; in remove() 89 if (nullptr == fTail) { in addToHead() 90 fTail = entry; in addToHead() 102 entry->fPrev = fTail; in addToTail() 104 if (fTail) { in addToTail() 105 fTail->fNext = entry; in addToTail() 107 fTail = entry; in addToTail() [all …]
|
D | SkSinglyLinkedList.h | 17 SkSinglyLinkedList() : fHead(nullptr), fTail(nullptr) {} in SkSinglyLinkedList() 20 SkASSERT(fHead != nullptr || nullptr == fTail); in reset() 25 SkASSERT(next != nullptr || node == fTail); in reset() 30 fTail = nullptr; in reset() 32 T* back() { return fTail ? &fTail->fData : nullptr; } in back() 49 fTail = nullptr; in pop_front() 56 if (!fTail) { in emplace_front() 57 fTail = n; in emplace_front() 65 if (fTail) { in emplace_back() 66 fTail->fNext = n; in emplace_back() [all …]
|
D | SkArenaAllocList.h | 25 void reset() { fHead = fTail = nullptr; } in reset() 47 Iter tail() { return Iter(fTail); } in tail() 57 Node* fTail = nullptr; variable 63 SkASSERT(!fHead == !fTail); in append() 65 if (!fTail) { in append() 66 fHead = fTail = n; in append() 68 fTail = fTail->fNext = n; in append() 70 return fTail->fT; in append()
|
D | SkRWBuffer.cpp | 129 : fHead(head), fAvailable(available), fTail(tail) in SkROBuffer() 180 if (fBuffer->fTail == fBlock) { in next() 193 SkRWBuffer::SkRWBuffer(size_t initialCapacity) : fHead(nullptr), fTail(nullptr), fTotalUsed(0) { in SkRWBuffer() 196 fTail = &fHead->fBlock; in SkRWBuffer() 221 fTail = &fHead->fBlock; in append() 224 size_t written = fTail->append(src, length); in append() 231 fTail->fNext = block; in append() 232 fTail = block; in append() 233 written = fTail->append(src, length); in append() 242 fHead->validate(fTotalUsed, fTail); in validate() [all …]
|
D | SkResourceCache.cpp | 73 fTail = nullptr; in init() 204 Rec* rec = fTail; in purgeAsNeeded() 236 Rec* rec = fTail; in purgeSharedID() 265 Rec* rec = fTail; in visitAll() 308 fTail = prev; in release() 322 SkASSERT(fTail); in moveToHead() 344 if (!fTail) { in addToHead() 345 fTail = rec; in addToHead() 358 SkASSERT(nullptr == fTail); in validate() 363 if (fHead == fTail) { in validate() [all …]
|
D | SkStream.cpp | 467 : fHead(nullptr), fTail(nullptr), fBytesWrittenBeforeTail(0) in SkDynamicMemoryWStream() 481 fHead = fTail = nullptr; in reset() 488 if (fTail) { in bytesWritten() 489 return fBytesWrittenBeforeTail + fTail->written(); in bytesWritten() 498 if (fTail) { in write() 499 if (fTail->avail() > 0) { in write() 500 size = SkTMin(fTail->avail(), count); in write() 501 buffer = fTail->append(buffer, size); in write() 509 fBytesWrittenBeforeTail += fTail->written(); in write() 519 if (fTail != nullptr) in write() [all …]
|
/external/skia/src/core/ |
D | SkTInternalLList.h | 45 , fTail(nullptr) { in SkTInternalLList() 50 fTail = nullptr; in reset() 54 SkASSERT(fHead && fTail); in remove() 68 fTail = prev; in remove() 89 if (nullptr == fTail) { in addToHead() 90 fTail = entry; in addToHead() 102 entry->fPrev = fTail; in addToTail() 104 if (fTail) { in addToTail() 105 fTail->fNext = entry; in addToTail() 107 fTail = entry; in addToTail() [all …]
|
D | SkSinglyLinkedList.h | 17 SkSinglyLinkedList() : fHead(nullptr), fTail(nullptr) {} in SkSinglyLinkedList() 20 SkASSERT(fHead != nullptr || nullptr == fTail); in reset() 25 SkASSERT(next != nullptr || node == fTail); in reset() 30 fTail = nullptr; in reset() 32 T* back() { return fTail ? &fTail->fData : nullptr; } in back() 49 fTail = nullptr; in pop_front() 56 if (!fTail) { in emplace_front() 57 fTail = n; in emplace_front() 65 if (fTail) { in emplace_back() 66 fTail->fNext = n; in emplace_back() [all …]
|
D | SkArenaAllocList.h | 25 void reset() { fHead = fTail = nullptr; } in reset() 47 Iter tail() { return Iter(fTail); } in tail() 57 Node* fTail = nullptr; variable 63 SkASSERT(!fHead == !fTail); in append() 65 if (!fTail) { in append() 66 fHead = fTail = n; in append() 68 fTail = fTail->fNext = n; in append() 70 return fTail->fT; in append()
|
D | SkRWBuffer.cpp | 129 : fHead(head), fAvailable(available), fTail(tail) in SkROBuffer() 180 if (fBuffer->fTail == fBlock) { in next() 193 SkRWBuffer::SkRWBuffer(size_t initialCapacity) : fHead(nullptr), fTail(nullptr), fTotalUsed(0) { in SkRWBuffer() 196 fTail = &fHead->fBlock; in SkRWBuffer() 221 fTail = &fHead->fBlock; in append() 224 size_t written = fTail->append(src, length); in append() 231 fTail->fNext = block; in append() 232 fTail = block; in append() 233 written = fTail->append(src, length); in append() 242 fHead->validate(fTotalUsed, fTail); in validate() [all …]
|
D | SkResourceCache.cpp | 73 fTail = nullptr; in init() 204 Rec* rec = fTail; in purgeAsNeeded() 236 Rec* rec = fTail; in purgeSharedID() 265 Rec* rec = fTail; in visitAll() 308 fTail = prev; in release() 322 SkASSERT(fTail); in moveToHead() 344 if (!fTail) { in addToHead() 345 fTail = rec; in addToHead() 358 SkASSERT(nullptr == fTail); in validate() 363 if (fHead == fTail) { in validate() [all …]
|
D | SkStream.cpp | 485 : fHead(nullptr), fTail(nullptr), fBytesWrittenBeforeTail(0) in SkDynamicMemoryWStream() 499 fHead = fTail = nullptr; in reset() 506 if (fTail) { in bytesWritten() 507 return fBytesWrittenBeforeTail + fTail->written(); in bytesWritten() 516 if (fTail) { in write() 517 if (fTail->avail() > 0) { in write() 518 size = SkTMin(fTail->avail(), count); in write() 519 buffer = fTail->append(buffer, size); in write() 527 fBytesWrittenBeforeTail += fTail->written(); in write() 537 if (fTail != nullptr) in write() [all …]
|
/external/skia/src/gpu/ |
D | GrMemoryPool.cpp | 33 fTail = fHead; in GrMemoryPool() 55 SkASSERT(fHead == fTail); in ~GrMemoryPool() 64 if (fTail->fFreeSize < size) { in allocate() 69 block->fPrev = fTail; in allocate() 71 SkASSERT(nullptr == fTail->fNext); in allocate() 72 fTail->fNext = block; in allocate() 73 fTail = block; in allocate() 77 SkASSERT(kAssignedMarker == fTail->fBlockSentinal); in allocate() 78 SkASSERT(fTail->fFreeSize >= size); in allocate() 79 intptr_t ptr = fTail->fCurrPtr; in allocate() [all …]
|
D | GrTessellator.cpp | 243 VertexList() : fHead(nullptr), fTail(nullptr) {} in VertexList() 244 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList() 246 Vertex* fTail; member 248 list_insert<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, prev, next, &fHead, &fTail); in insert() 251 insert(v, fTail, nullptr); in append() 257 if (fTail) { in append() 258 fTail->fNext = list.fHead; in append() 259 list.fHead->fPrev = fTail; in append() 263 fTail = list.fTail; in append() 269 list_remove<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, &fHead, &fTail); in remove() [all …]
|
D | GrMemoryPool.h | 54 bool isEmpty() const { return fTail == fHead && !fHead->fLiveCount; } in isEmpty() 108 BlockHeader* fTail; variable
|
/external/skqp/src/gpu/ |
D | GrMemoryPool.cpp | 33 fTail = fHead; in GrMemoryPool() 55 SkASSERT(fHead == fTail); in ~GrMemoryPool() 64 if (fTail->fFreeSize < size) { in allocate() 69 block->fPrev = fTail; in allocate() 71 SkASSERT(nullptr == fTail->fNext); in allocate() 72 fTail->fNext = block; in allocate() 73 fTail = block; in allocate() 77 SkASSERT(kAssignedMarker == fTail->fBlockSentinal); in allocate() 78 SkASSERT(fTail->fFreeSize >= size); in allocate() 79 intptr_t ptr = fTail->fCurrPtr; in allocate() [all …]
|
D | GrTessellator.cpp | 243 VertexList() : fHead(nullptr), fTail(nullptr) {} in VertexList() 244 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList() 246 Vertex* fTail; member 248 list_insert<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, prev, next, &fHead, &fTail); in insert() 251 insert(v, fTail, nullptr); in append() 257 if (fTail) { in append() 258 fTail->fNext = list.fHead; in append() 259 list.fHead->fPrev = fTail; in append() 263 fTail = list.fTail; in append() 269 list_remove<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, &fHead, &fTail); in remove() [all …]
|
/external/skia/src/shaders/gradients/ |
D | SkGradientBitmapCache.cpp | 39 fHead = fTail = nullptr; in SkGradientBitmapCache() 64 SkASSERT(fTail != entry); in release() 67 SkASSERT(fTail == entry); in release() 68 fTail = entry->fPrev; in release() 79 fTail = entry; in attachToHead() 107 SkASSERT(fTail); in add() 108 delete this->release(fTail); in add() 126 SkASSERT(nullptr == fTail->fNext); in validate() 129 SkASSERT(fHead == fTail); in validate() 131 SkASSERT(fHead != fTail); in validate() [all …]
|
/external/skqp/src/shaders/gradients/ |
D | SkGradientBitmapCache.cpp | 39 fHead = fTail = nullptr; in SkGradientBitmapCache() 64 SkASSERT(fTail != entry); in release() 67 SkASSERT(fTail == entry); in release() 68 fTail = entry->fPrev; in release() 79 fTail = entry; in attachToHead() 107 SkASSERT(fTail); in add() 108 delete this->release(fTail); in add() 126 SkASSERT(nullptr == fTail->fNext); in validate() 129 SkASSERT(fHead == fTail); in validate() 131 SkASSERT(fHead != fTail); in validate() [all …]
|
/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
|
D | SkOpSegment.h | 64 angle->set(&fTail, fTail.prev()); in addEndSpan() 65 fTail.setFromAngle(angle); in addEndSpan() 269 fTail.ptT()->addOpp(start->fHead.ptT(), start->fHead.ptT()); in joinEnds() 388 return &fTail; in tail() 392 return &fTail; in tail() 430 SkOpSpanBase fTail; // the tail span always has its t set to one 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
|
D | SkOpSegment.h | 64 angle->set(&fTail, fTail.prev()); in addEndSpan() 65 fTail.setFromAngle(angle); in addEndSpan() 269 fTail.ptT()->addOpp(start->fHead.ptT(), start->fHead.ptT()); in joinEnds() 388 return &fTail; in tail() 392 return &fTail; in tail() 430 SkOpSpanBase fTail; // the tail span always has its t set to one 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
|