Home
last modified time | relevance | path

Searched refs:fTail (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/src/core/
DSkTInternalLList.h33 fTail = nullptr; in reset()
37 SkASSERT(fHead && fTail); in remove()
51 fTail = prev; in remove()
72 if (nullptr == fTail) { in addToHead()
73 fTail = entry; in addToHead()
85 entry->fPrev = fTail; in addToTail()
87 if (fTail) { in addToTail()
88 fTail->fNext = entry; in addToTail()
90 fTail = entry; in addToTail()
148 SkASSERT(fTail == existingEntry); in addAfter()
[all …]
DSkArenaAllocList.h26 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()
DSkStream.cpp492 , fTail(other.fTail) in SkDynamicMemoryWStream()
496 other.fTail = nullptr; in SkDynamicMemoryWStream()
519 fHead = fTail = nullptr; in reset()
526 if (fTail) { in bytesWritten()
527 return fBytesWrittenBeforeTail + fTail->written(); in bytesWritten()
537 if (fTail) { in write()
538 if (fTail->avail() > 0) { in write()
539 size = std::min(fTail->avail(), count); in write()
540 buffer = fTail->append(buffer, size); in write()
548 fBytesWrittenBeforeTail += fTail->written(); in write()
[all …]
DSkBlockAllocator.cpp16 : fTail(&fHead) in SkBlockAllocator()
108 SkASSERT(fTail != block); in releaseBlock()
111 SkASSERT(fTail == block); in releaseBlock()
112 fTail = block->fPrev; in releaseBlock()
155 SkASSERT(other->fTail != &other->fHead); in stealHeapBlocks()
156 toSteal->fPrev = fTail; in stealHeapBlocks()
157 fTail->fNext = toSteal; in stealHeapBlocks()
158 fTail = other->fTail; in stealHeapBlocks()
160 other->fTail = &other->fHead; in stealHeapBlocks()
169 fTail = b; in reset()
[all …]
DSkBlockAllocator.h314 const Block* currentBlock() const { return fTail; } in currentBlock()
315 Block* currentBlock() { return fTail; } in currentBlock()
448 Block* fTail; // All non-head blocks are heap allocated; tail will never be null. variable
555 SkDEBUGCODE(auto oldTail = fTail;) in reserve()
557 SkASSERT(fTail != oldTail); in reserve()
560 this->releaseBlock(fTail); in reserve()
581 int offset = fTail->cursor<Align, Padding>(); in allocate()
583 if (end > fTail->fSize) { in allocate()
585 offset = fTail->cursor<Align, Padding>(); in allocate()
590 SkASSERT(end <= fTail->fSize); in allocate()
[all …]
DSkResourceCache.cpp83 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 …]
DSkStrikeCache.cpp142 fTail = strikePtr->fPrev; in internalFindStrikeOrNull()
256 SkStrike* strike = fTail; in internalPurge()
295 if (fTail == nullptr) { in internalAttachToHead()
296 fTail = strikePtr; in internalAttachToHead()
315 fTail = strike->fPrev; in internalRemoveStrike()
DSkResourceCache.h262 Rec* fTail; variable
/third_party/skia/src/gpu/geometry/
DGrTriangulator.h227 SkASSERT(fTail && !(*fTail)); in append()
228 *fTail = alloc->make<Node>(a, b, c); in append()
229 fTail = &(*fTail)->fNext; in append()
235 SkASSERT(fTail && !(*fTail)); in concat()
237 *fTail = list.fHead; in concat()
238 fTail = list.fTail; in concat()
241 list.fTail = &list.fHead; in concat()
248 Node** fTail = &fHead; variable
298 VertexList() : fHead(nullptr), fTail(nullptr) {} in VertexList()
299 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList()
[all …]
DGrAATriangulator.cpp185 Edge* prevEdge = boundary->fTail; in simplifyBoundary()
199 prevEdge = boundary->fTail; in simplifyBoundary()
218 prevEdge = boundary->fTail; in simplifyBoundary()
417 Edge* prevEdge = boundary->fTail; in strokeBoundary()
510 if (!inversion(innerVertices.fTail, innerVertex1, prevEdge, c)) { in strokeBoundary()
513 if (!inversion(outerVertices.fTail, outerVertex1, prevEdge, c)) { in strokeBoundary()
527 if (!inversion(innerVertices.fTail, innerVertex, prevEdge, c)) { in strokeBoundary()
530 if (!inversion(outerVertices.fTail, outerVertex, prevEdge, c)) { in strokeBoundary()
543 if (!inversion(innerVertices.fTail, innerVertices.fHead, prevEdge, c)) { in strokeBoundary()
546 if (!inversion(outerVertices.fTail, outerVertices.fHead, prevEdge, c)) { in strokeBoundary()
[all …]
DGrTriangulator.cpp114 list_insert<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, prev, next, &fHead, &fTail); in insert()
118 list_remove<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, &fHead, &fTail); in remove()
290 list_insert<Edge, &Edge::fLeft, &Edge::fRight>(edge, prev, next, &fHead, &fTail); in insert()
296 list_remove<Edge, &Edge::fLeft, &Edge::fRight>(edge, &fHead, &fTail); in remove()
331 while (v != vertices.fTail) { in emitMonotonePoly()
380 , fTail(nullptr) in Poly()
409 if (!fTail) { in addEdge()
410 fHead = fTail = alloc->make<MonotonePoly>(e, side, fWinding); in addEdge()
412 } else if (e->fBottom == fTail->fLastEdge->fBottom) { in addEdge()
414 } else if (side == fTail->fSide) { in addEdge()
[all …]
/third_party/skia/src/gpu/gradients/
DGrGradientBitmapCache.cpp46 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 …]
DGrGradientBitmapCache.h36 mutable Entry* fTail; variable
/third_party/skia/src/pathops/
DSkOpContour.h49 result->setPrev(fTail); in appendSegment()
50 if (fTail) { in appendSegment()
51 fTail->setNext(result); in appendSegment()
53 fTail = result; in appendSegment()
142 SkASSERT(prior == fTail); in debugValidate()
170 return fTail->pts()[SkPathOpsVerbToPoints(fTail->verb())]; in end()
279 fTail = nullptr; in reset()
355 const SkOpSegment* segment = fTail; in toPartialBackward()
375 SkOpSegment* fTail; variable
DSkOpSegment.h64 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
DSkOpContour.cpp24 const SkOpSegment* segment = fTail; in toReversePath()
/third_party/skia/src/gpu/
DGrResourceAllocator.cpp197 fTail = nullptr; in popHead()
213 fHead = fTail = intvl; in insertByIncreasingStart()
218 } else if (fTail->start() <= intvl->start()) { in insertByIncreasingStart()
220 fTail->setNext(intvl); in insertByIncreasingStart()
221 fTail = intvl; in insertByIncreasingStart()
244 fHead = fTail = intvl; in insertByIncreasingEnd()
249 } else if (fTail->end() <= intvl->end()) { in insertByIncreasingEnd()
251 fTail->setNext(intvl); in insertByIncreasingEnd()
252 fTail = intvl; in insertByIncreasingEnd()
270 SkASSERT(SkToBool(fHead) == SkToBool(fTail)); in validate()
[all …]
DGrRingBuffer.cpp20 tail = fTail; in getAllocationOffset()
76 fTail = 0; in suballocate()
111 submitData->fOwner->fTail = submitData->fLastHead; in FinishSubmit()
DGrRingBuffer.h32 , fTail(0) in GrRingBuffer()
67 size_t fTail; // where we start deallocating variable
DGrResourceAllocator.h255 SkASSERT(SkToBool(fHead) == SkToBool(fTail)); in empty()
268 Interval* fTail = nullptr; variable
/third_party/skia/src/gpu/ops/
DAtlasTextOp.h156 *fTail = geometry; in addGeometry()
159 fTail = &(*fTail)->fNext; in addGeometry()
160 } while (*fTail != nullptr); in addGeometry()
253 Geometry** fTail{&fHead};
DOpsTask.cpp79 : fHead(std::move(op)), fTail(fHead.get()) { in List()
87 fTail = that.fTail; in operator =()
88 that.fTail = nullptr; in operator =()
98 SkASSERT(fTail == temp.get()); in popHead()
99 fTail = nullptr; in popHead()
119 SkASSERT(fTail == op); in removeOp()
120 fTail = prev; in removeOp()
135 fTail = fHead.get(); in pushHead()
141 fTail->chainConcat(std::move(op)); in pushTail()
142 fTail = fTail->nextInChain(); in pushTail()
[all …]
DOpsTask.h212 GrOp* tail() const { return fTail; } in tail()
223 GrOp* fTail{nullptr};
/third_party/skia/src/gpu/text/
DGrTextBlob.h151 *fTail = std::move(subRun); in append()
152 fTail = newTail; in append()
162 GrSubRunOwner* fTail{&fHead};
/third_party/skia/tests/
DPathOpsAngleTest.cpp479 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() in debugAddAngle()
481 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() in debugAddAngle()

12