Home
last modified time | relevance | path

Searched refs:cIndex (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/src/pathops/
DSkDConicLineIntersection.cpp179 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addExactEndPoints() local
180 double lineT = fLine->exactPoint(fConic[cIndex]); in addExactEndPoints()
184 double conicT = (double) (cIndex >> 1); in addExactEndPoints()
185 fIntersections->insert(conicT, lineT, fConic[cIndex]); in addExactEndPoints()
190 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addNearEndPoints() local
191 double conicT = (double) (cIndex >> 1); in addNearEndPoints()
195 double lineT = fLine->nearPoint(fConic[cIndex], nullptr); in addNearEndPoints()
199 fIntersections->insert(conicT, lineT, fConic[cIndex]); in addNearEndPoints()
220 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addExactHorizontalEndPoints() local
221 double lineT = SkDLine::ExactPointH(fConic[cIndex], left, right, y); in addExactHorizontalEndPoints()
[all …]
DSkDCubicLineIntersection.cpp272 for (int cIndex = 0; cIndex < 4; cIndex += 3) { in addExactEndPoints() local
273 double lineT = fLine.exactPoint(fCubic[cIndex]); in addExactEndPoints()
277 double cubicT = (double) (cIndex >> 1); in addExactEndPoints()
278 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addExactEndPoints()
285 for (int cIndex = 0; cIndex < 4; cIndex += 3) { in addNearEndPoints() local
286 double cubicT = (double) (cIndex >> 1); in addNearEndPoints()
290 double lineT = fLine.nearPoint(fCubic[cIndex], nullptr); in addNearEndPoints()
294 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addNearEndPoints()
315 for (int cIndex = 0; cIndex < 4; cIndex += 3) { in addExactHorizontalEndPoints() local
316 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y); in addExactHorizontalEndPoints()
[all …]
/third_party/flutter/skia/src/pathops/
DSkDConicLineIntersection.cpp179 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addExactEndPoints() local
180 double lineT = fLine->exactPoint(fConic[cIndex]); in addExactEndPoints()
184 double conicT = (double) (cIndex >> 1); in addExactEndPoints()
185 fIntersections->insert(conicT, lineT, fConic[cIndex]); in addExactEndPoints()
190 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addNearEndPoints() local
191 double conicT = (double) (cIndex >> 1); in addNearEndPoints()
195 double lineT = fLine->nearPoint(fConic[cIndex], nullptr); in addNearEndPoints()
199 fIntersections->insert(conicT, lineT, fConic[cIndex]); in addNearEndPoints()
220 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) { in addExactHorizontalEndPoints() local
221 double lineT = SkDLine::ExactPointH(fConic[cIndex], left, right, y); in addExactHorizontalEndPoints()
[all …]
DSkDCubicLineIntersection.cpp272 for (int cIndex = 0; cIndex < 4; cIndex += 3) { in addExactEndPoints() local
273 double lineT = fLine.exactPoint(fCubic[cIndex]); in addExactEndPoints()
277 double cubicT = (double) (cIndex >> 1); in addExactEndPoints()
278 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addExactEndPoints()
285 for (int cIndex = 0; cIndex < 4; cIndex += 3) { in addNearEndPoints() local
286 double cubicT = (double) (cIndex >> 1); in addNearEndPoints()
290 double lineT = fLine.nearPoint(fCubic[cIndex], nullptr); in addNearEndPoints()
294 fIntersections->insert(cubicT, lineT, fCubic[cIndex]); in addNearEndPoints()
315 for (int cIndex = 0; cIndex < 4; cIndex += 3) { in addExactHorizontalEndPoints() local
316 double lineT = SkDLine::ExactPointH(fCubic[cIndex], left, right, y); in addExactHorizontalEndPoints()
[all …]
/third_party/skia/experimental/docs/
DinterpolatorFunctions.js20 for (var cIndex = 0; cIndex < path.length; ++cIndex) {
21 out[cIndex] = {};
22 var curveKey = Object.keys(path[cIndex])[0];
23 var curve = path[cIndex][curveKey];
53 out[cIndex][curveKey] = outArray;
67 for (var cIndex = 0; cIndex < curves0.length; ++cIndex) {
68 out[cIndex] = {};
69 var curve0Key = Object.keys(curves0[cIndex])[0];
70 var curve1Key = Object.keys(curves1[cIndex])[0];
72 var curve0 = curves0[cIndex][curve0Key];
[all …]
DsvgBackend.js139 for (var cIndex = 0; cIndex < path.length; ++cIndex) {
140 var curveKey = Object.keys(path[cIndex])[0];
141 var v = path[cIndex][curveKey];
/third_party/flutter/skia/experimental/docs/
DinterpolatorFunctions.js20 for (var cIndex = 0; cIndex < path.length; ++cIndex) {
21 out[cIndex] = {};
22 var curveKey = Object.keys(path[cIndex])[0];
23 var curve = path[cIndex][curveKey];
53 out[cIndex][curveKey] = outArray;
67 for (var cIndex = 0; cIndex < curves0.length; ++cIndex) {
68 out[cIndex] = {};
69 var curve0Key = Object.keys(curves0[cIndex])[0];
70 var curve1Key = Object.keys(curves1[cIndex])[0];
72 var curve0 = curves0[cIndex][curve0Key];
[all …]
DsvgBackend.js139 for (var cIndex = 0; cIndex < path.length; ++cIndex) {
140 var curveKey = Object.keys(path[cIndex])[0];
141 var v = path[cIndex][curveKey];
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DInput.cpp46 assert(mReadLoc.cIndex < mLength[mReadLoc.sIndex]); in skipChar()
47 ++mReadLoc.cIndex; in skipChar()
48 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in skipChar()
51 mReadLoc.cIndex = 0; in skipChar()
57 return mString[mReadLoc.sIndex] + mReadLoc.cIndex; in skipChar()
67 const char *c = mString[mReadLoc.sIndex] + mReadLoc.cIndex; in read()
109 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex; in read()
116 if (*(mString[mReadLoc.sIndex] + mReadLoc.cIndex + i) == '\\') in read()
122 std::memcpy(buf + nRead, mString[mReadLoc.sIndex] + mReadLoc.cIndex, size); in read()
124 mReadLoc.cIndex += size; in read()
[all …]
DInput.h42 size_t cIndex; // Char index. member
44 Location() : sIndex(0), cIndex(0) {} in Location()
DTokenizer.l85 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
87 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
92 scanLoc->cIndex += yyleng; \
288 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/
DInput.cpp38 ASSERT(mReadLoc.cIndex < mLength[mReadLoc.sIndex]); in skipChar()
39 ++mReadLoc.cIndex; in skipChar()
40 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in skipChar()
43 mReadLoc.cIndex = 0; in skipChar()
49 return mString[mReadLoc.sIndex] + mReadLoc.cIndex; in skipChar()
59 const char *c = mString[mReadLoc.sIndex] + mReadLoc.cIndex; in read()
101 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex; in read()
108 if (*(mString[mReadLoc.sIndex] + mReadLoc.cIndex + i) == '\\') in read()
114 std::memcpy(buf + nRead, mString[mReadLoc.sIndex] + mReadLoc.cIndex, size); in read()
116 mReadLoc.cIndex += size; in read()
[all …]
DInput.h36 size_t cIndex; // Char index. member
38 Location() : sIndex(0), cIndex(0) {} in Location()
DTokenizer.l77 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
79 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
84 scanLoc->cIndex += yyleng; \
280 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
DTokenizer.cpp737 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
739 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
745 scanLoc->cIndex += yyleng; \
1342 scanLoc->cIndex = 0;
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
DInput.cpp38 ASSERT(mReadLoc.cIndex < mLength[mReadLoc.sIndex]); in skipChar()
39 ++mReadLoc.cIndex; in skipChar()
40 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in skipChar()
43 mReadLoc.cIndex = 0; in skipChar()
49 return mString[mReadLoc.sIndex] + mReadLoc.cIndex; in skipChar()
59 const char *c = mString[mReadLoc.sIndex] + mReadLoc.cIndex; in read()
101 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex; in read()
108 if (*(mString[mReadLoc.sIndex] + mReadLoc.cIndex + i) == '\\') in read()
114 std::memcpy(buf + nRead, mString[mReadLoc.sIndex] + mReadLoc.cIndex, size); in read()
116 mReadLoc.cIndex += size; in read()
[all …]
DInput.h36 size_t cIndex; // Char index. member
38 Location() : sIndex(0), cIndex(0) {} in Location()
Dpreprocessor.l85 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
87 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
92 scanLoc->cIndex += yyleng; \
288 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
Dpreprocessor_lex_autogen.cpp744 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
746 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
752 scanLoc->cIndex += yyleng; \
1349 scanLoc->cIndex = 0;
/third_party/flutter/skia/tests/
DPathOpsTightBoundsTest.cpp19 for (int cIndex = 0; cIndex < contourCount; ++cIndex) { in testTightBoundsLines() local
64 for (int cIndex = 0; cIndex < contourCount; ++cIndex) { in testTightBoundsQuads() local
DPathOpsConicIntersectionTest.cpp50 for (int cIndex = 0; cIndex < 2; ++cIndex) { in chopCompare() local
53 up.set(chopped[cIndex].fPts[pIndex]); in chopCompare()
54 SkASSERT(dChopped[cIndex].fPts[pIndex].approximatelyEqual(up)); in chopCompare()
/third_party/skia/tests/
DPathOpsTightBoundsTest.cpp18 for (int cIndex = 0; cIndex < contourCount; ++cIndex) { in testTightBoundsLines() local
63 for (int cIndex = 0; cIndex < contourCount; ++cIndex) { in testTightBoundsQuads() local
DPathOpsConicIntersectionTest.cpp50 for (int cIndex = 0; cIndex < 2; ++cIndex) { in chopCompare() local
53 up.set(chopped[cIndex].fPts[pIndex]); in chopCompare()
54 SkASSERT(dChopped[cIndex].fPts[pIndex].approximatelyEqual(up)); in chopCompare()
/third_party/flutter/skia/gm/
Darcto.cpp106 int cIndex = 0; variable
109 paint.setColor(colors[cIndex++]);
/third_party/skia/gm/
Darcto.cpp104 int cIndex = 0; variable
108 paint.setColor(colors[cIndex++]);

12