Home
last modified time | relevance | path

Searched refs:fLine (Results 1 - 25 of 93) sorted by relevance

1234

/third_party/skia/src/pathops/
H A DSkDConicLineIntersection.cpp21 , fLine(&l) in LineConicIntersections()
29 SkDEBUGPARAMS(fLine(nullptr))
43 double t = fLine->nearPoint(conicMidPt, nullptr); in checkCoincident()
111 SkDEBUGCODE(SkDPoint linePt = fLine->ptAtT(lineT)); in intersect()
126 double adj = (*fLine)[1].fX - (*fLine)[0].fX; in intersectRay()
127 double opp = (*fLine)[1].fY - (*fLine)[0].fY; in intersectRay()
130 r[n] = (fConic[n].fY - (*fLine)[0].fY) * adj - (fConic[n].fX - (*fLine)[ in intersectRay()
342 const SkDLine* fLine; global() member in LineConicIntersections
[all...]
H A DSkDQuadLineIntersection.cpp99 , fLine(&l) in LineQuadraticIntersections()
107 SkDEBUGPARAMS(fLine(nullptr))
121 double t = fLine->nearPoint(quadMidPt, nullptr); in checkCoincident()
155 double adj = (*fLine)[1].fX - (*fLine)[0].fX; in intersectRay()
156 double opp = (*fLine)[1].fY - (*fLine)[0].fY; in intersectRay()
159 r[n] = (fQuad[n].fY - (*fLine)[0].fY) * adj - (fQuad[n].fX - (*fLine)[0].fX) * opp; in intersectRay()
280 double lineT = fLine in addExactEndPoints()
418 const SkDLine* fLine; global() member in LineQuadraticIntersections
[all...]
H A DSkDCubicLineIntersection.cpp87 , fLine(l) in LineCubicIntersections()
102 double t = fLine.nearPoint(cubicMidPt, nullptr); in checkCoincident()
122 double adj = fLine[1].fX - fLine[0].fX; in intersectRay()
123 double opp = fLine[1].fY - fLine[0].fY; in intersectRay()
127 c[n].fX = (fCubic[n].fY - fLine[0].fY) * adj - (fCubic[n].fX - fLine[0].fX) * opp; in intersectRay()
136 c[n].fY = (fCubic[n].fY - fLine[0].fY) * opp in intersectRay()
137 + (fCubic[n].fX - fLine[ in intersectRay()
413 const SkDLine& fLine; global() member in LineCubicIntersections
[all...]
/third_party/skia/src/gpu/geometry/
H A DGrShape.cpp34 this->setLine(shape.fLine); in operator =()
210 fLine.fP1 = p1; in simplifyLine()
211 fLine.fP2 = p2; in simplifyLine()
214 SkASSERT(fLine.fP1 == p1 && fLine.fP2 == p2); in simplifyLine()
218 if (fLine.fP2.fY < fLine.fP1.fY || in simplifyLine()
219 (fLine.fP2.fY == fLine.fP1.fY && fLine in simplifyLine()
[all...]
H A DGrAATriangulator.cpp94 Line line = edge->fEdge->fLine; in makeEvent()
99 if (line.intersect(bisector.fLine, &p) && !c.sweep_lt(p, top->fPoint) && in makeEvent()
176 normal->set(SkDoubleToScalar(e->fLine.fA), in get_edge_normal()
177 SkDoubleToScalar(e->fLine.fB)); in get_edge_normal()
208 join->fLine.normalize(); in simplifyBoundary()
209 join->fLine = join->fLine * join->fWinding; in simplifyBoundary()
422 Line prevInner(prevEdge->fLine); in strokeBoundary()
424 Line prevOuter(prevEdge->fLine); in strokeBoundary()
434 Line inner(e->fLine); in strokeBoundary()
[all...]
H A DGrShape.h145 GrLineSegment& line() { SkASSERT(this->isLine()); return fLine; } in line()
146 const GrLineSegment& line() const { SkASSERT(this->isLine()); return fLine; } in line()
172 fLine = line; in setLine()
272 GrLineSegment fLine; member
/third_party/skia/src/sksl/
H A DSkSLLexer.h112 : fKind(kind), fOffset(offset), fLength(length), fLine(line) {} in Token()
117 int32_t fLine = -1; member
125 fLine = 1; in start()
132 int32_t fLine; member
135 Checkpoint getCheckpoint() const { return {fOffset, fLine}; } in getCheckpoint()
139 fLine = checkpoint.fLine; in rewindToCheckpoint()
145 int32_t fLine; member in SkSL::Lexer
H A DSkSLLexer.cpp502 return Token(Token::Kind::TK_END_OF_FILE, startOffset, 0, fLine); in next()
508 return Token(Token::Kind::TK_END_OF_FILE, startOffset, 0, fLine); in next()
523 ++fLine; in next()
527 return Token(kind, startOffset, fOffset - startOffset, fLine); in next()
H A DSkSLAnalysis.cpp252 fErrors->error(expr.fLine, in visitExpression()
278 fErrors->error(expr.fLine, "cannot assign to this expression"); in visitExpression()
290 fErrors->error(swizzle.fLine, in checkSwizzleWrite()
371 errors->error(stmt.fLine, "variable '" + var->name() + "' must be created in a scope"); in DetectVarDeclarationWithoutScope()
398 errors->error(expr->fLine, "can't assign to expression '" + expr->description() + "'"); in UpdateVariableRefKind()
508 fErrors.error(i.fLine, "index expression must be constant");
543 fContext.fErrors->error(pe.fLine, "global variable '" + decl.var().name() + in VerifyStaticTestsAndExpressions()
555 fContext.fErrors->error(stmt.fLine, "static if has non-static test"); in VerifyStaticTestsAndExpressions()
561 fContext.fErrors->error(stmt.fLine, in VerifyStaticTestsAndExpressions()
578 fContext.fErrors->error(expr.fLine, "functio in VerifyStaticTestsAndExpressions()
[all...]
/third_party/skia/tests/
H A DPathOpsCubicReduceOrderTest.cpp233 if (order == 2 && reducer.fLine[0] == reducer.fLine[1]) { in DEF_TEST()
238 if ( (reducer.fLine[0].fX != cubic[0].fX && reducer.fLine[0].fX != cubic[3].fX) in DEF_TEST()
239 || (reducer.fLine[0].fY != cubic[0].fY && reducer.fLine[0].fY != cubic[3].fY) in DEF_TEST()
240 || (reducer.fLine[1].fX != cubic[0].fX && reducer.fLine[1].fX != cubic[3].fX) in DEF_TEST()
241 || (reducer.fLine[1].fY != cubic[0].fY && reducer.fLine[ in DEF_TEST()
[all...]
H A DSkSLDSLErrorLineNumbers.cpp28 , fLine(line) in ExpectErrorLineNumber()
43 REPORTER_ASSERT(fReporter, pos.line() == fLine,
44 "Line number mismatch: expected %d, but received %d\n", fLine, pos.line());
51 int fLine; member in ExpectErrorLineNumber
/third_party/skia/src/sksl/ir/
H A DSkSLPrefixExpression.cpp35 if (type.checkForOutOfRangeLiteral(context, negated, value->fLine)) { in simplify_negation()
38 return Literal::Make(originalExpr.fLine, negated, &type); in simplify_negation()
52 return ConstructorArray::Make(context, originalExpr.fLine, ctor.type(), in simplify_negation()
63 return ConstructorDiagonalMatrix::Make(context, originalExpr.fLine, ctor.type(), in simplify_negation()
75 return ConstructorSplat::Make(context, originalExpr.fLine, ctor.type(), in simplify_negation()
85 return ConstructorCompound::Make(context, originalExpr.fLine, ctor.type(), in simplify_negation()
130 return Literal::MakeBool(operand->fLine, !b.boolValue(), &operand->type()); in logical_not_operand()
155 context.fErrors->error(base->fLine, in Convert()
163 context.fErrors->error(base->fLine, in Convert()
172 context.fErrors->error(base->fLine, in Convert()
[all...]
H A DSkSLFunctionDefinition.cpp105 if (a->fLine != b->fLine) { in Convert()
106 return a->fLine < b->fLine; in Convert()
157 fContext.fErrors->error(stmt.fLine, "variable '" + in Convert()
169 stmt.fLine, in Convert()
183 fContext.fErrors->error(returnStmt.fLine, in Convert()
189 fContext.fErrors->error(returnStmt.fLine, in Convert()
215 fContext.fErrors->error(stmt.fLine, in Convert()
224 fContext.fErrors->error(stmt.fLine, in Convert()
[all...]
H A DSkSLConstructorCompoundCast.cpp33 context, constCtor->fLine, destType, in cast_constant_composite()
34 ConstructorScalarCast::Make(context, constCtor->fLine, scalarType, in cast_constant_composite()
43 context, constCtor->fLine, destType, in cast_constant_composite()
44 ConstructorScalarCast::Make(context, constCtor->fLine, scalarType, in cast_constant_composite()
56 if (scalarType.checkForOutOfRangeLiteral(context, *slotVal, constCtor->fLine)) { in cast_constant_composite()
61 typecastArgs.push_back(Literal::Make(constCtor->fLine, *slotVal, &scalarType)); in cast_constant_composite()
64 return ConstructorCompound::Make(context, constCtor->fLine, destType, in cast_constant_composite()
H A DSkSLVarDeclarations.cpp102 ErrorCheck(context, var.fLine, var.modifiers(), baseType, var.storage()); in ErrorCheckAndCoerce()
105 context.fErrors->error(value->fLine, in ErrorCheckAndCoerce()
110 context.fErrors->error(value->fLine, in ErrorCheckAndCoerce()
115 context.fErrors->error(value->fLine, in ErrorCheckAndCoerce()
120 context.fErrors->error(value->fLine, in ErrorCheckAndCoerce()
131 context.fErrors->error(var.fLine, "'const' variables must be initialized"); in ErrorCheckAndCoerce()
135 context.fErrors->error(value->fLine, in ErrorCheckAndCoerce()
142 context.fErrors->error(var.fLine, "opaque type '" + var.type().name() + in ErrorCheckAndCoerce()
149 context.fErrors->error(value->fLine, in ErrorCheckAndCoerce()
186 context.fErrors->error(var->fLine, "duplicat in Convert()
[all...]
H A DSkSLFieldAccess.cpp32 context, base->fLine, std::move(base), f); in Convert()
37 context, base->fLine, std::move(base), f.functions()); in Convert()
44 base->fLine, in Convert()
57 return Setting::Convert(context, base->fLine, field); in Convert()
60 context.fErrors->error(base->fLine, "type '" + baseType.displayName() + in Convert()
H A DSkSLExpression.cpp18 context.fErrors->error(fLine, "expected '(' to begin function call"); in isIncomplete()
22 context.fErrors->error(fLine, "expected '(' to begin method call"); in isIncomplete()
26 context.fErrors->error(fLine, "expected '(' to begin constructor invocation"); in isIncomplete()
H A DSkSLSwitchStatement.cpp30 return std::make_unique<SwitchStatement>(fLine, in clone()
96 target->push_back(Block::Make(block.fLine, std::move(blockStmts), in move_all_but_break()
164 return Block::Make(caseToCapture->fLine, std::move(caseStmts), std::move(symbolTable)); in BlockForCase()
186 caseLine = caseValues[i]->fLine; in Convert()
196 context.fErrors->error(caseValue->fLine, "case value must be a constant integer"); in Convert()
214 context.fErrors->error(sc->fLine, in Convert()
217 context.fErrors->error(sc->fLine, "duplicate default case"); in Convert()
287 context.fErrors->error(value->fLine, in Make()
H A DSkSLDoStatement.cpp21 context.fErrors->error(stmt->fLine, "do-while loops are not supported"); in Convert()
40 return std::make_unique<DoStatement>(stmt->fLine, std::move(stmt), std::move(test)); in Make()
44 return std::make_unique<DoStatement>(fLine, this->statement()->clone(), in clone()
H A DSkSLIndexExpression.cpp26 context.fErrors->error(base.fLine, "index " + to_string(index) + " out of range for '" + in index_out_of_range()
63 return TypeReference::Convert(context, base->fLine, in Convert()
69 context.fErrors->error(base->fLine, in Convert()
137 ctorArgs.push_back(Literal::Make(baseExpr->fLine, *slotVal, &scalarType)); in Make()
145 int line = ctorArgs.front()->fLine; in Make()
H A DSkSLConstructorSplat.h32 : ConstructorSplat(scalar.fLine, type, scalar.clone()) { in ConstructorSplat()
44 return std::make_unique<ConstructorSplat>(fLine, this->type(), argument()->clone());
/third_party/icu/icu4c/source/test/perf/howExpensiveIs/
H A DhowExpensiveIs.cpp156 HowExpensiveTest(const char *name, const char *file, int32_t line) : fName(name), fFile(file), fLine(line) {} in HowExpensiveTest()
193 int32_t fLine; member in HowExpensiveTest
202 fprintf(stderr, "%s:%d:\t%s\n", t.fFile, t.fLine, t.getName()); in runTestOn()
206 fprintf(stderr, "%s:%d: Running: %s\n", t.fFile, t.fLine, t.getName()); in runTestOn()
271 int fLine; member in NumTest
299 fLine(LINE), in NumTest()
312 fFile,fLine,getName(),trial,fExpect); in warmup()
399 int fLine; member in NumFmtTest
427 fLine(LINE), in NumFmtTest()
445 fFile,fLine,getNam in warmup()
484 int fLine; global() member in NumFmtInt64Test
611 int fLine; global() member in NumFmtStringPieceTest
[all...]
/third_party/skia/include/private/
H A DGrSingleOwner.h27 : fFile(file), fLine(line), fSO(so) { in AutoEnforce()
30 ~AutoEnforce() { fSO->exit(fFile, fLine); } in ~AutoEnforce()
33 int fLine; member
H A DSkSLIRNode.h51 int fLine; member in SkSL::VariableRefKind
55 : fLine(line) in IRNode()
/third_party/skia/include/sksl/
H A DSkSLErrorReporter.h28 , fLine(line) {} in PositionInfo()
43 return fLine; in line()
48 int32_t fLine = -1; member in SkSL::PositionInfo

Completed in 15 milliseconds

1234