Home
last modified time | relevance | path

Searched refs:cy (Results 1 – 25 of 782) sorted by relevance

12345678910>>...32

/third_party/boost/libs/math/test/
Dtest_autodiff_1.cpp47 const T cy = 100.0; in BOOST_AUTO_TEST_CASE_TEMPLATE() local
48 const auto y = make_fvar<T, m, n>(cy); in BOOST_AUTO_TEST_CASE_TEMPLATE()
52 BOOST_CHECK_EQUAL(y.derivative(i, j), cy); in BOOST_AUTO_TEST_CASE_TEMPLATE()
76 const T cy = 10.0; in BOOST_AUTO_TEST_CASE_TEMPLATE() local
94 auto y = make_fvar<T, m, n>(cy); in BOOST_AUTO_TEST_CASE_TEMPLATE()
99 BOOST_CHECK_EQUAL(empty.derivative(i, j), cy); in BOOST_AUTO_TEST_CASE_TEMPLATE()
152 const T cy = 11.0; in BOOST_AUTO_TEST_CASE_TEMPLATE() local
154 sum += cy; in BOOST_AUTO_TEST_CASE_TEMPLATE()
158 BOOST_CHECK_EQUAL(sum.derivative(i, j), cy); in BOOST_AUTO_TEST_CASE_TEMPLATE()
186 const T cy = 11.0; in BOOST_AUTO_TEST_CASE_TEMPLATE() local
[all …]
Dtest_autodiff_2.cpp47 const T cy = 3.0; in BOOST_AUTO_TEST_CASE_TEMPLATE() local
49 const auto y = make_fvar<T, m, n>(cy); in BOOST_AUTO_TEST_CASE_TEMPLATE()
50 auto z0 = pow(x, cy); in BOOST_AUTO_TEST_CASE_TEMPLATE()
51 BOOST_CHECK_EQUAL(z0.derivative(0u), pow(cx, cy)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
52 BOOST_CHECK_EQUAL(z0.derivative(1u), cy * pow(cx, cy - 1)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
53 BOOST_CHECK_EQUAL(z0.derivative(2u), cy * (cy - 1) * pow(cx, cy - 2)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
55 cy * (cy - 1) * (cy - 2) * pow(cx, cy - 3)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
59 BOOST_CHECK_CLOSE(z1.derivative(0u, 0u), pow(cx, cy), eps); in BOOST_AUTO_TEST_CASE_TEMPLATE()
61 BOOST_CHECK_CLOSE(z1.derivative(0u, j), pow(log(cx), j) * pow(cx, cy), eps); in BOOST_AUTO_TEST_CASE_TEMPLATE()
73 BOOST_CHECK_CLOSE(z2.derivative(0u, j), pow(cx, cy) * pow(log(cx), j), eps); in BOOST_AUTO_TEST_CASE_TEMPLATE()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
Dplurals.txt428 cy 0.0 cilo. 0.0 peint
429 cy 0.00 cilo. 0.00 peint
430 cy 0.000 cilo. 0.000 peint
431 cy 0.001 cilo. 0.001 peint
432 cy 0.002 cilo. 0.002 peint
433 cy 0.003 cilo. 0.003 peint
434 cy 0.004 cilo. 0.004 peint
435 cy 0.006 cilo. 0.006 peint
436 cy 0.01 cilo. 0.01 peint
437 cy 0.010 cilo. 0.010 peint
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/test/format/
Dplurals.txt428 cy 0.0 cilo. 0.0 peint
429 cy 0.00 cilo. 0.00 peint
430 cy 0.000 cilo. 0.000 peint
431 cy 0.001 cilo. 0.001 peint
432 cy 0.002 cilo. 0.002 peint
433 cy 0.003 cilo. 0.003 peint
434 cy 0.004 cilo. 0.004 peint
435 cy 0.006 cilo. 0.006 peint
436 cy 0.01 cilo. 0.01 peint
437 cy 0.010 cilo. 0.010 peint
[all …]
/third_party/mesa3d/src/mesa/math/
Dm_clip_tmp.h60 const GLfloat cy = from[1]; in TAG() local
68 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG()
69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG()
78 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG()
79 if ( cy + cw < 0) mask |= CLIP_BOTTOM_BIT; in TAG()
98 vProj[i][1] = cy * oow; in TAG()
140 const GLfloat cy = from[1]; in TAG() local
148 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG()
149 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG()
158 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG()
[all …]
Dm_debug_clip.c83 const GLfloat cy = from[1]; in ref_cliptest_points4() local
89 if ( -cy + cw < 0 ) mask |= CLIP_TOP_BIT; in ref_cliptest_points4()
90 if ( cy + cw < 0 ) mask |= CLIP_BOTTOM_BIT; in ref_cliptest_points4()
107 vProj[i][1] = cy * oow; in ref_cliptest_points4()
139 const GLfloat cx = from[0], cy = from[1], cz = from[2]; in ref_cliptest_points3() local
143 if ( cy > 1.0 ) mask |= CLIP_TOP_BIT; in ref_cliptest_points3()
144 else if ( cy < -1.0 ) mask |= CLIP_BOTTOM_BIT; in ref_cliptest_points3()
177 const GLfloat cx = from[0], cy = from[1]; in ref_cliptest_points2() local
181 if ( cy > 1.0 ) mask |= CLIP_TOP_BIT; in ref_cliptest_points2()
182 else if ( cy < -1.0 ) mask |= CLIP_BOTTOM_BIT; in ref_cliptest_points2()
/third_party/skia/gm/
Dinversepaths.cpp21 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { in generate_square() argument
22 return SkPath::Rect(SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w)); in generate_square()
25 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_rect_line() argument
26 return SkPath::Rect(SkRect::MakeXYWH(cx - l / 2, cy, l, 0)); in generate_rect_line()
29 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { in generate_circle() argument
30 return SkPath::Circle(cx, cy, d/2, SkPathDirection::kCW); in generate_circle()
33 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_line() argument
34 return SkPath::Line({cx - l / 2, cy}, {cx + l / 2, cy}); in generate_line()
81 SkScalar cy = slideHeight / 2 + slideBoundary; variable
122 SkPath path = paths[pathIndex](cx, cy, size);
Dbackdrop.cpp27 static sk_sp<SkShader> make_shader(SkScalar cx, SkScalar cy, SkScalar rad) { in make_shader() argument
37 return SkGradientShader::MakeSweep(cx, cy, colors, pos, count); in make_shader()
44 const SkScalar cx = 128, cy = 128, rad = 100; in do_draw() local
46 p.setShader(make_shader(cx, cy, rad)); in do_draw()
48 canvas->drawCircle(cx, cy, rad, p); in do_draw()
52 const SkRect r = {cx-50, cy-50, cx+50, cy+50}; in do_draw()
67 canvas->drawCircle(cx, cy, 30, p); in do_draw()
/third_party/flutter/skia/gm/
Dinversepaths.cpp21 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { in generate_square() argument
22 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w); in generate_square()
28 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_rect_line() argument
29 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0); in generate_rect_line()
35 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { in generate_circle() argument
37 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction); in generate_circle()
41 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_line() argument
43 path.moveTo(cx - l / 2, cy); in generate_line()
44 path.lineTo(cx + l / 2, cy); in generate_line()
92 SkScalar cy = slideHeight / 2 + slideBoundary; variable
[all …]
Dbackdrop.cpp26 static sk_sp<SkShader> make_shader(SkScalar cx, SkScalar cy, SkScalar rad) { in make_shader() argument
36 return SkGradientShader::MakeSweep(cx, cy, colors, pos, count); in make_shader()
43 const SkScalar cx = 128, cy = 128, rad = 100; in do_draw() local
45 p.setShader(make_shader(cx, cy, rad)); in do_draw()
47 canvas->drawCircle(cx, cy, rad, p); in do_draw()
51 const SkRect r = {cx-50, cy-50, cx+50, cy+50}; in do_draw()
64 canvas->drawCircle(cx, cy, 30, p); in do_draw()
/third_party/ffmpeg/libavcodec/mips/
Diirfilter_mips.c64 float *cy; member
80 float in = *src0 * c->gain + s->x[0] * c->cy[0] + s->x[1] * c->cy[1]; in iir_filter_flt_mips()
97 float *cy = c->cy; in iir_filter_flt_mips() local
162 [gain]"f"(gain), [x]"r"(x), [cy]"r"(cy), in iir_filter_flt_mips()
187 in += c->cy[j] * s->x[j]; in iir_filter_flt_mips()
/third_party/ffmpeg/libavcodec/
Diirfilter.c41 float *cy; member
111 c->cy[i] = (-p[i][0] * p[order][0] + -p[i][1] * p[order][1]) / in butterworth_init_coeffs()
151 c->cy[0] = (-1.0 + (sin_w0 / 2.0)) / a0; in biquad_init_coeffs()
152 c->cy[1] = (2.0 * cos_w0) / a0; in biquad_init_coeffs()
176 !(c->cy = av_malloc (sizeof(c->cy[0]) * order))) in ff_iir_filter_init_coeffs()
213 c->cy[0] * s->x[i0] + \
214 c->cy[1] * s->x[i1] + \
215 c->cy[2] * s->x[i2] + \
216 c->cy[3] * s->x[i3]; \
247 in += c->cy[j] * s->x[j]; \
[all …]
Dsanm.c1065 static int opcode_0xf7(SANMVideoContext *ctx, int cx, int cy, int block_size, ptrdiff_t pitch) in opcode_0xf7() argument
1067 uint16_t *dst = ctx->frm0 + cx + cy * ctx->pitch; in opcode_0xf7()
1099 static int opcode_0xf8(SANMVideoContext *ctx, int cx, int cy, int block_size, ptrdiff_t pitch) in opcode_0xf8() argument
1101 uint16_t *dst = ctx->frm0 + cx + cy * ctx->pitch; in opcode_0xf8()
1127 static int good_mvec(SANMVideoContext *ctx, int cx, int cy, int mx, int my, in good_mvec() argument
1130 int start_pos = cx + mx + (cy + my) * ctx->pitch; in good_mvec()
1138 cx + mx, cy + my, cx, cy, block_size); in good_mvec()
1143 static int codec2subblock(SANMVideoContext *ctx, int cx, int cy, int blk_size) in codec2subblock() argument
1158 if (good_mvec(ctx, cx, cy, mx, my, blk_size)) { in codec2subblock()
1159 copy_block(ctx->frm0 + cx + ctx->pitch * cy, in codec2subblock()
[all …]
/third_party/flutter/skia/experimental/svg/model/
DSkSVGCircle.cpp19 void SkSVGCircle::setCy(const SkSVGLength& cy) { in setCy() argument
20 fCy = cy; in setCy()
35 if (const auto* cy = v.as<SkSVGLengthValue>()) { in onSetAttribute() local
36 this->setCy(*cy); in onSetAttribute()
51 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve() local
54 return std::make_tuple(SkPoint::Make(cx, cy), r); in resolve()
DSkSVGEllipse.cpp19 void SkSVGEllipse::setCy(const SkSVGLength& cy) { in setCy() argument
20 fCy = cy; in setCy()
39 if (const auto* cy = v.as<SkSVGLengthValue>()) { in onSetAttribute() local
40 this->setCy(*cy); in onSetAttribute()
60 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve() local
65 ? SkRect::MakeXYWH(cx - rx, cy - ry, rx * 2, ry * 2) in resolve()
/third_party/flutter/skia/include/effects/
DSkGradientShader.h205 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
210 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() argument
213 return MakeSweep(cx, cy, colors, pos, count, SkTileMode::kClamp, 0, 360, flags, in MakeSweep()
216 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() argument
218 return MakeSweep(cx, cy, colors, pos, count, 0, nullptr); in MakeSweep()
237 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
243 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() argument
247 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, in MakeSweep()
250 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() argument
253 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, 0, nullptr); in MakeSweep()
/third_party/skia/include/effects/
DSkGradientShader.h210 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
215 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() argument
218 return MakeSweep(cx, cy, colors, pos, count, SkTileMode::kClamp, 0, 360, flags, in MakeSweep()
221 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() argument
223 return MakeSweep(cx, cy, colors, pos, count, 0, nullptr); in MakeSweep()
242 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy,
248 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() argument
252 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, in MakeSweep()
255 static sk_sp<SkShader> MakeSweep(SkScalar cx, SkScalar cy, in MakeSweep() argument
258 return MakeSweep(cx, cy, colors, std::move(colorSpace), pos, count, 0, nullptr); in MakeSweep()
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsmessagebox.c50 short cy; member
61 short cy; member
190 item.cy = h; in AddDialogControl()
194 Vec2ToDLU(&item.cx, &item.cy); in AddDialogControl()
255 dialogTemplate.cy = h; in CreateDialogData()
256 Vec2ToDLU(&dialogTemplate.cx, &dialogTemplate.cy); in CreateDialogData()
433 Size.cy = TextSize.bottom - TextSize.top; in WIN_ShowMessageBox()
435 Size.cy += TextMargin * 2; in WIN_ShowMessageBox()
442 Size.cy += ButtonHeight + TextMargin; in WIN_ShowMessageBox()
444 dialog = CreateDialogData(Size.cx, Size.cy, messageboxdata->title); in WIN_ShowMessageBox()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_deshake.c69 …{ "y", "set y for the rectangular search area", OFFSET(cy), AV_OPT_TYPE_INT, {.i64=-1}, -1, I…
121 uint8_t *src2, int cx, int cy, int stride, in find_block_motion() argument
129 #define CMP(i, j) deshake->sad(src1 + cy * stride + cx, stride,\ in find_block_motion()
136 diff = CMP(cx - x, cy - y); in find_block_motion()
148 diff = CMP(cx - x, cy - y); in find_block_motion()
166 diff = CMP(cx - x, cy - y); in find_block_motion()
214 static double block_angle(int x, int y, int cx, int cy, IntMotionVector *shift) in block_angle() argument
218 a1 = atan2(y - cy, x - cx); in block_angle()
219 a2 = atan2(y - cy + shift->y, x - cx + shift->x); in block_angle()
368 deshake->cx, deshake->cy, deshake->cw, deshake->ch, in init()
[all …]
Dcolorspacedsp_template.c63 int cy = yuv2rgb_coeffs[0][0][0]; in fn() local
73 av_assert2(yuv2rgb_coeffs[1][0][0] == cy && yuv2rgb_coeffs[2][0][0] == cy); in fn()
89 rgb0[x << SS_W] = av_clip_int16((y00 * cy + crv * v + rnd) >> sh); in fn()
91 rgb0[2 * x + 1] = av_clip_int16((y01 * cy + crv * v + rnd) >> sh); in fn()
93 rgb0[2 * x + rgb_stride] = av_clip_int16((y10 * cy + crv * v + rnd) >> sh); in fn()
94 rgb0[2 * x + rgb_stride + 1] = av_clip_int16((y11 * cy + crv * v + rnd) >> sh); in fn()
98 rgb1[x << SS_W] = av_clip_int16((y00 * cy + cgu * u + in fn()
101 rgb1[2 * x + 1] = av_clip_int16((y01 * cy + cgu * u + in fn()
104 rgb1[2 * x + rgb_stride] = av_clip_int16((y10 * cy + cgu * u + in fn()
106 rgb1[2 * x + rgb_stride + 1] = av_clip_int16((y11 * cy + cgu * u + in fn()
[all …]
Dvf_ciescope.c70 void (*filter)(AVFilterContext *ctx, AVFrame *in, double *cx, double *cy, int x, int y);
1125 double cx, cy, cz, jr, jg, jb, jmax; in fill_in_tongue() local
1132 upvp_to_xy(up, vp, &cx, &cy); in fill_in_tongue()
1133 cz = 1.0 - (cx + cy); in fill_in_tongue()
1138 uv_to_xy(u, v, &cx, &cy); in fill_in_tongue()
1139 cz = 1.0 - (cx + cy); in fill_in_tongue()
1142 cy = 1.0 - ((double) y) / (h - 1); in fill_in_tongue()
1143 cz = 1.0 - (cx + cy); in fill_in_tongue()
1148 xyz_to_rgb(m, cx, cy, cz, &jr, &jg, &jb); in fill_in_tongue()
1243 static void filter_rgb48(AVFilterContext *ctx, AVFrame *in, double *cx, double *cy, int x, int y) in filter_rgb48() argument
[all …]
/third_party/mesa3d/src/mesa/swrast/
Ds_aatritemp.h223 const GLfloat cx = ix + 0.5F, cy = iy + 0.5F; variable
227 array->z[count] = (GLuint) solve_plane(cx, cy, zPlane);
229 array->rgba[count][RCOMP] = solve_plane_chan(cx, cy, rPlane);
230 array->rgba[count][GCOMP] = solve_plane_chan(cx, cy, gPlane);
231 array->rgba[count][BCOMP] = solve_plane_chan(cx, cy, bPlane);
232 array->rgba[count][ACOMP] = solve_plane_chan(cx, cy, aPlane);
285 const GLfloat cx = ix + 0.5F, cy = iy + 0.5F; variable
290 array->z[ix] = (GLuint) solve_plane(cx, cy, zPlane);
292 array->rgba[ix][RCOMP] = solve_plane_chan(cx, cy, rPlane);
293 array->rgba[ix][GCOMP] = solve_plane_chan(cx, cy, gPlane);
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/
Dprior_box.cc94 float cy = i + prior_box_param_->offset; in GeneratePriorBox() local
102 output_.emplace_back((cy - min_size / step_h * 0.5f) / fmap_h); in GeneratePriorBox()
104 output_.emplace_back((cy + min_size / step_h * 0.5f) / fmap_h); in GeneratePriorBox()
111 output_.emplace_back((cy - prime / step_h * 0.5f) / fmap_h); in GeneratePriorBox()
113 output_.emplace_back((cy + prime / step_h * 0.5f) / fmap_h); in GeneratePriorBox()
125 output_.emplace_back((cy - box_h / step_h * 0.5f) / fmap_h); in GeneratePriorBox()
127 output_.emplace_back((cy + box_h / step_h * 0.5f) / fmap_h); in GeneratePriorBox()
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/
DSDL_rotate.c130 double x, y, cx, cy, sx, sy; in SDLgfx_rotozoomSurfaceSizeTrig() local
142 cy = *cangle * y; in SDLgfx_rotozoomSurfaceSizeTrig()
149 …SDL_ceil(MAX(MAX(MAX(SDL_fabs(sx + cy), SDL_fabs(sx - cy)), SDL_fabs(-sx + cy)), SDL_fabs(-sx - cy in SDLgfx_rotozoomSurfaceSizeTrig()
233 _transformSurfaceRGBA(SDL_Surface * src, SDL_Surface * dst, int cx, int cy, int isin, int icos, int… in _transformSurfaceRGBA() argument
246 ay = (cy << 16) - (isin * cx); in _transformSurfaceRGBA()
257 dy = cy - y; in _transformSurfaceRGBA()
308 dy = cy - y; in _transformSurfaceRGBA()
347 transformSurfaceY(SDL_Surface * src, SDL_Surface * dst, int cx, int cy, int isin, int icos, int fli… in transformSurfaceY() argument
359 ay = (cy << 16) - (isin * cx); in transformSurfaceY()
370 dy = cy - y; in transformSurfaceY()
/third_party/skia/tests/
DPathOpsSimplifyDegenerateThreadedTest.cpp19 int cy = state.fC >> 2; in testSimplifyDegeneratesMain() local
37 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); in testSimplifyDegeneratesMain()
46 pathStr.appendf(" path.lineTo(%d, %d);\n", cx, cy); in testSimplifyDegeneratesMain()
76 int cy = c >> 2; in DEF_TEST() local
77 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax); in DEF_TEST()

12345678910>>...32