Searched refs:cy (Results 1 - 25 of 188) sorted by relevance

12345678

/external/eigen/blas/f2c/
H A Dcomplexdots.c22 *incx, complex *cy, integer *incy)
29 --cy;
33 cdotcw_(n, &cx[1], incx, &cy[1], incy, &res);
38 *incx, complex *cy, integer *incy)
45 --cy;
49 cdotuw_(n, &cx[1], incx, &cy[1], incy, &res);
54 doublecomplex *cy, integer *incy)
61 --cy;
65 zdotcw_(n, &cx[1], incx, &cy[1], incy, &res);
70 doublecomplex *cy, intege
21 cdotc_(integer *n, complex *cx, integer *incx, complex *cy, integer *incy) argument
37 cdotu_(integer *n, complex *cx, integer *incx, complex *cy, integer *incy) argument
53 zdotc_(integer *n, doublecomplex *cx, integer *incx, doublecomplex *cy, integer *incy) argument
69 zdotu_(integer *n, doublecomplex *cx, integer *incx, doublecomplex *cy, integer *incy) argument
[all...]
/external/python/cpython2/Demo/curses/
H A Dtclock.py83 cy = curses.LINES // 2
84 ch = min( cy-1, int(cx // ASPECT) - 1)
93 stdscr.addstr(cy - sdy, cx + sdx, "%d" % (i + 1))
119 dline(3, cx, cy, cx + mdx, cy - mdy, ord('#'))
122 dline(2, cx, cy, cx + hdx, cy - hdy, ord('.'))
128 plot(cx + sdx, cy - sdy, ord('O'))
143 plot(cx + sdx, cy - sdy, ord(' '))
144 dline(0, cx, cy, c
[all...]
/external/skia/experimental/svg/model/
H A DSkSVGCircle.cpp19 void SkSVGCircle::setCy(const SkSVGLength& cy) { argument
20 fCy = cy;
35 if (const auto* cy = v.as<SkSVGLengthValue>()) {
36 this->setCy(*cy);
51 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); local
54 return std::make_tuple(SkPoint::Make(cx, cy), r);
H A DSkSVGEllipse.cpp19 void SkSVGEllipse::setCy(const SkSVGLength& cy) { argument
20 fCy = cy;
39 if (const auto* cy = v.as<SkSVGLengthValue>()) {
40 this->setCy(*cy);
60 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); local
65 ? SkRect::MakeXYWH(cx - rx, cy - ry, rx * 2, ry * 2)
H A DSkSVGRadialGradient.cpp19 void SkSVGRadialGradient::setCy(const SkSVGLength& cy) { argument
20 fCy = cy;
43 if (const auto* cy = v.as<SkSVGLengthValue>()) {
44 this->setCy(*cy);
/external/skqp/experimental/svg/model/
H A DSkSVGCircle.cpp19 void SkSVGCircle::setCy(const SkSVGLength& cy) { argument
20 fCy = cy;
35 if (const auto* cy = v.as<SkSVGLengthValue>()) {
36 this->setCy(*cy);
51 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); local
54 return std::make_tuple(SkPoint::Make(cx, cy), r);
H A DSkSVGEllipse.cpp19 void SkSVGEllipse::setCy(const SkSVGLength& cy) { argument
20 fCy = cy;
39 if (const auto* cy = v.as<SkSVGLengthValue>()) {
40 this->setCy(*cy);
60 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); local
65 ? SkRect::MakeXYWH(cx - rx, cy - ry, rx * 2, ry * 2)
H A DSkSVGRadialGradient.cpp19 void SkSVGRadialGradient::setCy(const SkSVGLength& cy) { argument
20 fCy = cy;
43 if (const auto* cy = v.as<SkSVGLengthValue>()) {
44 this->setCy(*cy);
/external/skia/gm/
H A Dinversepaths.cpp13 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { argument
14 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w);
20 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { argument
21 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0);
27 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { argument
29 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction);
33 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { argument
35 path.moveTo(cx - l / 2, cy);
36 path.lineTo(cx + l / 2, cy);
84 SkScalar cy local
[all...]
/external/skqp/gm/
H A Dinversepaths.cpp13 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { argument
14 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w);
20 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { argument
21 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0);
27 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { argument
29 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction);
33 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { argument
35 path.moveTo(cx - l / 2, cy);
36 path.lineTo(cx + l / 2, cy);
84 SkScalar cy local
[all...]
/external/mesa3d/src/mesa/math/
H A Dm_clip_tmp.h60 const GLfloat cy = from[1]; local
68 mask |= (((cw < cy) << CLIP_TOP_SHIFT));
69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT));
78 if (-cy + cw < 0) mask |= CLIP_TOP_BIT;
79 if ( cy + cw < 0) mask |= CLIP_BOTTOM_BIT;
98 vProj[i][1] = cy * oow;
140 const GLfloat cy = from[1]; local
148 mask |= (((cw < cy) << CLIP_TOP_SHIFT));
149 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT));
158 if (-cy
195 const GLfloat cx = from[0], cy = from[1], cz = from[2]; local
231 const GLfloat cx = from[0], cy = from[1]; local
[all...]
/external/pdfium/third_party/agg23/
H A Dagg_math.h50 float cx, float cy, float dx, float dy,
53 float num = ((ay - cy) * (dx - cx)) - ((ax - cx) * (dy - cy));
54 float den = ((bx - ax) * (dy - cy)) - ((by - ay) * (dx - cx));
49 calc_intersection(float ax, float ay, float bx, float by, float cx, float cy, float dx, float dy, float* x, float* y) argument
/external/fonttools/Lib/fontTools/misc/
H A DbezierTools.py33 (ax, ay), (bx, by), (cx, cy) = calcQuadraticParameters(pt1, pt2, pt3)
41 points = [(ax*t*t + bx*t + cx, ay*t*t + by*t + cy) for t in roots if 0 <= t < 1] + [pt1, pt3]
56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4)
63 yRoots = [t for t in solveQuadratic(ay3, by2, cy) if 0 <= t < 1]
66 points = [(ax*t*t*t + bx*t*t + cx * t + dx, ay*t*t*t + by*t*t + cy * t + dy) for t in roots] + [pt1, pt4]
204 cx, cy = c
215 c1y = ay*t1**2 + by*t1 + cy
229 cx, cy = c
241 c1y = (2*by*t1 + cy + 3*ay*t1**2) * delta
243 d1y = ay*t1**3 + by*t1**2 + cy*t
[all...]
/external/fonttools/Tools/fontTools/misc/
H A DbezierTools.py33 (ax, ay), (bx, by), (cx, cy) = calcQuadraticParameters(pt1, pt2, pt3)
41 points = [(ax*t*t + bx*t + cx, ay*t*t + by*t + cy) for t in roots if 0 <= t < 1] + [pt1, pt3]
56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4)
63 yRoots = [t for t in solveQuadratic(ay3, by2, cy) if 0 <= t < 1]
66 points = [(ax*t*t*t + bx*t*t + cx * t + dx, ay*t*t*t + by*t*t + cy * t + dy) for t in roots] + [pt1, pt4]
204 cx, cy = c
215 c1y = ay*t1**2 + by*t1 + cy
229 cx, cy = c
241 c1y = (2*by*t1 + cy + 3*ay*t1**2) * delta
243 d1y = ay*t1**3 + by*t1**2 + cy*t
[all...]
/external/tensorflow/tensorflow/contrib/resampler/kernels/
H A Dresampler_ops_gpu.cu.cc81 const int cy = fy + 1; local
83 const T dy = static_cast<T>(cy) - y;
88 const T img_cxcy = (cx <= data_width - 1 && cy <= data_height - 1)
89 ? (one - dx) * (one - dy) * GET_DATA_POINT(cx, cy)
92 const T img_fxcy = (fx >= 0 && cy <= data_height - 1)
93 ? dx * (one - dy) * GET_DATA_POINT(fx, cy)
192 const int cy = fy + 1; local
194 const T dy = static_cast<T>(cy) - y;
198 const T img_cxcy = (cx <= data_width - 1 && cy <= data_height - 1)
199 ? GET_DATA_POINT(cx, cy)
[all...]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
H A DPieRenderer.java84 float cy = bounds.centerY();
99 PointF r1Outer = calculateLineEnd(cx, cy, rad, startAngle);
100 PointF r1Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle);
103 PointF r2Outer = calculateLineEnd(cx, cy, rad, startAngle + sweep);
104 PointF r2Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle + sweep);
120 clip.lineTo(cx, cy);
131 cy - donutSizePx,
133 cy + donutSizePx),
146 canvas.drawCircle(cx, cy, donutSizePx, f.getInnerEdgePaint());
149 canvas.drawCircle(cx, cy, ra
[all...]
/external/skia/include/effects/
H A DSkGradientShader.h176 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
181 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, argument
184 return MakeSweep(cx, cy, colors, pos, count, SkShader::kClamp_TileMode, 0, 360, flags,
187 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, argument
189 return MakeSweep(cx, cy, colors, pos, count, 0, nullptr);
208 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
214 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, argument
218 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count,
221 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, argument
224 return MakeSweep(cx, cy, color
[all...]
/external/skqp/include/effects/
H A DSkGradientShader.h176 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
181 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, argument
184 return MakeSweep(cx, cy, colors, pos, count, SkShader::kClamp_TileMode, 0, 360, flags,
187 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, argument
189 return MakeSweep(cx, cy, colors, pos, count, 0, nullptr);
208 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
214 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, argument
218 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count,
221 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, argument
224 return MakeSweep(cx, cy, color
[all...]
/external/skia/src/pathops/
H A DSkPathOpsConic.cpp142 double cx, cy, cz; local
145 cy = fPts[2].fY;
149 cy = conic_eval_numerator(&fPts[0].fY, fWeight, t2);
153 cy = fPts[0].fY;
157 double by = 2 * dy - (ay + cy) / 2;
159 SkDConic dst = {{{{ax / az, ay / az}, {bx / bz, by / bz}, {cx / cz, cy / cz}}
/external/skqp/src/pathops/
H A DSkPathOpsConic.cpp142 double cx, cy, cz; local
145 cy = fPts[2].fY;
149 cy = conic_eval_numerator(&fPts[0].fY, fWeight, t2);
153 cy = fPts[0].fY;
157 double by = 2 * dy - (ay + cy) / 2;
159 SkDConic dst = {{{{ax / az, ay / az}, {bx / bz, by / bz}, {cx / cz, cy / cz}}
/external/libvncserver/rfb/
H A Drfbregion.h60 int cx, int cy, int cw, int ch);
63 int cx, int cy, int cx2, int cy2);
/external/skia/tests/
H A DPathOpsSimplifyDegenerateThreadedTest.cpp19 int cy = state.fC >> 2; local
38 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy));
47 pathStr.appendf(" path.lineTo(%d, %d);\n", cx, cy);
77 int cy = c >> 2; local
78 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax);
H A DPathOpsSimplifyTrianglesThreadedTest.cpp20 int cy = state.fC >> 2; local
41 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy));
50 pathStr.appendf(" path.lineTo(%d, %d);\n", cx, cy);
85 int cy = c >> 2; local
86 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
/external/skqp/tests/
H A DPathOpsSimplifyDegenerateThreadedTest.cpp19 int cy = state.fC >> 2; local
38 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy));
47 pathStr.appendf(" path.lineTo(%d, %d);\n", cx, cy);
77 int cy = c >> 2; local
78 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax);
H A DPathOpsSimplifyTrianglesThreadedTest.cpp20 int cy = state.fC >> 2; local
41 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy));
50 pathStr.appendf(" path.lineTo(%d, %d);\n", cx, cy);
85 int cy = c >> 2; local
86 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {

Completed in 632 milliseconds

12345678