Home
last modified time | relevance | path

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

12

/external/skia/src/base/
DSkTInternalLList.h200 Iter() : fCurr(nullptr) {} in Iter()
201 Iter(const Iter& iter) : fCurr(iter.fCurr) {} in Iter()
202 Iter& operator= (const Iter& iter) { fCurr = iter.fCurr; return *this; }
206 fCurr = list.fHead; in init()
209 fCurr = list.fTail; in init()
212 return fCurr; in init()
215 T* get() { return fCurr; } in get()
221 if (nullptr == fCurr) { in next()
225 fCurr = fCurr->fNext; in next()
226 return fCurr; in next()
[all …]
DSkArenaAllocList.h37 T& operator*() const { return fCurr->fT; }
38 T* operator->() const { return &fCurr->fT; }
39 bool operator==(const Iter& that) const { return fCurr == that.fCurr; }
44 explicit Iter(Node* node) : fCurr(node) {} in Iter()
45 Node* fCurr = nullptr; variable
78 fCurr = fCurr->fNext;
/external/skia/src/core/
DSkReadBuffer.cpp55 fBase = fCurr = (const char*)data; in setMemory()
63 fCurr = fStop; in setInvalid()
71 const void* addr = fCurr; in skip()
77 fCurr += inc; in skip()
102 if (!this->validate(IsPtrAlign4(fCurr) && this->isAvailable(inc))) { in readInt()
105 int32_t value = *((const int32_t*)fCurr); in readInt()
106 fCurr += inc; in readInt()
112 if (!this->validate(IsPtrAlign4(fCurr) && this->isAvailable(inc))) { in readScalar()
115 SkScalar value = *((const SkScalar*)fCurr); in readScalar()
116 fCurr += inc; in readScalar()
[all …]
DSkReadBuffer.h82 size_t offset() const { return fCurr - fBase; } in offset()
83 bool eof() { return fCurr >= fStop; } in eof()
86 size_t available() const { return fStop - fCurr; } in available()
240 const char* fCurr = nullptr; // current position within buffer variable
DSkStream.cpp475 char* fCurr; member
480 size_t avail() const { return fStop - fCurr; } in avail()
481 size_t written() const { return fCurr - this->start(); } in written()
485 fCurr = this->start(); in init()
490 SkASSERT((size_t)(fStop - fCurr) >= size); in append()
491 sk_memcpy_4bytes(fCurr, data, size); in append()
492 fCurr += size; in append()
886 ptrdiff_t used = fTail->fCurr - (char*)fTail; in detachAsStream()
888 fTail->fStop = fTail->fCurr = (char*)fTail + used; // Update pointers. in detachAsStream()
/external/skia/tools/viewer/
DClickHandlerSlide.cpp24 fClick->fPrev = fClick->fCurr = fClick->fOrig = {x, y}; in onMouse()
31 fClick->fPrev = fClick->fCurr; in onMouse()
32 fClick->fCurr = {x, y}; in onMouse()
40 fClick->fPrev = fClick->fCurr; in onMouse()
41 fClick->fCurr = {x, y}; in onMouse()
DAudioSlide.cpp70 if (fBar.contains(click->fCurr.fX, click->fCurr.fY)) { in onFindClickHandler()
71 fPlayer->setNormalizedTime((click->fCurr.fX - fBar.fLeft) / fBar.width()); in onFindClickHandler()
DPathClipSlide.cpp57 fCenter = c->fCurr; in onFindClickHandler()
233 void handleMove() override { *fPt = snap(fCurr); } in handleMove()
240 void handleMove() override { fRect->offset(fCurr.x() - fPrev.x(), fCurr.y() - fPrev.y()); } in handleMove()
254 const SkScalar dx = fCurr.x() - fOrig.x(); in handleMove()
255 const SkScalar dy = fCurr.y() - fOrig.y(); in handleMove()
DMixerSlide.cpp66 fRect.offset(click->fCurr.fX - click->fPrev.fX, in onClick()
67 click->fCurr.fY - click->fPrev.fY); in onClick()
DSGSlide.cpp90 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
91 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
D3DSlide.cpp334 fLight.fLoc = fSphere.pinLoc({click->fCurr.fX, click->fCurr.fY}); in onClick()
344 {click->fCurr.fX, click->fCurr.fY}); in onClick()
DXferSlide.cpp171 fSelected->fLoc.fX += click->fCurr.fX - click->fPrev.fX; in onClick()
172 fSelected->fLoc.fY += click->fCurr.fY - click->fPrev.fY; in onClick()
262 auto [B, C] = pin_unitize(fDomain, click->fCurr); in onFindClickHandler()
DStrokeVerbSlide.cpp142 points[fPtIdx] += fCurr - fPrev; in doClick()
145 points[i] += fCurr - fPrev; in doClick()
DPatchSlide.cpp313 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick()
410 fPath.lineTo(click->fCurr); in onClick()
477 fPath.lineTo(click->fCurr); in onClick()
DClickHandlerSlide.h29 SkPoint fCurr = {0, 0}; variable
DQuadStrokerSlide.cpp417 fPts[index].offset(click->fCurr.fX - click->fPrev.fX, in onClick()
418 click->fCurr.fY - click->fPrev.fY); in onClick()
420 fWeight = MapScreenYtoValue(click->fCurr.fY, fWeightControl, 0, 5); in onClick()
422 fRadius = MapScreenYtoValue(click->fCurr.fY, fRadiusControl, 0, 500); in onClick()
426 gDebugStrokerError = std::max(FLT_EPSILON, MapScreenYtoValue(click->fCurr.fY, in onClick()
432 fWidth = std::max(FLT_EPSILON, MapScreenYtoValue(click->fCurr.fY, fWidthControl, in onClick()
DFatBitsSlide.cpp484 fPts[index] = click->fCurr; in onClick()
486 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
487 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
DFitCubicToCircleSlide.cpp198 double dx = fCurr.fX - kCenterX; in doClick()
199 double dy = fCurr.fY - kCenterY; in doClick()
DPathSlide.cpp263 fPts[i] = c->fCurr; in onFindClickHandler()
383 fPts[i] = c->fCurr; in onFindClickHandler()
515 fPts[i] = c->fCurr; in onFindClickHandler()
654 fPts[i] = c->fCurr; in onFindClickHandler()
DClipSlide.cpp333 fPts[0] = click->fCurr; in onClick()
419 fPts[index] = click->fCurr; in onClick()
640 fPatch[i] = c->fCurr; in onFindClickHandler()
DSBIXSlide.cpp143 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick()
DLayersSlide.cpp210 fCenter = click->fCurr; in onClick()
/external/skia/src/gpu/ganesh/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;
/external/skia/src/gpu/ganesh/
DGrGeometryProcessor.cpp499 if (fCurr->offset().has_value()) { in operator *()
500 return *fCurr; in operator *()
502 return Attribute(fCurr->name(), fCurr->cpuType(), fCurr->gpuType(), fImplicitOffset); in operator *()
508 fImplicitOffset += Attribute::AlignOffset(fCurr->size()); in operator ++()
509 fCurr++; in operator ++()
516 fCurr = nullptr; in skipUninitialized()
518 while (!fCurr->isInitialized()) { in skipUninitialized()
519 ++fCurr; in skipUninitialized()
DGrGeometryProcessor.h141 Iter(const Attribute* attrs, int count) : fCurr(attrs), fRemaining(count) { in Iter()
145 bool operator!=(const Iter& that) const { return fCurr != that.fCurr; }
152 const Attribute* fCurr = nullptr; variable

12