Home
last modified time | relevance | path

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

123

/external/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 …]
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 …]
/external/skqp/include/private/
DSkTInternalLList.h46 , 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/skia/src/gpu/
DGrTriangulator.h224 SkASSERT(fTail && !(*fTail)); in append()
225 *fTail = alloc->make<Node>(a, b, c); in append()
226 fTail = &(*fTail)->fNext; in append()
232 SkASSERT(fTail && !(*fTail)); in concat()
234 *fTail = list.fHead; in concat()
235 fTail = list.fTail; in concat()
238 list.fTail = &list.fHead; in concat()
245 Node** fTail = &fHead; variable
295 VertexList() : fHead(nullptr), fTail(nullptr) {} in VertexList()
296 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList()
[all …]
DGrBlockAllocator.cpp16 : fTail(&fHead) in GrBlockAllocator()
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 …]
DGrBlockAllocator.h307 const Block* currentBlock() const { return fTail; } in currentBlock()
308 Block* currentBlock() { return fTail; } in currentBlock()
442 Block* fTail; // All non-head blocks are heap allocated; tail will never be null. variable
549 SkDEBUGCODE(auto oldTail = fTail;) in reserve()
551 SkASSERT(fTail != oldTail); in reserve()
554 this->releaseBlock(fTail); in reserve()
575 int offset = fTail->cursor<Align, Padding>(); in allocate()
577 if (end > fTail->fSize) { in allocate()
579 offset = fTail->cursor<Align, Padding>(); in allocate()
584 SkASSERT(end <= fTail->fSize); in allocate()
[all …]
DGrResourceAllocator.cpp188 fTail = nullptr; in popHead()
204 fHead = fTail = intvl; in insertByIncreasingStart()
209 } else if (fTail->start() <= intvl->start()) { in insertByIncreasingStart()
211 fTail->setNext(intvl); in insertByIncreasingStart()
212 fTail = intvl; in insertByIncreasingStart()
235 fHead = fTail = intvl; in insertByIncreasingEnd()
240 } else if (fTail->end() <= intvl->end()) { in insertByIncreasingEnd()
242 fTail->setNext(intvl); in insertByIncreasingEnd()
243 fTail = intvl; in insertByIncreasingEnd()
261 SkASSERT(SkToBool(fHead) == SkToBool(fTail)); in validate()
[all …]
DGrRingBuffer.cpp20 tail = fTail; in getAllocationOffset()
74 fTail = 0; in suballocate()
101 submitData->fOwner->fTail = submitData->fLastHead; in FinishSubmit()
/external/skqp/src/gpu/
DGrMemoryPool.cpp41 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 …]
DGrResourceAllocator.cpp127 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 …]
DGrTessellator.cpp228 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 …]
DGrRenderTargetOpList.cpp40 : fHead(std::move(op)), fTail(fHead.get()) { in List()
49 fTail = that.fTail; in operator =()
50 that.fTail = nullptr; in operator =()
60 SkASSERT(fTail == temp.get()); in popHead()
61 fTail = nullptr; in popHead()
81 SkASSERT(fTail == op); in removeOp()
82 fTail = prev; in removeOp()
97 fTail = fHead.get(); in pushHead()
103 fTail->chainConcat(std::move(op)); in pushTail()
104 fTail = fTail->nextInChain(); in pushTail()
[all …]
/external/skqp/src/core/
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.cpp481 , 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 …]
DSkRWBuffer.cpp130 : 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 …]
DSkResourceCache.cpp82 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/
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 …]
/external/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 …]
/external/skqp/src/gpu/ccpr/
DGrCCSTLList.h38 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/skqp/include/core/
DSkRWBuffer.h61 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/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
/external/skqp/src/pathops/
DSkOpContour.h50 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/skia/src/gpu/ops/
DGrAtlasTextOp.h164 *fTail = geometry; in addGeometry()
167 fTail = &(*fTail)->fNext; in addGeometry()
168 } while (*fTail != nullptr); in addGeometry()
260 Geometry** fTail{&fHead};

123