/external/skia/src/base/ |
D | SkTInternalLList.h | 200 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 …]
|
D | SkArenaAllocList.h | 37 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/ |
D | SkReadBuffer.cpp | 55 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 …]
|
D | SkReadBuffer.h | 82 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
|
D | SkStream.cpp | 475 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/ |
D | ClickHandlerSlide.cpp | 24 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()
|
D | AudioSlide.cpp | 70 if (fBar.contains(click->fCurr.fX, click->fCurr.fY)) { in onFindClickHandler() 71 fPlayer->setNormalizedTime((click->fCurr.fX - fBar.fLeft) / fBar.width()); in onFindClickHandler()
|
D | PathClipSlide.cpp | 57 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()
|
D | MixerSlide.cpp | 66 fRect.offset(click->fCurr.fX - click->fPrev.fX, in onClick() 67 click->fCurr.fY - click->fPrev.fY); in onClick()
|
D | SGSlide.cpp | 90 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick() 91 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
|
D | 3DSlide.cpp | 334 fLight.fLoc = fSphere.pinLoc({click->fCurr.fX, click->fCurr.fY}); in onClick() 344 {click->fCurr.fX, click->fCurr.fY}); in onClick()
|
D | XferSlide.cpp | 171 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()
|
D | StrokeVerbSlide.cpp | 142 points[fPtIdx] += fCurr - fPrev; in doClick() 145 points[i] += fCurr - fPrev; in doClick()
|
D | PatchSlide.cpp | 313 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()
|
D | ClickHandlerSlide.h | 29 SkPoint fCurr = {0, 0}; variable
|
D | QuadStrokerSlide.cpp | 417 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()
|
D | FatBitsSlide.cpp | 484 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()
|
D | FitCubicToCircleSlide.cpp | 198 double dx = fCurr.fX - kCenterX; in doClick() 199 double dy = fCurr.fY - kCenterY; in doClick()
|
D | PathSlide.cpp | 263 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()
|
D | ClipSlide.cpp | 333 fPts[0] = click->fCurr; in onClick() 419 fPts[index] = click->fCurr; in onClick() 640 fPatch[i] = c->fCurr; in onFindClickHandler()
|
D | SBIXSlide.cpp | 143 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick()
|
D | LayersSlide.cpp | 210 fCenter = click->fCurr; in onClick()
|
/external/skia/src/gpu/ganesh/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;
|
/external/skia/src/gpu/ganesh/ |
D | GrGeometryProcessor.cpp | 499 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()
|
D | GrGeometryProcessor.h | 141 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
|