Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 25 of 878) sorted by relevance

12345678910>>...36

/external/tensorflow/tensorflow/core/ops/
Darray_grad_test.cc37 const Tensor& dy, int axis) { in PackGrad() argument
56 {"dy:0", dy}}, in PackGrad()
68 Tensor dy(DT_FLOAT, {2, 2, 3}); in TEST() local
69 test::FillIota<float>(&dy, 0); in TEST()
70 auto dx = PackGrad(x0, x1, dy, 0); in TEST()
118 const Tensor& dy) { in ConcatGrad() argument
134 {{"dim", test::AsScalar(dim)}, {"x0:0", x0}, {"x1:0", x1}, {"dy:0", dy}}, in ConcatGrad()
142 const Tensor& dy) { in ConcatGradV2() argument
158 {{"x0:0", x0}, {"x1:0", x1}, {"dim", test::AsScalar(dim)}, {"dy:0", dy}}, in ConcatGradV2()
170 Tensor dy(DT_FLOAT, {2, 4, 5}); in TEST() local
[all …]
Dmath_grad_test.cc118 Tensor* dy) { in SymGrad() argument
169 *dy = outputs[1]; in SymGrad()
258 const Tensor& y, bool ay, Tensor* dx, Tensor* dy) { in MatMulGradCommon() argument
313 *dy = outputs[1]; in MatMulGradCommon()
317 Tensor* dx, Tensor* dy) { in MatMulGrad() argument
319 ay, dx, dy); in MatMulGrad()
323 Tensor* dx, Tensor* dy) { in BatchMatMulGrad() argument
325 dy); in BatchMatMulGrad()
329 Tensor* dx, Tensor* dy) { in SelectGrad() argument
377 *dy = outputs[2]; in SelectGrad()
[all …]
/external/pdfium/third_party/agg23/
D0003-ubsan-render-line-error.patch32 if(dy < 0) {
36 - dy = -dy;
43 + dy = -dy;
45 - delta = p / dy;
46 - mod = p % dy;
47 + delta = safeP.ValueOrDie() / dy;
48 + mod = safeP.ValueOrDie() % dy;
51 mod += dy;
57 - lift = p / dy;
58 - rem = p % dy;
[all …]
Dagg_math.h34 float dy = y2 - y1; in calc_distance() local
35 return FXSYS_sqrt2(dx, dy); in calc_distance()
42 float dy = y2 - y1; in calc_line_point_distance() local
43 float d = FXSYS_sqrt2(dx, dy); in calc_line_point_distance()
47 return ((x - x2) * dy / d) - ((y - y2) * dx / d); in calc_line_point_distance()
50 float cx, float cy, float dx, float dy, in calc_intersection() argument
53 float num = ((ay - cy) * (dx - cx)) - ((ax - cx) * (dy - cy)); in calc_intersection()
54 float den = ((bx - ax) * (dy - cy)) - ((by - ay) * (dx - cx)); in calc_intersection()
Dagg_curves.cpp62 float dy = y4 - y1; in recursive_bezier() local
63 float d2 = fabs(((x2 - x4) * dy) - ((y2 - y4) * dx)); in recursive_bezier()
64 float d3 = fabs(((x3 - x4) * dy) - ((y3 - y4) * dx)); in recursive_bezier()
77 (m_distance_tolerance_square * ((dx * dx) + (dy * dy)))) { in recursive_bezier()
84 (m_distance_tolerance_square * ((dx * dx) + (dy * dy)))) { in recursive_bezier()
91 (m_distance_tolerance_square * ((dx * dx) + (dy * dy)))) { in recursive_bezier()
/external/freetype/src/autofit/
Dafangles.c46 FT_Fixed dy )
50 FT_Fixed ay = dy;
64 angle = ( AF_ANGLE_PI2 * dy ) / ( ax + ay );
125 FT_Fixed dy ) in af_angle_atan() argument
131 if ( dy == 0 ) in af_angle_atan()
141 if ( dy < 0 ) in af_angle_atan()
150 dy = -dy; in af_angle_atan()
154 if ( dy < 0 ) in af_angle_atan()
160 dx = -dy; in af_angle_atan()
161 dy = tmp; in af_angle_atan()
[all …]
/external/libhevc/encoder/
Dihevce_inter_pred.c180 WORD32 dy, in ihevce_luma_interpolate_16bit_dxdy() argument
184 if((0 == dx) && (0 == dy)) in ihevce_luma_interpolate_16bit_dxdy()
191 else if((0 != dx) && (0 != dy)) in ihevce_luma_interpolate_16bit_dxdy()
215 &gai1_hevc_luma_filter_taps[dy][0], in ihevce_luma_interpolate_16bit_dxdy()
219 else if(0 == dy) in ihevce_luma_interpolate_16bit_dxdy()
231 pu1_src, pi2_dst, src_strd, dst_strd, &gai1_hevc_luma_filter_taps[dy][0], ht, wd); in ihevce_luma_interpolate_16bit_dxdy()
288 WORD32 dy, in ihevce_luma_interpolate_8bit_dxdy() argument
292 if((0 == dx) && (0 == dy)) in ihevce_luma_interpolate_8bit_dxdy()
299 else if((0 != dx) && (0 != dy)) in ihevce_luma_interpolate_8bit_dxdy()
323 &gai1_hevc_luma_filter_taps[dy][0], in ihevce_luma_interpolate_8bit_dxdy()
[all …]
/external/skia/gm/
Dspritebitmap.cpp26 int dx, int dy, sk_sp<SkImageFilter> filter) { in draw_1_bitmap() argument
31 SkIntToScalar(dy), in draw_1_bitmap()
44 canvas->drawBitmap(bm, SkIntToScalar(dx), SkIntToScalar(dy), &paint); in draw_1_bitmap()
72 int dy = 10; in onDraw() local
77 draw_1_bitmap(canvas, bm, false, dx, dy, nullptr); in onDraw()
78 dy += bm.height() + 20; in onDraw()
79 draw_1_bitmap(canvas, bm, false, dx, dy, filter); in onDraw()
80 dy += bm.height() + 20; in onDraw()
81 draw_1_bitmap(canvas, bm, true, dx, dy, nullptr); in onDraw()
82 dy += bm.height() + 20; in onDraw()
[all …]
Drrect.cpp14 typedef void (*InsetProc)(const SkRRect&, SkScalar dx, SkScalar dy, SkRRect*);
16 static void inset0(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { in inset0() argument
19 r.inset(dx, dy); in inset0()
31 radii[i].fY -= dy; in inset0()
36 static void inset1(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { in inset1() argument
39 r.inset(dx, dy); in inset1()
52 static void inset2(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { in inset2() argument
55 r.inset(dx, dy); in inset2()
70 radii[i].fY -= dy; in inset2()
80 static void inset3(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { in inset3() argument
[all …]
/external/skqp/gm/
Dspritebitmap.cpp26 int dx, int dy, sk_sp<SkImageFilter> filter) { in draw_1_bitmap() argument
31 SkIntToScalar(dy), in draw_1_bitmap()
44 canvas->drawBitmap(bm, SkIntToScalar(dx), SkIntToScalar(dy), &paint); in draw_1_bitmap()
72 int dy = 10; in onDraw() local
77 draw_1_bitmap(canvas, bm, false, dx, dy, nullptr); in onDraw()
78 dy += bm.height() + 20; in onDraw()
79 draw_1_bitmap(canvas, bm, false, dx, dy, filter); in onDraw()
80 dy += bm.height() + 20; in onDraw()
81 draw_1_bitmap(canvas, bm, true, dx, dy, nullptr); in onDraw()
82 dy += bm.height() + 20; in onDraw()
[all …]
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/core/
DGradients.java94 Output<?>[] dy = in create() local
99 return new Gradients(Arrays.asList(dy)); in create()
131 return (Iterator) dy.iterator(); in iterator()
137 public List<Output<?>> dy() { in dy() method in Gradients
138 return dy; in dy()
152 public <T> Output<T> dy(int index) { in dy() method in Gradients
153 return (Output<T>) dy.get(index); in dy()
156 private List<Output<?>> dy; field in Gradients
158 private Gradients(List<Output<?>> dy) { in Gradients() argument
159 this.dy = dy; in Gradients()
/external/eigen/blas/f2c/
Ddrotm.c16 doublereal *dy, integer *incy, doublereal *dparam) in drotm_() argument
89 --dy; in drotm_()
118 z__ = dy[i__]; in drotm_()
120 dy[i__] = w * dh21 + z__; in drotm_()
131 z__ = dy[i__]; in drotm_()
133 dy[i__] = -w + dh22 * z__; in drotm_()
146 z__ = dy[i__]; in drotm_()
148 dy[i__] = w * dh21 + z__ * dh22; in drotm_()
175 z__ = dy[ky]; in drotm_()
177 dy[ky] = w * dh21 + z__; in drotm_()
[all …]
/external/skia/tools/lua/
Dskia.lua73 function Sk.Rect:offset(dx, dy)
74 dy = dy or dx
77 self.top = self.top + dy
79 self.bottom = self.bottom + dy
82 function Sk.Rect:inset(dx, dy)
83 dy = dy or dx
86 self.top = self.top + dy
88 self.bottom = self.bottom - dy
/external/skqp/tools/lua/
Dskia.lua73 function Sk.Rect:offset(dx, dy)
74 dy = dy or dx
77 self.top = self.top + dy
79 self.bottom = self.bottom + dy
82 function Sk.Rect:inset(dx, dy)
83 dy = dy or dx
86 self.top = self.top + dy
88 self.bottom = self.bottom - dy
/external/pdfium/third_party/libopenjpeg20/
Dpi.c350 pi->dy = 0; in opj_pi_next_rpcl()
354 OPJ_UINT32 dx, dy; in opj_pi_next_rpcl() local
362 … comp->dy <= UINT_MAX / (1u << (res->pdy + comp->numresolutions - 1 - resno))) { in opj_pi_next_rpcl()
363 dy = comp->dy * (1u << (res->pdy + comp->numresolutions - 1 - resno)); in opj_pi_next_rpcl()
364 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_rpcl()
368 if (pi->dx == 0 || pi->dy == 0) { in opj_pi_next_rpcl()
380 pi->y += (OPJ_INT32)(pi->dy - (OPJ_UINT32)(pi->y % (OPJ_INT32)pi->dy))) { in opj_pi_next_rpcl()
400 ((comp->dy << levelno) >> levelno) != comp->dy) { in opj_pi_next_rpcl()
404 (comp->dy << levelno) > INT_MAX) { in opj_pi_next_rpcl()
408 try0 = opj_int_ceildiv(pi->ty0, (OPJ_INT32)(comp->dy << levelno)); in opj_pi_next_rpcl()
[all …]
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/core/
DGradientsTest.java50 assertNotNull(grads.dy()); in createGradients()
51 assertEquals(2, grads.dy().size()); in createGradients()
56 sess.runner().feed(x, c).fetch(grads.dy(0)).fetch(grads.dy(1)).run())) { in createGradients()
77 assertNotNull(grads.dy()); in createGradientsWithSum()
78 assertEquals(1, grads.dy().size()); in createGradientsWithSum()
82 new TestUtil.AutoCloseableList<>(sess.runner().feed(x, c).fetch(grads.dy(0)).run())) { in createGradientsWithSum()
100 Gradients grads1 = Gradients.create(scope, y0, Arrays.asList(x), Gradients.dx(grads0.dy())); in createGradientsWithInitialValues()
103 assertNotNull(grads1.dy()); in createGradientsWithInitialValues()
104 assertEquals(1, grads1.dy().size()); in createGradientsWithInitialValues()
109 sess.runner().feed(x, c).fetch(grads1.dy(0)).run())) { in createGradientsWithInitialValues()
[all …]
/external/libaom/libaom/third_party/libyuv/source/
Dscale_argb.cc37 int x, int dx, int y, int dy, in ScaleARGBDown2() argument
40 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown2()
47 assert((dy & 0x1ffff) == 0); // Test vertical scale is multiple of 2. in ScaleARGBDown2()
97 int x, int dx, int y, int dy) { in ScaleARGBDown4Box() argument
102 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown4Box()
108 assert((dy & 0x3ffff) == 0); // Test vertical scale is multiple of 4. in ScaleARGBDown4Box()
144 int x, int dx, int y, int dy, in ScaleARGBDownEven() argument
148 int row_stride = (dy >> 16) * src_stride; in ScaleARGBDownEven()
191 int x, int dx, int y, int dy, in ScaleARGBBilinearDown() argument
287 y += dy; in ScaleARGBBilinearDown()
[all …]
/external/skqp/include/core/
DSkRect.h292 SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset()
294 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeOffset()
295 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOffset()
310 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset()
312 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeInset()
313 Sk32_sat_sub(fRight, dx), Sk32_sat_sub(fBottom, dy), in makeInset()
328 SkIRect makeOutset(int32_t dx, int32_t dy) const { in makeOutset()
330 Sk32_sat_sub(fLeft, dx), Sk32_sat_sub(fTop, dy), in makeOutset()
331 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOutset()
345 void offset(int32_t dx, int32_t dy) { in offset()
[all …]
DSkRRect.h352 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const;
368 void inset(SkScalar dx, SkScalar dy) { in inset() argument
369 this->inset(dx, dy, this); in inset()
387 void outset(SkScalar dx, SkScalar dy, SkRRect* dst) const { in outset() argument
388 this->inset(-dx, -dy, dst); in outset()
405 void outset(SkScalar dx, SkScalar dy) { in outset() argument
406 this->inset(-dx, -dy, this); in outset()
414 void offset(SkScalar dx, SkScalar dy) { in offset() argument
415 fRect.offset(dx, dy); in offset()
424 SkRRect SK_WARN_UNUSED_RESULT makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() argument
[all …]
/external/skia/include/core/
DSkRect.h292 SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset()
294 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeOffset()
295 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOffset()
310 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset()
312 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeInset()
313 Sk32_sat_sub(fRight, dx), Sk32_sat_sub(fBottom, dy), in makeInset()
328 SkIRect makeOutset(int32_t dx, int32_t dy) const { in makeOutset()
330 Sk32_sat_sub(fLeft, dx), Sk32_sat_sub(fTop, dy), in makeOutset()
331 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOutset()
345 void offset(int32_t dx, int32_t dy) { in offset()
[all …]
/external/u-boot/lib/efi_loader/
Defi_gop.c83 efi_uintn_t dy, in gop_blt_int() argument
128 dy + height > gopobj->info.height) in gop_blt_int()
167 dlineoff = dwidth * dy; in gop_blt_int()
252 efi_uintn_t dy, efi_uintn_t width, in gop_blt_video_fill() argument
257 dy, width, height, delta, vid_bpp); in gop_blt_video_fill()
264 efi_uintn_t dy, efi_uintn_t width, in gop_blt_buf_to_vid16() argument
268 dy, width, height, delta, 16); in gop_blt_buf_to_vid16()
275 efi_uintn_t dy, efi_uintn_t width, in gop_blt_buf_to_vid32() argument
279 dy, width, height, delta, 32); in gop_blt_buf_to_vid32()
286 efi_uintn_t dy, efi_uintn_t width, in gop_blt_vid_to_vid() argument
[all …]
/external/libyuv/files/source/
Dscale_argb.cc44 int dy, in ScaleARGBDown2() argument
47 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown2()
58 assert((dy & 0x1ffff) == 0); // Test vertical scale is multiple of 2. in ScaleARGBDown2()
139 int dy) { in ScaleARGBDown4Box() argument
144 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown4Box()
154 assert((dy & 0x3ffff) == 0); // Test vertical scale is multiple of 4. in ScaleARGBDown4Box()
197 int dy, in ScaleARGBDownEven() argument
201 int row_stride = (dy >> 16) * src_stride; in ScaleARGBDownEven()
263 int dy, in ScaleARGBBilinearDown() argument
359 y += dy; in ScaleARGBBilinearDown()
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dscale_argb.cc44 int dy, in ScaleARGBDown2() argument
47 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown2()
58 assert((dy & 0x1ffff) == 0); // Test vertical scale is multiple of 2. in ScaleARGBDown2()
139 int dy) { in ScaleARGBDown4Box() argument
144 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown4Box()
154 assert((dy & 0x3ffff) == 0); // Test vertical scale is multiple of 4. in ScaleARGBDown4Box()
197 int dy, in ScaleARGBDownEven() argument
201 int row_stride = (dy >> 16) * src_stride; in ScaleARGBDownEven()
263 int dy, in ScaleARGBBilinearDown() argument
358 y += dy; in ScaleARGBBilinearDown()
[all …]
/external/skia/src/core/
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) in cheap_distance() argument
155 dy = SkAbs32(dy); in cheap_distance()
157 if (dx > dy) in cheap_distance()
158 dx += dy >> 1; in cheap_distance()
160 dx = dy + (dx >> 1); in cheap_distance()
164 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy, int shiftAA = 2) in diff_to_shift() argument
[all …]
/external/skqp/src/core/
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) in cheap_distance() argument
155 dy = SkAbs32(dy); in cheap_distance()
157 if (dx > dy) in cheap_distance()
158 dx += dy >> 1; in cheap_distance()
160 dx = dy + (dx >> 1); in cheap_distance()
164 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy, int shiftAA = 2) in diff_to_shift() argument
[all …]

12345678910>>...36