/third_party/skia/src/core/ |
D | SkTInternalLList.h | 198 Iter() : fCurr(nullptr) {} in Iter() 199 Iter(const Iter& iter) : fCurr(iter.fCurr) {} in Iter() 200 Iter& operator= (const Iter& iter) { fCurr = iter.fCurr; return *this; } 204 fCurr = list.fHead; in init() 207 fCurr = list.fTail; in init() 210 return fCurr; in init() 213 T* get() { return fCurr; } in get() 219 if (nullptr == fCurr) { in next() 223 fCurr = fCurr->fNext; in next() 224 return fCurr; in next() [all …]
|
D | SkArenaAllocList.h | 35 T& operator*() const { return fCurr->fT; } 36 T* operator->() const { return &fCurr->fT; } 37 bool operator==(const Iter& that) const { return fCurr == that.fCurr; } 42 explicit Iter(Node* node) : fCurr(node) {} in Iter() 43 Node* fCurr = nullptr; variable 76 fCurr = fCurr->fNext;
|
D | SkReadBuffer.cpp | 42 fBase = fCurr = (const char*)data; in setMemory() 50 fCurr = fStop; in setInvalid() 58 const void* addr = fCurr; in skip() 64 fCurr += inc; in skip() 89 if (!this->validate(IsPtrAlign4(fCurr) && this->isAvailable(inc))) { in readInt() 92 int32_t value = *((const int32_t*)fCurr); in readInt() 93 fCurr += inc; in readInt() 99 if (!this->validate(IsPtrAlign4(fCurr) && this->isAvailable(inc))) { in readScalar() 102 SkScalar value = *((const SkScalar*)fCurr); in readScalar() 103 fCurr += inc; in readScalar() [all …]
|
D | SkReadBuffer.h | 62 size_t offset() const { return fCurr - fBase; } in offset() 63 bool eof() { return fCurr >= fStop; } in eof() 66 size_t available() const { return fStop - fCurr; } in available() 219 const char* fCurr = nullptr; // current position within buffer variable
|
D | SkStream.cpp | 468 char* fCurr; member 473 size_t avail() const { return fStop - fCurr; } in avail() 474 size_t written() const { return fCurr - this->start(); } in written() 478 fCurr = this->start(); in init() 483 SkASSERT((size_t)(fStop - fCurr) >= size); in append() 484 sk_memcpy_4bytes(fCurr, data, size); in append() 485 fCurr += size; in append() 879 ptrdiff_t used = fTail->fCurr - (char*)fTail; in detachAsStream() 881 fTail->fStop = fTail->fCurr = (char*)fTail + used; // Update pointers. in detachAsStream()
|
/third_party/skia/experimental/graphite/src/ |
D | GraphicsPipelineDesc.h | 57 Iter() : fCurr(nullptr), fRemaining(0) {} in Iter() 58 Iter(const Iter& iter) : fCurr(iter.fCurr), fRemaining(iter.fRemaining) {} in Iter() 60 fCurr = iter.fCurr; 64 Iter(const Attribute* attrs, int count) : fCurr(attrs), fRemaining(count) { in Iter() 68 bool operator!=(const Iter& that) const { return fCurr != that.fCurr; } 69 const Attribute& operator*() const { return *fCurr; } 73 fCurr++; 81 fCurr = nullptr; in skipUninitialized() 83 while (!fCurr->isInitialized()) { in skipUninitialized() 84 ++fCurr; in skipUninitialized() [all …]
|
/third_party/skia/src/gpu/ |
D | GrGeometryProcessor.h | 98 Iter() : fCurr(nullptr), fRemaining(0) {} in Iter() 99 Iter(const Iter& iter) : fCurr(iter.fCurr), fRemaining(iter.fRemaining) {} in Iter() 101 fCurr = iter.fCurr; 105 Iter(const Attribute* attrs, int count) : fCurr(attrs), fRemaining(count) { in Iter() 109 bool operator!=(const Iter& that) const { return fCurr != that.fCurr; } 110 const Attribute& operator*() const { return *fCurr; } 114 fCurr++; 122 fCurr = nullptr; in skipUninitialized() 124 while (!fCurr->isInitialized()) { in skipUninitialized() 125 ++fCurr; in skipUninitialized() [all …]
|
/third_party/skia/samplecode/ |
D | Sample.cpp | 76 fClick->fPrev = fClick->fCurr = fClick->fOrig = point; in mouse() 83 fClick->fPrev = fClick->fCurr; in mouse() 84 fClick->fCurr = point; in mouse() 92 fClick->fPrev = fClick->fCurr; in mouse() 93 fClick->fCurr = point; in mouse()
|
D | SampleAudio.cpp | 73 if (fBar.contains(click->fCurr.fX, click->fCurr.fY)) { in onFindClickHandler() 74 fPlayer->setNormalizedTime((click->fCurr.fX - fBar.fLeft) / fBar.width()); in onFindClickHandler()
|
D | SamplePathClip.cpp | 57 fCenter = c->fCurr; in onFindClickHandler() 236 void handleMove() override { *fPt = snap(fCurr); } in handleMove() 243 void handleMove() override { fRect->offset(fCurr.x() - fPrev.x(), fCurr.y() - fPrev.y()); } in handleMove() 257 const SkScalar dx = fCurr.x() - fOrig.x(); in handleMove() 258 const SkScalar dy = fCurr.y() - fOrig.y(); in handleMove()
|
D | SampleMixer.cpp | 81 fRect.offset(click->fCurr.fX - click->fPrev.fX, in onClick() 82 click->fCurr.fY - click->fPrev.fY); in onClick()
|
D | SampleSG.cpp | 90 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick() 91 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
|
D | Sample3D.cpp | 334 fLight.fLoc = fSphere.pinLoc({click->fCurr.fX, click->fCurr.fY}); in onClick() 344 {click->fCurr.fX, click->fCurr.fY}); in onClick()
|
D | SampleXfer.cpp | 189 fSelected->fLoc.fX += click->fCurr.fX - click->fPrev.fX; in onClick() 190 fSelected->fLoc.fY += click->fCurr.fY - click->fPrev.fY; in onClick() 292 auto [B, C] = pin_unitize(fDomain, click->fCurr); in onFindClickHandler()
|
D | SampleStrokeVerb.cpp | 134 points[fPtIdx] += fCurr - fPrev; in doClick() 137 points[i] += fCurr - fPrev; in doClick()
|
D | SampleQuadStroker.cpp | 779 fPts[index].offset(click->fCurr.fX - click->fPrev.fX, in onClick() 780 click->fCurr.fY - click->fPrev.fY); in onClick() 782 fWeight = MapScreenYtoValue(click->fCurr.fY, fWeightControl, 0, 5); in onClick() 784 fRadius = MapScreenYtoValue(click->fCurr.fY, fRadiusControl, 0, 500); in onClick() 788 gDebugStrokerError = std::max(FLT_EPSILON, MapScreenYtoValue(click->fCurr.fY, in onClick() 794 fWidth = std::max(FLT_EPSILON, MapScreenYtoValue(click->fCurr.fY, fWidthControl, in onClick()
|
D | SamplePatch.cpp | 311 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick() 407 fPath.lineTo(click->fCurr); in onClick() 495 fPath.lineTo(click->fCurr); in onClick()
|
D | SampleFatBits.cpp | 488 fPts[index] = click->fCurr; in onClick() 490 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick() 491 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
|
D | SampleFitCubicToCircle.cpp | 194 double dx = fCurr.fX - kCenterX; in doClick() 195 double dy = fCurr.fY - kCenterY; in doClick()
|
D | SamplePath.cpp | 288 fPts[i] = c->fCurr; in onFindClickHandler() 415 fPts[i] = c->fCurr; in onFindClickHandler() 523 fPts[i] = c->fCurr; in onFindClickHandler() 752 fPts[i] = c->fCurr; in onFindClickHandler()
|
D | Sample.h | 66 SkPoint fCurr = {0, 0}; variable
|
D | SampleClip.cpp | 328 fPts[0] = click->fCurr; in onClick() 413 fPts[index] = click->fCurr; in onClick() 615 fPatch[i] = c->fCurr; in onFindClickHandler()
|
D | SampleLayers.cpp | 219 fCenter = click->fCurr; in onClick()
|
D | SamplePathTessellators.cpp | 274 SkPathPriv::UpdatePathPoint(path, fPtIdx, pt + fCurr - fPrev); in doClick()
|
/third_party/skia/src/gpu/ops/ |
D | GrOp.h | 216 explicit Iter(const OpSubclass* head) : fCurr(head) {} in Iter() 218 return *this = Iter(static_cast<const OpSubclass*>(fCurr->nextInChain())); 220 const OpSubclass& operator*() const { return *fCurr; } 221 bool operator!=(const Iter& that) const { return fCurr != that.fCurr; } 224 const OpSubclass* fCurr;
|