Home
last modified time | relevance | path

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

12

/external/skia/src/pathops/
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 …]
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 …]
/external/skqp/src/pathops/
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 …]
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 …]
/external/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];
/external/skqp/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];
/external/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;
/external/angle/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;
/external/u-boot/drivers/fpga/
Dlattice.c181 signed char cIndex = 0; in ispVM() local
201 for (cIndex = 0; cIndex < 8; cIndex++) in ispVM()
202 szFileVersion[cIndex] = GetByte(); in ispVM()
207 for (cIndex = 1; cIndex < 8; cIndex++) in ispVM()
208 szFileVersion[cIndex] = GetByte(); in ispVM()
221 for (cIndex = 0; cIndex < 8; cIndex++) { in ispVM()
222 if (szFileVersion[cIndex] != in ispVM()
223 g_szSupportedVersions[cVersionIndex][cIndex]) { in ispVM()
Divm_core.c598 signed char cIndex = 0; in ispVMDataSize() local
599 cIndex = 0; in ispVMDataSize()
601 iSize |= ((long int) (cCurrentByte & 0x7F)) << cIndex; in ispVMDataSize()
602 cIndex += 7; in ispVMDataSize()
604 iSize |= ((long int) (cCurrentByte & 0x7F)) << cIndex; in ispVMDataSize()
/external/skqp/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()
/external/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()
/external/antlr/tool/src/main/java/org/antlr/tool/
DDOTGenerator.java351 for (int cIndex = 0; cIndex < configsInAlt.size(); cIndex++) { in getStateLabel()
352 NFAConfiguration c = configsInAlt.get(cIndex); in getStateLabel()
355 if ( (cIndex+1)<configsInAlt.size() ) { in getStateLabel()
358 if ( n%5==0 && (configsInAlt.size()-cIndex)>3 ) { in getStateLabel()
/external/skia/gm/
Darcto.cpp106 int cIndex = 0; variable
109 paint.setColor(colors[cIndex++]);
/external/skqp/gm/
Darcto.cpp86 int cIndex = 0; variable
89 paint.setColor(colors[cIndex++]);
/external/skqp/samplecode/
DSamplePathFuzz.cpp364 for (uint32_t cIndex = 0; cIndex < fPathContourCount; ++cIndex) { in makePath() local
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2513 for (unsigned cIndex = 0, eIndex = ConstraintOperands.size(); in ParseConstraints() local
2514 cIndex != eIndex; ++cIndex) { in ParseConstraints()
2515 AsmOperandInfo& OpInfo = ConstraintOperands[cIndex]; in ParseConstraints()
2550 for (unsigned cIndex = 0, eIndex = ConstraintOperands.size(); in ParseConstraints() local
2551 cIndex != eIndex; ++cIndex) { in ParseConstraints()
2552 AsmOperandInfo& cInfo = ConstraintOperands[cIndex]; in ParseConstraints()
2561 for (unsigned cIndex = 0, eIndex = ConstraintOperands.size(); in ParseConstraints() local
2562 cIndex != eIndex; ++cIndex) { in ParseConstraints()
2563 AsmOperandInfo& OpInfo = ConstraintOperands[cIndex]; in ParseConstraints()

12