/third_party/ffmpeg/libavcodec/ |
H A D | ttadsp.c | 23 static void tta_filter_process_c(int32_t *qmi, int32_t *dx, int32_t *dl, in tta_filter_process_c() argument 29 qm[0] -= dx[0]; qm[1] -= dx[1]; qm[2] -= dx[2]; qm[3] -= dx[3]; in tta_filter_process_c() 30 qm[4] -= dx[4]; qm[5] -= dx[5]; qm[6] -= dx[6]; qm[7] -= dx[7]; in tta_filter_process_c() 32 qm[0] += dx[ in tta_filter_process_c() [all...] |
H A D | ttaencdsp.c | 23 static void ttaenc_filter_process_c(int32_t *qm, int32_t *dx, int32_t *dl, in ttaenc_filter_process_c() argument 27 qm[0] -= dx[0]; qm[1] -= dx[1]; qm[2] -= dx[2]; qm[3] -= dx[3]; in ttaenc_filter_process_c() 28 qm[4] -= dx[4]; qm[5] -= dx[5]; qm[6] -= dx[6]; qm[7] -= dx[7]; in ttaenc_filter_process_c() 30 qm[0] += dx[ in ttaenc_filter_process_c() [all...] |
H A D | snow.c | 129 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() 291 dx&=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* d in mc_block() 366 const int dx= mx&15; ff_snow_pred_block() local [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | thisTypeInObjectLiterals2.js | 34 moveBy(dx: number, dy: number, dz?: number): void; 40 moveBy(dx, dy, dz) { 41 this.x += dx; 52 moveBy(dx, dy, dz) { 53 this.x += dx; 64 moveBy(dx, dy, dz) { 65 this.x += dx; 76 moveBy(dx, dy, dz) { 77 this.x += dx; 90 moveBy(dx, d [all...] |
H A D | targetTypeTest1.js | 7 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, thi [all...] |
H A D | castTest.js | 18 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/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_msg.c | 82 * @dx: [OUT] e.g. channel id 88 ax, bx, cx, dx, si, di) \ 90 __asm__ volatile ("inl %%dx, %%eax;" : \ 94 "=d"(dx), \ 123 * @dx: [OUT] e.g. channel id 133 ax, bx, cx, dx, si, di) \ 142 "=d"(dx), \ 157 ax, bx, cx, dx, si, di) \ 166 "=d"(dx), \ 192 ax, bx, cx, dx, s 308 VMW_REG ax = 0, bx = 0, cx = 0, dx = 0, si = 0, di = 0; vmw_open_channel() local 338 VMW_REG ax = 0, bx = 0, cx = 0, dx = 0, si, di; vmw_close_channel() local 369 VMW_REG ax = 0, bx = 0, cx = 0, dx = 0, si, di, bp; vmw_send_msg() local [all...] |
/third_party/libinput/test/ |
H A D | test-gestures.c | 49 double dx, dy; in test_gesture_swipe_3fg() local 95 dx = libinput_event_gesture_get_dx(gevent); in test_gesture_swipe_3fg() 97 ck_assert(dx == 0.0); in test_gesture_swipe_3fg() 106 dx = libinput_event_gesture_get_dx(gevent); in test_gesture_swipe_3fg() 109 ck_assert(dx == 0.0); in test_gesture_swipe_3fg() 111 ck_assert(dx < 0.0); in test_gesture_swipe_3fg() 113 ck_assert(dx > 0.0); in test_gesture_swipe_3fg() 122 dx = libinput_event_gesture_get_dx_unaccelerated(gevent); in test_gesture_swipe_3fg() 125 ck_assert(dx == 0.0); in test_gesture_swipe_3fg() 127 ck_assert(dx < 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 D | test-trackball.c | 133 double dx, dy; in START_TEST() local 149 dx = libinput_event_pointer_get_dx_unaccelerated(ptrev); in START_TEST() 154 ck_assert_double_eq(dx, 1.0); in START_TEST() 158 ck_assert_double_eq(dx, 0.0); in START_TEST() 162 ck_assert_double_eq(dx, -1.0); in START_TEST() 166 ck_assert_double_eq(dx, 0.0); in START_TEST() 183 double dx, dy; in START_TEST() local 199 dx = libinput_event_pointer_get_dx_unaccelerated(ptrev); in START_TEST() 204 ck_assert_double_eq(dx, 0.0); in START_TEST() 208 ck_assert_double_eq(dx, in START_TEST() 232 double dx, dy; START_TEST() local [all...] |
/third_party/skia/bench/ |
H A D | InterpBench.cpp | 37 virtual void performTest(int16_t dst[], float x, float dx, int count) = 0; 62 void performTest(int16_t dst[], float fx, float dx, int count) override { 64 SkFixed step = SkFloatToFixed(dx); 81 void performTest(int16_t dst[], float fx, float dx, int count) override { 83 int64_t step = (int64_t)(dx * 65536 * 655536); 112 void performTest(int16_t dst[], float fx, float dx, int count) override { 114 int64_t step = (int64_t)(dx * 65536 * 655536 * 65536); 132 void performTest(int16_t dst[], float fx, float dx, int count) override { 135 tmp = SkFloatToFixed(fx); dst[i + 0] = TILE(tmp, count); fx += dx; 136 tmp = SkFloatToFixed(fx); dst[i + 1] = TILE(tmp, count); fx += dx; [all...] |
/third_party/musl/src/math/ |
H A D | cbrtl.c | 33 double_t dr, dt, dx; in cbrtl() local 83 dx = x; in cbrtl() 86 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl() 90 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | cbrtl.c | 33 double_t dr, dt, dx; in cbrtl() local 83 dx = x; in cbrtl() 86 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl() 90 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
|
/third_party/skia/gm/ |
H A D | spritebitmap.cpp | 35 int dx, int dy, sk_sp<SkImageFilter> filter) { in draw_1_bitmap() 39 SkRect clipR = SkRect::MakeXYWH(SkIntToScalar(dx), in draw_1_bitmap() 53 canvas->drawImage(bm.asImage(), SkIntToScalar(dx), SkIntToScalar(dy), in draw_1_bitmap() 81 int dx = 10; variable 87 draw_1_bitmap(canvas, bm, false, dx, dy, nullptr); 89 draw_1_bitmap(canvas, bm, false, dx, dy, filter); 91 draw_1_bitmap(canvas, bm, true, dx, dy, nullptr); 93 draw_1_bitmap(canvas, bm, true, dx, dy, filter); 34 draw_1_bitmap(SkCanvas* canvas, const SkBitmap& bm, bool doClip, int dx, int dy, sk_sp<SkImageFilter> filter) draw_1_bitmap() argument
|
H A D | rrect.cpp | 21 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() 37 radii[i].fX -= dx; 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() 74 radii[i].fX -= dx; in inset2() 87 static void inset3(const SkRRect& src, SkScalar dx, SkScala argument [all...] |
/third_party/skia/src/core/ |
H A D | SkBitmapProcState_matrixProcs.cpp | 16 * 1. dx > 0 17 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX 20 * just SkFixed, so we will abort the decal_ call if dx is very small, since 25 SkFixed dx, in can_truncate_to_fixed_for_decal() 29 // if decal_ kept SkFractionalInt precision, this would just be dx <= 0 in can_truncate_to_fixed_for_decal() 32 if (dx <= SK_Fixed1 / 256) { in can_truncate_to_fixed_for_decal() 47 const uint64_t lastFx = fx + sk_64_mul(dx, coun in can_truncate_to_fixed_for_decal() 24 can_truncate_to_fixed_for_decal(SkFixed fx, SkFixed dx, int count, unsigned max) can_truncate_to_fixed_for_decal() argument 57 decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) decal_nofilter_scale() argument 94 const SkFractionalInt dx = s.fInvSxFractionalInt; nofilter_scale() local 129 dx = s.fInvSxFractionalInt, nofilter_affine() local 171 const SkFractionalInt dx = s.fInvSxFractionalInt; filter_scale() local 214 dx = s.fInvSxFractionalInt, filter_affine() local [all...] |
H A D | SkEdge.cpp | 152 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy) 154 dx = SkAbs32(dx); 157 if (dx > dy) 158 dx += dy >> 1; 160 dx = dy + (dx >> 1); 161 return dx; 164 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy, int shiftAA = 2) in diff_to_shift() argument 167 SkFDot6 dist = cheap_distance(dx, d in diff_to_shift() 222 SkFDot6 dx = (SkLeftShift(x1, 1) - x0 - x2) >> 2; setQuadraticWithoutUpdate() local 294 SkFixed dx = fQDx; updateQuadratic() local 400 SkFDot6 dx = cubic_delta_from_line(x0, x1, x2, x3); setCubicWithoutUpdate() local [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_line.c | 46 float dx; member 89 float dadx = da21 * info->dx * info->oneoverarea; in linear_coef() 121 float dadx = da21 * info->dx * info->oneoverarea; in perspective_coef() 303 float dx, dy; in try_setup_line() local 329 dx = v1[0][0] - v2[0][0]; in try_setup_line() 331 area = (dx * dx + dy * dy); in try_setup_line() 338 info.dx = dx; in try_setup_line() 347 int ty = subpixel_snap(+dx * scal in try_setup_line() [all...] |
/third_party/skia/include/core/ |
H A D | SkRect.h | 291 /** Returns SkIRect offset by (dx, dy). 293 If dx is negative, SkIRect returned is moved to the left. 294 If dx is positive, SkIRect returned is moved to the right. 298 @param dx offset added to fLeft and fRight 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). 325 If dx i [all...] |
H A D | SkRRect.h | 303 /** 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 309 If dx exceeds half dst bounds width, dst bounds left and right are set to 313 If dx or dy cause the bounds to become infinite, dst bounds is zeroed. 315 @param dx added to rect().fLeft, and subtracted from rect().fRight 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 an 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 393 makeOffset(SkScalar dx, SkScalar dy) const makeOffset() argument [all...] |
/third_party/ffmpeg/libavcodec/x86/ |
H A D | ttaencdsp.asm | 34 cglobal ttaenc_filter_process, 5,5,%2, qm, dx, dl, error, in, shift, round 42 psignd m0, m4, m6 ; filter->qm[i] -= filter->dx[i]; 45 paddd m3, m1 ; filter->qm[i] += filter->dx[i]; 83 palignr m5, m4, 4 ; filter->dx[0] = filter->dx[1]; filter->dx[1] = filter->dx[2]; 84 ; filter->dx[2] = filter->dx[3]; filter->dx[ [all...] |
H A D | ttadsp.asm | 34 cglobal tta_filter_process, 5,5,%2, qm, dx, dl, error, in, shift, round 42 psignd m0, m4, m6 ; filter->qm[i] -= filter->dx[i]; 45 paddd m3, m1 ; filter->qm[i] += filter->dx[i]; 83 palignr m5, m4, 4 ; filter->dx[0] = filter->dx[1]; filter->dx[1] = filter->dx[2]; 84 ; filter->dx[2] = filter->dx[3]; filter->dx[ [all...] |
/third_party/libinput/tools/ |
H A D | libinput-analyze-per-slot-delta.py | 73 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) 88 if dx < 0: 102 dist = math.hypot(dx, dy) 110 if isinstance(dx, int) and isinstance(dy, int): 112 direction, color, dx, d 136 dx = 0 global() variable in Slot [all...] |
/third_party/toybox/toys/posix/ |
H A D | sort.c | 176 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() 189 xinf = (1.0/dx == 0.0); in compare_values() 192 if(dx<0) return (yinf && dy<0) ? 0 : -1; in compare_values() 197 return dx>dy ? 1 : (dx<dy ? -1 : 0); in compare_values() 200 int dx; in compare_values() local 204 dx = thyme.tm_mon; in compare_values() 208 else return dx in compare_values() 233 double dx = atof(x), dy = atof(y); compare_values() local [all...] |
/third_party/skia/samplecode/ |
H A D | SampleAARects.cpp | 61 SkScalar dx = SkIntToScalar(80); variable 77 canvas->translate(dx, 0); 84 canvas->translate(dx, 0); 91 canvas->translate(dx, 0); 98 canvas->translate(dx, 0); 108 canvas->translate(dx, 0); 121 canvas->translate(dx, 0); 131 canvas->translate(dx, 0); 141 canvas->translate(dx, 0); 152 canvas->translate(dx, [all...] |
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
H A D | QrTemplate.java | 142 for (int dx = -4; dx <= 4; dx++) { 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() 156 for (int dx = -2; dx <= 2; dx++) in drawAlignmentPattern() 157 darkenFunctionModule(x + dx, y + dy, Math.abs(Math.max(Math.abs(dx), Mat in drawAlignmentPattern() [all...] |