/external/libvncserver/libvncserver/ |
D | draw.c | 3 void rfbFillRect(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2,rfbPixel col) in rfbFillRect() argument 11 for(j=y1;j<y2;j++) in rfbFillRect() 14 rfbMarkRectAsModified(s,x1,y1,x2,y2); in rfbFillRect() 31 void rfbDrawLine(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2,rfbPixel col) in rfbDrawLine() argument 40 #define SWAPPOINTS { i=x1; x1=x2; x2=i; i=y1; y1=y2; y2=i; } in rfbDrawLine() 41 if(abs(x1-x2)<abs(y1-y2)) { in rfbDrawLine() 42 if(y1>y2) in rfbDrawLine() 44 for(i=y1;i<=y2;i++) in rfbDrawLine() 45 SETPIXEL(x1+(i-y1)*(x2-x1)/(y2-y1),i); in rfbDrawLine() 48 rfbMarkRectAsModified(s,x1,y1,x2+1,y2+1); in rfbDrawLine() [all …]
|
D | font.c | 50 int x1,int y1,int x2,int y2, in rfbDrawCharWithClip() argument 73 if(y1>y) { y1-=y; data+=(width+7)/8; height-=y1; y+=y1; } else y1=0; in rfbDrawCharWithClip() 79 for(j=y1;j<height;j++) { in rfbDrawCharWithClip() 106 int x1,int y1,int x2,int y2, in rfbDrawStringWithClip() argument 110 x+=rfbDrawCharWithClip(rfbScreen,font,x,y,*string,x1,y1,x2,y2, in rfbDrawStringWithClip() 131 void rfbFontBBox(rfbFontDataPtr font,unsigned char c,int* x1,int* y1,int* x2,int* y2) in rfbFontBBox() argument 134 *y1+=-font->metaData[c*5+4]-font->metaData[c*5+2]+1; in rfbFontBBox() 136 *y2=*y1+font->metaData[c*5+2]+1; in rfbFontBBox() 144 int *x1, int *y1, int *x2, int *y2) in rfbWholeFontBBox() argument 149 (*x1)=(*y1)=INT_MAX; (*x2)=(*y2)=1-(INT_MAX); in rfbWholeFontBBox() [all …]
|
/external/libvpx/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 | vp8_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-trace/catapult/third_party/flot/ |
D | jquery.flot.image.js | 129 x1 = points[i + 1], y1 = points[i + 2], 145 if (y1 > y2) { 147 y2 = y1; 148 y1 = tmp; 157 tmp = 0.5 * (y2-y1) / (img.height - 1); 158 y1 -= tmp; 163 if (x1 == x2 || y1 == y2 || 165 y1 >= yaxis.max || y2 <= yaxis.min) 179 if (y1 < yaxis.min) { 180 sy2 += (sy1 - sy2) * (yaxis.min - y1) / (y2 - y1); [all …]
|
D | jquery.flot.image.min.js | 7 …y1=points[i+2],x2=points[i+3],y2=points[i+4],xaxis=series.xaxis,yaxis=series.yaxis,tmp;if(!img||im…
|
/external/libvncserver/examples/ |
D | zippy.c | 13 void blank_framebuffer(char* frame_buffer, int x1, int y1, int x2, int y2); 15 void draw_primary_colors (char* frame_buffer, int x1, int y1, int x2, int y2); 16 void draw_primary_colours_generic(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2); 17 void draw_primary_colours_generic_fast(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2); 49 void blank_framebuffer(char* frame_buffer, int x1, int y1, int x2, int y2) in blank_framebuffer() argument 55 void draw_primary_colors (char* frame_buffer, int x1, int y1, int x2, int y2) in draw_primary_colors() argument 58 for (i=y1; i < y2; i++){ in draw_primary_colors() 81 void draw_primary_colours_generic(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2) in draw_primary_colours_generic() argument 85 for(j=y1;j<y2;j++) in draw_primary_colours_generic() 87 if(j<y1*2/3+y2/3) in draw_primary_colours_generic() [all …]
|
D | example.c | 98 static void drawline(unsigned char* buffer,int rowstride,int bpp,int x1,int y1,int x2,int y2) in drawline() argument 101 i=x1-x2; j=y1-y2; in drawline() 104 buffer[y1*rowstride+x1*bpp+i]=0xff; in drawline() 110 if(y1>y2) { i=y2; y2=y1; y1=i; i=x2; x2=x1; x1=i; } in drawline() 111 for(j=y1;j<=y2;j++) in drawline() 113 buffer[j*rowstride+(x1+(j-y1)*(x2-x1)/(y2-y1))*bpp+i]=0xff; in drawline() 115 if(x1>x2) { i=y2; y2=y1; y1=i; i=x2; x2=x1; x1=i; } in drawline() 118 buffer[(y1+(i-x1)*(y2-y1)/(x2-x1))*rowstride+i*bpp+j]=0xff; in drawline() 130 int i,j,x1,x2,y1,y2; in doptr() local 135 x1=x; y1=y; in doptr() [all …]
|
/external/pdfium/third_party/agg23/ |
D | agg_basics.h | 67 T y1; member 72 x1(x1_), y1(y1_), x2(x2_), y2(y2_) {} in rect_base() 81 if(y1 > y2) { in normalize() 82 t = y1; in normalize() 83 y1 = y2; in normalize() 99 if(y1 < r.y1) { in clip() 100 y1 = r.y1; in clip() 102 return x1 <= x2 && y1 <= y2; in clip() 106 return x1 <= x2 && y1 <= y2; in is_valid() 122 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() 68 curve4_div(FX_FLOAT x1, FX_FLOAT y1, in curve4_div() argument 74 init(x1, y1, x2, y2, x3, y3, x4, y4); in curve4_div() 86 void init(FX_FLOAT x1, FX_FLOAT y1, 124 void bezier(FX_FLOAT x1, FX_FLOAT y1, 128 void recursive_bezier(FX_FLOAT x1, FX_FLOAT y1, 142 curve4(FX_FLOAT x1, FX_FLOAT y1, in curve4() argument [all …]
|
D | agg_curves.cpp | 30 void curve4_div::init(FX_FLOAT x1, FX_FLOAT y1, in init() argument 38 bezier(x1, y1, x2, y2, x3, y3, x4, y4); in init() 41 void curve4_div::recursive_bezier(FX_FLOAT x1, FX_FLOAT y1, in recursive_bezier() argument 51 FX_FLOAT y12 = (y1 + y2) / 2; in recursive_bezier() 63 FX_FLOAT dy = y4 - y1; in recursive_bezier() 70 FXSYS_fabs(y1 + y3 - y2 - y2) + in recursive_bezier() 99 recursive_bezier(x1, y1, x12, y12, x123, y123, x1234, y1234, level + 1); in recursive_bezier() 102 void curve4_div::bezier(FX_FLOAT x1, FX_FLOAT y1, in bezier() argument 107 m_points.add(point_type(x1, y1)); in bezier() 108 recursive_bezier(x1, y1, x2, y2, x3, y3, x4, y4, 0); in bezier()
|
/external/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/opencv3/samples/cpp/ |
D | drawing.cpp | 27 int x1 = -width/2, x2 = width*3/2, y1 = -height/2, y2 = height*3/2; in main() local 38 pt1.y = rng.uniform(y1, y2); in main() 40 pt2.y = rng.uniform(y1, y2); in main() 53 pt1.y = rng.uniform(y1, y2); in main() 55 pt2.y = rng.uniform(y1, y2); in main() 69 center.y = rng.uniform(y1, y2); in main() 87 pt[0][0].y = rng.uniform(y1, y2); in main() 89 pt[0][1].y = rng.uniform(y1, y2); in main() 91 pt[0][2].y = rng.uniform(y1, y2); in main() 93 pt[1][0].y = rng.uniform(y1, y2); in main() [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/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
D | SecantSolver.java | 173 double y1 = f.value(x1); in solve() local 176 if (y0 * y1 >= 0) { in solve() 178 LocalizedFormats.SAME_SIGN_AT_ENDPOINTS, min, max, y0, y1); in solve() 186 if (FastMath.abs(y2) < FastMath.abs(y1)) { in solve() 190 y0 = y1; in solve() 191 y1 = y2; in solve() 194 if (FastMath.abs(y1) <= functionValueAccuracy) { in solve() 204 if (FastMath.abs(y1) > FastMath.abs(y0)) { in solve() 208 delta = (x0 - x1) / (1 - y0 / y1); in solve() 216 y0 = y1; in solve() [all …]
|
D | MullerSolver.java | 210 double y1 = f.value(x1); in solve() local 227 final double d01 = (y1 - y0) / (x1 - x0); in solve() 228 final double d12 = (y2 - y1) / (x2 - x1); in solve() 231 final double delta = c1 * c1 - 4 * y1 * d012; in solve() 232 final double xplus = x1 + (-2.0 * y1) / (c1 + FastMath.sqrt(delta)); in solve() 233 final double xminus = x1 + (-2.0 * y1) / (c1 - FastMath.sqrt(delta)); in solve() 260 y0 = x < x1 ? y0 : y1; in solve() 262 y2 = x > x1 ? y2 : y1; in solve() 263 x1 = x; y1 = y; in solve() 274 y1 = f.value(x1); in solve() [all …]
|
/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 …]
|
D | path.c | 365 VGfloat x0, y0, x1, y1, x2, y2, x3, y3; in path_get_fill_polygons() local 464 y1 = data[1]; in path_get_fill_polygons() 469 map_if_relative(ox, oy, relative, &x1, &y1); in path_get_fill_polygons() 478 matrix_map_point(matrix, x1, y1, &x1, &y1); in path_get_fill_polygons() 481 bezier_init(&bezier, x0, y0, x1, y1, in path_get_fill_polygons() 492 y1 = data[1]; in path_get_fill_polygons() 495 map_if_relative(ox, oy, relative, &x1, &y1); in path_get_fill_polygons() 498 py = y1; in path_get_fill_polygons() 501 y2 = (y3 + 2*y1) / 3.f; in path_get_fill_polygons() 503 y1 = (y0 + 2*y1) / 3.f; in path_get_fill_polygons() [all …]
|
/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/llvm/test/Transforms/ObjCARC/ |
D | provenance.ll | 13 %y1 = load i8, i8* %a 14 call void @g(i8 %y1) 39 ; CHECK: y1 and y2 are related. 40 ; CHECK: y1 and y3 are related. 42 ; CHECK: x0 and y1 are not related. 45 ; CHECK: l_objc_msgSend_fixup_ and y1 are not related. 48 ; CHECK: x1 and y1 are not related. 49 ; CHECK: x2 and y1 are not related. 50 ; CHECK: x3 and y1 are not related. 51 ; CHECK: x4 and y1 are not related. [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/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/vp9/common/ |
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/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()
|