/external/skia/src/base/ |
D | SkTInternalLList.h | 35 fTail = nullptr; in reset() 39 SkASSERT(fHead && fTail); in remove() 53 fTail = prev; in remove() 74 if (nullptr == fTail) { in addToHead() 75 fTail = entry; in addToHead() 87 entry->fPrev = fTail; in addToTail() 89 if (fTail) { in addToTail() 90 fTail->fNext = entry; in addToTail() 92 fTail = entry; in addToTail() 150 SkASSERT(fTail == existingEntry); in addAfter() [all …]
|
D | SkArenaAllocList.h | 28 void reset() { fHead = fTail = nullptr; } in reset() 50 Iter tail() { return Iter(fTail); } in tail() 60 Node* fTail = nullptr; variable 66 SkASSERT(!fHead == !fTail); in append() 68 if (!fTail) { in append() 69 fHead = fTail = n; in append() 71 fTail = fTail->fNext = n; in append() 73 return fTail->fT; in append()
|
D | SkBlockAllocator.cpp | 19 : fTail(&fHead) in SkBlockAllocator() 112 SkASSERT(fTail != block); in releaseBlock() 115 SkASSERT(fTail == block); in releaseBlock() 116 fTail = block->fPrev; in releaseBlock() 159 SkASSERT(other->fTail != &other->fHead); in stealHeapBlocks() 160 toSteal->fPrev = fTail; in stealHeapBlocks() 161 fTail->fNext = toSteal; in stealHeapBlocks() 162 fTail = other->fTail; in stealHeapBlocks() 164 other->fTail = &other->fHead; in stealHeapBlocks() 173 fTail = b; in reset() [all …]
|
D | SkBlockAllocator.h | 315 const Block* currentBlock() const { return fTail; } in currentBlock() 316 Block* currentBlock() { return fTail; } in currentBlock() 449 Block* fTail; // All non-head blocks are heap allocated; tail will never be null. variable 556 SkDEBUGCODE(auto oldTail = fTail;) in reserve() 558 SkASSERT(fTail != oldTail); in reserve() 561 this->releaseBlock(fTail); in reserve() 582 int offset = fTail->cursor<Align, Padding>(); in allocate() 584 if (end > fTail->fSize) { in allocate() 586 offset = fTail->cursor<Align, Padding>(); in allocate() 591 SkASSERT(end <= fTail->fSize); in allocate() [all …]
|
/external/skia/src/gpu/ganesh/geometry/ |
D | GrTriangulator.h | 241 SkASSERT(fTail && !(*fTail)); in append() 242 *fTail = alloc->make<Node>(a, b, c); in append() 243 fTail = &(*fTail)->fNext; in append() 249 SkASSERT(fTail && !(*fTail)); in concat() 251 *fTail = list.fHead; in concat() 252 fTail = list.fTail; in concat() 255 list.fTail = &list.fHead; in concat() 262 Node** fTail = &fHead; variable 312 VertexList() : fHead(nullptr), fTail(nullptr) {} in VertexList() 313 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList() [all …]
|
D | GrTriangulator.cpp | 117 list_insert<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, prev, next, &fHead, &fTail); in insert() 121 list_remove<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, &fHead, &fTail); in remove() 293 list_insert<Edge, &Edge::fLeft, &Edge::fRight>(edge, prev, next, &fHead, &fTail); in insert() 299 list_remove<Edge, &Edge::fLeft, &Edge::fRight>(edge, &fHead, &fTail); in remove() 335 while (v != vertices.fTail) { in emitMonotonePoly() 384 , fTail(nullptr) in Poly() 413 if (!fTail) { in addEdge() 414 fHead = fTail = tri->allocateMonotonePoly(e, side, fWinding); in addEdge() 416 } else if (e->fBottom == fTail->fLastEdge->fBottom) { in addEdge() 418 } else if (side == fTail->fSide) { in addEdge() [all …]
|
D | GrAATriangulator.cpp | 188 Edge* prevEdge = boundary->fTail; in simplifyBoundary() 202 prevEdge = boundary->fTail; in simplifyBoundary() 221 prevEdge = boundary->fTail; in simplifyBoundary() 420 Edge* prevEdge = boundary->fTail; in strokeBoundary() 513 if (!inversion(innerVertices.fTail, innerVertex1, prevEdge, c)) { in strokeBoundary() 516 if (!inversion(outerVertices.fTail, outerVertex1, prevEdge, c)) { in strokeBoundary() 530 if (!inversion(innerVertices.fTail, innerVertex, prevEdge, c)) { in strokeBoundary() 533 if (!inversion(outerVertices.fTail, outerVertex, prevEdge, c)) { in strokeBoundary() 546 if (!inversion(innerVertices.fTail, innerVertices.fHead, prevEdge, c)) { in strokeBoundary() 549 if (!inversion(outerVertices.fTail, outerVertices.fHead, prevEdge, c)) { in strokeBoundary() [all …]
|
/external/skia/src/core/ |
D | SkStream.cpp | 499 , fTail(other.fTail) in SkDynamicMemoryWStream() 503 other.fTail = nullptr; in SkDynamicMemoryWStream() 526 fHead = fTail = nullptr; in reset() 533 if (fTail) { in bytesWritten() 534 return fBytesWrittenBeforeTail + fTail->written(); in bytesWritten() 544 if (fTail) { in write() 545 if (fTail->avail() > 0) { in write() 546 size = std::min(fTail->avail(), count); in write() 547 buffer = fTail->append(buffer, size); in write() 555 fBytesWrittenBeforeTail += fTail->written(); in write() [all …]
|
D | SkResourceCache.cpp | 83 fTail = nullptr; in init() 216 Rec* rec = fTail; in purgeAsNeeded() 248 Rec* rec = fTail; in purgeSharedID() 277 Rec* rec = fTail; in visitAll() 320 fTail = prev; in release() 334 SkASSERT(fTail); in moveToHead() 356 if (!fTail) { in addToHead() 357 fTail = rec; in addToHead() 370 SkASSERT(nullptr == fTail); in validate() 375 if (fHead == fTail) { in validate() [all …]
|
D | SkStrikeCache.cpp | 114 fTail = strikePtr->fPrev; in internalFindStrikeOrNull() 228 SkStrike* strike = fTail; in internalPurge() 267 if (fTail == nullptr) { in internalAttachToHead() 268 fTail = strikePtr; in internalAttachToHead() 287 fTail = strike->fPrev; in internalRemoveStrike()
|
D | SkStrikeCache.h | 95 SkStrike* fTail SK_GUARDED_BY(fLock) {nullptr}; in SK_GUARDED_BY()
|
D | SkResourceCache.h | 262 Rec* fTail; variable
|
/external/skia/src/gpu/ganesh/gradients/ |
D | GrGradientBitmapCache.cpp | 50 fHead = fTail = nullptr; in GrGradientBitmapCache() 75 SkASSERT(fTail != entry); in release() 78 SkASSERT(fTail == entry); in release() 79 fTail = entry->fPrev; in release() 90 fTail = entry; in attachToHead() 118 SkASSERT(fTail); in add() 119 delete this->release(fTail); in add() 195 SkASSERT(nullptr == fTail->fNext); in validate() 198 SkASSERT(fHead == fTail); in validate() 200 SkASSERT(fHead != fTail); in validate() [all …]
|
D | GrGradientBitmapCache.h | 36 mutable Entry* fTail; variable
|
/external/skia/src/pathops/ |
D | SkOpContour.h | 60 result->setPrev(fTail); in appendSegment() 61 if (fTail) { in appendSegment() 62 fTail->setNext(result); in appendSegment() 64 fTail = result; in appendSegment() 153 SkASSERT(prior == fTail); in debugValidate() 181 return fTail->pts()[SkPathOpsVerbToPoints(fTail->verb())]; in end() 290 fTail = nullptr; in reset() 366 const SkOpSegment* segment = fTail; in toPartialBackward() 386 SkOpSegment* fTail; variable
|
D | SkOpSegment.h | 75 angle->set(&fTail, fTail.prev()); in addEndSpan() 76 fTail.setFromAngle(angle); in addEndSpan() 280 fTail.ptT()->addOpp(start->fHead.ptT(), start->fHead.ptT()); in joinEnds() 399 return &fTail; in tail() 403 return &fTail; in tail() 441 SkOpSpanBase fTail; // the tail span always has its t set to one variable
|
D | SkOpContour.cpp | 26 const SkOpSegment* segment = fTail; in toReversePath()
|
/external/skia/src/gpu/ganesh/ |
D | GrResourceAllocator.cpp | 190 fTail = nullptr; in popHead() 206 fHead = fTail = intvl; in insertByIncreasingStart() 211 } else if (fTail->start() <= intvl->start()) { in insertByIncreasingStart() 213 fTail->setNext(intvl); in insertByIncreasingStart() 214 fTail = intvl; in insertByIncreasingStart() 237 fHead = fTail = intvl; in insertByIncreasingEnd() 242 } else if (fTail->end() <= intvl->end()) { in insertByIncreasingEnd() 244 fTail->setNext(intvl); in insertByIncreasingEnd() 245 fTail = intvl; in insertByIncreasingEnd() 263 SkASSERT(SkToBool(fHead) == SkToBool(fTail)); in validate() [all …]
|
D | GrRingBuffer.cpp | 20 tail = fTail; in getAllocationOffset() 79 fTail = 0; in suballocate() 114 submitData->fOwner->fTail = submitData->fLastHead; in FinishSubmit()
|
D | GrRingBuffer.h | 32 , fTail(0) in GrRingBuffer() 67 size_t fTail; // where we start deallocating variable
|
D | GrResourceAllocator.h | 255 SkASSERT(SkToBool(fHead) == SkToBool(fTail)); in empty() 268 Interval* fTail = nullptr; variable
|
/external/skia/src/gpu/ganesh/ops/ |
D | AtlasTextOp.h | 155 *fTail = geometry; in addGeometry() 158 fTail = &(*fTail)->fNext; in addGeometry() 159 } while (*fTail != nullptr); in addGeometry() 267 Geometry** fTail{&fHead};
|
D | OpsTask.cpp | 80 : fHead(std::move(op)), fTail(fHead.get()) { in List() 88 fTail = that.fTail; in operator =() 89 that.fTail = nullptr; in operator =() 99 SkASSERT(fTail == temp.get()); in popHead() 100 fTail = nullptr; in popHead() 120 SkASSERT(fTail == op); in removeOp() 121 fTail = prev; in removeOp() 136 fTail = fHead.get(); in pushHead() 142 fTail->chainConcat(std::move(op)); in pushTail() 143 fTail = fTail->nextInChain(); in pushTail() [all …]
|
D | OpsTask.h | 215 GrOp* tail() const { return fTail; } in tail() 228 GrOp* fTail{nullptr}; 231 static_assert(::sk_is_trivially_relocatable<decltype(fTail)>::value);
|
/external/skia/src/text/gpu/ |
D | SubRunContainer.h | 215 *fTail = std::move(subRun); in append() 216 fTail = newTail; in append() 227 SubRunOwner* fTail{&fHead};
|