Home
last modified time | relevance | path

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

12345678

/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/skqp/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/skia/src/core/
DSkGeometry.h324 , fC(C) in SkQuadCoeff()
329 fC = from_point(src[0]); in SkQuadCoeff()
332 fB = times_2(P1 - fC); in SkQuadCoeff()
333 fA = P2 - times_2(P1) + fC; in SkQuadCoeff()
342 return (fA * tt + fB) * tt + fC; in eval()
347 Sk2s fC; member
358 fNumer.fC = p0; in SkConicCoeff()
362 fDenom.fC = Sk2s(1); in SkConicCoeff()
363 fDenom.fB = times_2(ww - fDenom.fC); in SkConicCoeff()
387 fC = three * (P1 - P0); in SkCubicCoeff()
[all …]
/external/skqp/src/core/
DSkGeometry.h324 , fC(C) in SkQuadCoeff()
329 fC = from_point(src[0]); in SkQuadCoeff()
332 fB = times_2(P1 - fC); in SkQuadCoeff()
333 fA = P2 - times_2(P1) + fC; in SkQuadCoeff()
342 return (fA * tt + fB) * tt + fC; in eval()
347 Sk2s fC; member
358 fNumer.fC = p0; in SkConicCoeff()
362 fDenom.fC = Sk2s(1); in SkConicCoeff()
363 fDenom.fB = times_2(ww - fDenom.fC); in SkConicCoeff()
387 fC = three * (P1 - P0); in SkCubicCoeff()
[all …]
/external/skqp/src/c/
Dsk_imageinfo.cpp15 sk_colortype_t fC; member
28 sk_alphatype_t fC; member
38 if (gColorTypeMap[i].fC == cCT) { in from_c_colortype()
52 *cCT = gColorTypeMap[i].fC; in to_c_colortype()
62 if (gAlphaTypeMap[i].fC == cAT) { in from_c_alphatype()
76 *cAT = gAlphaTypeMap[i].fC; in to_c_alphatype()
Dsk_effects.cpp21 sk_shader_tilemode_t fC; member
31 if (cMode == gTileModeMap[i].fC) { in from_c_tilemode()
151 sk_blurstyle_t fC; member
162 if (gBlurStylePairs[i].fC == csrc) { in find_blurstyle()
Dsk_c_from_to.h10 if (CTypeSkTypeMap[i].fC == from) { in find_sk()
24 *to = CTypeSkTypeMap[i].fC; in find_c()
/external/skia/src/c/
Dsk_imageinfo.cpp15 sk_colortype_t fC; member
28 sk_alphatype_t fC; member
38 if (gColorTypeMap[i].fC == cCT) { in from_c_colortype()
52 *cCT = gColorTypeMap[i].fC; in to_c_colortype()
62 if (gAlphaTypeMap[i].fC == cAT) { in from_c_alphatype()
76 *cAT = gAlphaTypeMap[i].fC; in to_c_alphatype()
Dsk_effects.cpp21 sk_shader_tilemode_t fC; member
31 if (cMode == gTileModeMap[i].fC) { in from_c_tilemode()
151 sk_blurstyle_t fC; member
162 if (gBlurStylePairs[i].fC == csrc) { in find_blurstyle()
Dsk_c_from_to.h10 if (CTypeSkTypeMap[i].fC == from) { in find_sk()
24 *to = CTypeSkTypeMap[i].fC; in find_c()
/external/icu/icu4c/source/i18n/
Dregexcmp.cpp165 nextChar(fC); // Fetch the first char from the pattern string. in compile()
194 fC.fChar, fLineNum, fCharNum, RegexStateNames[state])); in compile()
199 … if (tableEl->fCharClass < 127 && fC.fQuoted == FALSE && tableEl->fCharClass == fC.fChar) { in compile()
209 if (tableEl->fCharClass == 254 && fC.fQuoted) { in compile()
213 if (tableEl->fCharClass == 253 && fC.fChar == (UChar32)-1) { in compile()
219fC.fQuoted == FALSE && // char is not escaped && in compile()
220 fC.fChar != (UChar32)-1) { // char is not EOF in compile()
222 … if (RegexStaticSets::gStaticSets->fRuleSets[tableEl->fCharClass-128].contains(fC.fChar)) { in compile()
260 nextChar(fC); in compile()
447 fCaptureName->append(fC.fChar); in doParseActions()
[all …]
/external/skia/tests/
DPathOpsOpRectThreadedTest.cpp38 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain()
59 " SkPath::kCW_Direction);\n", state.fC, state.fC, state.fD, state.fD); in testPathOpsRectsMain()
132 pathB.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD) + d, in testPathOpsFastMain()
151 " SkPath::kCW_Direction);\n", state.fC, state.fC, state.fD + d, state.fD); in testPathOpsFastMain()
DPathOpsOpCubicThreadedTest.cpp33 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), in testOpCubicsMain()
39 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain()
50 pathStr.appendf(" path.cubicTo(%d,%d, %d,%d, %d,%d);\n", state.fC, state.fD, in testOpCubicsMain()
58 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
DSkColor4fTest.cpp13 SkColor fC; in DEF_TEST() member
25 SkColor4f c4 = SkColor4f::FromColor(r.fC); in DEF_TEST()
DPathOpsThreadedCommon.h29 unsigned char fC; member
60 fState.fC = (c & 0xFF); in PathOpsThreadedRunnable()
DFlattenDrawableTest.cpp23 , fC(c) in IntDrawable()
30 buffer.writeUInt(fC); in flatten()
46 uint32_t c() const { return fC; } in c()
58 uint32_t fC; member in IntDrawable
/external/skqp/tests/
DPathOpsOpRectThreadedTest.cpp38 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain()
59 " SkPath::kCW_Direction);\n", state.fC, state.fC, state.fD, state.fD); in testPathOpsRectsMain()
132 pathB.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD) + d, in testPathOpsFastMain()
151 " SkPath::kCW_Direction);\n", state.fC, state.fC, state.fD + d, state.fD); in testPathOpsFastMain()
DPathOpsOpCubicThreadedTest.cpp33 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), in testOpCubicsMain()
39 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain()
50 pathStr.appendf(" path.cubicTo(%d,%d, %d,%d, %d,%d);\n", state.fC, state.fD, in testOpCubicsMain()
58 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
DSkColor4fTest.cpp13 SkColor fC; in DEF_TEST() member
25 SkColor4f c4 = SkColor4f::FromColor(r.fC); in DEF_TEST()
DPathOpsThreadedCommon.h29 unsigned char fC; member
60 fState.fC = c; in PathOpsThreadedRunnable()
DFlattenDrawableTest.cpp23 , fC(c) in IntDrawable()
30 buffer.writeUInt(fC); in flatten()
46 uint32_t c() const { return fC; } in c()
58 uint32_t fC; member in IntDrawable
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBIRuleScanner.java51 RBBIRuleChar fC = new RBBIRuleChar(); // Current char for parse state machine field in RBBIRuleScanner
372 String s = String.valueOf((char)fC.fChar); in doParseActions()
415 int v = UCharacter.digit((char) fC.fChar, 10); in doParseActions()
857 nextChar(fC); in parse()
881 System.out.println("char, line, col = (\'" + (char) fC.fChar in parse()
891 if (tableEl.fCharClass < 127 && fC.fEscaped == false in parse()
892 && tableEl.fCharClass == fC.fChar) { in parse()
902 if (tableEl.fCharClass == 254 && fC.fEscaped) { in parse()
906 if (tableEl.fCharClass == 253 && fC.fEscaped in parse()
907 && (fC.fChar == 0x50 || fC.fChar == 0x70)) { in parse()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBIRuleScanner.java50 RBBIRuleChar fC = new RBBIRuleChar(); // Current char for parse state machine field in RBBIRuleScanner
371 String s = String.valueOf((char)fC.fChar); in doParseActions()
414 int v = UCharacter.digit((char) fC.fChar, 10); in doParseActions()
856 nextChar(fC); in parse()
880 System.out.println("char, line, col = (\'" + (char) fC.fChar in parse()
890 if (tableEl.fCharClass < 127 && fC.fEscaped == false in parse()
891 && tableEl.fCharClass == fC.fChar) { in parse()
901 if (tableEl.fCharClass == 254 && fC.fEscaped) { in parse()
905 if (tableEl.fCharClass == 253 && fC.fEscaped in parse()
906 && (fC.fChar == 0x50 || fC.fChar == 0x70)) { in parse()
[all …]
/external/icu/icu4c/source/common/
Drbbiscan.cpp473 findSetFor(UnicodeString(fC.fChar), n); in doParseActions()
523 uint32_t v = u_charDigitValue(fC.fChar); in doParseActions()
993 nextChar(fC); in parse()
1025 fC.fChar, fLineNum, fCharNum, RBBIRuleStateNames[state]); in parse()
1033 … if (tableEl->fCharClass < 127 && fC.fEscaped == FALSE && tableEl->fCharClass == fC.fChar) { in parse()
1043 if (tableEl->fCharClass == 254 && fC.fEscaped) { in parse()
1047 if (tableEl->fCharClass == 253 && fC.fEscaped && in parse()
1048 (fC.fChar == 0x50 || fC.fChar == 0x70 )) { in parse()
1052 if (tableEl->fCharClass == 252 && fC.fChar == (UChar32)-1) { in parse()
1058fC.fEscaped == FALSE && // char is not escaped && in parse()
[all …]

12345678