Home
last modified time | relevance | path

Searched refs:dy (Results 1 - 25 of 540) sorted by relevance

12345678910>>...22

/third_party/musl/libc-test/src/common/
H A Dmtest.h69 struct d_d {POS int r; double x; double y; float dy; int e; }; member
70 struct f_f {POS int r; float x; float y; float dy; int e; }; member
71 struct l_l {POS int r; long double x; long double y; float dy; int e; }; member
72 struct ff_f {POS int r; float x; float x2; float y; float dy; int e; }; member
73 struct dd_d {POS int r; double x; double x2; double y; float dy; int e; }; member
74 struct ll_l {POS int r; long double x; long double x2; long double y; float dy; int e; }; member
75 struct d_di {POS int r; double x; double y; float dy; long long i; int e; }; member
76 struct f_fi {POS int r; float x; float y; float dy; long long i; int e; }; member
77 struct l_li {POS int r; long double x; long double y; float dy; long long i; int e; }; member
78 struct di_d {POS int r; double x; long long i; double y; float dy; in member
79 struct fi_f {POS int r; float x; long long i; float y; float dy; int e; }; global() member
80 struct li_l {POS int r; long double x; long long i; long double y; float dy; int e; }; global() member
84 struct d_dd {POS int r; double x; double y; float dy; double y2; float dy2; int e; }; global() member
85 struct f_ff {POS int r; float x; float y; float dy; float y2; float dy2; int e; }; global() member
86 struct l_ll {POS int r; long double x; long double y; float dy; long double y2; float dy2; int e; }; global() member
87 struct ff_fi {POS int r; float x; float x2; float y; float dy; long long i; int e; }; global() member
88 struct dd_di {POS int r; double x; double x2; double y; float dy; long long i; int e; }; global() member
89 struct ll_li {POS int r; long double x; long double x2; long double y; float dy; long long i; int e; }; global() member
90 struct fff_f {POS int r; float x; float x2; float x3; float y; float dy; int e; }; global() member
91 struct ddd_d {POS int r; double x; double x2; double x3; double y; float dy; int e; }; global() member
92 struct lll_l {POS int r; long double x; long double x2; long double x3; long double y; float dy; int e; }; global() member
[all...]
/third_party/typescript/tests/baselines/reference/
H A DthisTypeInObjectLiterals2.js34 moveBy(dx: number, dy: number, dz?: number): void;
40 moveBy(dx, dy, dz) {
42 this.y += dy;
52 moveBy(dx, dy, dz) {
54 this.y += dy;
64 moveBy(dx, dy, dz) {
66 this.y += dy;
76 moveBy(dx, dy, dz) {
78 this.y += dy;
90 moveBy(dx, dy, d
[all...]
H A DtargetTypeTest1.js7 public add(dx: number, dy: number): Point;
31 // dx, dy, and return type inferred using target typing
32 Point.prototype.add = function(dx, dy) {
33 return new Point(this.x + dx, this.y + dy);
40 // dx, dy, and return type of add inferred using target typing
44 add: function(dx, dy) {
45 return new Point(this.x + dx, this.y + dy);
89 // dx, dy, and return type inferred using target typing
90 Point.prototype.add = function (dx, dy) {
91 return new Point(this.x + dx, this.y + dy);
[all...]
H A DcastTest.js18 add(dx: number, dy: number): Point;
26 add: function(dx, dy) {
27 return new Point(this.x + dx, this.y + dy);
46 add: function (dx, dy) {
47 return new Point(this.x + dx, this.y + dy);
/third_party/skia/gm/
H A Dspritebitmap.cpp35 int dx, int dy, sk_sp<SkImageFilter> filter) { in draw_1_bitmap()
40 SkIntToScalar(dy), in draw_1_bitmap()
53 canvas->drawImage(bm.asImage(), SkIntToScalar(dx), SkIntToScalar(dy), in draw_1_bitmap()
82 int dy = 10; variable
87 draw_1_bitmap(canvas, bm, false, dx, dy, nullptr);
88 dy += bm.height() + 20;
89 draw_1_bitmap(canvas, bm, false, dx, dy, filter);
90 dy += bm.height() + 20;
91 draw_1_bitmap(canvas, bm, true, dx, dy, nullptr);
92 dy
34 draw_1_bitmap(SkCanvas* canvas, const SkBitmap& bm, bool doClip, int dx, int dy, sk_sp<SkImageFilter> filter) draw_1_bitmap() argument
[all...]
H A Drrect.cpp21 typedef void (*InsetProc)(const SkRRect&, SkScalar dx, SkScalar dy, SkRRect*);
23 static void inset0(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { in inset0() argument
26 r.inset(dx, dy); in inset0()
38 radii[i].fY -= dy; in inset0()
43 static void inset1(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { in inset1() argument
46 r.inset(dx, dy); in inset1()
59 static void inset2(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { in inset2() argument
62 r.inset(dx, dy); in inset2()
77 radii[i].fY -= dy; in inset2()
87 static void inset3(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRec argument
[all...]
/third_party/libinput/test/
H A Dtest-gestures.c49 double dx, dy; in test_gesture_swipe_3fg() local
96 dy = libinput_event_gesture_get_dy(gevent); in test_gesture_swipe_3fg()
98 ck_assert(dy == 0.0); in test_gesture_swipe_3fg()
107 dy = libinput_event_gesture_get_dy(gevent); in test_gesture_swipe_3fg()
116 ck_assert(dy == 0.0); in test_gesture_swipe_3fg()
118 ck_assert(dy < 0.0); in test_gesture_swipe_3fg()
120 ck_assert(dy > 0.0); in test_gesture_swipe_3fg()
123 dy = libinput_event_gesture_get_dy_unaccelerated(gevent); in test_gesture_swipe_3fg()
132 ck_assert(dy == 0.0); in test_gesture_swipe_3fg()
134 ck_assert(dy < 0. in test_gesture_swipe_3fg()
160 double dx, dy; test_gesture_swipe_4fg() local
298 double dx, dy; test_gesture_pinch_2fg() local
421 double dx, dy; test_gesture_pinch_3fg() local
536 double dx, dy; test_gesture_pinch_4fg() local
658 double dx, dy; test_gesture_spread() local
961 double dx, dy; START_TEST() local
1121 double dx, dy; START_TEST() local
1363 double dx, dy; START_TEST() local
[all...]
H A Dtest-trackball.c133 double dx, dy; in START_TEST() local
150 dy = libinput_event_pointer_get_dy_unaccelerated(ptrev); in START_TEST()
155 ck_assert_double_eq(dy, 0.0); in START_TEST()
159 ck_assert_double_eq(dy, 1.0); in START_TEST()
163 ck_assert_double_eq(dy, 0.0); in START_TEST()
167 ck_assert_double_eq(dy, -1.0); in START_TEST()
183 double dx, dy; in START_TEST() local
200 dy = libinput_event_pointer_get_dy_unaccelerated(ptrev); in START_TEST()
205 ck_assert_double_eq(dy, 1.0); in START_TEST()
209 ck_assert_double_eq(dy, 0. in START_TEST()
232 double dx, dy; START_TEST() local
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c47 float dy; member
90 float dady = da21 * info->dy * info->oneoverarea; in linear_coef()
122 float dady = da21 * info->dy * info->oneoverarea; in perspective_coef()
303 float dx, dy; in try_setup_line() local
330 dy = v1[0][1] - v2[0][1]; in try_setup_line()
331 area = (dx * dx + dy * dy); in try_setup_line()
339 info.dy = dy; in try_setup_line()
346 int tx = subpixel_snap(-dy * scal in try_setup_line()
[all...]
/third_party/skia/include/core/
H A DSkRect.h291 /** Returns SkIRect offset by (dx, dy).
295 If dy is negative, SkIRect returned is moved upward.
296 If dy is positive, SkIRect returned is moved downward.
299 @param dy offset added to fTop and fBottom
300 @return SkIRect offset by dx and dy, with original width and height
302 constexpr SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset()
304 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeOffset()
305 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOffset()
323 /** Returns SkIRect, inset by (dx, dy).
327 If dy i
[all...]
H A DSkRRect.h303 /** Copies SkRRect to dst, then insets dst bounds by dx and dy, and adjusts dst
304 radii by dx and dy. dx and dy may be positive, negative, or zero. dst may be
310 bounds x-axis center. If dy exceeds half dst bounds height, dst bounds top and
313 If dx or dy cause the bounds to become infinite, dst bounds is zeroed.
316 @param dy added to rect().fTop, and subtracted from rect().fBottom
321 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const;
323 /** Insets bounds by dx and dy, and adjusts radii by dx and dy. dx and dy ma
337 inset(SkScalar dx, SkScalar dy) inset() argument
356 outset(SkScalar dx, SkScalar dy, SkRRect* dst) const outset() argument
374 outset(SkScalar dx, SkScalar dy) outset() argument
383 offset(SkScalar dx, SkScalar dy) offset() argument
[all...]
/third_party/libinput/tools/
H A Dlibinput-analyze-per-slot-delta.py73 dx, dy = slot.dx / self.resolution[0], slot.dy / self.resolution[1]
75 dx, dy = slot.dx, slot.dy
76 if dx != 0 and dy != 0:
77 t = math.atan2(dx, dy)
87 elif dy == 0:
93 if dy < 0:
102 dist = math.hypot(dx, dy)
110 if isinstance(dx, int) and isinstance(dy, in
137 dy = 0 global() variable in Slot
[all...]
/third_party/skia/src/core/
H A DSkEdge.cpp77 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in setLine() local
79 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
118 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in updateLine() local
120 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
152 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy)
155 dy = SkAbs32(dy);
157 if (dx > dy)
158 dx += dy >> 1;
160 dx = dy
164 diff_to_shift(SkFDot6 dx, SkFDot6 dy, int shiftAA = 2) diff_to_shift() argument
223 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; setQuadraticWithoutUpdate() local
295 SkFixed dy = fQDy; updateQuadratic() local
401 SkFDot6 dy = cubic_delta_from_line(y0, y1, y2, y3); setCubicWithoutUpdate() local
[all...]
/third_party/toybox/toys/posix/
H A Dsort.c176 double dx = strtod(x,&xx), dy = strtod(y,&yy); in compare_values() local
185 if (dx!=dx) return (dy!=dy) ? 0 : -1; in compare_values()
186 if (dy!=dy) return 1; in compare_values()
190 yinf = (1.0/dy == 0.0); in compare_values()
192 if(dx<0) return (yinf && dy<0) ? 0 : -1; in compare_values()
193 return (yinf && dy>0) ? 0 : 1; in compare_values()
195 if (yinf) return dy<0 ? 1 : -1; in compare_values()
197 return dx>dy in compare_values()
233 double dx = atof(x), dy = atof(y); compare_values() local
[all...]
/third_party/musl/src/math/
H A Dtgamma.c112 double_t dy, z, r; in tgamma() local
151 dy = y - absx; in tgamma()
152 dy -= gmhalf; in tgamma()
154 dy = y - gmhalf; in tgamma()
155 dy -= absx; in tgamma()
164 dy = -dy; in tgamma()
167 r += dy * (gmhalf+0.5) * r / y; in tgamma()
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dtgamma.c112 double_t dy, z, r; in tgamma() local
151 dy = y - absx; in tgamma()
152 dy -= gmhalf; in tgamma()
154 dy = y - gmhalf; in tgamma()
155 dy -= absx; in tgamma()
164 dy = -dy; in tgamma()
167 r += dy * (gmhalf+0.5) * r / y; in tgamma()
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
H A DQrTemplate.java141 for (int dy = -4; dy <= 4; dy++) { in drawFinderPattern()
143 int dist = Math.max(Math.abs(dx), Math.abs(dy)); // Chebyshev/infinity norm in drawFinderPattern()
144 int xx = x + dx, yy = y + dy; in drawFinderPattern()
155 for (int dy = -2; dy <= 2; dy++) { in drawAlignmentPattern()
157 darkenFunctionModule(x + dx, y + dy, Math.abs(Math.max(Math.abs(dx), Math.abs(dy)) in drawAlignmentPattern()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dsnow.c129 static void mc_block(Plane *p, uint8_t *dst, const uint8_t *src, int stride, int b_w, int b_h, int dx, int dy){ in mc_block() argument
173 av_assert2(dx<16 && dy<16); in mc_block()
174 r= brane[dx + 16*dy]&15; in mc_block()
175 l= brane[dx + 16*dy]>>4; in mc_block()
282 int dxy = dx / 8 + dy / 8 * 4; in mc_block()
292 dy&=7; in mc_block()
295 dst[x]= ((8-dx)*(8-dy)*src1[x] + dx*(8-dy)*src2[x]+ in mc_block()
296 (8-dx)* dy *src3[x] + dx* dy *src in mc_block()
367 const int dy= my&15; ff_snow_pred_block() local
[all...]
H A Dvmnc.c132 static void put_cursor(uint8_t *dst, int stride, VmncContext *c, int dx, int dy) in put_cursor() argument
192 static av_always_inline void paint_rect(uint8_t *dst, int dx, int dy, in paint_rect() argument
197 dst += dx * bpp + dy * stride; in paint_rect()
335 int dx, dy, w, h, depth, enc, chunks, res, size_left, ret; in decode_frame() local
363 dy = c->cur_y; in decode_frame()
364 if (dy < 0) { in decode_frame()
365 h += dy; in decode_frame()
366 dy = 0; in decode_frame()
369 outptr = c->pic->data[0] + dx * c->bpp2 + dy * c->pic->linesize[0]; in decode_frame()
384 dy in decode_frame()
[all...]
H A Dargo.c153 int size, type, pos, dy; in decode_mad1() local
284 dy = 0; in decode_mad1()
295 dy++; in decode_mad1()
296 if (dy >= h) in decode_mad1()
304 dy++; in decode_mad1()
305 if (dy >= h) in decode_mad1()
316 if (dy < 1 && !pos) in decode_mad1()
322 if (dy < 1) in decode_mad1()
335 dy++; in decode_mad1()
336 if (dy > in decode_mad1()
363 int osize, type, pos, dy, di, bcode, value, v14; decode_mad1_24() local
[all...]
/third_party/node/lib/internal/readline/
H A Dcallbacks.js61 function moveCursor(stream, dx, dy, callback) {
66 if (stream == null || !(dx || dy)) {
79 if (dy < 0) {
80 data += CSI`${-dy}A`;
81 } else if (dy > 0) {
82 data += CSI`${dy}B`;
/third_party/skia/tools/viewer/
H A DTouchGesture.cpp239 float dy = rec.fLastY - rec.fStartY; in touchMoved() local
241 dy = (float)sk_float_round2int(dy); in touchMoved()
242 fLocalM.setTranslate(dx, dy); in touchMoved()
280 float dy = rec.fLastY - rec.fPrevY; in touchEnd() local
283 fFlinger.reset(dx / dur, dy / dur); in touchEnd()
313 double dy = rec0.fStartY - rec1.fStartY; in computePinch() local
314 double dist0 = sqrt(dx*dx + dy*dy); in computePinch()
317 dy in computePinch()
[all...]
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_setup.c56 float dy; /**< Y(v1) - Y(v0), used only during setup */ member
57 float dxdy; /**< dx/dy */
348 setup->ebot.dy = setup->vmid[0][1] - setup->vmin[0][1]; in setup_sort_vertices()
350 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1]; in setup_sort_vertices()
352 setup->etop.dy = setup->vmax[0][1] - setup->vmid[0][1]; in setup_sort_vertices()
365 const float area = (setup->emaj.dx * setup->ebot.dy - in setup_sort_vertices()
366 setup->ebot.dx * setup->emaj.dy); in setup_sort_vertices()
434 float a = setup->ebot.dy * majda - botda * setup->emaj.dy; in tri_linear_coeff()
484 float a = setup->ebot.dy * majd in tri_persp_coeff()
1007 int dy = y1 - y0; sp_setup_line() local
1263 float dx, dy, dist2, cover; sp_setup_point() local
[all...]
/third_party/skia/src/effects/imagefilters/
H A DSkDropShadowImageFilter.cpp20 SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, in SkDropShadowImageFilter() argument
25 , fDy(dy) in SkDropShadowImageFilter()
31 static sk_sp<SkImageFilter> Make(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, in Make() argument
35 dx, dy, sigmaX, sigmaY, color, shadowOnly, std::move(input), cropRect)); in Make()
60 SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, in DropShadow()
62 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, /* shadowOnly */ false, in DropShadow()
67 SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, in DropShadowOnly()
69 return SkDropShadowImageFilter::Make(dx, dy, sigmaX, sigmaY, color, /* shadowOnly */ true, in DropShadowOnly()
82 SkScalar dy = buffer.readScalar(); in CreateProc() local
91 return SkDropShadowImageFilter::Make(dx, dy, sigma in CreateProc()
59 DropShadow( SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, sk_sp<SkImageFilter> input, const CropRect& cropRect) DropShadow() argument
66 DropShadowOnly( SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor color, sk_sp<SkImageFilter> input, const CropRect& cropRect) DropShadowOnly() argument
[all...]
/third_party/musl/libc-test/src/math/gen/
H A Dmplibm.c5 s->dy = 0; in mpf1()
14 s->dy = 0; in mpf2()
23 s->dy = 0; in mpd1()
32 s->dy = 0; in mpd2()
41 s->dy = 0; in mpl1()
52 s->dy = 0; in mpl2()
179 t->dy = 0; in mpnexttoward()
187 t->dy = 0; in mpnexttowardf()
248 t->dy = 0; \
269 t->dy in mp_fi_f()
[all...]

Completed in 17 milliseconds

12345678910>>...22