Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrSKSLPrettyPrint.cpp32 fIndex = 0; in prettify()
36 while (fLength > fIndex) { in prettify()
71 } else if ('{' == fInput[fIndex]) { in prettify()
76 } else if ('}' == fInput[fIndex]) { in prettify()
87 } else if ('\t' == fInput[fIndex] || '\n' == fInput[fIndex] || in prettify()
88 (fFreshline && ' ' == fInput[fIndex])) { in prettify()
89 fIndex++; in prettify()
91 this->appendChar(fInput[fIndex]); in prettify()
101 fPretty.appendf("%c", fInput[fIndex++]); in appendChar()
108 size_t i = fIndex; in hasToken()
[all …]
DGrDrawOpAtlas.h193 uint32_t index() const { return fIndex; } in index()
233 return new Plot(fIndex, fGenID + 1, fX, fY, fWidth, fHeight, fConfig); in clone()
245 const uint32_t fIndex; variable
/external/skia/src/sksl/ir/
DSkSLIndexExpression.h50 , fIndex(std::move(index)) { in IndexExpression()
51 ASSERT(fIndex->fType == *context.fInt_Type || fIndex->fType == *context.fUInt_Type); in IndexExpression()
55 return fBase->hasSideEffects() || fIndex->hasSideEffects(); in hasSideEffects()
59 return fBase->description() + "[" + fIndex->description() + "]"; in description()
63 std::unique_ptr<Expression> fIndex; member
DSkSLLayout.h107 , fIndex(index) in Layout()
126 , fIndex(-1) in Layout()
155 if (fIndex >= 0) { in description()
156 result += separator + "index = " + to_string(fIndex); in description()
257 fIndex == other.fIndex &&
277 int fIndex; member
/external/skia/src/core/
DSkPtrRecorder.h67 , fIndex(0) {} in Iter()
73 return fIndex < fSet.fList.count() ? fSet.fList[fIndex++].fPtr : nullptr; in next()
78 int fIndex; variable
88 uint32_t fIndex; // 1...N member
DSkFontDescriptor.h20 : fStream(std::move(stream)), fIndex(index), fAxisCount(axisCount), fAxis(axisCount) in SkFontData()
28 , fIndex(that.fIndex) in SkFontData()
40 int getIndex() const { return fIndex; } in getIndex()
46 int fIndex; variable
DSkPtrRecorder.cpp37 return fList[index].fIndex; in find()
53 pair.fIndex = count + 1; in add()
57 return fList[index].fIndex; in add()
68 int index = p[i].fIndex - 1; in copyToArray()
/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.cpp17 , fIndex(-1) { } in SkDebugger()
29 fIndex = fDebugCanvas->getSize() - 1; in loadPicture()
/external/skia/src/utils/
DSkMultiPictureDocument.cpp146 int fIndex = 0; member
152 if (fIndex < fCount) { in nextCanvas()
153 SkRect bounds = SkRect::MakeSize(fDst[fIndex].fSize); in nextCanvas()
160 if (fIndex < fCount) { in onDrawAnnotation()
161 fDst[fIndex].fPicture = fRecorder.finishRecordingAsPicture(); in onDrawAnnotation()
162 ++fIndex; in onDrawAnnotation()
190 if (canvas.fIndex != dstArrayCount) { in SkMultiPictureDocumentRead()
DSkNWayCanvas.cpp38 fIndex = 0; in Iter()
41 if (fIndex < fList.count()) { in next()
42 fCanvas = fList[fIndex++]; in next()
51 int fIndex; member in SkNWayCanvas::Iter
/external/icu/icu4c/source/i18n/
Dregeximp.cpp68 fChars(chars), fIndex(start), fLimit(limit), fcsp(NULL), fFoldChars(NULL), fFoldLength(0) { in CaseFoldingUCharIterator()
82 if (fIndex >= fLimit) { in next()
85 U16_NEXT(fChars, fIndex, fLimit, originalC); in next()
115 return fIndex; in getIndex()
/external/skia/tests/
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()
167 dummy->fIndex = -1; in sort_test()
178 dummy->fIndex = -1; in sort_test()
188 REPORTER_ASSERT(reporter, i <= pqTest.at(i)->fIndex); in sort_test()
DPathOpsConicIntersectionTest.cpp247 for (int fIndex = 0; fIndex < frameSize; ++fIndex) { in writeFrames() local
248 const SkDConic& dC = frames[index][fIndex]; in writeFrames()
276 for (int fIndex = 0; fIndex < frameSize; ++fIndex) { in writeFrames() local
277 const SkDConic& dC = frames[index][fIndex]; in writeFrames()
284 if (fIndex < 2) { in writeFrames()
/external/skia/tools/
DDumpRecord.cpp23 , fIndex(0) in Dumper()
84 printf("%*d ", fDigits, fIndex++); in print()
104 printf("%*d ", fDigits, fIndex++); in printNameAndTime()
129 int fIndex; member in __anonb99afc0d0111::Dumper
/external/skia/samplecode/
DPerlinPatch.cpp169 int fIndex; member in PerlinPatchView::PtClick
170 PtClick(SkView* view, int index) : Click(view), fIndex(index) {} in PtClick()
198 if (ptClick->fIndex >= 0) { in onClick()
199 fPts[ptClick->fIndex].set(click->fCurr.fX , click->fCurr.fY ); in onClick()
200 } else if (-1 == ptClick->fIndex) { in onClick()
205 } else if (-2 == ptClick->fIndex) { in onClick()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp141 : fIndex(0), fStrings(strings) in LocalizedStrings_IDWriteLocalizedStrings()
145 if (fIndex >= fStrings->GetCount()) { in next()
151 HRBM(fStrings->GetStringLength(fIndex, &stringLen), "Could not get string length."); in next()
154 HRBM(fStrings->GetString(fIndex, wString.get(), stringLen+1), "Could not get string."); in next()
160 HRBM(fStrings->GetLocaleNameLength(fIndex, &localeLen), "Could not get locale length."); in next()
163 HRBM(fStrings->GetLocaleName(fIndex, wLocale.get(), localeLen+1), "Could not get locale."); in next()
167 ++fIndex; in next()
172 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.cpp67 , fIndex(index) in SkTypeface_AndroidSystem()
93 *ttcIndex = fIndex; in onOpenStream()
97 return skstd::make_unique<SkFontData>(this->makeStream(), fIndex, in onMakeFontData()
102 int fIndex; member in SkTypeface_AndroidSystem
167 const int ttcIndex = fontFile.fIndex; in SkFontStyleSet_Android()
/external/skia/src/pipe/
DSkPipeCanvas.h30 return curr->fIndex; in find()
40 rec->fIndex = fNextIndex++; in add()
41 return rec->fIndex; in add()
47 int fIndex; member
/external/skia/src/gpu/ops/
DGrAAConvexTessellator.h138 pt->fIndex = index; in addIdx()
145 fPts[i].fOrigEdgeId = fPts[i].fIndex; in makeOriginalRing()
155 int index(int index) const { return fPts[index].fIndex; } in index()
172 int fIndex; member
DGrAAConvexTessellator.cpp840 fPts[cur].fNorm = tess.point(fPts[next].fIndex) - tess.point(fPts[cur].fIndex); in computeNormals()
871 SkPoint prev = tess.point(fPts[0].fIndex) - tess.point(fPts.top().fIndex); in isConvex()
872 SkPoint cur = tess.point(fPts[1].fIndex) - tess.point(fPts[0].fIndex); in isConvex()
880 cur = tess.point(fPts[next].fIndex) - tess.point(fPts[i].fIndex); in isConvex()
1037 tess.point(fPts[cur].fIndex), in draw()
1038 tess.point(fPts[next].fIndex), in draw()
1041 SkPoint mid = tess.point(fPts[cur].fIndex) + tess.point(fPts[next].fIndex); in draw()
1055 draw_arrow(canvas, tess.point(fPts[cur].fIndex), fPts[cur].fBisector, in draw()
/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/sksl/
DSkSLCPPCodeGenerator.cpp82 if (i.fIndex->fKind != Expression::kIntLiteral_Kind) { in writeIndexExpression()
83 fErrors.error(i.fIndex->fPosition, in writeIndexExpression()
87 int64_t index = ((IntLiteral&) *i.fIndex).fValue; in writeIndexExpression()
99 if (i.fIndex->fKind != Expression::kIntLiteral_Kind) { in writeIndexExpression()
100 fErrors.error(i.fIndex->fPosition, in writeIndexExpression()
104 int64_t index = ((IntLiteral&) *i.fIndex).fValue; in writeIndexExpression()
/external/icu/icu4c/source/common/
Duresbund.cpp1177 resB->fIndex = -1; in init_resb_result()
1440 resB->fIndex = -1; in ures_resetIterator()
1447 return (UBool)(resB->fIndex < resB->fSize-1); in ures_hasNext()
1461 if(resB->fIndex == resB->fSize-1) { in ures_getNextString()
1464 resB->fIndex++; in ures_getNextString()
1472 r = res_getTableItemByIndex(&(resB->fResData), resB->fRes, resB->fIndex, key); in ures_getNextString()
1476 return ures_getStringWithAlias(resB, r, resB->fIndex, len, status); in ures_getNextString()
1479 r = res_getArrayItem(&(resB->fResData), resB->fRes, resB->fIndex); in ures_getNextString()
1483 return ures_getStringWithAlias(resB, r, resB->fIndex, len, status); in ures_getNextString()
1485 return ures_getStringWithAlias(resB, resB->fRes, resB->fIndex, len, status); in ures_getNextString()
[all …]

12