/external/freetype/src/base/ |
D | ftbbox.c | 103 BBox_Conic_Check( FT_Pos y1, in BBox_Conic_Check() argument 109 if ( y1 <= y3 && y2 == y1 ) /* flat arc */ in BBox_Conic_Check() 112 if ( y1 < y3 ) in BBox_Conic_Check() 114 if ( y2 >= y1 && y2 <= y3 ) /* ascending arc */ in BBox_Conic_Check() 119 if ( y2 >= y3 && y2 <= y1 ) /* descending arc */ in BBox_Conic_Check() 121 y2 = y1; in BBox_Conic_Check() 122 y1 = y3; in BBox_Conic_Check() 128 y1 = y3 = y1 - FT_MulDiv( y2 - y1, y2 - y1, y1 - 2*y2 + y3 ); in BBox_Conic_Check() 131 if ( y1 < *min ) *min = y1; in BBox_Conic_Check() 237 FT_Pos y1 = arc[0]; [all …]
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/ |
D | jquery.flot.dashes.js | 70 y1 = points[i - ps + 1], 77 if (y1 <= y2 && y1 < axisy.min) { 80 x1 = (axisy.min - y1) / (y2 - y1) * (x2 - x1) + x1; 81 y1 = axisy.min; 82 } else if (y2 <= y1 && y2 < axisy.min) { 83 if (y1 < axisy.min) continue; 84 x2 = (axisy.min - y1) / (y2 - y1) * (x2 - x1) + x1; 89 if (y1 >= y2 && y1 > axisy.max) { 91 x1 = (axisy.max - y1) / (y2 - y1) * (x2 - x1) + x1; 92 y1 = axisy.max; [all …]
|
/external/webkit/Source/WebCore/svg/ |
D | SVGPathSegCurvetoQuadratic.h | 31 …urvetoQuadratic(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) in SVGPathSegCurvetoQuadratic() argument 36 , m_y1(y1) in SVGPathSegCurvetoQuadratic() 61 float y1() const { return m_y1; } in y1() function 62 void setY1(float y1) in setY1() argument 64 m_y1 = y1; in setY1() 77 …aticAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) in create() argument 79 return adoptRef(new SVGPathSegCurvetoQuadraticAbs(element, role, x, y, x1, y1)); in create() 83 …etoQuadraticAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) in SVGPathSegCurvetoQuadraticAbs() argument 84 : SVGPathSegCurvetoQuadratic(element, role, x, y, x1, y1) in SVGPathSegCurvetoQuadraticAbs() 94 …aticRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) in create() argument [all …]
|
D | SVGPathSegCurvetoCubic.h | 31 …athElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) in SVGPathSegCurvetoCubic() argument 36 , m_y1(y1) in SVGPathSegCurvetoCubic() 63 float y1() const { return m_y1; } in y1() function 64 void setY1(float y1) in setY1() argument 66 m_y1 = y1; in setY1() 95 …athElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) in create() argument 97 return adoptRef(new SVGPathSegCurvetoCubicAbs(element, role, x, y, x1, y1, x2, y2)); in create() 101 …athElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) in SVGPathSegCurvetoCubicAbs() argument 102 : SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2) in SVGPathSegCurvetoCubicAbs() 112 …athElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) in create() argument [all …]
|
D | SVGPathStringSource.cpp | 163 float y1; in parseCurveToCubicSegment() local 169 || !parseNumber(m_current, m_end, y1) in parseCurveToCubicSegment() 175 point1 = FloatPoint(x1, y1); in parseCurveToCubicSegment() 184 float y1; in parseCurveToCubicSmoothSegment() local 188 || !parseNumber(m_current, m_end, y1) in parseCurveToCubicSmoothSegment() 192 point1 = FloatPoint(x1, y1); in parseCurveToCubicSmoothSegment()
|
/external/skia/src/core/ |
D | SkEdge.cpp | 37 SkFDot6 x0, y0, x1, y1; in setLine() local 45 y1 = int(p1.fY * scale); in setLine() 51 y1 = p1.fY >> shift; in setLine() 57 if (y0 > y1) { in setLine() 59 SkTSwap(y0, y1); in setLine() 64 int bot = SkFDot6Round(y1); in setLine() 75 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() 92 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument 99 y1 >>= 10; in updateLine() 101 SkASSERT(y0 <= y1); in updateLine() [all …]
|
D | SkCordic.cpp | 40 int32_t y1 = x >> t; in SkCircularRotation() local 44 y += y1; in SkCircularRotation() 48 y -= y1; in SkCircularRotation() 94 int32_t y1 = x >> t; in SkCircularVector() local 98 y += y1; in SkCircularVector() 102 y -= y1; in SkCircularVector() 165 int32_t y1 = x >> t; in SkHyperbolic() local 173 y += y1; in SkHyperbolic() 177 y -= y1; in SkHyperbolic()
|
D | SkScan_Antihair.cpp | 220 static void do_anti_hairline(SkFDot6 x0, SkFDot6 y0, SkFDot6 x1, SkFDot6 y1, in do_anti_hairline() argument 225 if (SkAbs32(x1 - x0) > SkIntToFDot6(511) || SkAbs32(y1 - y0) > SkIntToFDot6(511)) { in do_anti_hairline() 233 int hy = (y0 >> 1) + (y1 >> 1); in do_anti_hairline() 235 do_anti_hairline(hx, hy, x1, y1, clip, blitter); in do_anti_hairline() 244 if (SkAbs32(x1 - x0) > SkAbs32(y1 - y0)) { // mostly horizontal in do_anti_hairline() 247 SkTSwap<SkFDot6>(y0, y1); in do_anti_hairline() 253 if (y0 == y1) { // completely horizontal, take fast case in do_anti_hairline() 257 slope = fastfixdiv(y1 - y0, x1 - x0); in do_anti_hairline() 311 if (y0 > y1) { // we want to go top-to-bottom in do_anti_hairline() 313 SkTSwap<SkFDot6>(y0, y1); in do_anti_hairline() [all …]
|
/external/qemu/android/skin/ |
D | rect.c | 150 if (a.x2 <= b.x1 || b.x2 <= a.x1 || a.y2 <= b.y1 || b.y2 <= a.y1) { in skin_rect_contains_rect() 154 if (b.x1 >= a.x1 && b.x2 <= a.x2 && b.y1 >= a.y1 && b.y2 <= a.y2) { in skin_rect_contains_rect() 170 if (a.x2 <= b.x1 || b.x2 <= a.x1 || a.y2 <= b.y1 || b.y2 <= a.y1) { in skin_rect_intersect() 177 r.y1 = (a.y1 > b.y1) ? a.y1 : b.y1; in skin_rect_intersect() 196 box->x1 = box->y1 = INT_MAX; in skin_box_minmax_init() 208 if (b->y1 < a->y1) a->y1 = b->y1; in skin_box_minmax_update() 228 box->y1 = r->pos.y; in skin_box_from_rect() 230 box->y2 = r->size.h + box->y1; in skin_box_from_rect() 237 r->pos.y = box->y1; in skin_box_to_rect() 239 r->size.h = box->y2 - box->y1; in skin_box_to_rect()
|
/external/libvpx/vp8/common/ |
D | postproc.c | 126 extern void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch); 499 int y1, int u1, int v1, int alpha, int stride) in vp8_blend_mb_inner_c() argument 502 int y1_const = y1*((1<<16)-alpha); in vp8_blend_mb_inner_c() 537 int y1, int u1, int v1, int alpha, int stride) in vp8_blend_mb_outer_c() argument 540 int y1_const = y1*((1<<16)-alpha); in vp8_blend_mb_outer_c() 601 int y1, int u1, int v1, int alpha, int stride) in vp8_blend_b_c() argument 604 int y1_const = y1*((1<<16)-alpha); in vp8_blend_b_c() 631 static void constrain_line (int x0, int *x1, int y0, int *y1, int width, int height) in constrain_line() argument 639 dy = *y1 - y0; in constrain_line() 643 *y1 = ((width-x0)*dy)/dx + y0; in constrain_line() [all …]
|
D | textblit.c | 61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) in vp8_blit_line() argument 63 int steep = abs(y1 - y0) > abs(x1 - x0); in vp8_blit_line() 75 x1 = y1; in vp8_blit_line() 76 y1 = t; in vp8_blit_line() 87 y0 = y1; in vp8_blit_line() 88 y1 = t; in vp8_blit_line() 92 deltay = abs(y1 - y0); in vp8_blit_line() 97 if (y0 < y1) in vp8_blit_line()
|
/external/dropbear/libtomcrypt/demos/ |
D | tv_gen.c | 395 int err, kl, x, y1, z; in eax_gen() local 422 for (y1 = 0; y1 <= (int)(cipher_descriptor[x].block_length*2); y1++){ in eax_gen() 423 for (z = 0; z < y1; z++) { in eax_gen() 429 …if ((err = eax_encrypt_authenticate_memory(x, key, kl, nonce, y1, header, y1, plaintext, y1, plain… in eax_gen() 433 fprintf(out, "%3d: ", y1); in eax_gen() 434 for (z = 0; z < y1; z++) { in eax_gen() 455 int err, kl, x, y1, z; in ocb_gen() local 487 for (y1 = 0; y1 <= (int)(cipher_descriptor[x].block_length*2); y1++){ in ocb_gen() 488 for (z = 0; z < y1; z++) { in ocb_gen() 492 …if ((err = ocb_encrypt_authenticate_memory(x, key, kl, nonce, plaintext, y1, plaintext, tag, &len)… in ocb_gen() [all …]
|
/external/tremolo/Tremolo/ |
D | asm_arm.h | 73 int x1, y1, l; in XPROD32() local 79 : "=&r" (l), "=&r" (x1), "=&r" (y1), "=r" (a) in XPROD32() 84 *y = y1; in XPROD32() 92 int x1, y1, l; in XPROD31() local 98 : "=&r" (l), "=&r" (x1), "=&r" (y1), "=r" (a) in XPROD31() 103 *y = y1 << 1; in XPROD31() 111 int x1, y1, l; in XNPROD31() local 117 : "=&r" (l), "=&r" (x1), "=&r" (y1) in XNPROD31() 122 *y = y1 << 1; in XNPROD31()
|
/external/dropbear/libtommath/ |
D | bn_mp_karatsuba_mul.c | 49 mp_int x0, x1, y0, y1, t1, x0y0, x1y1; in mp_karatsuba_mul() local 68 if (mp_init_size (&y1, b->used - B) != MP_OKAY) in mp_karatsuba_mul() 82 y1.used = b->used - B; in mp_karatsuba_mul() 106 tmpy = y1.dp; in mp_karatsuba_mul() 122 if (mp_mul (&x1, &y1, &x1y1) != MP_OKAY) in mp_karatsuba_mul() 128 if (s_mp_add (&y1, &y0, &x0) != MP_OKAY) in mp_karatsuba_mul() 156 Y1:mp_clear (&y1); in mp_karatsuba_mul()
|
/external/skia/src/utils/ |
D | SkCubicInterval.cpp | 42 SkScalar SkEvalCubicInterval(SkScalar x1, SkScalar y1, in SkEvalCubicInterval() argument 57 y1 *= 3; in SkEvalCubicInterval() 59 return eval_cubic(y1, y2 - 2*y1, y1 - y2 + SK_Scalar1, t); in SkEvalCubicInterval()
|
/external/webkit/Source/WebCore/css/ |
D | CSSTimingFunctionValue.h | 69 …static PassRefPtr<CSSCubicBezierTimingFunctionValue> create(double x1, double y1, double x2, doubl… in create() argument 71 return adoptRef(new CSSCubicBezierTimingFunctionValue(x1, y1, x2, y2)); in create() 75 double y1() const { return m_y1; } in y1() function 80 CSSCubicBezierTimingFunctionValue(double x1, double y1, double x2, double y2) in CSSCubicBezierTimingFunctionValue() argument 82 , m_y1(y1) in CSSCubicBezierTimingFunctionValue()
|
/external/dropbear/libtomcrypt/testprof/ |
D | x86_prof.c | 108 unsigned long y1; in init_timer() local 111 for (y1 = 0; y1 < TIMES*100; y1++) { in init_timer() 257 unsigned long x, y1; in time_keysched() local 272 for (y1 = 0; y1 < KTIMES; y1++) { in time_keysched() 293 unsigned long x, y1; in time_cipher() local 314 for (y1 = 0; y1 < 100; y1++) { in time_cipher() 333 for (y1 = 0; y1 < 100; y1++) { in time_cipher() 365 unsigned long x, y1; in time_cipher2() local 386 for (y1 = 0; y1 < 100; y1++) { in time_cipher2() 405 for (y1 = 0; y1 < 100; y1++) { in time_cipher2() [all …]
|
/external/skia/src/animator/ |
D | SkPathParts.cpp | 125 SK_MEMBER(y1, Float), 133 SkQuadTo::SkQuadTo() : x1(0), y1(0), x2(0), y2(0) { in SkQuadTo() 137 fPath->fPath.quadTo(x1, y1, x2, y2); in add() 154 fPath->fPath.rQuadTo(x1, y1, x2, y2); in add() 166 SK_MEMBER(y1, Float), 175 SkCubicTo::SkCubicTo() : x1(0), y1(0), x2(0), y2(0), x3(0), y3(0) { in SkCubicTo() 179 fPath->fPath.cubicTo(x1, y1, x2, y2, x3, y3); in add() 196 fPath->fPath.rCubicTo(x1, y1, x2, y2, x3, y3); in add()
|
D | SkDrawLine.cpp | 28 SK_MEMBER(y1, Float), 36 SkLine::SkLine() : x1(0), x2(0), y1(0), y2(0) { in SkLine() 41 maker.fCanvas->drawLine(x1, y1, x2, y2, *maker.fPaint); in draw()
|
/external/fdlibm/ |
D | e_hypot.c | 55 double a=x,b=y,t1,t2,y1,y2,w; local 102 y1 = 0; 103 __HI(y1) = hb; 104 y2 = b - y1; 108 w = ieee_sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b)));
|
/external/chromium/chrome/browser/ui/gtk/ |
D | nine_box.cc | 118 int y1 = gdk_pixbuf_get_height(images_[0]); in RenderToWidgetWithOpacity() local 120 int y2 = images_[6] ? dst_height - gdk_pixbuf_get_height(images_[6]) : y1; in RenderToWidgetWithOpacity() 122 if (x2 < x1 || y2 < y1) in RenderToWidgetWithOpacity() 143 TileImage(cr, images_[1], x1, 0, x2 - x1, y1, opacity); in RenderToWidgetWithOpacity() 149 TileImage(cr, images_[3], 0, y1, x1, y2 - y1, opacity); in RenderToWidgetWithOpacity() 151 TileImage(cr, images_[4], x1, y1, x2 - x1, y2 - y1, opacity); in RenderToWidgetWithOpacity() 153 TileImage(cr, images_[5], x2, y1, dst_width - x2, y2 - y1, opacity); in RenderToWidgetWithOpacity()
|
/external/webkit/Source/WebCore/platform/animation/ |
D | TimingFunction.h | 79 static PassRefPtr<CubicBezierTimingFunction> create(double x1, double y1, double x2, double y2) in create() argument 81 return adoptRef(new CubicBezierTimingFunction(x1, y1, x2, y2)); in create() 101 double y1() const { return m_y1; } in y1() function 112 CubicBezierTimingFunction(double x1 = 0.25, double y1 = 0.1, double x2 = 0.25, double y2 = 1.0) 115 , m_y1(y1) in TimingFunction()
|
/external/opencv/cv/src/ |
D | cvpyramids.cpp | 101 int x, y1, k = top_row; \ 106 for( y1 = 0; y1 < PD_SZ; y1++ ) \ 108 rows[y1] = buffer + k; \ 121 for( y1 = fst; y1 < lst; y1++, src += srcstep ) \ 123 worktype *row = rows[y1]; \ 137 for( y1 = fst; y1 < lst; y1++, src += srcstep ) \ 139 rows[y1][0] = PD_SINGULAR( src[0], src[1] ); \ 144 for( y1 = fst; y1 < lst; y1++, src += srcstep ) \ 146 worktype *row = rows[y1]; \ 298 int x, y1, k = top_row; \ [all …]
|
/external/valgrind/main/memcheck/tests/ |
D | badrw.c | 12 char y1; in main() local 25 y1 = *x1; in main() 26 *x1 = y1; in main()
|
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/ |
D | SDL_wsconsvideo.c | 477 int x1, y1, x2, y2; in WSCONS_UpdateRects() local 486 y1 = rects[i].y; in WSCONS_UpdateRects() 488 y2 = y1 + rects[i].h; in WSCONS_UpdateRects() 500 if (y1 < 0) { in WSCONS_UpdateRects() 501 y1 = 0; in WSCONS_UpdateRects() 502 } else if (y1 > height) { in WSCONS_UpdateRects() 503 y1 = height; in WSCONS_UpdateRects() 510 if (x2 <= x1 || y2 <= y1) { in WSCONS_UpdateRects() 517 sha_y1 = scr_y1 = y1; in WSCONS_UpdateRects() 524 scr_x1 = y1; in WSCONS_UpdateRects() [all …]
|