Searched defs:by (Results 1 - 25 of 74) sorted by relevance

123

/external/chromium_org/third_party/skia/experimental/Intersection/
H A DCubicParameterization_TestUtility.cpp1 // included by CubicParameterization.cpp
13 double ay, by, cy, dy; local
15 alt_set_abcd(&cubic[0].y, ay, by, cy, dy);
17 set_abcd(&cubic[0].y, ay, by, cy, dy);
20 if (!try_alt) calc_bc(dy, by, cy);
27 double by = cubic[1].y;
30 calc_ABCD(ax, bx, cx, dx, ay, by, cy, dy, coeffs);
34 coeffs[index] = (*calc_proc[procIndex])(ax, bx, cx, dx, ay, by, cy, dy);
H A DEdgeWalkerPolygon4x4_Test.cpp4 * Use of this source code is governed by a BSD-style license that can be
20 int by = state.b >> 2; local
40 path.lineTo(bx, by);
52 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
114 int by = state.b >> 2; local
135 path.lineTo(bx, by);
145 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
181 int by = b >> 2; local
188 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
211 int by local
276 int by = b >> 2; local
[all...]
H A DEdgeWalkerPolygons_Mismatches.cpp4 * Use of this source code is governed by a BSD-style license that can be
1595 int by = miss.b >> 2; local
1611 path.lineTo(bx, by);
H A DEdgeWalkerQuadratic4x4_Test.cpp4 * Use of this source code is governed by a BSD-style license that can be
23 int by = state.b >> 2; local
43 path.quadTo(bx, by, cx, cy);
53 str += sprintf(str, " path.quadTo(%d, %d, %d, %d);\n", bx, by, cx, cy);
/external/chromium_org/third_party/skia/tests/
H A DPathOpsSimplifyDegenerateThreadedTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
21 int by = state.fB >> 2; local
40 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by));
50 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
78 int by = b >> 2; local
82 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax);
H A DPathOpsSimplifyQuadThreadedTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
22 int by = state.fB >> 2; local
42 path.quadTo(SkIntToScalar(bx), SkIntToScalar(by),
55 str += sprintf(str, " path.quadTo(%d, %d, %d, %d);\n", bx, by, cx, cy);
H A DPathOpsSimplifyQuadralateralsThreadedTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
22 int by = state.fB >> 2; local
42 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by));
55 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
H A DPathOpsSimplifyTrianglesThreadedTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
22 int by = state.fB >> 2; local
43 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by));
53 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
83 int by = b >> 2; local
90 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
H A DPathOpsQuadLineIntersectionThreadedTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
68 // find a point on a quad by choosing a t from 0 to 1
80 int by = state.fB >> 2; local
83 SkDQuad quad = {{{(double) ax, (double) ay}, {(double) bx, (double) by},
/external/pdfium/core/src/fxge/agg/agg23/
H A Dagg_math.h16 // Bessel function (besj) was adapted for use in AGG library by Andy Wilk
49 AGG_INLINE bool calc_intersection(FX_FLOAT ax, FX_FLOAT ay, FX_FLOAT bx, FX_FLOAT by, argument
54 FX_FLOAT den = FXSYS_Mul(bx - ax, dy - cy) - FXSYS_Mul(by - ay, dx - cx);
59 *y = ay + FXSYS_MulDiv(by - ay, num, den);
/external/skia/experimental/Intersection/
H A DCubicParameterization_TestUtility.cpp1 // included by CubicParameterization.cpp
13 double ay, by, cy, dy; local
15 alt_set_abcd(&cubic[0].y, ay, by, cy, dy);
17 set_abcd(&cubic[0].y, ay, by, cy, dy);
20 if (!try_alt) calc_bc(dy, by, cy);
27 double by = cubic[1].y;
30 calc_ABCD(ax, bx, cx, dx, ay, by, cy, dy, coeffs);
34 coeffs[index] = (*calc_proc[procIndex])(ax, bx, cx, dx, ay, by, cy, dy);
H A DEdgeWalkerPolygon4x4_Test.cpp4 * Use of this source code is governed by a BSD-style license that can be
20 int by = state.b >> 2; local
40 path.lineTo(bx, by);
52 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
114 int by = state.b >> 2; local
135 path.lineTo(bx, by);
145 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
181 int by = b >> 2; local
188 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
211 int by local
276 int by = b >> 2; local
[all...]
H A DEdgeWalkerPolygons_Mismatches.cpp4 * Use of this source code is governed by a BSD-style license that can be
1595 int by = miss.b >> 2; local
1611 path.lineTo(bx, by);
H A DEdgeWalkerQuadratic4x4_Test.cpp4 * Use of this source code is governed by a BSD-style license that can be
23 int by = state.b >> 2; local
43 path.quadTo(bx, by, cx, cy);
53 str += sprintf(str, " path.quadTo(%d, %d, %d, %d);\n", bx, by, cx, cy);
/external/skia/tests/
H A DPathOpsSimplifyDegenerateThreadedTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
21 int by = state.fB >> 2; local
40 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by));
50 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
78 int by = b >> 2; local
82 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax);
H A DPathOpsSimplifyQuadThreadedTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
22 int by = state.fB >> 2; local
42 path.quadTo(SkIntToScalar(bx), SkIntToScalar(by),
55 str += sprintf(str, " path.quadTo(%d, %d, %d, %d);\n", bx, by, cx, cy);
H A DPathOpsSimplifyQuadralateralsThreadedTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
22 int by = state.fB >> 2; local
42 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by));
55 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
H A DPathOpsSimplifyTrianglesThreadedTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
22 int by = state.fB >> 2; local
43 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by));
53 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
83 int by = b >> 2; local
90 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
/external/chromium_org/third_party/WebKit/Source/platform/animation/
H A DUnitBezier.h44 by = 3.0 * (p2y - p1y) - cy;
45 ay = 1.0 - cy - by;
86 return ((ay * t + by) * t + cy) * t;
155 double by; member in struct:blink::UnitBezier
/external/chromium_org/third_party/skia/experimental/
H A DSkSetPoly3To3.cpp5 * Use of this source code is governed by a BSD-style license that can be
29 static SkScalar dot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) { argument
30 return SkScalarMul(ax, bx) + SkScalarMul(ay, by);
H A DSkSetPoly3To3_A.cpp5 * Use of this source code is governed by a BSD-style license that can be
42 static SkDScalar ddot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) { argument
43 return SkDScalar_setMul(ax, bx) + SkDScalar_setMul(ay, by);
46 static SkScalar dot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) { argument
47 return SkDScalar_toScalar(ddot(ax, ay, bx, by));
H A DSkSetPoly3To3_D.cpp5 * Use of this source code is governed by a BSD-style license that can be
49 static SkScalar dot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) { argument
51 SkDScalar_setMul(ay, by));
/external/chromium_org/tools/site_compare/commands/
H A Dmaskmaker.py2 # Use of this source code is governed by a BSD-style license that can be
7 Works by repeated invokation of a browser and scraping of the resulting page.
15 import time # Used for sleep() and naming masks by time namespace
230 print (" Scrape differed from baseline by %.2f percent, ignoring"
/external/chromium_org/v8/src/x64/
H A Dregexp-macro-assembler-x64.cc2 // Use of this source code is governed by a BSD-style license that can be
81 * The first seven values must be provided by the calling code by
135 void RegExpMacroAssemblerX64::AdvanceCurrentPosition(int by) { argument
136 if (by != 0) {
137 __ addq(rdi, Immediate(by * char_size()));
142 void RegExpMacroAssemblerX64::AdvanceRegister(int reg, int by) { argument
145 if (by != 0) {
146 __ addp(register_location(reg), Immediate(by));
356 // On success, increment position by lengt
[all...]
/external/skia/experimental/
H A DSkSetPoly3To3.cpp5 * Use of this source code is governed by a BSD-style license that can be
29 static SkScalar dot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) { argument
30 return SkScalarMul(ax, bx) + SkScalarMul(ay, by);

Completed in 409 milliseconds

123