Home
last modified time | relevance | path

Searched refs:fCurr (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/src/core/
DSkTInternalLList.h198 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 …]
DSkArenaAllocList.h35 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;
DSkReadBuffer.cpp42 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 …]
DSkReadBuffer.h62 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
DSkStream.cpp468 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/
DGraphicsPipelineDesc.h57 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/
DGrGeometryProcessor.h98 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/
DSample.cpp76 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()
DSampleAudio.cpp73 if (fBar.contains(click->fCurr.fX, click->fCurr.fY)) { in onFindClickHandler()
74 fPlayer->setNormalizedTime((click->fCurr.fX - fBar.fLeft) / fBar.width()); in onFindClickHandler()
DSamplePathClip.cpp57 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()
DSampleMixer.cpp81 fRect.offset(click->fCurr.fX - click->fPrev.fX, in onClick()
82 click->fCurr.fY - click->fPrev.fY); in onClick()
DSampleSG.cpp90 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
91 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
DSample3D.cpp334 fLight.fLoc = fSphere.pinLoc({click->fCurr.fX, click->fCurr.fY}); in onClick()
344 {click->fCurr.fX, click->fCurr.fY}); in onClick()
DSampleXfer.cpp189 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()
DSampleStrokeVerb.cpp134 points[fPtIdx] += fCurr - fPrev; in doClick()
137 points[i] += fCurr - fPrev; in doClick()
DSampleQuadStroker.cpp779 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()
DSamplePatch.cpp311 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()
DSampleFatBits.cpp488 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()
DSampleFitCubicToCircle.cpp194 double dx = fCurr.fX - kCenterX; in doClick()
195 double dy = fCurr.fY - kCenterY; in doClick()
DSamplePath.cpp288 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()
DSample.h66 SkPoint fCurr = {0, 0}; variable
DSampleClip.cpp328 fPts[0] = click->fCurr; in onClick()
413 fPts[index] = click->fCurr; in onClick()
615 fPatch[i] = c->fCurr; in onFindClickHandler()
DSampleLayers.cpp219 fCenter = click->fCurr; in onClick()
DSamplePathTessellators.cpp274 SkPathPriv::UpdatePathPoint(path, fPtIdx, pt + fCurr - fPrev); in doClick()
/third_party/skia/src/gpu/ops/
DGrOp.h216 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;

12