/external/skia/src/effects/gradients/ |
D | SkGradientBitmapCache.cpp | 38 fHead = fTail = nullptr; in SkGradientBitmapCache() 46 Entry* entry = fHead; in ~SkGradientBitmapCache() 56 SkASSERT(fHead != entry); in detach() 59 SkASSERT(fHead == entry); in detach() 60 fHead = entry->fNext; in detach() 74 entry->fNext = fHead; in attachToHead() 75 if (fHead) { in attachToHead() 76 fHead->fPrev = entry; in attachToHead() 80 fHead = entry; in attachToHead() 86 Entry* entry = fHead; in find() [all …]
|
/external/skia/src/core/ |
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 | 117 SkROBuffer::SkROBuffer(const SkBufferHead* head, size_t used) : fHead(head), fUsed(used) { in SkROBuffer() 119 fHead->ref(); in SkROBuffer() 128 if (fHead) { in ~SkROBuffer() 129 fHead->validate(fUsed); in ~SkROBuffer() 130 fHead->unref(); in ~SkROBuffer() 140 fBlock = &buffer->fHead->fBlock; in reset() 167 SkRWBuffer::SkRWBuffer(size_t initialCapacity) : fHead(nullptr), fTail(nullptr), fTotalUsed(0) {} in SkRWBuffer() 171 if (fHead) { in ~SkRWBuffer() 172 fHead->unref(); in ~SkRWBuffer() 184 if (nullptr == fHead) { in append() [all …]
|
D | SkResourceCache.cpp | 63 fHead = nullptr; in init() 213 Rec* rec = fHead; in ~SkResourceCache() 403 SkASSERT(fHead == rec); in detach() 404 fHead = next; in detach() 419 if (fHead == rec) { in moveToHead() 423 SkASSERT(fHead); in moveToHead() 430 fHead->fPrev = rec; in moveToHead() 431 rec->fNext = fHead; in moveToHead() 432 fHead = rec; in moveToHead() 441 rec->fNext = fHead; in addToHead() [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() 82 SkGlyphCache* fHead;
|
D | SkStream.cpp | 522 : fHead(nullptr), fTail(nullptr), fBytesWritten(0), fCopy(nullptr) in SkDynamicMemoryWStream() 535 Block* block = fHead; in reset() 542 fHead = fTail = nullptr; in reset() 572 fHead = fTail = block; in write() 586 Block* block = fHead; in write() 607 Block* block = fHead; in read() 629 Block* block = fHead; in copyTo() 641 for (Block* block = fHead; block != nullptr; block = block->fNext) { in writeToStream() 675 explicit SkBlockMemoryRefCnt(SkDynamicMemoryWStream::Block* head) : fHead(head) { } in SkBlockMemoryRefCnt() 678 SkDynamicMemoryWStream::Block* block = fHead; in ~SkBlockMemoryRefCnt() [all …]
|
D | SkRWBuffer.h | 62 const SkBufferHead* fHead; variable 92 SkBufferHead* fHead;
|
D | SkGlyphCache.cpp | 659 SkGlyphCache* cache = fHead; in internalGetTail() 724 if (fHead) { in internalAttachCacheToHead() 725 fHead->fPrev = cache; in internalAttachCacheToHead() 726 cache->fNext = fHead; in internalAttachCacheToHead() 728 fHead = cache; in internalAttachCacheToHead() 742 fHead = cache->fNext; in internalDetachCache() 771 const SkGlyphCache* head = fHead; in validate()
|
/external/skia/src/gpu/ |
D | GrMemoryPool.cpp | 26 fHead = CreateBlock(fPreallocSize); in GrMemoryPool() 27 fTail = fHead; in GrMemoryPool() 28 fHead->fNext = nullptr; in GrMemoryPool() 29 fHead->fPrev = nullptr; in GrMemoryPool() 36 SkASSERT(fHead == fTail); in ~GrMemoryPool() 37 SkASSERT(0 == fHead->fLiveCount); in ~GrMemoryPool() 38 DeleteBlock(fHead); in ~GrMemoryPool() 87 if (fHead == block) { in release() 88 fHead->fCurrPtr = reinterpret_cast<intptr_t>(fHead) + kHeaderSize; in release() 89 fHead->fLiveCount = 0; in release() [all …]
|
D | GrMemoryPool.h | 44 bool isEmpty() const { return fTail == fHead && !fHead->fLiveCount; } in isEmpty() 93 BlockHeader* fHead; variable
|
D | GrTessellator.cpp | 208 EdgeList() : fHead(nullptr), fTail(nullptr) {} in EdgeList() 209 Edge* fHead; member 303 return activeEdges && (fLeft || fRight || activeEdges->fHead == this); in isActive() 312 , fHead(nullptr) in Poly() 329 , fHead(nullptr) in MonotonePoly() 334 Vertex* fHead; member 346 if (fHead == nullptr) { in addVertex() 347 fHead = fTail = newV; in addVertex() 353 newV->fNext = fHead; in addVertex() 354 fHead->fPrev = newV; in addVertex() [all …]
|
/external/skia/src/pathops/ |
D | SkOpContour.h | 39 SkOpSegment* segment = &fHead; in addAlignIntersections() 65 SkOpSegment* segment = &fHead; in align() 73 ? SkOpTAllocator<SkOpSegment>::Allocate(allocator) : &fHead; in appendSegment() 100 SkOpSegment* segment = &fHead; in calcAngles() 124 SkOpSegment* segment = &fHead; in debugShowActiveSpans() 162 const SkOpSegment* segment = &fHead; in debugValidate() 202 SkOpSegment* segment = &fHead; in findCollapsed() 213 return &fHead; in first() 218 return &fHead; in first() 241 SkOpSegment* segment = &fHead; in markDone() [all …]
|
D | SkOpCoincidence.cpp | 14 SkCoincidentSpans* coinRec = fHead; in extend() 48 coinRec->fNext = this->fHead; in add() 56 this->fHead = coinRec; in add() 77 SkCoincidentSpans* coin = this->fHead; in addExpanded() 233 SkCoincidentSpans* outer = fHead; in addMissing() 239 fHead = nullptr; in addMissing() 311 SkCoincidentSpans** headPtr = &fHead; in addMissing() 355 const SkCoincidentSpans* coin = fHead; in contains() 371 SkCoincidentSpans* coin = fHead; in apply() 485 SkCoincidentSpans* coin = fHead; in detach() [all …]
|
D | SkOpContour.cpp | 41 const SkPoint& pt = fHead.pts()[0]; in toPath() 43 const SkOpSegment* segment = &fHead; in toPath() 61 SkOpSegment* segment = &fHead; in undoneSegment()
|
D | SkOpSegment.cpp | 226 SkOpSpanBase* checkSpan = fHead.next(); in addAlignIntersection() 251 if ((start == &fHead && end == &fTail) || (start == &fTail && end == &fHead)) { in addCurveTo() 260 bool reverse = ePtr == fPts && start != &fHead; in addCurveTo() 303 SkOpSpanBase* test = &fHead; in addMissing() 326 SkOpSpanBase* span = &fHead; in addT() 387 SkOpSpanBase* span = &fHead; in align() 401 SkOpSpan* span = &fHead; in align() 412 bool activePrior = !fHead.isCanceled(); in calcAngles() 413 if (activePrior && !fHead.simple()) { in calcAngles() 416 SkOpSpan* prior = &fHead; in calcAngles() [all …]
|
D | SkPathOpsDebug.cpp | 479 SkOpSpanBase* checkSpan = fHead.next(); in debugAddAlignIntersection() 496 const SkOpSpanBase* test = &fHead; in debugAddMissing() 510 const SkOpSpanBase* span = &fHead; in debugAlign() 528 const SkOpSpan* span = &fHead; in debugAlign() 546 const SkOpSpanBase* base = &fHead; in debugCheckAngleCoin() 577 if (fHead.contains(&fTail)) { in debugFindCollapsed() 584 glitches->record(kMissingDone_Glitch, id, &fHead); in debugFindCollapsed() 586 if (!fHead.debugAlignedEnd(0, fHead.pt())) { in debugFindCollapsed() 587 glitches->record(kUnalignedHead_Glitch, id, &fHead); in debugFindCollapsed() 619 const SkOpSpanBase* spanBase = &fHead; in debugMissingCoincidence() [all …]
|
D | SkOpSegment.h | 52 this->addAlignIntersection(*fHead.ptT(), fOriginal[0], contourList, allocator); in addAlignIntersections() 91 angle->set(&fHead, fHead.next()); in addStartSpan() 92 fHead.setToAngle(angle); in addStartSpan() 139 this->debugAddAlignIntersection(id, glitches, *fHead.ptT(), fOriginal[0], contourList); in debugAddAlignIntersections() 214 return &fHead; in head() 218 return &fHead; in head() 409 SkOpSpan fHead; // the head span always has its t set to zero
|
D | SkPathOpsTSect.h | 316 SkTSpan<TCurve, OppCurve>* fHead; variable 383 SkTSpan<TCurve, OppCurve>* next = prior ? prior->fNext : fHead; in addFollowing() 390 fHead = result; in addFollowing() 839 fHead = addOne(); in SkTSect() 840 fHead->init(c); in SkTSect() 906 if (sect2->fHead->contains(oppTTest)) { in binarySearchCoin() 936 SkTSpan<TCurve, OppCurve>* test = fHead; in boundsMax() 937 SkTSpan<TCurve, OppCurve>* largest = fHead; in boundsMax() 952 SkTSpan<TCurve, OppCurve>* first = fHead; in coincidentCheck() 976 SkTSpan<TCurve, OppCurve>* first = fHead; in coincidentForce() [all …]
|
D | SkOpCoincidence.h | 35 : fHead(nullptr) in SkOpCoincidence() 92 return !fHead; in isEmpty() 121 SkCoincidentSpans* fHead; variable
|
D | SkPathOpsWinding.cpp | 112 SkOpSegment* testSegment = &fHead; in rayCheck() 189 SkOpSpan* span = &fHead; in windingSpanAtT() 362 SkOpSpan* span = &fHead; in findSortableTop() 380 SkOpSegment* testSegment = &fHead; in findSortableTop()
|
/external/skia/tests/ |
D | PathOpsTSectDebug.h | 26 const SkTSpan<TCurve, OppCurve>* test = fHead; in debugSpan() 37 const SkTSpan<TCurve, OppCurve>* test = fHead; in debugT() 56 dumpCommon(fHead); in dump() 73 if (this->fHead) { in dumpBoth() 76 if (opp->fHead) { in dumpBoth() 90 const SkTSpan<OppCurve, TCurve>* test = bounded->debugOpp()->fHead; in dumpBounded() 102 const SkTSpan<TCurve, OppCurve>* test = fHead; in dumpBounds() 140 dumpCommonCurves(fHead); in dumpCurves()
|
D | PathOpsDebug.cpp | 1091 const SkOpSpanBase* span = &fHead; in dump() 1105 const SkOpSpanBase* span = &fHead; in dumpAll() 1115 const SkOpSpanBase* span = &fHead; in dumpAngles() 1131 const SkOpSpan* span = &fHead; in dumpCoin() 1188 SkCoincidentSpans* span = fHead; in dump() 1193 if (!fTop || fHead == fTop) { in dump() 1198 if (fHead) { in dump() 1213 const SkOpSegment* segment = &fHead; in dump() 1227 const SkOpSegment* segment = &fHead; in dumpAll() 1239 const SkOpSegment* segment = &fHead; in dumpAngles() [all …]
|
D | PathOpsAngleTest.cpp | 476 SkOpPtT* startPtT = startT == 0 ? fHead.ptT() : startT == 1 ? fTail.ptT() in debugAddAngle() 478 SkOpPtT* endPtT = endT == 0 ? fHead.ptT() : endT == 1 ? fTail.ptT() in debugAddAngle() 481 SkOpSpanBase* startSpan = &fHead; in debugAddAngle() 485 SkOpSpanBase* endSpan = &fHead; in debugAddAngle()
|
/external/skia/src/svg/parser/ |
D | SkSVGGradient.cpp | 82 SkSVGPaint* saveHead = parser.fHead; in write() 83 parser.fHead = &fPaintState; in write() 113 parser.fHead = saveHead; in write()
|
D | SkSVGParser.cpp | 40 fHead(&fEmptyPaint), fIDs(256), in SkSVGParser() 113 SkSVGPaint* state = fHead; in getPaintLast() 127 SkSVGPaint* walking = fHead; in isStrokeAndFill() 233 SkSVGPaint::Push(&fHead, &element->fPaintState); in translate() 267 SkSVGPaint::Pop(&fHead); in translate()
|