Home
last modified time | relevance | path

Searched refs:fC (Results 1 – 25 of 36) sorted by relevance

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
DBracketFinder.java142 double fC = eval(func, xC); in search() local
144 while (isMinim ? fC < fB : fC > fB) { in search()
149 double tmp1 = (xB - xA) * (fB - fC); in search()
162 fW < fC : in search()
163 fW > fC) { in search()
173 fC = fW; in search()
184 fW < fC : in search()
185 fW > fC) { in search()
189 fB = fC; in search()
190 fC =fW; in search()
[all …]
/external/skia/src/pathops/
DSkLineParameters.h74 fC = pts[s].fX * pts[e].fY - pts[e].fX * pts[s].fY; in cubicEndPoints()
88 fC = pts[0].fX * pts[1].fY - pts[1].fX * pts[0].fY; in lineEndPoints()
113 fC = pts[s].fX * pts[e].fY - pts[e].fX * pts[s].fY; in quadEndPoints()
128 fA = fB = fC = 0; in normalize()
134 fC *= reciprocal; in normalize()
142 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in cubicDistanceY()
150 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in quadDistanceY()
156 return fA * pts[index].fX + fB * pts[index].fY + fC; in controlPtDistance()
160 return fA * pts[1].fX + fB * pts[1].fY + fC; in controlPtDistance()
164 return fA * pt.fX + fB * pt.fY + fC; in pointDistance()
[all …]
/external/icu/icu4c/source/i18n/
Dregexcmp.cpp161 nextChar(fC); // Fetch the first char from the pattern string. in compile()
190 fC.fChar, fLineNum, fCharNum, RegexStateNames[state])); in compile()
195 … if (tableEl->fCharClass < 127 && fC.fQuoted == FALSE && tableEl->fCharClass == fC.fChar) { in compile()
205 if (tableEl->fCharClass == 254 && fC.fQuoted) { in compile()
209 if (tableEl->fCharClass == 253 && fC.fChar == (UChar32)-1) { in compile()
215fC.fQuoted == FALSE && // char is not escaped && in compile()
216 fC.fChar != (UChar32)-1) { // char is not EOF in compile()
218 … if (RegexStaticSets::gStaticSets->fRuleSets[tableEl->fCharClass-128].contains(fC.fChar)) { in compile()
256 nextChar(fC); in compile()
443 fCaptureName->append(fC.fChar); in doParseActions()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBIRuleScanner.java47 RBBIRuleChar fC = new RBBIRuleChar(); // Current char for parse state machine field in RBBIRuleScanner
344 String s = String.valueOf((char)fC.fChar); in doParseActions()
387 int v = UCharacter.digit((char) fC.fChar, 10); in doParseActions()
822 nextChar(fC); in parse()
846 System.out.println("char, line, col = (\'" + (char) fC.fChar in parse()
856 if (tableEl.fCharClass < 127 && fC.fEscaped == false in parse()
857 && tableEl.fCharClass == fC.fChar) { in parse()
867 if (tableEl.fCharClass == 254 && fC.fEscaped) { in parse()
871 if (tableEl.fCharClass == 253 && fC.fEscaped in parse()
872 && (fC.fChar == 0x50 || fC.fChar == 0x70)) { in parse()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DLineSegment.java424 float fC = kDiff.lengthSquared(); in distanceSquared() local
445 * (fA01 * fS0 + fS1 + ((float) 2.0) * fB1) + fC; in distanceSquared()
452 * (fS1 + ((float) 2.0) * fB1) + fC; in distanceSquared()
455 fSqrDist = fS1 * (fS1 + ((float) 2.0) * fB1) + fC; in distanceSquared()
464 * (fS1 + ((float) 2.0) * fB1) + fC; in distanceSquared()
467 fSqrDist = fS1 * (fS1 + ((float) 2.0) * fB1) + fC; in distanceSquared()
477 * (fS1 + ((float) 2.0) * fB1) + fC; in distanceSquared()
486 fSqrDist = fS1 * (fS1 + ((float) 2.0) * fB1) + fC; in distanceSquared()
497 fSqrDist = fS1 * (fS1 + ((float) 2.0) * fB1) + fC; in distanceSquared()
504 * (fS1 + ((float) 2.0) * fB1) + fC; in distanceSquared()
[all …]
/external/icu/icu4c/source/common/
Drbbiscan.cpp421 findSetFor(UnicodeString(fC.fChar), n); in doParseActions()
462 uint32_t v = u_charDigitValue(fC.fChar); in doParseActions()
927 nextChar(fC); in parse()
959 fC.fChar, fLineNum, fCharNum, RBBIRuleStateNames[state]); in parse()
967 … if (tableEl->fCharClass < 127 && fC.fEscaped == FALSE && tableEl->fCharClass == fC.fChar) { in parse()
977 if (tableEl->fCharClass == 254 && fC.fEscaped) { in parse()
981 if (tableEl->fCharClass == 253 && fC.fEscaped && in parse()
982 (fC.fChar == 0x50 || fC.fChar == 0x70 )) { in parse()
986 if (tableEl->fCharClass == 252 && fC.fChar == (UChar32)-1) { in parse()
992fC.fEscaped == FALSE && // char is not escaped && in parse()
[all …]
Drbbiscan.h108 RBBIRuleChar fC; // Current char for parse state machine variable
/external/skia/tests/
DPathOpsOpRectThreadedTest.cpp45 " SkPath::kCW_Direction);\n", state.fC, state.fC, state.fD, state.fD); in testPathOpsRectsMain()
61 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain()
DPathOpsOpCubicThreadedTest.cpp32 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), in testOpCubicsMain()
38 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain()
53 str += sprintf(str, " path.cubicTo(%d,%d, %d,%d, %d,%d);\n", state.fC, state.fD, in testOpCubicsMain()
61 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
DPathOpsThreadedCommon.h25 unsigned char fC; member
53 fState.fC = c; in PathOpsThreadedRunnable()
DPathOpsOpCircleThreadedTest.cpp36 state.fC, state.fD ? "SkPath::kCW_Direction" : "SkPath::kCCW_Direction"); in testOpCirclesMain()
47 pathA.addCircle(SkIntToScalar(state.fA), SkIntToScalar(state.fB), SkIntToScalar(state.fC), in testOpCirclesMain()
DPathOpsSimplifyDegenerateThreadedTest.cpp22 int cx = state.fC & 0x03; in testSimplifyDegeneratesMain()
23 int cy = state.fC >> 2; in testSimplifyDegeneratesMain()
DPathOpsSimplifyQuadralateralsThreadedTest.cpp23 int cx = state.fC & 0x03; in testSimplifyQuadralateralsMain()
24 int cy = state.fC >> 2; in testSimplifyQuadralateralsMain()
DPathOpsSimplifyQuadThreadedTest.cpp23 int cx = state.fC & 0x03; in testSimplifyQuadsMain()
24 int cy = state.fC >> 2; in testSimplifyQuadsMain()
DPathOpsSimplifyTrianglesThreadedTest.cpp23 int cx = state.fC & 0x03; in testSimplifyTrianglesMain()
24 int cy = state.fC >> 2; in testSimplifyTrianglesMain()
DPathOpsQuadLineIntersectionThreadedTest.cpp81 int cx = state.fC & 0x03; in testQuadLineIntersectMain()
82 int cy = state.fC >> 2; in testQuadLineIntersectMain()
DPathOpsOpLoopThreadedTest.cpp49 SkPoint endC = { midA.fX + v.fY * state.fC / 3, in testOpLoopsMain()
50 midA.fY + v.fX * state.fC / 3 }; in testOpLoopsMain()
DPathOpsSimplifyRectThreadedTest.cpp30 int cShape = state.fC & 0x03; in testSimplify4x4RectsMain()
31 SkPath::Direction cCW = state.fC >> 2 ? SkPath::kCCW_Direction : SkPath::kCW_Direction; in testSimplify4x4RectsMain()
/external/skia/src/c/
Dsk_surface.cpp27 sk_colortype_t fC; member
37 sk_alphatype_t fC; member
47 if (gColorTypeMap[i].fC == cCT) { in from_c_colortype()
61 *cCT = gColorTypeMap[i].fC; in to_c_colortype()
71 if (gAlphaTypeMap[i].fC == cAT) { in from_c_alphatype()
106 sk_path_direction_t fC; member
115 if (gPathDirMap[i].fC == cdir) { in from_c_path_direction()
465 sk_shader_tilemode_t fC; member
475 if (cMode == gTileModeMap[i].fC) { in from_c_tilemode()
521 sk_blurstyle_t fC; member
[all …]
Dsk_c_from_to.h10 if (CTypeSkTypeMap[i].fC == from) { in find_sk()
24 *to = CTypeSkTypeMap[i].fC; in find_c()
Dsk_paint.cpp16 sk_stroke_cap_t fC; member
25 sk_stroke_join_t fC; member
/external/skia/src/core/
DSkTaskGroup.cpp74 AutoLock(SkCondVar* c) : fC(c) { fC->lock(); } in AutoLock()
75 ~AutoLock() { fC->unlock(); } in ~AutoLock()
77 SkCondVar* fC; member
/external/valgrind/none/tests/ppc64/
Dround.c545 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()
685 fC = (op == FMADDS || op == FNMADDS ? s : -s)*A.flt; in check_single_guarded_arithmetic_op()
827 if (arg_count > 2) printf(", %-13a", fC); in check_single_guarded_arithmetic_op()
857 double fA, fB, fC, fD; in check_double_guarded_arithmetic_op() local
913 : "=f"(fD) : "f"(fA) , "f"(fB), "f"(fC)); in check_double_guarded_arithmetic_op()
1000 fC = (op == FMADD || op == FNMADD ? s : -s)*A.dbl; in check_double_guarded_arithmetic_op()
1168 if (arg_count > 2) printf(", %-13a", fC); in check_double_guarded_arithmetic_op()
/external/valgrind/none/tests/ppc32/
Dround.c545 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()
685 fC = (op == FMADDS || op == FNMADDS ? s : -s)*A.flt; in check_single_guarded_arithmetic_op()
827 if (arg_count > 2) printf(", %-13a", fC); in check_single_guarded_arithmetic_op()
857 double fA, fB, fC, fD; in check_double_guarded_arithmetic_op() local
913 : "=f"(fD) : "f"(fA) , "f"(fB), "f"(fC)); in check_double_guarded_arithmetic_op()
1000 fC = (op == FMADD || op == FNMADD ? s : -s)*A.dbl; in check_double_guarded_arithmetic_op()
1168 if (arg_count > 2) printf(", %-13a", fC); in check_double_guarded_arithmetic_op()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp791 SkScalar fC; member
838 info->fC = C; in set_matrix_circle_conical()
871 SkScalar C() const { return fInfo.fC; } in C()
880 this->fInfo.fC == s.fInfo.fC); in onIsEqual()
1094 SkScalar C() const { return fInfo.fC; } in C()
1105 this->fInfo.fC == s.fInfo.fC && in onIsEqual()

12