Home
last modified time | relevance | path

Searched refs:fA (Results 1 – 25 of 65) sorted by relevance

123

/external/skia/src/pathops/
DSkLineParameters.h57 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints()
66 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints()
72 fA = pts[s].fY - pts[e].fY; in cubicEndPoints()
86 fA = pts[0].fY - pts[1].fY; in lineEndPoints()
105 fA = DBL_EPSILON; in quadEndPoints()
111 fA = pts[s].fY - pts[e].fY; in quadEndPoints()
122 return fA * fA + fB * fB; in normalSquared()
128 fA = fB = fC = 0; in normalize()
132 fA *= reciprocal; in normalize()
142 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in cubicDistanceY()
[all …]
/external/valgrind/none/tests/ppc64/
Dround.c399 double qtr, half, fA, fB, fD; in check_single_arithmetic_op() local
408 : "=f"(fD) : "f"(fA) , "f"(fB)); in check_single_arithmetic_op()
412 : "=f"(fD) : "f"(fA)); in check_single_arithmetic_op()
432 fA = s*whole; in check_single_arithmetic_op()
436 fA = s*2*whole; in check_single_arithmetic_op()
440 fA = 0.5; in check_single_arithmetic_op()
444 fA = s*(4+q)*half; in check_single_arithmetic_op()
517 round_mode_name[mode], result, flt_op_names[op], fA); in check_single_arithmetic_op()
545 double fA, fB, fC, fD; in check_single_guarded_arithmetic_op() local
582 : "=f"(fD) : "f"(fA) , "f"(fB), "f"(fC)); in check_single_guarded_arithmetic_op()
[all …]
/external/valgrind/none/tests/ppc32/
Dround.c399 double qtr, half, fA, fB, fD; in check_single_arithmetic_op() local
408 : "=f"(fD) : "f"(fA) , "f"(fB)); in check_single_arithmetic_op()
412 : "=f"(fD) : "f"(fA)); in check_single_arithmetic_op()
432 fA = s*whole; in check_single_arithmetic_op()
436 fA = s*2*whole; in check_single_arithmetic_op()
440 fA = 0.5; in check_single_arithmetic_op()
444 fA = s*(4+q)*half; in check_single_arithmetic_op()
517 round_mode_name[mode], result, flt_op_names[op], fA); in check_single_arithmetic_op()
545 double fA, fB, fC, fD; in check_single_guarded_arithmetic_op() local
582 : "=f"(fD) : "f"(fA) , "f"(fB), "f"(fC)); in check_single_guarded_arithmetic_op()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
DBracketFinder.java127 double fA = eval(func, xA); in search() local
130 fA < fB : in search()
131 fA > fB) { in search()
136 tmp = fA; in search()
137 fA = fB; in search()
150 double tmp2 = (xB - xC) * (fB - fA); in search()
166 fA = fB; in search()
201 fA = fB; in search()
209 fLo = fA; in search()
/external/skia/include/core/
DSkColor.h169 float fA; member
175 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB;
181 const float* vec() const { return &fA; } in vec()
182 float* vec() { return &fA; } in vec()
188 return Pin(fA, fR, fG, fB); in pin()
/external/skia/tests/
DSkColor4fTest.cpp63 REPORTER_ASSERT(reporter, pm4.fVec[SK_A_INDEX] == c4.fA); in DEF_TEST()
64 REPORTER_ASSERT(reporter, pm4.fVec[SK_R_INDEX] == c4.fA * c4.fR); in DEF_TEST()
65 REPORTER_ASSERT(reporter, pm4.fVec[SK_G_INDEX] == c4.fA * c4.fG); in DEF_TEST()
66 REPORTER_ASSERT(reporter, pm4.fVec[SK_B_INDEX] == c4.fA * c4.fB); in DEF_TEST()
70 c4.fA = rand.nextUScalar1(); in DEF_TEST()
72 REPORTER_ASSERT(reporter, pm4.fVec[SK_A_INDEX] == c4.fA); in DEF_TEST()
73 REPORTER_ASSERT(reporter, nearly_equal(pm4.fVec[SK_R_INDEX], c4.fA * c4.fR)); in DEF_TEST()
74 REPORTER_ASSERT(reporter, nearly_equal(pm4.fVec[SK_G_INDEX], c4.fA * c4.fG)); in DEF_TEST()
75 REPORTER_ASSERT(reporter, nearly_equal(pm4.fVec[SK_B_INDEX], c4.fA * c4.fB)); in DEF_TEST()
DPathOpsOpRectThreadedTest.cpp43 " SkPath::kCW_Direction);\n", state.fA, state.fA, state.fB, state.fB); in testPathOpsRectsMain()
59 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain()
DPathOpsOpCubicThreadedTest.cpp31 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); in testOpCubicsMain()
38 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain()
52 str += sprintf(str, " path.moveTo(%d,%d);\n", state.fA, state.fB); in testOpCubicsMain()
61 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
DPathOpsThreadedCommon.h22 unsigned char fA; member
50 fState.fA = a; in PathOpsThreadedRunnable()
69 fState.fA = dirNo; in PathOpsThreadedRunnable()
DPathOpsOpLoopThreadedTest.cpp45 SkPoint midA = { SkIntToScalar(a * state.fA + c * (6 - state.fA)) / 6, in testOpLoopsMain()
46 SkIntToScalar(b * state.fA + d * (6 - state.fA)) / 6 }; in testOpLoopsMain()
DPathOpsOpCircleThreadedTest.cpp35 str += sprintf(str, " path.addCircle(%d, %d, %d, %s);\n", state.fA, state.fB, in testOpCirclesMain()
47 pathA.addCircle(SkIntToScalar(state.fA), SkIntToScalar(state.fB), SkIntToScalar(state.fC), in testOpCirclesMain()
DPathOpsSimplifyDegenerateThreadedTest.cpp18 int ax = state.fA & 0x03; in testSimplifyDegeneratesMain()
19 int ay = state.fA >> 2; in testSimplifyDegeneratesMain()
DPathOpsSimplifyQuadralateralsThreadedTest.cpp19 int ax = state.fA & 0x03; in testSimplifyQuadralateralsMain()
20 int ay = state.fA >> 2; in testSimplifyQuadralateralsMain()
DPathOpsSimplifyTrianglesThreadedTest.cpp19 int ax = state.fA & 0x03; in testSimplifyTrianglesMain()
20 int ay = state.fA >> 2; in testSimplifyTrianglesMain()
DPathOpsSimplifyQuadThreadedTest.cpp19 int ax = state.fA & 0x03; in testSimplifyQuadsMain()
20 int ay = state.fA >> 2; in testSimplifyQuadsMain()
DPathOpsQuadLineIntersectionThreadedTest.cpp77 int ax = state.fA & 0x03; in testQuadLineIntersectMain()
78 int ay = state.fA >> 2; in testQuadLineIntersectMain()
DPathOpsSimplifyRectThreadedTest.cpp26 int aShape = state.fA & 0x03; in testSimplify4x4RectsMain()
27 SkPath::Direction aCW = state.fA >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
/external/skia/src/core/
DSkGeometry.h276 : fA(A) in SkQuadCoeff()
287 fA = P2 - times_2(P1) + fC; in SkQuadCoeff()
296 return (fA * tt + fB) * tt + fC; in eval()
299 Sk2s fA; member
313 fNumer.fA = p2 - times_2(p1w) + p0; in SkConicCoeff()
318 fDenom.fA = Sk2s(0) - fDenom.fB; in SkConicCoeff()
339 fA = P3 + three * (P1 - P2) - P0; in SkCubicCoeff()
351 return ((fA * t + fB) * t + fC) * t + fD; in eval()
354 Sk2s fA; member
/external/skia/bench/
DRegionContainBench.cpp21 SkRegion fA, fB; member in RegionContainBench
42 fA.op(randrect(rand, i), SkRegion::kXOR_Op); in RegionContainBench()
59 proc(fA, fB); in onDraw()
DRegionBench.cpp74 SkRegion fA, fB; member in RegionBench
97 fA.op(randrect(rand), SkRegion::kXOR_Op); in RegionBench()
112 proc(fA, fB); in onDraw()
/external/clang/test/CodeGen/
Dinline2.c40 inline int fA(void) { return 0; } in fA() function
66 + fA() + fB(); in test_all()
/external/ipsec-tools/src/racoon/
Dprsa_tok.l52 hex [0-9a-fA-F]
63 0x[0-9a-fA-F]+ {
/external/deqp/modules/gles2/functional/
Des2fShaderTextureFunctionTests.cpp341 float fA = float(level)*cStep; in initTexture() local
342 float fB = 1.0f-fA; in initTexture()
343 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture()
344 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture()
372 float fA = float(level)*cStep; in initTexture() local
373 float fB = 1.0f-fA; in initTexture()
374 Vec2 f (fA, fB); in initTexture()
/external/llvm/test/Transforms/LoopVectorize/
Dminmax_reduction.ll6 @fA = common global [1024 x float] zeroinitializer, align 16
428 %arrayidx = getelementptr inbounds [1024 x float], [1024 x float]* @fA, i64 0, i64 %indvars.iv
454 %arrayidx = getelementptr inbounds [1024 x float], [1024 x float]* @fA, i64 0, i64 %indvars.iv
480 %arrayidx = getelementptr inbounds [1024 x float], [1024 x float]* @fA, i64 0, i64 %indvars.iv
506 %arrayidx = getelementptr inbounds [1024 x float], [1024 x float]* @fA, i64 0, i64 %indvars.iv
532 %arrayidx = getelementptr inbounds [1024 x float], [1024 x float]* @fA, i64 0, i64 %indvars.iv
558 %arrayidx = getelementptr inbounds [1024 x float], [1024 x float]* @fA, i64 0, i64 %indvars.iv
584 %arrayidx = getelementptr inbounds [1024 x float], [1024 x float]* @fA, i64 0, i64 %indvars.iv
610 %arrayidx = getelementptr inbounds [1024 x float], [1024 x float]* @fA, i64 0, i64 %indvars.iv
639 %arrayidx = getelementptr inbounds [1024 x float], [1024 x float]* @fA, i64 0, i64 %indvars.iv
[all …]
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp774 SkScalar fA; member
821 info->fA = A; in set_matrix_circle_conical()
849 SkScalar A() const { return fInfo.fA; } in A()
863 this->fInfo.fA == s.fInfo.fA && in onIsEqual()
1066 SkScalar A() const { return fInfo.fA; } in A()
1081 this->fInfo.fA == s.fInfo.fA && in onIsEqual()

123