/external/skia/src/core/ |
D | SkSinglyLinkedList.h | 17 SkSinglyLinkedList() : fHead(nullptr), fTail(nullptr) {} in SkSinglyLinkedList() 20 SkASSERT(fHead != nullptr || nullptr == fTail); in reset() 22 Node* node = fHead; in reset() 29 fHead = nullptr; in reset() 33 T* front() { return fHead ? &fHead->fData : nullptr; } in front() 34 bool empty() const { return fHead == nullptr; } in empty() 38 for (Node* node = fHead; node; node = node->fNext) { in count() 45 if (Node* node = fHead) { in pop_front() 46 fHead = node->fNext; in pop_front() 48 if (fHead == nullptr) { in pop_front() [all …]
|
D | SkTInternalLList.h | 44 : fHead(NULL) in SkTInternalLList() 49 SkASSERT(fHead && fTail); in remove() 58 fHead = next; in remove() 79 entry->fNext = fHead; in addToHead() 80 if (fHead) { in addToHead() 81 fHead->fPrev = entry; in addToHead() 83 fHead = entry; in addToHead() 103 if (NULL == fHead) { in addToTail() 104 fHead = entry; in addToTail() 131 SkASSERT(fHead == existingEntry); in addBefore() [all …]
|
D | SkRWBuffer.cpp | 126 : fHead(head), fAvailable(available), fTail(tail) in SkROBuffer() 129 fHead->ref(); in SkROBuffer() 139 if (fHead) { in ~SkROBuffer() 140 fHead->unref(); in ~SkROBuffer() 150 if (buffer && buffer->fHead) { in reset() 151 fBlock = &buffer->fHead->fBlock; in reset() 186 SkRWBuffer::SkRWBuffer(size_t initialCapacity) : fHead(nullptr), fTail(nullptr), fTotalUsed(0) { in SkRWBuffer() 188 fHead = SkBufferHead::Alloc(initialCapacity); in SkRWBuffer() 189 fTail = &fHead->fBlock; in SkRWBuffer() 195 if (fHead) { in ~SkRWBuffer() [all …]
|
D | SkResourceCache.cpp | 72 fHead = nullptr; in init() 222 Rec* rec = fHead; in ~SkResourceCache() 411 SkASSERT(fHead == rec); in release() 412 fHead = next; in release() 427 if (fHead == rec) { in moveToHead() 431 SkASSERT(fHead); in moveToHead() 438 fHead->fPrev = rec; in moveToHead() 439 rec->fNext = fHead; in moveToHead() 440 fHead = rec; in moveToHead() 449 rec->fNext = fHead; in addToHead() [all …]
|
D | SkStream.cpp | 459 : fHead(nullptr), fTail(nullptr), fBytesWrittenBeforeTail(0) in SkDynamicMemoryWStream() 467 Block* block = fHead; in reset() 473 fHead = fTail = nullptr; in reset() 514 fHead = fTail = block; in write() 525 Block* block = fHead; in read() 543 Block* block = fHead; in copyTo() 553 for (Block* block = fHead; block != nullptr; block = block->fNext) { in writeToStream() 578 Block* block = fHead; in copyToAndReset() 587 fHead = fTail = nullptr; in copyToAndReset() 603 if (!fHead) { in validate() [all …]
|
D | SkGlyphCache_Globals.h | 29 fHead = nullptr; in SkGlyphCache_Globals() 37 SkGlyphCache* cache = fHead; in ~SkGlyphCache_Globals() 47 SkGlyphCache* internalGetHead() const { return fHead; } in internalGetHead() 75 SkGlyphCache* fHead;
|
D | SkGlyphCache.cpp | 622 SkGlyphCache* cache = fHead; in internalGetTail() 687 if (fHead) { in internalAttachCacheToHead() 688 fHead->fPrev = cache; in internalAttachCacheToHead() 689 cache->fNext = fHead; in internalAttachCacheToHead() 691 fHead = cache; in internalAttachCacheToHead() 705 fHead = cache->fNext; in internalDetachCache() 734 const SkGlyphCache* head = fHead; in validate()
|
/external/skia/src/effects/gradients/ |
D | SkGradientBitmapCache.cpp | 39 fHead = fTail = nullptr; in SkGradientBitmapCache() 47 Entry* entry = fHead; in ~SkGradientBitmapCache() 57 SkASSERT(fHead != entry); in release() 60 SkASSERT(fHead == entry); in release() 61 fHead = entry->fNext; in release() 75 entry->fNext = fHead; in attachToHead() 76 if (fHead) { in attachToHead() 77 fHead->fPrev = entry; in attachToHead() 81 fHead = entry; in attachToHead() 87 Entry* entry = fHead; in find() [all …]
|
/external/skia/src/gpu/ |
D | GrMemoryPool.cpp | 30 fHead = CreateBlock(preallocSize); in GrMemoryPool() 31 fTail = fHead; in GrMemoryPool() 32 fHead->fNext = nullptr; in GrMemoryPool() 33 fHead->fPrev = nullptr; in GrMemoryPool() 40 SkASSERT(fHead == fTail); in ~GrMemoryPool() 41 SkASSERT(0 == fHead->fLiveCount); in ~GrMemoryPool() 42 DeleteBlock(fHead); in ~GrMemoryPool() 91 if (fHead == block) { in release() 92 fHead->fCurrPtr = reinterpret_cast<intptr_t>(fHead) + kHeaderSize; in release() 93 fHead->fLiveCount = 0; in release() [all …]
|
D | GrTessellator.cpp | 237 VertexList() : fHead(nullptr), fTail(nullptr) {} in VertexList() 238 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList() 239 Vertex* fHead; member 242 list_insert<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, prev, next, &fHead, &fTail); in insert() 248 if (!list.fHead) { in append() 252 fTail->fNext = list.fHead; in append() 253 list.fHead->fPrev = fTail; in append() 255 fHead = list.fHead; in append() 260 insert(v, nullptr, fHead); in prepend() 263 list_remove<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, &fHead, &fTail); in remove() [all …]
|
D | GrMemoryPool.h | 51 bool isEmpty() const { return fTail == fHead && !fHead->fLiveCount; } in isEmpty() 61 size_t preallocSize() const { return fHead->fSize; } in preallocSize() 103 BlockHeader* fHead; variable
|
/external/skia/src/pathops/ |
D | SkOpContour.h | 49 ? SkOpTAllocator<SkOpSegment>::Allocate(this->globalState()->allocator()) : &fHead; in appendSegment() 64 SkOpSegment* segment = &fHead; in calcAngles() 119 SkOpSegment* segment = &fHead; in debugShowActiveSpans() 136 const SkOpSegment* segment = &fHead; in debugValidate() 178 return &fHead; in first() 183 return &fHead; in first() 206 SkOpSegment* segment = &fHead; in joinSegments() 210 segment->joinEnds(next ? next : &fHead); in joinSegments() 215 SkOpSegment* segment = &fHead; in markAllDone() 224 SkOpSegment* segment = &fHead; in missingCoincidence() [all …]
|
D | SkOpCoincidence.cpp | 189 SkCoincidentSpans* test = fHead; in extend() 267 DebugCheckAdd(fHead, coinPtTStart, coinPtTEnd, oppPtTStart, oppPtTEnd); in add() 272 coinRec->set(this->fHead, coinPtTStart, coinPtTEnd, oppPtTStart, oppPtTEnd); in add() 273 fHead = coinRec; in add() 382 SkCoincidentSpans* span = fHead; in addEndMovedSpans() 387 fHead = nullptr; in addEndMovedSpans() 430 SkCoincidentSpans* coin = this->fHead; in addExpanded() 657 if (fHead && !this->checkOverlap(fHead, coinSeg, oppSeg, coinTs, in addOrOverlap() 680 if (!fHead || !this->release(fHead, test)) { in addOrOverlap() 763 fHead->debugShow(); in addOrOverlap() [all …]
|
D | SkPathOpsTSect.h | 335 SkTSpan<TCurve, OppCurve>* fHead; variable 405 SkTSpan<TCurve, OppCurve>* next = prior ? prior->fNext : fHead; in addFollowing() 412 fHead = result; in addFollowing() 874 fHead = this->addOne(); in SkTSect() 875 SkDEBUGCODE(fHead->debugSetGlobalState(debugGlobalState)); in SkTSect() 876 fHead->init(c); in SkTSect() 942 if (sect2->fHead->contains(oppTTest)) { in binarySearchCoin() 976 SkTSpan<TCurve, OppCurve>* test = fHead; in boundsMax() 977 SkTSpan<TCurve, OppCurve>* largest = fHead; in boundsMax() 992 SkTSpan<TCurve, OppCurve>* first = fHead; in coincidentCheck() [all …]
|
D | SkOpSegment.h | 82 angle->set(&fHead, fHead.next()); in addStartSpan() 83 fHead.setToAngle(angle); in addStartSpan() 228 return &fHead; in head() 232 return &fHead; in head() 273 fTail.ptT()->addOpp(start->fHead.ptT(), start->fHead.ptT()); in joinEnds() 433 SkOpSpan fHead; // the head span always has its t set to zero
|
D | SkPathOpsDebug.cpp | 750 const SkOpSpanBase* span = &fHead; in debugAddT() 780 const SkOpSpanBase* base = &fHead; in debugCheckAngleCoin() 809 const SkOpSpan* span = &fHead; in debugClearAll() 867 const SkOpSpanBase* spanBase = &fHead; in debugMissingCoincidence() 884 if (spanBase == &fHead) { in debugMissingCoincidence() 960 DebugClearVisited(&fHead); in debugMissingCoincidence() 968 const SkOpSpanBase* test = &fHead; in debugMoveMultiples() 1065 const SkOpSpanBase* spanBase = &fHead; in debugMoveNearby() 1074 if (spanBase == &fHead) { in debugMoveNearby() 1089 spanBase = &fHead; in debugMoveNearby() [all …]
|
D | SkOpSegment.cpp | 192 const SkOpSpanBase* test = &fHead; in existing() 249 SkOpSpanBase* spanBase = &fHead; in addT() 281 bool activePrior = !fHead.isCanceled(); in calcAngles() 282 if (activePrior && !fHead.simple()) { in calcAngles() 285 SkOpSpan* prior = &fHead; in calcAngles() 286 SkOpSpanBase* spanBase = fHead.next(); in calcAngles() 314 SkOpSpan* span = &fHead; in clearAll() 329 const SkOpSpanBase* span = &fHead; in collapsed() 468 const SkOpSpanBase* spanBase = &fHead; in contains() 803 SkOpSpan* zeroSpan = &fHead; in init() [all …]
|
D | SkOpContour.cpp | 17 const SkOpSegment* segment = &fHead; in toPath() 35 SkOpSegment* testSegment = &fHead; in undoneSpan()
|
D | SkPathOpsWinding.cpp | 112 SkOpSegment* testSegment = &fHead; in rayCheck() 189 SkOpSpan* span = &fHead; in windingSpanAtT() 370 SkOpSpan* span = &fHead; in findSortableTop() 390 SkOpSegment* testSegment = &fHead; in findSortableTop()
|
D | SkOpCoincidence.h | 137 : fHead(nullptr) in SkOpCoincidence() 227 return !fHead && !fTop; in isEmpty() 293 SkCoincidentSpans* fHead; variable
|
/external/skia/tests/ |
D | PathOpsTSectDebug.h | 28 const SkTSpan<TCurve, OppCurve>* test = fHead; in debugSpan() 39 const SkTSpan<TCurve, OppCurve>* test = fHead; in debugT() 58 dumpCommon(fHead); in dump() 75 if (this->fHead) { in dumpBoth() 78 if (opp->fHead) { in dumpBoth() 92 const SkTSpan<OppCurve, TCurve>* test = bounded->debugOpp()->fHead; in dumpBounded() 104 const SkTSpan<TCurve, OppCurve>* test = fHead; in dumpBounds() 142 dumpCommonCurves(fHead); in dumpCurves()
|
D | PreFlushCallbackTest.cpp | 270 op->setNext(header->fHead); in addOp() 271 header->fHead = op; in addOp() 343 for (AtlasedRectOp* op = lists[i]->fHead; op; op = op->next()) { in preFlush() 385 AtlasedRectOp* fHead; member 400 header->fHead = nullptr; in clearOpsFor()
|
D | PathOpsDebug.cpp | 1151 const SkOpSpanBase* span = &fHead; in dump() 1165 const SkOpSpanBase* span = &fHead; in dumpAll() 1175 const SkOpSpanBase* span = &fHead; in dumpAngles() 1191 const SkOpSpan* span = &fHead; in dumpCoin() 1248 SkCoincidentSpans* span = fHead; in dump() 1253 if (!fTop || fHead == fTop) { in dump() 1279 const SkOpSegment* segment = &fHead; in dump() 1293 const SkOpSegment* segment = &fHead; in dumpAll() 1305 const SkOpSegment* segment = &fHead; in dumpAngles() 1313 const SkOpSegment* segment = &fHead; in dumpPt() [all …]
|
D | PathOpsAngleTest.cpp | 484 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() in debugAddAngle() 486 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() in debugAddAngle() 489 SkOpSpanBase* startSpan = &fHead; in debugAddAngle() 493 SkOpSpanBase* endSpan = &fHead; in debugAddAngle()
|
/external/skia/include/core/ |
D | SkRWBuffer.h | 63 const SkBufferHead* fHead; variable 102 SkBufferHead* fHead;
|