Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/skia/include/core/
DSkReader32.h23 SkReader32() : fCurr(NULL), fStop(NULL), fBase(NULL) {} in SkReader32()
32 fBase = fCurr = (const char*)data; in setMemory()
37 size_t offset() const { return fCurr - fBase; } in offset()
38 bool eof() const { return fCurr >= fStop; } in eof()
40 const void* peek() const { return fCurr; } in peek()
42 size_t available() const { return fStop - fCurr; } in available()
45 void rewind() { fCurr = fBase; } in rewind()
50 fCurr = fBase + offset; in setOffset()
56 SkASSERT(ptr_align_4(fCurr)); in readInt()
57 int32_t value = *(const int32_t*)fCurr; in readInt()
[all …]
DSkTInternalLList.h184 Iter() : fCurr(NULL) {} in Iter()
185 Iter(const Iter& iter) : fCurr(iter.fCurr) {} in Iter()
186 Iter& operator= (const Iter& iter) { fCurr = iter.fCurr; return *this; }
190 fCurr = list.fHead; in init()
193 fCurr = list.fTail; in init()
196 return fCurr; in init()
199 T* get() { return fCurr; } in get()
205 if (NULL == fCurr) { in next()
209 fCurr = fCurr->fNext; in next()
210 return fCurr; in next()
[all …]
/external/skia/include/core/
DSkReader32.h23 SkReader32() : fCurr(NULL), fStop(NULL), fBase(NULL) {} in SkReader32()
32 fBase = fCurr = (const char*)data; in setMemory()
37 size_t offset() const { return fCurr - fBase; } in offset()
38 bool eof() const { return fCurr >= fStop; } in eof()
40 const void* peek() const { return fCurr; } in peek()
42 size_t available() const { return fStop - fCurr; } in available()
45 void rewind() { fCurr = fBase; } in rewind()
50 fCurr = fBase + offset; in setOffset()
56 SkASSERT(ptr_align_4(fCurr)); in readInt()
57 int32_t value = *(const int32_t*)fCurr; in readInt()
[all …]
DSkTInternalLList.h184 Iter() : fCurr(NULL) {} in Iter()
185 Iter(const Iter& iter) : fCurr(iter.fCurr) {} in Iter()
186 Iter& operator= (const Iter& iter) { fCurr = iter.fCurr; return *this; }
190 fCurr = list.fHead; in init()
193 fCurr = list.fTail; in init()
196 return fCurr; in init()
199 T* get() { return fCurr; } in get()
205 if (NULL == fCurr) { in next()
209 fCurr = fCurr->fNext; in next()
210 return fCurr; in next()
[all …]
/external/chromium_org/third_party/skia/src/xml/
DSkXMLPullParser.cpp21 fCurr.fEventType = ERROR; in SkXMLPullParser()
27 fCurr.fEventType = ERROR; in SkXMLPullParser()
47 fCurr.fEventType = START_DOCUMENT; in setStream()
52 fCurr.fEventType = ERROR; in setStream()
61 switch (fCurr.fEventType) { in nextToken()
69 reset(&fCurr); in nextToken()
70 fCurr.fEventType = this->onNextToken(); in nextToken()
74 switch (fCurr.fEventType) { in nextToken()
82 return fCurr.fEventType; in nextToken()
87 switch (fCurr.fEventType) { in getName()
[all …]
/external/skia/src/xml/
DSkXMLPullParser.cpp21 fCurr.fEventType = ERROR; in SkXMLPullParser()
27 fCurr.fEventType = ERROR; in SkXMLPullParser()
47 fCurr.fEventType = START_DOCUMENT; in setStream()
52 fCurr.fEventType = ERROR; in setStream()
61 switch (fCurr.fEventType) { in nextToken()
69 reset(&fCurr); in nextToken()
70 fCurr.fEventType = this->onNextToken(); in nextToken()
74 switch (fCurr.fEventType) { in nextToken()
82 return fCurr.fEventType; in nextToken()
87 switch (fCurr.fEventType) { in getName()
[all …]
/external/chromium_org/third_party/skia/src/views/
DSkView.cpp416 click->fPrev = click->fCurr = click->fOrig; in DoClickDown()
435 click->fPrev = click->fCurr; in DoClickMoved()
436 click->fCurr.iset(x, y); in DoClickMoved()
437 if (!target->globalToLocal(&click->fCurr)) { in DoClickMoved()
439 click->fCurr = click->fPrev; in DoClickMoved()
459 click->fPrev = click->fCurr; in DoClickUp()
460 click->fCurr.iset(x, y); in DoClickUp()
461 if (!target->globalToLocal(&click->fCurr)) { in DoClickUp()
463 click->fCurr = click->fPrev; in DoClickUp()
/external/skia/src/views/
DSkView.cpp416 click->fPrev = click->fCurr = click->fOrig; in DoClickDown()
435 click->fPrev = click->fCurr; in DoClickMoved()
436 click->fCurr.iset(x, y); in DoClickMoved()
437 if (!target->globalToLocal(&click->fCurr)) { in DoClickMoved()
439 click->fCurr = click->fPrev; in DoClickMoved()
459 click->fPrev = click->fCurr; in DoClickUp()
460 click->fCurr.iset(x, y); in DoClickUp()
461 if (!target->globalToLocal(&click->fCurr)) { in DoClickUp()
463 click->fCurr = click->fPrev; in DoClickUp()
/external/skia/samplecode/
DSamplePathClip.cpp78 fCenter.set(click->fCurr.fX, click->fCurr.fY); in onClick()
DSampleDraw.cpp342 if (SkPoint::Distance(click->fOrig, click->fCurr) > SkIntToScalar(3)) { in onClick()
359 this->setDraw(fFactory->create(click->fOrig, click->fCurr))->unref(); in onClick()
363 (*iter)->offset(click->fCurr.x() - click->fPrev.x(), in onClick()
364 click->fCurr.y() - click->fPrev.y()); in onClick()
DSampleFatBits.cpp506 fPts[index] = click->fCurr; in onClick()
508 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
509 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
DSamplePatch.cpp339 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX, click->fCurr.fY); in onClick()
/external/chromium_org/third_party/skia/samplecode/
DSamplePathClip.cpp78 fCenter.set(click->fCurr.fX, click->fCurr.fY); in onClick()
DSampleDraw.cpp342 if (SkPoint::Distance(click->fOrig, click->fCurr) > SkIntToScalar(3)) { in onClick()
359 this->setDraw(fFactory->create(click->fOrig, click->fCurr))->unref(); in onClick()
363 (*iter)->offset(click->fCurr.x() - click->fPrev.x(), in onClick()
364 click->fCurr.y() - click->fPrev.y()); in onClick()
DSampleFatBits.cpp506 fPts[index] = click->fCurr; in onClick()
508 SkScalar dx = click->fCurr.fX - click->fPrev.fX; in onClick()
509 SkScalar dy = click->fCurr.fY - click->fPrev.fY; in onClick()
DSamplePatch.cpp339 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX, click->fCurr.fY); in onClick()
/external/skia/include/xml/
DSkXMLParser.h113 EventType getEventType() const { return fCurr.fEventType; }
147 Curr fCurr;
/external/chromium_org/third_party/skia/include/xml/
DSkXMLParser.h113 EventType getEventType() const { return fCurr.fEventType; }
147 Curr fCurr;
/external/skia/src/core/
DSkStream.cpp500 char* fCurr; member
505 size_t avail() const { return fStop - fCurr; } in avail()
506 size_t written() const { return fCurr - this->start(); } in written()
511 fCurr = this->start(); in init()
517 SkASSERT((size_t)(fStop - fCurr) >= size); in append()
518 memcpy(fCurr, data, size); in append()
519 fCurr += size; in append()
/external/chromium_org/third_party/skia/src/core/
DSkStream.cpp500 char* fCurr; member
505 size_t avail() const { return fStop - fCurr; } in avail()
506 size_t written() const { return fCurr - this->start(); } in written()
511 fCurr = this->start(); in init()
517 SkASSERT((size_t)(fStop - fCurr) >= size); in append()
518 memcpy(fCurr, data, size); in append()
519 fCurr += size; in append()
/external/chromium_org/third_party/skia/experimental/DrawingBoard/
DSampleDrawingClient.cpp148 fCurrLine.moveTo(click->fCurr); in onClick()
154 fCurrLine.lineTo(click->fCurr); in onClick()
DSkColorPalette.cpp80 SkPoint curr = click->fCurr; in onClick()
/external/skia/experimental/DrawingBoard/
DSampleDrawingClient.cpp148 fCurrLine.moveTo(click->fCurr); in onClick()
154 fCurrLine.lineTo(click->fCurr); in onClick()
DSkColorPalette.cpp80 SkPoint curr = click->fCurr; in onClick()
/external/chromium_org/third_party/skia/include/views/
DSkView.h155 SkPoint fOrig, fPrev, fCurr; variable

12