Home
last modified time | relevance | path

Searched refs:dx (Results 1 – 25 of 1380) sorted by relevance

12345678910>>...56

/third_party/ffmpeg/libavcodec/
Dttaencdsp.c23 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[0]; qm[1] += dx[1]; qm[2] += dx[2]; qm[3] += dx[3]; in ttaenc_filter_process_c()
31 qm[4] += dx[4]; qm[5] += dx[5]; qm[6] += dx[6]; qm[7] += dx[7]; in ttaenc_filter_process_c()
37 dx[0] = dx[1]; dx[1] = dx[2]; dx[2] = dx[3]; dx[3] = dx[4]; in ttaenc_filter_process_c()
40 dx[4] = ((dl[4] >> 30) | 1); in ttaenc_filter_process_c()
41 dx[5] = ((dl[5] >> 30) | 2) & ~1; in ttaenc_filter_process_c()
42 dx[6] = ((dl[6] >> 30) | 2) & ~1; in ttaenc_filter_process_c()
43 dx[7] = ((dl[7] >> 30) | 4) & ~3; in ttaenc_filter_process_c()
Dttadsp.c23 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[0]; qm[1] += dx[1]; qm[2] += dx[2]; qm[3] += dx[3]; in tta_filter_process_c()
33 qm[4] += dx[4]; qm[5] += dx[5]; qm[6] += dx[6]; qm[7] += dx[7]; in tta_filter_process_c()
39 dx[0] = dx[1]; dx[1] = dx[2]; dx[2] = dx[3]; dx[3] = dx[4]; in tta_filter_process_c()
42 dx[4] = ((dl[4] >> 30) | 1); in tta_filter_process_c()
43 dx[5] = ((dl[5] >> 30) | 2) & ~1; in tta_filter_process_c()
44 dx[6] = ((dl[6] >> 30) | 2) & ~1; in tta_filter_process_c()
45 dx[7] = ((dl[7] >> 30) | 4) & ~3; in tta_filter_process_c()
/third_party/mindspore/mindspore/ops/_grad/
Dgrad_comm_ops.py53 dx = div(dy2, x)
54 return (dx,)
60 dx = all_reduce_grad(dout)
64 dx = RowTensor(indices, grad, dout.dense_shape)
65 return (dx,)
70 dx = all_reduce_grad(dout)
72 z = cast(z, dtype(dx))
73 dx = mul(dx, z)
80 dx = RowTensor(indices, grad, dout.dense_shape)
81 return (dx,)
[all …]
Dgrad_nn_ops.py67 dx = input_grad(dout, w, x_shape)
70 x = F.depend(x, dx)
72 return dx, dw
91 dx = input_grad(w, dout, get_shape(x))
93 return dx, dw
113 dx = input_grad(dout, w)
115 return dx, dw
168 dx = reshape(jac, (x_row, x_col, x_batch, x_depth))
169 dx = transpose(dx, (2, 3, 0, 1))
170 return (dx,)
[all …]
Dgrad_math_ops.py39 def binop_grad_common(x, y, dx, dy): argument
49 reduce_dx = dx
53 if shape_op(dx):
54 dx = reduce_sum(dx, rx[0])
55 reduce_dx = reshape(dx, shape_of_x)
106 dx = dout_expand * onehot(out[0], depth, on_value, off_value)
107 return dx
122 dx = mul1(w, dout)
124 dx = mul1(dout, w)
129 return dx, dw
[all …]
Dgrad_quant_ops.py32 dx = op(dout, x, x_min, x_max)
33 return dx, zeros_like(x_min), zeros_like(x_max)
45 dx = op(dout, x, x_min, x_max)
46 return dx, zeros_like(x_min), zeros_like(x_max)
58 dx = op(dout, x, x_min, x_max)
59 return dx, zeros_like(x_min), zeros_like(x_max)
74 dx = op(dout, x, x_min, x_max)
75 return dx, zeros_like(x_min), zeros_like(x_max)
86 dx = op(dout[0], dout[1], x, out[0], out[1], global_step)
87 return dx, zeros_like(mean), zeros_like(variance), zeros_like(global_step)
[all …]
Dgrad_array_ops.py94 dx = cast(dout, get_dtype(x))
95 return dx
103 dx = cast(dout, get_dtype(x))
104 return dx
123 dx = cast(dout, get_dtype(x))
124 return dx, zeros_like(t)
127 dx = dout_cast(dout, x)
128 return dx, zeros_like(t)
163 dx = concat_op(dout)
164 return (dx,)
[all …]
/third_party/flutter/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp32 SkFixed dx, in can_truncate_to_fixed_for_decal() argument
39 if (dx <= SK_Fixed1 / 256) { in can_truncate_to_fixed_for_decal()
54 const uint64_t lastFx = fx + sk_64_mul(dx, count - 1); in can_truncate_to_fixed_for_decal()
64 static void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) { in decal_nofilter_scale() argument
69 (fx + dx) >> 16); in decal_nofilter_scale()
70 fx += dx+dx; in decal_nofilter_scale()
75 case 2: ((uint16_t*)dst)[1] = SkToU16((fx + dx) >> 16); in decal_nofilter_scale()
102 const SkFractionalInt dx = s.fInvSxFractionalInt; in nofilter_scale() local
106 const SkFixed fixedDx = SkFractionalIntToFixed(dx); in nofilter_scale()
117 tile(SkFractionalIntToFixed(fx + dx), maxX)); in nofilter_scale()
[all …]
/third_party/typescript/tests/baselines/reference/
DcastTest.types52 add(dx: number, dy: number): Point;
53 >add : (dx: number, dy: number) => Point
54 >dx : number
68 ><Point> ({ x: 0, y: 0, add: function(dx, dy) { return new Point(this.x + dx, this.…
69 …nction(dx, dy) { return new Point(this.x + dx, this.y + dy); }, mult: function(p) { r…
70 …unction(dx, dy) { return new Point(this.x + dx, this.y + dy); }, mult: function(p) { …
80 add: function(dx, dy) {
81 >add : (dx: number, dy: number) => Point
82 >function(dx, dy) { return new Point(this.x + dx, this.y + dy); } : (dx: number, dy: numb…
83 >dx : number
[all …]
DtargetTypeTest1.types15 public add(dx: number, dy: number): Point;
16 >add : (dx: number, dy: number) => Point
17 >dx : number
81 // dx, dy, and return type inferred using target typing
82 Point.prototype.add = function(dx, dy) {
83 >Point.prototype.add = function(dx, dy) { return new Point(this.x + dx, this.y + dy);} : (dx: nu…
84 >Point.prototype.add : (dx: number, dy: number) => Point
88 >add : (dx: number, dy: number) => Point
89 >function(dx, dy) { return new Point(this.x + dx, this.y + dy);} : (dx: number, dy: number) => P…
90 >dx : number
[all …]
DthisTypeInObjectLiterals2.types86 moveBy(dx: number, dy: number, dz?: number): void;
87 >moveBy : (dx: number, dy: number, dz?: number | undefined) => void
88 >dx : number
95dx, dy, dz) { this.x += dx; this.y += dy; if (this.z && dz) { this…
105 moveBy(dx, dy, dz) {
106 >moveBy : (dx: number, dy: number, dz: number | undefined) => void
107 >dx : number
111 this.x += dx;
112 >this.x += dx : number
116 >dx : number
[all …]
DthisTypeInObjectLiterals2.js34 moveBy(dx: number, dy: number, dz?: number): void;
40 moveBy(dx, dy, dz) { argument
41 this.x += dx;
52 moveBy(dx, dy, dz) { argument
53 this.x += dx;
64 moveBy(dx, dy, dz) { argument
65 this.x += dx;
76 moveBy(dx, dy, dz) { argument
77 this.x += dx;
90 moveBy(dx, dy, dz) { argument
[all …]
DassignToPrototype1.types5 add(dx: number, dy: number): void;
6 >add : (dx: number, dy: number) => void
7 >dx : number
11 Point.prototype.add = function(dx, dy) {
12 >Point.prototype.add = function(dx, dy) {} : (dx: number, dy: number) => void
13 >Point.prototype.add : (dx: number, dy: number) => void
17 >add : (dx: number, dy: number) => void
18 >function(dx, dy) {} : (dx: number, dy: number) => void
19 >dx : number
DinstanceAndStaticDeclarations1.types15 var dx = this.x - p.x;
16 >dx : number
35 return Math.sqrt(dx * dx + dy * dy);
36 >Math.sqrt(dx * dx + dy * dy) : number
40 >dx * dx + dy * dy : number
41 >dx * dx : number
42 >dx : number
43 >dx : number
/third_party/flutter/flutter/packages/flutter/test/physics/
Dnewton_test.dart18 expect(friction.dx(0.0), 400.0);
22 expect(friction.dx(1.0), 120.0);
23 expect(friction.dx(2.0), 36.0);
24 expect(friction.dx(3.0), closeTo(10.8, 0.00001));
25 expect(friction.dx(4.0) < 3.5, true);
38 double endVelocity = f.dx(1.0);
49 expect(friction.dx(0.0), 600.0);
54 expect(friction.dx(1.0), closeTo(endVelocity, epsilon));
62 endVelocity = f.dx(1.0);
70 expect(friction.dx(1.0), closeTo(endVelocity, epsilon));
[all …]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_msg.c88 ax, bx, cx, dx, si, di) \ argument
94 "=d"(dx), \
133 ax, bx, cx, dx, si, di) \ argument
142 "=d"(dx), \
157 ax, bx, cx, dx, si, di) \ argument
166 "=d"(dx), \
192 ax, bx, cx, dx, si, di) \ argument
203 "=d"(dx), \
219 ax, bx, cx, dx, si, di) \ argument
230 "=d"(dx), \
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Drelu_grad_impl.cu21 __global__ void CalReLUGradKernel(int size, T *dy, T *y, T *dx) { in CalReLUGradKernel() argument
23 dx[pos] = y[pos] > static_cast<T>(0) ? dy[pos] : static_cast<T>(0); in CalReLUGradKernel()
28 void CalReLUGrad(int size, T *dy, T *y, T *dx, cudaStream_t cuda_stream) { in CalReLUGrad() argument
29 CalReLUGradKernel<<<GET_BLOCKS(size), GET_THREADS, 0, cuda_stream>>>(size, dy, y, dx); in CalReLUGrad()
33 template void CalReLUGrad(int size, double *dy, double *y, double *dx, cudaStream_t cuda_stream);
34 template void CalReLUGrad(int size, float *dy, float *y, float *dx, cudaStream_t cuda_stream);
35 template void CalReLUGrad(int size, half *dy, half *y, half *dx, cudaStream_t cuda_stream);
36 template void CalReLUGrad(int size, int8_t *dy, int8_t *y, int8_t *dx, cudaStream_t cuda_stream);
37 template void CalReLUGrad(int size, int16_t *dy, int16_t *y, int16_t *dx, cudaStream_t cuda_stream);
38 template void CalReLUGrad(int size, int32_t *dy, int32_t *y, int32_t *dx, cudaStream_t cuda_stream);
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Dafangles.c45 af_angle_atan( FT_Fixed dx,
49 FT_Fixed ax = dx;
65 if ( dx < 0 )
124 af_angle_atan( FT_Fixed dx, in af_angle_atan() argument
134 if ( dx < 0 ) in af_angle_atan()
138 else if ( dx == 0 ) in af_angle_atan()
147 if ( dx < 0 ) in af_angle_atan()
149 dx = -dx; in af_angle_atan()
159 tmp = dx; in af_angle_atan()
160 dx = -dy; in af_angle_atan()
[all …]
/third_party/freetype/src/autofit/
Dafangles.c45 af_angle_atan( FT_Fixed dx,
49 FT_Fixed ax = dx;
65 if ( dx < 0 )
124 af_angle_atan( FT_Fixed dx, in af_angle_atan() argument
134 if ( dx < 0 ) in af_angle_atan()
138 else if ( dx == 0 ) in af_angle_atan()
147 if ( dx < 0 ) in af_angle_atan()
149 dx = -dx; in af_angle_atan()
159 tmp = dx; in af_angle_atan()
160 dx = -dy; in af_angle_atan()
[all …]
/third_party/libinput/test/
Dtest-gestures.c66 double dx, dy; in START_TEST() local
100 dx = libinput_event_gesture_get_dx(gevent); in START_TEST()
102 ck_assert(dx == 0.0); in START_TEST()
111 dx = libinput_event_gesture_get_dx(gevent); in START_TEST()
114 ck_assert(dx == 0.0); in START_TEST()
116 ck_assert(dx < 0.0); in START_TEST()
118 ck_assert(dx > 0.0); in START_TEST()
127 dx = libinput_event_gesture_get_dx_unaccelerated(gevent); in START_TEST()
130 ck_assert(dx == 0.0); in START_TEST()
132 ck_assert(dx < 0.0); in START_TEST()
[all …]
/third_party/typescript/tests/cases/conformance/types/thisType/
DthisTypeInObjectLiterals2.ts37 moveBy(dx: number, dy: number, dz?: number): void;
43 moveBy(dx, dy, dz) {
44 this.x += dx;
55 moveBy(dx, dy, dz) {
56 this.x += dx;
67 moveBy(dx, dy, dz) {
68 this.x += dx;
79 moveBy(dx, dy, dz) {
80 this.x += dx;
93 moveBy(dx, dy, dz) {
[all …]
/third_party/flutter/flutter/packages/flutter/test/painting/
Dtext_painter_test.dart24 expect(caretOffset.dx, 0);
26 expect(caretOffset.dx, painter.width);
33 expect(caretOffset.dx, painter.width);
45 expect(caretOffset.dx, 0);
47 expect(caretOffset.dx, painter.width / 2);
49 expect(caretOffset.dx, painter.width);
56 expect(caretOffset.dx, 0);
58 expect(caretOffset.dx, 0);
74 expect(caretOffset.dx, 0); // ��‍
76 expect(caretOffset.dx, painter.width);
[all …]
/third_party/gstreamer/gstplugins_good/gst/goom/
Ddrawmethods.c42 int x, y, dx, dy, yy, xx; in draw_line() local
97 dx = x2 - x1; in draw_line()
108 dx = x2 - x1; in draw_line()
113 if (dx == 0) { in draw_line()
153 if (dy > dx) { in draw_line()
154 dx = ((dx << 16) / dy); in draw_line()
164 x += dx; in draw_line()
170 dy = ((dy << 16) / dx); in draw_line()
190 if (-dy > dx) { in draw_line()
191 dx = ((dx << 16) / -dy); in draw_line()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/
Dwarp_affine.cc131 static void RemapBilinearNotCur1C(int dx, const int16_t *HW, const uint16_t *FHW, const int16_t *wb… in RemapBilinearNotCur1C() argument
133 int shx = HW[dx * 2]; in RemapBilinearNotCur1C()
134 int shy = HW[dx * 2 + 1]; in RemapBilinearNotCur1C()
135 const int16_t *w_ptr = wblock + FHW[dx] * 4; in RemapBilinearNotCur1C()
141 static void RemapBilinearNotCur2C(int dx, const int16_t *HW, const uint16_t *FHW, const int16_t *wb… in RemapBilinearNotCur2C() argument
143 int shx = HW[dx * 2]; in RemapBilinearNotCur2C()
144 int shy = HW[dx * 2 + 1]; in RemapBilinearNotCur2C()
145 const int16_t *w_ptr = wblock + FHW[dx] * 4; in RemapBilinearNotCur2C()
155 static void RemapBilinearNotCur3C(int dx, const int16_t *HW, const uint16_t *FHW, const int16_t *wb… in RemapBilinearNotCur3C() argument
157 int shx = HW[dx * 2]; in RemapBilinearNotCur3C()
[all …]
/third_party/boost/libs/date_time/test/local_time/
Dtestlocal_time.cpp125 date dx(2004, Apr, 4); in main() local
127 local_date_time calcop(dx, td, ny_tz, local_date_time::NOT_DATE_TIME_ON_ERROR); in main()
131 date dx(2004, Apr, 4); in main() local
134 local_date_time calcop(dx, td, ny_tz, local_date_time::EXCEPTION_ON_ERROR); in main()
143 date dx(2004, Oct, 31); in main() local
145 local_date_time calcop(dx, td, ny_tz, local_date_time::NOT_DATE_TIME_ON_ERROR); in main()
149 date dx(2004, Oct, 31); in main() local
152 local_date_time calcop(dx, td, ny_tz, local_date_time::EXCEPTION_ON_ERROR); in main()
202 date dx(2004,Apr,4); in main() local
204 local_date_time lt1(dx,td,ny_tz,false); in main()
[all …]

12345678910>>...56