Home
last modified time | relevance | path

Searched refs:fIndex (Results 1 – 25 of 42) sorted by relevance

12

/external/skia/src/gpu/gl/builders/
DGrGLSLPrettyPrint.cpp35 fIndex = 0; in prettify()
39 while (fLength > fIndex) { in prettify()
73 } else if ('{' == fInput[fIndex]) { in prettify()
78 } else if ('}' == fInput[fIndex]) { in prettify()
89 } else if ('\t' == fInput[fIndex] || '\n' == fInput[fIndex] || in prettify()
90 (fFreshline && ' ' == fInput[fIndex])) { in prettify()
91 fIndex++; in prettify()
93 this->appendChar(fInput[fIndex]); in prettify()
102 fPretty.appendf("%c", fInput[fIndex++]); in appendChar()
109 size_t i = fIndex; in hasToken()
[all …]
/external/skia/src/gpu/
DGrRecordReplaceDraw.cpp70 , fIndex(0) in ReplaceDraw()
97 for (fIndex = 0; fIndex < fOps.count(); ++fIndex) { in draw()
102 record->visit<void>(fOps[fIndex], *this); in draw()
106 for (fIndex = 0; fIndex < (int) record->count(); ++fIndex) { in draw()
111 record->visit<void>(fIndex, *this); in draw()
126 drawPictureOffset = fOps[fIndex]; in operator ()()
128 drawPictureOffset = fIndex; in operator ()()
155 startOffset = fOps[fIndex]; in operator ()()
157 startOffset = fIndex; in operator ()()
173 while (fOps[fIndex] < layer->stop()) { in operator ()()
[all …]
DGrBatchAtlas.h155 uint32_t index() const { return fIndex; } in index()
193 return new BatchPlot(fIndex, fGenID+1, fX, fY, fWidth, fHeight, fConfig); in clone()
205 const uint32_t fIndex; variable
DGrBatchAtlas.cpp20 , fIndex(index) in BatchPlot()
22 , fID(CreateId(fIndex, fGenID)) in BatchPlot()
105 fID = CreateId(fIndex, fGenID); in resetRects()
/external/skia/tools/VisualBench/
DVisualDebugModule.cpp14 , fIndex(0) in VisualDebugModule()
35 fIndex = fDebugCanvas->getSize() - 1; in advanceIfNecessary()
60 fDebugCanvas->drawTo(canvas, fIndex); in draw()
68 case 'a': fIndex = (fIndex + 1) % (fDebugCanvas->getSize() - 1); break; in onHandleChar()
69 case 's': fIndex = fIndex <= 0 ? fDebugCanvas->getSize() - 1 : fIndex - 1; break; in onHandleChar()
DVisualDebugModule.h34 int fIndex; variable
/external/skia/src/core/
DSkPtrRecorder.h68 , fIndex(0) {} in Iter()
74 return fIndex < fSet.fList.count() ? fSet.fList[fIndex++].fPtr : nullptr; in next()
79 int fIndex; variable
89 uint32_t fIndex; // 1...N member
DSkFontDescriptor.h19 : fStream(stream), fIndex(index), fAxisCount(axisCount), fAxis(axisCount) in SkFontData()
27 , fIndex(that.fIndex) in SkFontData()
39 int getIndex() const { return fIndex; } in getIndex()
45 int fIndex; variable
DSkPtrRecorder.cpp38 return fList[index].fIndex; in find()
54 pair.fIndex = count + 1; in add()
58 return fList[index].fIndex; in add()
69 int index = p[i].fIndex - 1; in copyToArray()
DSkPictureFlat.h332 int index() const { return fIndex; } in index()
361 void setIndex(int index) { fIndex = index; } in setIndex()
367 fIndex = index; in stampHeader()
373 int fIndex; variable
/external/skia/debugger/
DSkDebugger.h26 fIndex = index; in setIndex()
29 if (fIndex >= 0) { in draw()
30 fDebugCanvas->drawTo(canvas, fIndex); in draw()
93 return fIndex; in index()
129 int fIndex; variable
DSkDebugger.cpp16 , fIndex(-1) { in SkDebugger()
36 fIndex = fDebugCanvas->getSize() - 1; in loadPicture()
/external/icu/icu4c/source/i18n/
Dregeximp.cpp66 fChars(chars), fIndex(start), fLimit(limit), fcsp(NULL), fFoldChars(NULL), fFoldLength(0) { in CaseFoldingUCharIterator()
80 if (fIndex >= fLimit) { in next()
83 U16_NEXT(fChars, fIndex, fLimit, originalC); in next()
113 return fIndex; in getIndex()
/external/skia/tests/
DPathOpsConicIntersectionTest.cpp245 for (int fIndex = 0; fIndex < frameSize; ++fIndex) { in writeFrames() local
246 const SkDConic& dC = frames[index][fIndex]; in writeFrames()
274 for (int fIndex = 0; fIndex < frameSize; ++fIndex) { in writeFrames() local
275 const SkDConic& dC = frames[index][fIndex]; in writeFrames()
282 if (fIndex < 2) { in writeFrames()
DTDPQueueTest.cpp70 mutable int fIndex; member
73 static int* PQIndex(Dummy* const& dummy) { return &dummy->fIndex; } in PQIndex()
94 dummy->fIndex = -1; in random_test()
109 REPORTER_ASSERT(reporter, -1 != array[j].fIndex); in random_test()
DPathOpsSkpClipTest.cpp567 while (++fIndex < kMaxDir) { in next()
568 if (fRun[fIndex]) { in next()
569 return fIndex; in next()
576 fIndex = -1; in reset()
597 int fIndex; member in Dirs
604 : fIndex(-1) { in Filenames()
608 while (fNames && ++fIndex < fNames->count()) { in next()
609 return (*fNames)[fIndex]; in next()
619 int fIndex; member in Filenames
/external/skia/samplecode/
DPerlinPatch.cpp162 int fIndex; member in PerlinPatchView::PtClick
163 PtClick(SkView* view, int index) : Click(view), fIndex(index) {} in PtClick()
191 if (ptClick->fIndex >= 0) { in onClick()
192 fPts[ptClick->fIndex].set(click->fCurr.fX , click->fCurr.fY ); in onClick()
193 } else if (-1 == ptClick->fIndex) { in onClick()
198 } else if (-2 == ptClick->fIndex) { in onClick()
/external/skia/tools/
DDumpRecord.cpp23 , fIndex(0) in Dumper()
85 printf("%*d ", fDigits, fIndex++); in printNameAndTime()
110 int fIndex; member in __anonbd72140f0111::Dumper
/external/skia/src/ports/
DSkTypeface_win_dw.cpp139 : fIndex(0), fStrings(strings) in LocalizedStrings_IDWriteLocalizedStrings()
143 if (fIndex >= fStrings->GetCount()) { in next()
149 HRBM(fStrings->GetStringLength(fIndex, &stringLen), "Could not get string length."); in next()
152 HRBM(fStrings->GetString(fIndex, wString.get(), stringLen+1), "Could not get string."); in next()
158 HRBM(fStrings->GetLocaleNameLength(fIndex, &localeLen), "Could not get locale length."); in next()
161 HRBM(fStrings->GetLocaleName(fIndex, wLocale.get(), localeLen+1), "Could not get locale."); in next()
165 ++fIndex; in next()
170 UINT32 fIndex; member in LocalizedStrings_IDWriteLocalizedStrings
DSkFontMgr_android_parser.h70 FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } in FontFileInfo()
73 int fIndex; member
DSkFontMgr_android.cpp66 , fIndex(index) in SkTypeface_AndroidSystem()
91 *ttcIndex = fIndex; in onOpenStream()
95 return new SkFontData(this->createStream(), fIndex, fAxes.begin(), fAxes.count()); in onCreateFontData()
99 int fIndex; member in SkTypeface_AndroidSystem
164 const int ttcIndex = fontFile.fIndex; in SkFontStyleSet_Android()
/external/skia/src/gpu/batches/
DGrAAConvexTessellator.cpp766 fPts[cur].fNorm = tess.point(fPts[next].fIndex) - tess.point(fPts[cur].fIndex); in computeNormals()
797 SkPoint prev = tess.point(fPts[0].fIndex) - tess.point(fPts.top().fIndex); in isConvex()
798 SkPoint cur = tess.point(fPts[1].fIndex) - tess.point(fPts[0].fIndex); in isConvex()
806 cur = tess.point(fPts[next].fIndex) - tess.point(fPts[i].fIndex); in isConvex()
967 tess.point(fPts[cur].fIndex), in draw()
968 tess.point(fPts[next].fIndex), in draw()
971 SkPoint mid = tess.point(fPts[cur].fIndex) + tess.point(fPts[next].fIndex); in draw()
985 draw_arrow(canvas, tess.point(fPts[cur].fIndex), fPts[cur].fBisector, in draw()
DGrAAConvexTessellator.h135 pt->fIndex = index; in addIdx()
145 int index(int index) const { return fPts[index].fIndex; } in index()
162 int fIndex; member
/external/skia/src/sfnt/
DSkOTTable_name.cpp447 if (fIndex >= nameRecordsCount) { in next()
451 nameRecord = &nameRecords[fIndex]; in next()
452 ++fIndex; in next()
/external/skia/src/utils/
DSkNWayCanvas.cpp43 fIndex = 0; in Iter()
46 if (fIndex < fList.count()) { in next()
47 fCanvas = fList[fIndex++]; in next()
56 int fIndex; member in SkNWayCanvas::Iter

12