Home
last modified time | relevance | path

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

12345678910>>...17

/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 FX_FLOAT dy = y2 - y1; in calc_distance() local
35 return FXSYS_sqrt2(dx, dy); in calc_distance()
42 FX_FLOAT dy = y2 - y1; in calc_line_point_distance() local
43 FX_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 FX_FLOAT cx, FX_FLOAT cy, FX_FLOAT dx, FX_FLOAT dy, in calc_intersection() argument
53 FX_FLOAT num = ((ay - cy) * (dx - cx)) - ((ax - cx) * (dy - cy)); in calc_intersection()
54 FX_FLOAT den = ((bx - ax) * (dy - cy)) - ((by - ay) * (dx - cx)); in calc_intersection()
Dagg_curves.cpp63 FX_FLOAT dy = y4 - y1; in recursive_bezier() local
64 FX_FLOAT d2 = FXSYS_fabs(((x2 - x4) * dy) - ((y2 - y4) * dx)); in recursive_bezier()
65 FX_FLOAT d3 = FXSYS_fabs(((x3 - x4) * dy) - ((y3 - y4) * dx)); in recursive_bezier()
79 (m_distance_tolerance_square * ((dx * dx) + (dy * dy)))) { in recursive_bezier()
86 (m_distance_tolerance_square * ((dx * dx) + (dy * dy)))) { in recursive_bezier()
93 (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/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/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/src/opts/
DSkBitmapProcState_matrix_neon.h122 SkFractionalInt dy = s.fInvKyFractionalInt; in AFFINE_NOFILTER_NAME() local
128 SkFractionalInt dy4 = dy * 4; in AFFINE_NOFILTER_NAME()
130 SkFractionalInt dy8 = dy * 8; in AFFINE_NOFILTER_NAME()
144 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy), ybase, 1); in AFFINE_NOFILTER_NAME()
145 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy+dy), ybase, 2); in AFFINE_NOFILTER_NAME()
146 ybase = vsetq_lane_s32(SkFractionalIntToFixed(fy+dy+dy+dy), ybase, 3); in AFFINE_NOFILTER_NAME()
177 fx += dx; fy += dy; in AFFINE_NOFILTER_NAME()
316 SkFixed dy = s.fInvKy; in AFFINE_FILTER_NAME() local
329 wide_fy = vsetq_lane_s32(fy+dy, wide_fy, 1); in AFFINE_FILTER_NAME()
330 wide_fy = vsetq_lane_s32(fy+dy+dy, wide_fy, 2); in AFFINE_FILTER_NAME()
[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/skia/src/core/
DSkEdge.cpp73 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in setLine() local
75 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
114 const SkFDot6 dy = SkEdge_Compute_DY(top, y0); in updateLine() local
116 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
148 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy) in cheap_distance() argument
151 dy = SkAbs32(dy); in cheap_distance()
153 if (dx > dy) in cheap_distance()
154 dx += dy >> 1; in cheap_distance()
156 dx = dy + (dx >> 1); in cheap_distance()
160 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy, int shiftAA = 2) in diff_to_shift() argument
[all …]
/external/libvpx/libvpx/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
279 y += dy; in ScaleARGBBilinearDown()
[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/icu/icu4c/source/data/locales/
Dkw.txt35 "dy Sul",
36 "dy Lun",
37 "dy Meurth",
38 "dy Merher",
39 "dy Yow",
40 "dy Gwener",
41 "dy Sadorn",
/external/skia/include/core/
DSkRect.h165 SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset()
166 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
172 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset()
173 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
179 SkIRect makeOutset(int32_t dx, int32_t dy) const { in makeOutset()
180 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
186 void offset(int32_t dx, int32_t dy) { in offset()
188 fTop += dy; in offset()
190 fBottom += dy; in offset()
211 void inset(int32_t dx, int32_t dy) { in inset()
[all …]
DSkRRect.h252 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const;
254 void inset(SkScalar dx, SkScalar dy) { in inset() argument
255 this->inset(dx, dy, this); in inset()
266 void outset(SkScalar dx, SkScalar dy, SkRRect* dst) const { in outset() argument
267 this->inset(-dx, -dy, dst); in outset()
269 void outset(SkScalar dx, SkScalar dy) { in outset() argument
270 this->inset(-dx, -dy, this); in outset()
276 void offset(SkScalar dx, SkScalar dy) { in offset() argument
277 fRect.offset(dx, dy); in offset()
280 SkRRect SK_WARN_UNUSED_RESULT makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() argument
[all …]
/external/fonttools/Lib/fontTools/misc/
Dtransform.py88 def __init__(self, xx=1, xy=0, yx=0, yy=1, dx=0, dy=0): argument
99 self.__affine = xx, xy, yx, yy, dx, dy
111 xx, xy, yx, yy, dx, dy = self.__affine
112 return (xx*x + yx*y + dx, xy*x + yy*y + dy)
123 xx, xy, yx, yy, dx, dy = self.__affine
124 return [(xx*x + yx*y + dx, xy*x + yy*y + dy) for x, y in points]
238 xx, xy, yx, yy, dx, dy = self.__affine
241 dx, dy = -xx*dx - yx*dy, -xy*dx - yy*dy
242 return self.__class__(xx, xy, yx, yy, dx, dy)
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/regression/
DSimpleRegression.java143 double dy = y - ybar; in addData() local
145 sumYY += dy * dy * (double) n / (n + 1d); in addData()
146 sumXY += dx * dy * (double) n / (n + 1d); in addData()
148 ybar += dy / (n + 1.0); in addData()
176 double dy = y - ybar; in removeData() local
178 sumYY -= dy * dy * (double) n / (n - 1d); in removeData()
179 sumXY -= dx * dy * (double) n / (n - 1d); in removeData()
181 ybar -= dy / (n - 1.0); in removeData()
/external/mesa3d/src/gallium/drivers/llvmpipe/
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()
312 float dx, dy; in try_setup_line() local
340 dy = v1[0][1] - v2[0][1]; in try_setup_line()
341 area = (dx * dx + dy * dy); in try_setup_line()
349 info.dy = dy; in try_setup_line()
355 if (fabsf(dx) >= fabsf(dy)) { in try_setup_line()
356 float dydx = dy / dx; in try_setup_line()
363 if (y2diff==-0.5 && dy<0){ in try_setup_line()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_tile.c42 uint32 dy = td->td_tilelength; in TIFFComputeTile() local
50 if (dy == (uint32) -1) in TIFFComputeTile()
51 dy = td->td_imagelength; in TIFFComputeTile()
54 if (dx != 0 && dy != 0 && dz != 0) { in TIFFComputeTile()
56 uint32 ypt = TIFFhowmany_32(td->td_imagelength, dy); in TIFFComputeTile()
62 xpt*(y/dy) + in TIFFComputeTile()
65 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx; in TIFFComputeTile()
119 uint32 dy = td->td_tilelength; in TIFFNumberOfTiles() local
125 if (dy == (uint32) -1) in TIFFNumberOfTiles()
126 dy = td->td_imagelength; in TIFFNumberOfTiles()
[all …]
/external/toybox/toys/posix/
Dsort.c188 double dx = strtod(x,&xx), dy = strtod(y,&yy); in compare_values() local
197 if (dx!=dx) return (dy!=dy) ? 0 : -1; in compare_values()
198 if (dy!=dy) return 1; in compare_values()
202 yinf = (1.0/dy == 0.0); in compare_values()
204 if(dx<0) return (yinf && dy<0) ? 0 : -1; in compare_values()
205 return (yinf && dy>0) ? 0 : 1; in compare_values()
207 if (yinf) return dy<0 ? 1 : -1; in compare_values()
209 return dx>dy ? 1 : (dx<dy ? -1 : 0); in compare_values()
228 double dx = atof(x), dy = atof(y); in compare_values() local
230 return dx>dy ? 1 : (dx<dy ? -1 : 0); in compare_values()
/external/mesa3d/src/mesa/swrast/
Ds_linetemp.h75 GLint dx, dy; in NAME() local
152 dy = y1 - y0; in NAME()
153 if (dx == 0 && dy == 0) in NAME()
195 if (dy<0) { in NAME()
196 dy = -dy; /* make positive */ in NAME()
216 assert(dy >= 0); in NAME()
218 numPixels = MAX2(dx, dy); in NAME()
301 if (dx > dy) { in NAME()
304 GLint errorInc = dy+dy; in NAME()
345 GLint error = errorInc-dy; in NAME()
[all …]
/external/pdfium/third_party/libopenjpeg20/
Dpi.c324 pi->dy = 0; in opj_pi_next_rpcl()
328 OPJ_UINT32 dx, dy; in opj_pi_next_rpcl() local
331 dy = comp->dy * (1u << (res->pdy + comp->numresolutions - 1 - resno)); in opj_pi_next_rpcl()
333 pi->dy = !pi->dy ? dy : opj_uint_min(pi->dy, dy); in opj_pi_next_rpcl()
344 …poc.ty0; pi->y < pi->poc.ty1; pi->y += (OPJ_INT32)(pi->dy - (OPJ_UINT32)(pi->y % (OPJ_INT32)pi->dy in opj_pi_next_rpcl()
359 try0 = opj_int_ceildiv(pi->ty0, (OPJ_INT32)(comp->dy << levelno)); in opj_pi_next_rpcl()
361 try1 = opj_int_ceildiv(pi->ty1, (OPJ_INT32)(comp->dy << levelno)); in opj_pi_next_rpcl()
364 …if (!((pi->y % (OPJ_INT32)(comp->dy << rpy) == 0) || ((pi->y == pi->ty0) && ((try0 << levelno) % (… in opj_pi_next_rpcl()
377 …prcj = opj_int_floordivpow2(opj_int_ceildiv(pi->y, (OPJ_INT32)(comp->dy << levelno)), (OPJ_INT32)r… in opj_pi_next_rpcl()
411 pi->dy = 0; in opj_pi_next_pcrl()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c55 float dy; /**< Y(v1) - Y(v0), used only during setup */ member
347 setup->ebot.dy = setup->vmid[0][1] - setup->vmin[0][1]; in setup_sort_vertices()
349 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1]; in setup_sort_vertices()
351 setup->etop.dy = setup->vmax[0][1] - setup->vmid[0][1]; in setup_sort_vertices()
364 const float area = (setup->emaj.dx * setup->ebot.dy - in setup_sort_vertices()
365 setup->ebot.dx * setup->emaj.dy); in setup_sort_vertices()
490 float a = setup->ebot.dy * majda - botda * setup->emaj.dy; in tri_linear_coeff()
540 float a = setup->ebot.dy * majda - botda * setup->emaj.dy; in tri_persp_coeff()
690 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f; in setup_tri_edges()
695 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f; in setup_tri_edges()
[all …]
/external/skia/src/views/
DSkTouchGesture.cpp234 float dy = rec.fLastY - rec.fStartY; in touchMoved() local
236 dy = (float)sk_float_round2int(dy); in touchMoved()
237 fLocalM.setTranslate(dx, dy); in touchMoved()
277 float dy = rec.fLastY - rec.fPrevY; in touchEnd() local
280 fFlinger.reset(dx / dur, dy / dur); in touchEnd()
301 double dy = rec0.fStartY - rec1.fStartY; in computePinch() local
302 double dist0 = sqrt(dx*dx + dy*dy); in computePinch()
305 dy = rec0.fLastY - rec1.fLastY; in computePinch()
306 double dist1 = sqrt(dx*dx + dy*dy); in computePinch()
/external/llvm/test/Transforms/LoopReroll/
Dnonconst_lb.ll72 ;void daxpy_ur(int n,float da,float *dx,float *dy)
77 ; dy[i] = dy[i] + da*dx[i];
78 ; dy[i+1] = dy[i+1] + da*dx[i+1];
79 ; dy[i+2] = dy[i+2] + da*dx[i+2];
80 ; dy[i+3] = dy[i+3] + da*dx[i+3];
83 define void @daxpy_ur(i32 %n, float %da, float* nocapture readonly %dx, float* nocapture %dy) {
91 %arrayidx = getelementptr inbounds float, float* %dy, i32 %i.056
99 %arrayidx4 = getelementptr inbounds float, float* %dy, i32 %add3
107 %arrayidx12 = getelementptr inbounds float, float* %dy, i32 %add11
115 %arrayidx20 = getelementptr inbounds float, float* %dy, i32 %add19
[all …]

12345678910>>...17