Home
last modified time | relevance | path

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

1234

/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/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/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/llvm-project/compiler-rt/test/xray/TestCases/Posix/
Dfdr-mode.cpp35 [[clang::xray_always_instrument]] void __attribute__((noinline)) fC() { ++var; } in fC() function
37 [[clang::xray_always_instrument]] void __attribute__((noinline)) fB() { fC(); } in fB()
58 fC(); in main()
61 fC(); in main()
63 fC(); in main()
73 fC(); in main()
/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/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/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/core/
DSkGeometry.h394 , fC(C) in SkQuadCoeff()
399 fC = from_point(src[0]); in SkQuadCoeff()
402 fB = times_2(P1 - fC); in SkQuadCoeff()
403 fA = P2 - times_2(P1) + fC; in SkQuadCoeff()
412 return (fA * tt + fB) * tt + fC; in eval()
417 Sk2s fC; member
428 fNumer.fC = p0; in SkConicCoeff()
432 fDenom.fC = Sk2s(1); in SkConicCoeff()
433 fDenom.fB = times_2(ww - fDenom.fC); in SkConicCoeff()
457 fC = three * (P1 - P0); in SkCubicCoeff()
[all …]
/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()
/external/skia/tests/
DPathOpsOpRectThreadedTest.cpp39 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain()
60 " SkPathDirection::kCW);\n", state.fC, state.fC, state.fD, state.fD); in testPathOpsRectsMain()
137 pathB.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD) + d, in testPathOpsFastMain()
156 " SkPathDirection::kCW);\n", state.fC, state.fC, state.fD + d, state.fD); in testPathOpsFastMain()
DPathOpsOpCubicThreadedTest.cpp31 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), in testOpCubicsMain()
37 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain()
48 pathStr.appendf(" path.cubicTo(%d,%d, %d,%d, %d,%d);\n", state.fC, state.fD, in testOpCubicsMain()
56 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()
/external/icu/icu4c/source/i18n/
Dregexcmp.cpp162 nextChar(fC); // Fetch the first char from the pattern string. in compile()
191 fC.fChar, fLineNum, fCharNum, RegexStateNames[state])); in compile()
196 … if (tableEl->fCharClass < 127 && fC.fQuoted == FALSE && tableEl->fCharClass == fC.fChar) { in compile()
206 if (tableEl->fCharClass == 254 && fC.fQuoted) { in compile()
210 if (tableEl->fCharClass == 253 && fC.fChar == (UChar32)-1) { in compile()
216fC.fQuoted == FALSE && // char is not escaped && in compile()
217 fC.fChar != (UChar32)-1) { // char is not EOF in compile()
219 … if (RegexStaticSets::gStaticSets->fRuleSets[tableEl->fCharClass-128].contains(fC.fChar)) { in compile()
257 nextChar(fC); in compile()
444 fCaptureName->append(fC.fChar); in doParseActions()
[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()
854 nextChar(fC); in parse()
878 System.out.println("char, line, col = (\'" + (char) fC.fChar in parse()
888 if (tableEl.fCharClass < 127 && fC.fEscaped == false in parse()
889 && tableEl.fCharClass == fC.fChar) { in parse()
899 if (tableEl.fCharClass == 254 && fC.fEscaped) { in parse()
903 if (tableEl.fCharClass == 253 && fC.fEscaped in parse()
904 && (fC.fChar == 0x50 || fC.fChar == 0x70)) { in parse()
[all …]
/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()
855 nextChar(fC); in parse()
879 System.out.println("char, line, col = (\'" + (char) fC.fChar in parse()
889 if (tableEl.fCharClass < 127 && fC.fEscaped == false in parse()
890 && tableEl.fCharClass == fC.fChar) { in parse()
900 if (tableEl.fCharClass == 254 && fC.fEscaped) { in parse()
904 if (tableEl.fCharClass == 253 && fC.fEscaped in parse()
905 && (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()
991 nextChar(fC); in parse()
1023 fC.fChar, fLineNum, fCharNum, RBBIRuleStateNames[state]); in parse()
1031 … if (tableEl->fCharClass < 127 && fC.fEscaped == FALSE && tableEl->fCharClass == fC.fChar) { in parse()
1041 if (tableEl->fCharClass == 254 && fC.fEscaped) { in parse()
1045 if (tableEl->fCharClass == 253 && fC.fEscaped && in parse()
1046 (fC.fChar == 0x50 || fC.fChar == 0x70 )) { in parse()
1050 if (tableEl->fCharClass == 252 && fC.fChar == (UChar32)-1) { in parse()
1056fC.fEscaped == FALSE && // char is not escaped && in parse()
[all …]
/external/llvm-project/clang/test/CodeGenOpenCL/
Dbuiltins-amdgcn-dl-insts.cl13 // CHECK: call float @llvm.amdgcn.fdot2(<2 x half> %v2hA, <2 x half> %v2hB, float %fC, i1 false)
14 // CHECK: call float @llvm.amdgcn.fdot2(<2 x half> %v2hA, <2 x half> %v2hB, float %fC, i1 true)
35 half2 v2hA, half2 v2hB, float fC,
38 fOut[0] = __builtin_amdgcn_fdot2(v2hA, v2hB, fC, false);
39 fOut[1] = __builtin_amdgcn_fdot2(v2hA, v2hB, fC, true);
Dbuiltins-amdgcn-dl-insts-err.cl13 half2 v2hA, half2 v2hB, float fC,
16 …fOut[0] = __builtin_amdgcn_fdot2(v2hA, v2hB, fC, false); // expected-error {{'__builtin_amdgcn…
17 …fOut[1] = __builtin_amdgcn_fdot2(v2hA, v2hB, fC, true); // expected-error {{'__builtin_amdgcn…
/external/llvm-project/compiler-rt/test/fuzzer/
DOnlySomeBytesTest.cpp40 __attribute__((noinline)) void fC(IN in) { if (in[2] == 'C') fD(in); } in fC() function
41 __attribute__((noinline)) void fB(IN in) { if (in[1] == 'B') fC(in); } in fB()

1234