/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
D | PolygonShape.cpp | 54 …apsYRange(const FloatRect& rect, float y1, float y2) { return !rect.isEmpty() && y2 >= y1 && y2 >=… in overlapsYRange() argument 70 FloatShapeInterval OffsetPolygonEdge::clippedEdgeXRange(float y1, float y2) const in clippedEdgeXRange() argument 72 if (!overlapsYRange(y1, y2) || (y1 == maxY() && minY() <= y1) || (y2 == minY() && maxY() >= y2)) in clippedEdgeXRange() 75 if (isWithinYRange(y1, y2)) in clippedEdgeXRange() 90 float xForY1 = (minYVertex.y() < y1) ? xIntercept(y1) : minYVertex.x(); in clippedEdgeXRange() 101 static FloatShapeInterval clippedCircleXRange(const FloatPoint& center, float radius, float y1, flo… in clippedCircleXRange() argument 103 if (y1 >= center.y() + radius || y2 <= center.y() - radius) in clippedCircleXRange() 106 if (center.y() >= y1 && center.y() <= y2) in clippedCircleXRange() 112 float xi = circleXIntercept((y2 < center.y() ? y2 : y1) - center.y(), radius); in clippedCircleXRange() 125 float y1 = logicalTop.toFloat(); in getExcludedInterval() local [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
D | ObjectPainter.cpp | 96 void ObjectPainter::drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, in… in drawLineForBoxSide() argument 103 thickness = y2 - y1; in drawLineForBoxSide() 107 length = y2 - y1; in drawLineForBoxSide() 124 drawDashedOrDottedBoxSide(graphicsContext, x1, y1, x2, y2, side, in drawLineForBoxSide() 128 drawDoubleBoxSide(graphicsContext, x1, y1, x2, y2, length, side, color, in drawLineForBoxSide() 133 drawRidgeOrGrooveBoxSide(graphicsContext, x1, y1, x2, y2, side, color, in drawLineForBoxSide() 147 …drawSolidBoxSide(graphicsContext, x1, y1, x2, y2, side, color, adjacentWidth1, adjacentWidth2, ant… in drawLineForBoxSide() 152 void ObjectPainter::drawDashedOrDottedBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int… in drawDashedOrDottedBoxSide() argument 168 graphicsContext->drawLine(IntPoint(x1, (y1 + y2) / 2), IntPoint(x2, (y1 + y2) / 2)); in drawDashedOrDottedBoxSide() 172 graphicsContext->drawLine(IntPoint((x1 + x2) / 2, y1), IntPoint((x1 + x2) / 2, y2)); in drawDashedOrDottedBoxSide() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
D | ftbbox.c | 105 BBox_Conic_Check( FT_Pos y1, in BBox_Conic_Check() argument 111 if ( y1 <= y3 && y2 == y1 ) /* flat arc */ in BBox_Conic_Check() 114 if ( y1 < y3 ) in BBox_Conic_Check() 116 if ( y2 >= y1 && y2 <= y3 ) /* ascending arc */ in BBox_Conic_Check() 121 if ( y2 >= y3 && y2 <= y1 ) /* descending arc */ in BBox_Conic_Check() 123 y2 = y1; in BBox_Conic_Check() 124 y1 = y3; in BBox_Conic_Check() 130 y1 = y3 = y1 - FT_MulDiv( y2 - y1, y2 - y1, y1 - 2*y2 + y3 ); in BBox_Conic_Check() 133 if ( y1 < *min ) *min = y1; in BBox_Conic_Check() 326 test_cubic_extrema( FT_Pos y1, in test_cubic_extrema() argument [all …]
|
/external/chromium_org/third_party/freetype/src/base/ |
D | ftbbox.c | 105 BBox_Conic_Check( FT_Pos y1, in BBox_Conic_Check() argument 111 if ( y1 <= y3 && y2 == y1 ) /* flat arc */ in BBox_Conic_Check() 114 if ( y1 < y3 ) in BBox_Conic_Check() 116 if ( y2 >= y1 && y2 <= y3 ) /* ascending arc */ in BBox_Conic_Check() 121 if ( y2 >= y3 && y2 <= y1 ) /* descending arc */ in BBox_Conic_Check() 123 y2 = y1; in BBox_Conic_Check() 124 y1 = y3; in BBox_Conic_Check() 130 y1 = y3 = y1 - FT_MulDiv( y2 - y1, y2 - y1, y1 - 2*y2 + y3 ); in BBox_Conic_Check() 133 if ( y1 < *min ) *min = y1; in BBox_Conic_Check() 326 test_cubic_extrema( FT_Pos y1, in test_cubic_extrema() argument [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/x86/ |
D | quantize_sse4.c | 36 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1, in vp8_regular_quantize_b_sse4_1() local 84 y1 = _mm_mulhi_epi16(x1, quant1); in vp8_regular_quantize_b_sse4_1() 87 y1 = _mm_add_epi16(y1, x1); in vp8_regular_quantize_b_sse4_1() 92 y1 = _mm_mulhi_epi16(y1, quant_shift1); in vp8_regular_quantize_b_sse4_1() 96 y1 = _mm_xor_si128(y1, sz1); in vp8_regular_quantize_b_sse4_1() 98 y1 = _mm_sub_epi16(y1, sz1); in vp8_regular_quantize_b_sse4_1() 104 SELECT_EOB(4, 0, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 109 SELECT_EOB(9, 1, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 110 SELECT_EOB(10, 4, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() 111 SELECT_EOB(11, 5, x_minus_zbin1, y1, qcoeff1); in vp8_regular_quantize_b_sse4_1() [all …]
|
D | quantize_sse2.c | 43 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1; in vp8_regular_quantize_b_sse2() local 93 y1 = _mm_mulhi_epi16(x1, quant1); in vp8_regular_quantize_b_sse2() 96 y1 = _mm_add_epi16(y1, x1); in vp8_regular_quantize_b_sse2() 101 y1 = _mm_mulhi_epi16(y1, quant_shift1); in vp8_regular_quantize_b_sse2() 105 y1 = _mm_xor_si128(y1, sz1); in vp8_regular_quantize_b_sse2() 107 y1 = _mm_sub_epi16(y1, sz1); in vp8_regular_quantize_b_sse2() 110 _mm_store_si128((__m128i *)(y + 8), y1); in vp8_regular_quantize_b_sse2() 133 y1 = _mm_load_si128((__m128i *)(d->qcoeff + 8)); in vp8_regular_quantize_b_sse2() 137 y1 = _mm_mullo_epi16(y1, dequant1); in vp8_regular_quantize_b_sse2() 140 _mm_store_si128((__m128i *)(d->dqcoeff + 8), y1); in vp8_regular_quantize_b_sse2() [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkEdge.cpp | 36 SkFDot6 x0, y0, x1, y1; in setLine() local 43 y1 = SkScalarRoundToFDot6(p1.fY, shift); in setLine() 49 y1 = int(p1.fY * scale); in setLine() 55 if (y0 > y1) { in setLine() 57 SkTSwap(y0, y1); in setLine() 62 int bot = SkFDot6Round(y1); in setLine() 73 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() 91 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument 98 y1 >>= 10; in updateLine() 100 SkASSERT(y0 <= y1); in updateLine() [all …]
|
/external/pdfium/core/src/fxge/agg/agg23/ |
D | agg_basics.h | 64 T y1; member 69 x1(x1_), y1(y1_), x2(x2_), y2(y2_) {} in rect_base() 78 if(y1 > y2) { in normalize() 79 t = y1; in normalize() 80 y1 = y2; in normalize() 96 if(y1 < r.y1) { in clip() 97 y1 = r.y1; in clip() 99 return x1 <= x2 && y1 <= y2; in clip() 103 return x1 <= x2 && y1 <= y2; in is_valid() 119 if(r.y1 < r2.y1) { in intersect_rectangles() [all …]
|
D | agg_clip_liang_barsky.h | 31 ((y < clip_box.y1) << 3); in clipping_flags() 34 inline unsigned clip_liang_barsky(T x1, T y1, T x2, T y2, in clip_liang_barsky() argument 40 FX_FLOAT deltay = (FX_FLOAT)(y2 - y1); in clip_liang_barsky() 55 deltay = (y1 > clip_box.y1) ? -nearzero : nearzero; in clip_liang_barsky() 59 yin = (FX_FLOAT)clip_box.y1; in clip_liang_barsky() 63 yout = (FX_FLOAT)clip_box.y1; in clip_liang_barsky() 65 FX_FLOAT tiny = FXSYS_Div(yin - y1, deltay); in clip_liang_barsky() 82 FX_FLOAT touty = FXSYS_Div(yout - y1, deltay); in clip_liang_barsky() 89 *y++ = (T)(y1 + FXSYS_Mul(deltay, tinx)); in clip_liang_barsky() 99 *y++ = (T)(y1 + FXSYS_Mul(deltay, toutx)); in clip_liang_barsky()
|
D | agg_curves.h | 25 curve4_points(FX_FLOAT x1, FX_FLOAT y1, in curve4_points() 31 cp[1] = y1; in curve4_points() 39 void init(FX_FLOAT x1, FX_FLOAT y1, in init() 45 cp[1] = y1; in init() 69 curve4_div(FX_FLOAT x1, FX_FLOAT y1, in curve4_div() argument 76 init(x1, y1, x2, y2, x3, y3, x4, y4); in curve4_div() 88 void init(FX_FLOAT x1, FX_FLOAT y1, 126 void bezier(FX_FLOAT x1, FX_FLOAT y1, 130 void recursive_bezier(FX_FLOAT x1, FX_FLOAT y1, 145 curve4(FX_FLOAT x1, FX_FLOAT y1, in curve4() argument [all …]
|
/external/skia/src/core/ |
D | SkEdge.cpp | 36 SkFDot6 x0, y0, x1, y1; in setLine() local 43 y1 = int(p1.fY * scale); in setLine() 48 if (y0 > y1) { in setLine() 50 SkTSwap(y0, y1); in setLine() 55 int bot = SkFDot6Round(y1); in setLine() 66 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() 84 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument 91 y1 >>= 10; in updateLine() 93 SkASSERT(y0 <= y1); in updateLine() 96 int bot = SkFDot6Round(y1); in updateLine() [all …]
|
/external/pixman/pixman/ |
D | pixman-region.c | 85 #define GOOD_RECT(rect) ((rect)->x1 < (rect)->x2 && (rect)->y1 < (rect)->y2) 86 #define BAD_RECT(rect) ((rect)->x1 > (rect)->x2 || (rect)->y1 > (rect)->y2) 174 ((r1)->y2 <= (r2)->y1) || \ 175 ((r1)->y1 >= (r2)->y2) ) ) 182 ((r)->y1 <= y) ) 188 ((r1)->y1 <= (r2)->y1) && \ 245 next_rect->y1 = ny1; \ 307 if (reg1->extents.y1 != reg2->extents.y1) in PREFIX() 327 if (rects1[i].y1 != rects2[i].y1) in PREFIX() 351 rgn->extents.y1, in PREFIX() [all …]
|
/external/llvm/test/Verifier/ |
D | dominates.ll | 15 %y1 = invoke i32 @g() to label %bb1 unwind label %bb2 19 %y2 = phi i32 [%y1, %bb0] 24 ; CHECK-NEXT: %y1 = invoke i32 @g() 26 ; CHECK-NEXT: %y2 = phi i32 [ %y1, %bb0 ] 31 %y1 = invoke i32 @g() to label %bb1 unwind label %bb2 39 %y3 = phi i32 [%y1, %bb2] 42 ; CHECK-NEXT: %y1 = invoke i32 @g() 44 ; CHECK-NEXT: %y3 = phi i32 [ %y1, %bb2 ] 51 %y3 = phi i32 [%y1, %bb0] 52 %y1 = add i32 %x, 1 [all …]
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
D | quantize_sse2.c | 44 __m128i sz0, x0, sz1, x1, y0, y1, x_minus_zbin0, x_minus_zbin1; in vp8_regular_quantize_b_sse2() local 94 y1 = _mm_mulhi_epi16(x1, quant1); in vp8_regular_quantize_b_sse2() 97 y1 = _mm_add_epi16(y1, x1); in vp8_regular_quantize_b_sse2() 102 y1 = _mm_mulhi_epi16(y1, quant_shift1); in vp8_regular_quantize_b_sse2() 106 y1 = _mm_xor_si128(y1, sz1); in vp8_regular_quantize_b_sse2() 108 y1 = _mm_sub_epi16(y1, sz1); in vp8_regular_quantize_b_sse2() 111 _mm_store_si128((__m128i *)(y + 8), y1); in vp8_regular_quantize_b_sse2() 134 y1 = _mm_load_si128((__m128i *)(d->qcoeff + 8)); in vp8_regular_quantize_b_sse2() 138 y1 = _mm_mullo_epi16(y1, dequant1); in vp8_regular_quantize_b_sse2() 141 _mm_store_si128((__m128i *)(d->dqcoeff + 8), y1); in vp8_regular_quantize_b_sse2() [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/fonttools/Lib/fontTools/pens/ |
D | pointInsidePen.py | 89 x1, y1 = self._getCurrentPoint() 94 if y1 < y and y2 < y: 96 if y1 >= y and y2 >= y: 100 dy = y2 - y1 101 t = (y - y1) / dy 105 self._addIntersection(y2 > y1) 109 x1, y1 = self._getCurrentPoint() 116 if y1 < y and y2 < y and y3 < y and y4 < y: 118 if y1 >= y and y2 >= y and y3 >= y and y4 >= y: 121 dy = y1 [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_rect.h | 36 int y0, y1; member 47 a->y1 < b->y0 || in u_rect_test_intersection() 48 b->y1 < a->y0)); in u_rect_test_intersection() 62 if (b->y1 > a->y1) b->y1 = a->y1; in u_rect_find_intersection() 74 b->x0 = b->x1 = b->y0 = b->y1 = 0; in u_rect_possible_intersection()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_rect.h | 36 int y0, y1; member 47 a->y1 < b->y0 || in u_rect_test_intersection() 48 b->y1 < a->y0)); in u_rect_test_intersection() 62 if (b->y1 > a->y1) b->y1 = a->y1; in u_rect_find_intersection() 74 b->x0 = b->x1 = b->y0 = b->y1 = 0; in u_rect_possible_intersection()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | bezier.c | 46 left->y1 = bez->y1; in split_left() 49 left->y2 = bez->y1 + t * (bez->y2 - bez->y1); in split_left() 64 left->y4 = bez->y1 = left->y3 + t * (bez->y2 - left->y3); in split_left() 82 first_half->y2 = (bez->y1 + bez->y2) * 0.5; in split() 84 first_half->y1 = bez->y1; in split() 88 first_half->y4 = second_half->y1 = in split() 95 polygon_vertex_append(poly, bez->x1, bez->y1); in bezier_to_polygon() 110 double y4y1 = b->y4 - b->y1; in bezier_add_to_polygon() 115 d = ABS((x4x1)*(b->y1 - b->y2) - (y4y1)*(b->x1 - b->x2)) in bezier_add_to_polygon() 116 + ABS((x4x1)*(b->y1 - b->y3) - (y4y1)*(b->x1 - b->x3)); in bezier_add_to_polygon() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
D | bezier.c | 46 left->y1 = bez->y1; in split_left() 49 left->y2 = bez->y1 + t * (bez->y2 - bez->y1); in split_left() 64 left->y4 = bez->y1 = left->y3 + t * (bez->y2 - left->y3); in split_left() 82 first_half->y2 = (bez->y1 + bez->y2) * 0.5; in split() 84 first_half->y1 = bez->y1; in split() 88 first_half->y4 = second_half->y1 = in split() 95 polygon_vertex_append(poly, bez->x1, bez->y1); in bezier_to_polygon() 110 double y4y1 = b->y4 - b->y1; in bezier_add_to_polygon() 115 d = ABS((x4x1)*(b->y1 - b->y2) - (y4y1)*(b->x1 - b->x2)) in bezier_add_to_polygon() 116 + ABS((x4x1)*(b->y1 - b->y3) - (y4y1)*(b->x1 - b->x3)); in bezier_add_to_polygon() [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_postproc.c | 456 int y1, int u1, int v1, int alpha, int stride) { in vp9_blend_mb_inner_c() argument 458 int y1_const = y1 * ((1 << 16) - alpha); in vp9_blend_mb_inner_c() 489 int y1, int u1, int v1, int alpha, int stride) { in vp9_blend_mb_outer_c() argument 491 int y1_const = y1 * ((1 << 16) - alpha); in vp9_blend_mb_outer_c() 544 int y1, int u1, int v1, int alpha, int stride) { in vp9_blend_b_c() argument 546 int y1_const = y1 * ((1 << 16) - alpha); in vp9_blend_b_c() 569 static void constrain_line(int x0, int *x1, int y0, int *y1, in constrain_line() argument 576 dy = *y1 - y0; in constrain_line() 580 *y1 = ((width - x0) * dy) / dx + y0; in constrain_line() 584 dy = *y1 - y0; in constrain_line() [all …]
|
D | vp9_textblit.c | 60 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, in vp9_blit_line() argument 62 int steep = abs(y1 - y0) > abs(x1 - x0); in vp9_blit_line() 73 x1 = y1; in vp9_blit_line() 74 y1 = t; in vp9_blit_line() 84 y0 = y1; in vp9_blit_line() 85 y1 = t; in vp9_blit_line() 89 deltay = abs(y1 - y0); in vp9_blit_line() 94 if (y0 < y1) in vp9_blit_line()
|
/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/libvpx/libvpx/vp8/common/ |
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/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
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()
|