/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 | selbox.c | 12 int x1,y1,x2,y2,textH,pageH; member 57 int y1 = m->y1+line*m->textH, y2 = y1+m->textH; in selPaintLine() local 58 if(y2>m->y2) in selPaintLine() 59 y2=m->y2; in selPaintLine() 60 rfbFillRect(m->screen,m->x1,y1,m->x2,y2,invert?m->colour:m->backColour); in selPaintLine() 62 rfbDrawStringWithClip(m->screen,m->font,m->x1+m->xhot,y2-1+m->yhot, in selPaintLine() 64 m->x1,y1,m->x2,y2, in selPaintLine() 103 m->x1,m->y1+lineEnd*m->textH,m->x2,m->y2, in selSelect() 189 if(x>=m->x1 && x<m->x2 && y>=m->y1 && y<m->y2) in selPtrAddEvent() 205 int x1,int y1,int x2,int y2, in rfbSelectBox() argument [all …]
|
D | font.c | 50 int x1,int y1,int x2,int y2, in rfbDrawCharWithClip() argument 75 if(y2<y+height) height-=y+height-y2; 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 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() 157 if(-m[i*5+4]>(*y2)) in rfbWholeFontBBox() 158 (*y2)=-m[i*5+4]; in rfbWholeFontBBox() [all …]
|
/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() 61 if (i < y2 ) { in draw_primary_colors() 66 if (i < y2/3*2) { in draw_primary_colors() 71 if (i < y2/3) { in draw_primary_colors() [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() 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 144 y2=y+buttonMask; if(y2>maxy) y2=maxy; in doptr() 147 for(j=y1;j<y2;j++) in doptr() [all …]
|
/external/libldac/src/ |
D | sigana_ldac.c | 37 SCALAR y0, y1, y2; in calc_mdct_pseudo_spectrum_ldac() local 41 y2 = p_spec[1]; in calc_mdct_pseudo_spectrum_ldac() 42 tmp = y1 * y1 + y2 * y2; in calc_mdct_pseudo_spectrum_ldac() 49 y1 = y2; in calc_mdct_pseudo_spectrum_ldac() 50 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac() 51 tmp = y1 * y1 + (y0-y2) * (y0-y2); in calc_mdct_pseudo_spectrum_ldac() 58 y1 = y2; in calc_mdct_pseudo_spectrum_ldac() 59 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac() 60 tmp = y1 * y1 + (y0-y2) * (y0-y2); in calc_mdct_pseudo_spectrum_ldac() 65 tmp = y1 * y1 + y2 * y2; in calc_mdct_pseudo_spectrum_ldac()
|
D | sigana_fixp_ldac.c | 193 INT32 y0, y1, y2; in calc_mdct_pseudo_spectrum_ldac() local 200 y2 = p_spec[1]; in calc_mdct_pseudo_spectrum_ldac() 202 acc2 = (INT64)y2 * (INT64)y2; in calc_mdct_pseudo_spectrum_ldac() 212 y1 = y2; in calc_mdct_pseudo_spectrum_ldac() 213 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac() 215 acc2 = (INT64)(y0-y2) * (INT64)(y0-y2); in calc_mdct_pseudo_spectrum_ldac() 225 y1 = y2; in calc_mdct_pseudo_spectrum_ldac() 226 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac() 228 acc2 = (INT64)(y0-y2) * (INT64)(y0-y2); in calc_mdct_pseudo_spectrum_ldac() 237 acc2 = (INT64)y2 * (INT64)y2; in calc_mdct_pseudo_spectrum_ldac()
|
/external/pdfium/third_party/agg23/ |
D | agg_basics.h | 69 T y2; member 72 x1(x1_), y1(y1_), x2(x2_), y2(y2_) {} in rect_base() 81 if(y1 > y2) { in normalize() 83 y1 = y2; in normalize() 84 y2 = t; in normalize() 93 if(y2 > r.y2) { in clip() 94 y2 = r.y2; in clip() 102 return x1 <= x2 && y1 <= y2; in clip() 106 return x1 <= x2 && y1 <= y2; in is_valid() 116 if(r.y2 > r2.y2) { in intersect_rectangles() [all …]
|
D | agg_curves.cpp | 31 FX_FLOAT x2, FX_FLOAT y2, in init() argument 38 bezier(x1, y1, x2, y2, x3, y3, x4, y4); in init() 42 FX_FLOAT x2, FX_FLOAT y2, in recursive_bezier() argument 51 FX_FLOAT y12 = (y1 + y2) / 2; in recursive_bezier() 53 FX_FLOAT y23 = (y2 + y3) / 2; in recursive_bezier() 64 FX_FLOAT d2 = FXSYS_fabs(((x2 - x4) * dy) - ((y2 - y4) * dx)); in recursive_bezier() 70 FXSYS_fabs(y1 + y3 - y2 - y2) + in recursive_bezier() 72 FXSYS_fabs(y2 + y4 - y3 - y3) <= m_distance_tolerance_manhattan) { in recursive_bezier() 103 FX_FLOAT x2, FX_FLOAT y2, in bezier() argument 108 recursive_bezier(x1, y1, x2, y2, x3, y3, x4, y4, 0); in bezier()
|
D | agg_curves.h | 26 FX_FLOAT x2, FX_FLOAT y2, in curve4_points() 33 cp[3] = y2; in curve4_points() 40 FX_FLOAT x2, FX_FLOAT y2, in init() 47 cp[3] = y2; in init() 69 FX_FLOAT x2, FX_FLOAT y2, in curve4_div() argument 74 init(x1, y1, x2, y2, x3, y3, x4, y4); in curve4_div() 87 FX_FLOAT x2, FX_FLOAT y2, 125 FX_FLOAT x2, FX_FLOAT y2, 129 FX_FLOAT x2, FX_FLOAT y2, 143 FX_FLOAT x2, FX_FLOAT y2, in curve4() argument [all …]
|
D | agg_math.h | 26 FX_FLOAT x2, FX_FLOAT y2, in calc_point_location() argument 29 return ((x - x2) * (y2 - y1)) - ((y - y2) * (x2 - x1)); in calc_point_location() 31 AGG_INLINE FX_FLOAT calc_distance(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2) in calc_distance() argument 34 FX_FLOAT dy = y2 - y1; in calc_distance() 38 FX_FLOAT x2, FX_FLOAT y2, in calc_line_point_distance() argument 42 FX_FLOAT dy = y2 - y1; in calc_line_point_distance() 47 return ((x - x2) * dy / d) - ((y - y2) * dx / d); in calc_line_point_distance()
|
/external/python/cpython2/Demo/tkinter/guido/ |
D | hanoi.py | 47 x2, y2 = x1+pegwidth, y1+pegheight 49 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 52 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 55 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 65 x1, y1 = (pegdist-maxpiecewidth)//2, y2-pieceheight-2 66 x2, y2 = x1+maxpiecewidth, y1+pieceheight 69 p = c.create_rectangle(x1, y1, x2, y2, fill='red') 73 y1, y2 = y1 - pieceheight-2, y2-pieceheight-2 97 x1, y1, x2, y2 = c.bbox(p) 98 if y2 < ay1: break [all …]
|
D | ss1.py | 49 def multicellvalue(self, x1, y1, x2, y2): argument 52 if y1 > y2: 53 y1, y2 = y2, y1 55 for y in range(y1, y2+1): 74 def clearcells(self, x1, y1, x2, y2): argument 75 for xy in self.selectcells(x1, y1, x2, y2): 78 def clearrows(self, y1, y2): argument 79 self.clearcells(0, y1, sys.maxint, y2) 84 def selectcells(self, x1, y1, x2, y2): argument 87 if y1 > y2: [all …]
|
/external/eigen/Eigen/src/Core/arch/SSE/ |
D | MathFunctions.h | 83 Packet4f y, y1, y2; variable 86 y2 = pmadd(p4f_cephes_log_p6, x, p4f_cephes_log_p7); 89 y2 = pmadd(y2, x, p4f_cephes_log_p8); 91 y = pmadd(y, x3, y2); 98 y2 = pmul(e, p4f_cephes_log_q2); 100 x = padd(x, y2); 342 Packet4f y2 = p4f_sincof_p0; variable 343 y2 = pmadd(y2, z, p4f_sincof_p1); 344 y2 = pmadd(y2, z, p4f_sincof_p2); 345 y2 = pmul(y2, z); [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | bfi.ll | 81 %y2 = and i32 %y, 4294967040 ; 0xFFFFFF00 83 %or = or i32 %y2, 16 85 %sel = select i1 %cmp, i32 %or, i32 %y2 93 %y2 = and i32 %y, 4294967040 ; 0xFFFFFF00 95 %or = or i32 %y2, 48 97 %sel = select i1 %cmp, i32 %or, i32 %y2 104 %y2 = and i32 %y, 4294967040 ; 0xFFFFFF00 106 %or = or i32 %y2, 48 108 %sel = select i1 %cmp, i32 %y2, i32 %or 115 %y2 = and i32 %y, 4294967040 ; 0xFFFFFF00 [all …]
|
/external/fonttools/Lib/fontTools/pens/ |
D | pointInsidePen.py | 90 x2, y2 = point 94 if y1 < y and y2 < y: 96 if y1 >= y and y2 >= y: 100 dy = y2 - y1 105 self._addIntersection(y2 > y1) 110 x2, y2 = bcp1 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: 122 cy = (y2 - dy) * 3.0 123 by = (y3 - y2) * 3.0 - cy [all …]
|
/external/libpng/contrib/tools/ |
D | genpng.c | 179 double x1, y1, x2, y2; member 347 square_check(double x, double y, double x1, double y1, double x2, double y2) in square_check() argument 361 return ((x<x1) ^ (x<x2)) & ((y<y1) ^ (y<y2)); in square_check() 367 return square_check(x, y, arg->x1, arg->y1, arg->x2, arg->y2); in inside_square_filled() 387 double cy = (arg->y1+arg->y2)/2; in square_check_line() 388 double wy = fabs(arg->y1-arg->y2)/2; in square_check_line() 459 circle_check(double x, double y, double x1, double y1, double x2, double y2) in circle_check() argument 461 if (square_check(x, y, x1, y1, x2, y2)) in circle_check() 465 const double cy = (y1 + y2)/2; in circle_check() 467 const double dy = y1 - y2; in circle_check() [all …]
|
/external/skia/src/core/ |
D | SkEdge.cpp | 182 SkFDot6 x0, y0, x1, y1, x2, y2; in setQuadraticWithoutUpdate() local 191 y2 = SkScalarRoundToFDot6(pts[2].fY, shift); in setQuadraticWithoutUpdate() 199 y2 = int(pts[2].fY * scale); in setQuadraticWithoutUpdate() 204 if (y0 > y2) in setQuadraticWithoutUpdate() 207 SkTSwap(y0, y2); in setQuadraticWithoutUpdate() 210 SkASSERT(y0 <= y1 && y1 <= y2); in setQuadraticWithoutUpdate() 213 int bot = SkFDot6Round(y2); in setQuadraticWithoutUpdate() 222 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadraticWithoutUpdate() 267 A = SkFDot6ToFixedDiv2(y0 - y1 - y1 + y2); // 1/2 the real value in setQuadraticWithoutUpdate() 275 fQLastY = SkFDot6ToFixed(y2); in setQuadraticWithoutUpdate() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
D | MullerSolver.java | 208 double y2 = f.value(x2); in solve() local 216 if (y2 == 0.0) { in solve() 228 final double d12 = (y2 - y1) / (x2 - x1); in solve() 262 y2 = x > x1 ? y2 : y1; in solve() 269 x2 = xm; y2 = ym; in solve() 353 double y2 = f.value(x2); in solve2() local 364 final double a = q * (y2 - (1 + q) * y1 + q * y0); in solve2() 365 final double b = (2 * q + 1) * y2 - (1 + q) * (1 + q) * y1 + q * q * y0; in solve2() 366 final double c = (1 + q) * y2; in solve2() 408 y1 = y2; in solve2() [all …]
|
D | RiddersSolver.java | 181 double y2 = f.value(x2); in solve() local 187 if (y2 == 0.0) { in solve() 202 final double delta = 1 - (y1 * y2) / (y3 * y3); // delta > 1 due to bracketing in solve() 203 final double correction = (MathUtils.sign(y2) * MathUtils.sign(y3)) * in solve() 224 y2 = y; in solve() 229 y2 = y3; in solve() 232 if (MathUtils.sign(y2) + MathUtils.sign(y) == 0.0) { in solve() 239 y2 = y; in solve()
|
/external/fio/ |
D | graph.c | 242 double x1, y1, x2, y2; in draw_bars() local 256 y2 = bg->ydim * 0.90; in draw_bars() 258 y1 = y2 - (((v - mindata) / domain) * range); in draw_bars() 260 cairo_line_to(cr, x1, y2); in draw_bars() 261 cairo_line_to(cr, x2, y2); in draw_bars() 271 double *y1, double *x2, double *y2) in graph_draw_common() argument 281 *y2 = 0.90 * g->ydim; in graph_draw_common() 293 cairo_line_to(cr, *x2 + offset, *y2 - offset); in graph_draw_common() 301 cairo_line_to(cr, *x1, *y2); in graph_draw_common() 302 cairo_line_to(cr, *x2, *y2); in graph_draw_common() [all …]
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | ProgressDialog2a.rc | 15 #undef y2 26 #define y2 (y1 + k) 27 #define y3 (y2 + k) 52 LTEXT "Files:", IDT_PROGRESS_FILES, m, y2, x0s, 8 58 LTEXT "Processed:", IDT_PROGRESS_PROCESSED,x2, y2, x2s, 8 63 RTEXT "", IDT_PROGRESS_FILES_VAL, x1, y2, x1s, MY_TEXT_NOPREFIX 69 RTEXT "", IDT_PROGRESS_PROCESSED_VAL, x3, y2, x3s, MY_TEXT_NOPREFIX
|
/external/llvm/test/Transforms/InstCombine/ |
D | urem.ll | 4 define i64 @rem_unsigned(i64 %x1, i64 %y2) { 6 ; CHECK-NEXT: [[R:%.*]] = urem i64 %x1, %y2 9 %r = udiv i64 %x1, %y2 10 %r7 = mul i64 %r, %y2
|
/external/ImageMagick/coders/ |
D | plasma.c | 172 segment_info.y2=(double) image->rows-1; in ReadPlasmaImage() 185 segment_info.y2)/2,exception); in ReadPlasmaImage() 186 PlasmaPixel(image,random_info,segment_info.x1,segment_info.y2,exception); in ReadPlasmaImage() 190 (segment_info.y1+segment_info.y2)/2,exception); in ReadPlasmaImage() 192 segment_info.y2,exception); in ReadPlasmaImage() 195 segment_info.y2)/2,exception); in ReadPlasmaImage() 196 PlasmaPixel(image,random_info,segment_info.x2,segment_info.y2,exception); in ReadPlasmaImage()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
D | BicubicSplineInterpolatingFunction.java | 402 final double y2 = y * y; in value() local 403 final double y3 = y2 * y; in value() 404 final double[] pY = {1, y, y2, y3}; in value() 505 final double y2 = y * y; in computePartialDerivatives() 506 final double y3 = y2 * y; in computePartialDerivatives() 507 final double[] pY = {1, y, y2, y3}; in computePartialDerivatives() 518 final double y2 = y * y; in computePartialDerivatives() 519 final double[] pY = {0, 1, y, y2}; in computePartialDerivatives() 528 final double y2 = y * y; in computePartialDerivatives() 529 final double y3 = y2 * y; in computePartialDerivatives() [all …]
|