Home
last modified time | relevance | path

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

12

/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/chromium_org/third_party/skia/src/pathops/
DSkLineParameters.h70 fC = pts[s].fX * pts[e].fY - pts[e].fX * pts[s].fY; in cubicEndPoints()
84 fC = pts[0].fX * pts[1].fY - pts[1].fX * pts[0].fY; in lineEndPoints()
109 fC = pts[s].fX * pts[e].fY - pts[e].fX * pts[s].fY; in quadEndPoints()
124 fA = fB = fC = 0; in normalize()
130 fC *= reciprocal; in normalize()
138 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in cubicDistanceY()
146 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in quadDistanceY()
152 return fA * pts[index].fX + fB * pts[index].fY + fC; in controlPtDistance()
156 return fA * pts[1].fX + fB * pts[1].fY + fC; in controlPtDistance()
160 return fA * pt.fX + fB * pt.fY + fC; in pointDistance()
[all …]
/external/chromium_org/third_party/skia/tests/
DPathOpsOpLoopThreadedTest.cpp31 SkPoint endC = { midA.fX + v.fY * state.fC / 3, in testOpLoopsMain()
32 midA.fY + v.fX * state.fC / 3 }; in testOpLoopsMain()
93 for (state.fC = 0 ; state.fC < 6; ++state.fC) { in DEF_TEST()
94 for (state.fD = state.fC + 1; state.fD < 7; ++state.fD) { in DEF_TEST()
DPathOpsOpRectThreadedTest.cpp40 " SkPath::kCW_Direction);\n", state.fC, state.fC, state.fD, state.fD); in testPathOpsRectsMain()
53 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain()
DPathOpsOpCubicThreadedTest.cpp34 str += sprintf(str, " path.cubicTo(%d,%d, %d,%d, %d,%d);\n", state.fC, state.fD, in testOpCubicsMain()
42 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
47 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), in testOpCubicsMain()
53 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain()
DPathOpsThreadedCommon.h25 unsigned char fC; member
57 fState.fC = c; in PathOpsThreadedRunnable()
DPathOpsSimplifyQuadThreadedTest.cpp23 int cx = state.fC & 0x03; in testSimplifyQuadsMain()
24 int cy = state.fC >> 2; in testSimplifyQuadsMain()
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()
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()
/external/skia/tests/
DPathOpsOpLoopThreadedTest.cpp31 SkPoint endC = { midA.fX + v.fY * state.fC / 3, in testOpLoopsMain()
32 midA.fY + v.fX * state.fC / 3 }; in testOpLoopsMain()
93 for (state.fC = 0 ; state.fC < 6; ++state.fC) { in DEF_TEST()
94 for (state.fD = state.fC + 1; state.fD < 7; ++state.fD) { in DEF_TEST()
DPathOpsOpRectThreadedTest.cpp40 " SkPath::kCW_Direction);\n", state.fC, state.fC, state.fD, state.fD); in testPathOpsRectsMain()
53 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain()
DPathOpsOpCubicThreadedTest.cpp34 str += sprintf(str, " path.cubicTo(%d,%d, %d,%d, %d,%d);\n", state.fC, state.fD, in testOpCubicsMain()
42 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
47 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), in testOpCubicsMain()
53 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain()
DPathOpsThreadedCommon.h25 unsigned char fC; member
57 fState.fC = c; in PathOpsThreadedRunnable()
DPathOpsSimplifyQuadThreadedTest.cpp23 int cx = state.fC & 0x03; in testSimplifyQuadsMain()
24 int cy = state.fC >> 2; in testSimplifyQuadsMain()
DPathOpsSimplifyDegenerateThreadedTest.cpp22 int cx = state.fC & 0x03; in testSimplifyDegeneratesMain()
23 int cy = state.fC >> 2; in testSimplifyDegeneratesMain()
DPathOpsSimplifyTrianglesThreadedTest.cpp23 int cx = state.fC & 0x03; in testSimplifyTrianglesMain()
24 int cy = state.fC >> 2; in testSimplifyTrianglesMain()
DPathOpsSimplifyQuadralateralsThreadedTest.cpp23 int cx = state.fC & 0x03; in testSimplifyQuadralateralsMain()
24 int cy = state.fC >> 2; in testSimplifyQuadralateralsMain()
/external/icu/icu4c/source/i18n/
Dregexcmp.cpp156 nextChar(fC); // Fetch the first char from the pattern string. in compile()
185 fC.fChar, fLineNum, fCharNum, RegexStateNames[state])); in compile()
190 … if (tableEl->fCharClass < 127 && fC.fQuoted == FALSE && tableEl->fCharClass == fC.fChar) { in compile()
200 if (tableEl->fCharClass == 254 && fC.fQuoted) { in compile()
204 if (tableEl->fCharClass == 253 && fC.fChar == (UChar32)-1) { in compile()
210fC.fQuoted == FALSE && // char is not escaped && in compile()
211 fC.fChar != (UChar32)-1) { // char is not EOF in compile()
213 … if (RegexStaticSets::gStaticSets->fRuleSets[tableEl->fCharClass-128].contains(fC.fChar)) { in compile()
251 nextChar(fC); in compile()
1028 int32_t digitValue = u_charDigitValue(fC.fChar); in doParseActions()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dregexcmp.cpp149 nextChar(fC); // Fetch the first char from the pattern string. in compile()
178 fC.fChar, fLineNum, fCharNum, RegexStateNames[state])); in compile()
183 … if (tableEl->fCharClass < 127 && fC.fQuoted == FALSE && tableEl->fCharClass == fC.fChar) { in compile()
193 if (tableEl->fCharClass == 254 && fC.fQuoted) { in compile()
197 if (tableEl->fCharClass == 253 && fC.fChar == (UChar32)-1) { in compile()
203fC.fQuoted == FALSE && // char is not escaped && in compile()
204 fC.fChar != (UChar32)-1) { // char is not EOF in compile()
205 … if (RegexStaticSets::gStaticSets->fRuleSets[tableEl->fCharClass-128].contains(fC.fChar)) { in compile()
243 nextChar(fC); in compile()
1006 int32_t digitValue = u_charDigitValue(fC.fChar); in doParseActions()
[all …]
/external/icu/icu4c/source/common/
Drbbiscan.cpp423 findSetFor(UnicodeString(fC.fChar), n); in doParseActions()
464 uint32_t v = u_charDigitValue(fC.fChar); in doParseActions()
929 nextChar(fC); in parse()
961 fC.fChar, fLineNum, fCharNum, RBBIRuleStateNames[state]); in parse()
969 … if (tableEl->fCharClass < 127 && fC.fEscaped == FALSE && tableEl->fCharClass == fC.fChar) { in parse()
979 if (tableEl->fCharClass == 254 && fC.fEscaped) { in parse()
983 if (tableEl->fCharClass == 253 && fC.fEscaped && in parse()
984 (fC.fChar == 0x50 || fC.fChar == 0x70 )) { in parse()
988 if (tableEl->fCharClass == 252 && fC.fChar == (UChar32)-1) { in parse()
994fC.fEscaped == FALSE && // char is not escaped && in parse()
[all …]
/external/chromium_org/third_party/icu/source/common/
Drbbiscan.cpp422 findSetFor(fC.fChar, n); in doParseActions()
463 uint32_t v = u_charDigitValue(fC.fChar); in doParseActions()
928 nextChar(fC); in parse()
960 fC.fChar, fLineNum, fCharNum, RBBIRuleStateNames[state]); in parse()
968 … if (tableEl->fCharClass < 127 && fC.fEscaped == FALSE && tableEl->fCharClass == fC.fChar) { in parse()
978 if (tableEl->fCharClass == 254 && fC.fEscaped) { in parse()
982 if (tableEl->fCharClass == 253 && fC.fEscaped && in parse()
983 (fC.fChar == 0x50 || fC.fChar == 0x70 )) { in parse()
987 if (tableEl->fCharClass == 252 && fC.fChar == (UChar32)-1) { in parse()
993fC.fEscaped == FALSE && // char is not escaped && in parse()
[all …]
/external/valgrind/main/none/tests/ppc64/
Dround.c532 double fA, fB, fC, fD; in check_single_guarded_arithmetic_op() local
569 : "=f"(fD) : "f"(fA) , "f"(fB), "f"(fC)); in check_single_guarded_arithmetic_op()
672 fC = (op == FMADDS || op == FNMADDS ? s : -s)*A.flt; in check_single_guarded_arithmetic_op()
800 if (arg_count > 2) printf(", %-13a", fC); in check_single_guarded_arithmetic_op()
830 double fA, fB, fC, fD; in check_double_guarded_arithmetic_op() local
886 : "=f"(fD) : "f"(fA) , "f"(fB), "f"(fC)); in check_double_guarded_arithmetic_op()
973 fC = (op == FMADD || op == FNMADD ? s : -s)*A.dbl; in check_double_guarded_arithmetic_op()
1141 if (arg_count > 2) printf(", %-13a", fC); in check_double_guarded_arithmetic_op()
/external/valgrind/main/none/tests/ppc32/
Dround.c532 double fA, fB, fC, fD; in check_single_guarded_arithmetic_op() local
569 : "=f"(fD) : "f"(fA) , "f"(fB), "f"(fC)); in check_single_guarded_arithmetic_op()
672 fC = (op == FMADDS || op == FNMADDS ? s : -s)*A.flt; in check_single_guarded_arithmetic_op()
800 if (arg_count > 2) printf(", %-13a", fC); in check_single_guarded_arithmetic_op()
830 double fA, fB, fC, fD; in check_double_guarded_arithmetic_op() local
886 : "=f"(fD) : "f"(fA) , "f"(fB), "f"(fC)); in check_double_guarded_arithmetic_op()
973 fC = (op == FMADD || op == FNMADD ? s : -s)*A.dbl; in check_double_guarded_arithmetic_op()
1141 if (arg_count > 2) printf(", %-13a", fC); in check_double_guarded_arithmetic_op()

12