/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_rect.h | 41 int y0, y1; member 53 a->y1 < b->y0 || in u_rect_test_intersection() 54 b->y1 < a->y0 || in u_rect_test_intersection() 56 a->y1 < a->y0 || in u_rect_test_intersection() 58 b->y1 < b->y0)); in u_rect_test_intersection() 72 if (b->y1 > a->y1) b->y1 = a->y1; in u_rect_find_intersection() 79 return (r->x1 - r->x0) * (r->y1 in u_rect_area() [all...] |
/third_party/alsa-utils/alsamixer/ |
H A D | mixer_clickable.c | 17 #define RECT_IS_FREE(RECT) ((RECT).y1 == FREE_MARKER) 18 #define RECT_FREE(RECT) ((RECT).y1 = FREE_MARKER) 20 void clickable_set(int y1, int x1, int y2, int x2, command_enum command, int arg1) { in clickable_set() argument 58 .y1 = y1, in clickable_set() 67 void clickable_set_relative(WINDOW *win, int y1, int x1, int y2, int x2, command_enum command, int arg1) { in clickable_set_relative() argument 70 y1 = y + y1; in clickable_set_relative() 74 clickable_set(y1, x1, y2, x2, command, arg1); in clickable_set_relative() 77 void clickable_clear(int y1, in argument [all...] |
H A D | mixer_clickable.h | 8 short y1; member 16 void clickable_set(int y1, int x1, int y2, int x2, command_enum command, int arg1); 17 void clickable_set_relative(WINDOW *win, int y1, int x1, int y2, int x2, command_enum command, int arg1); 18 void clickable_clear(int y1, int x1, int y2, int x2);
|
/third_party/typescript/tests/baselines/reference/ |
H A D | tsxStatelessFunctionComponentOverload4.js | 17 const c4 = <OneThing {...obj} y1={10000} />; // extra property; 29 declare function TestingOptional(a: {y1?: string, y2?: number}): JSX.Element; 30 declare function TestingOptional(a: {y1?: string, y2?: number, children: JSX.Element}): JSX.Element; 31 declare function TestingOptional(a: {y1: boolean, y2?: number, y3: boolean}): JSX.Element; 34 const e1 = <TestingOptional y1 y3="hello"/> 35 const e2 = <TestingOptional y1="hello" y2={1000} y3 /> 36 const e3 = <TestingOptional y1="hello" y2={1000} children="hi" /> 37 const e4 = <TestingOptional y1="hello" y2={1000}>Hi</TestingOptional> 54 var c4 = <OneThing {...obj} y1={10000}/>; // extra property;
62 var e1 = <TestingOptional y1 y [all...] |
H A D | shorthandPropertyAssignmentsInDestructuring_ES6.js | 70 let y1: string; 71 ({ y1 = 5 } = {}) 75 let y1: string; 76 ({ y1:y1 = 5 } = {}) 176 let y1;
177 ({ y1 = 5 } = {});
180 let y1;
181 ({ y1: y1 [all...] |
H A D | shorthandPropertyAssignmentsInDestructuring.js | 70 let y1: string; 71 ({ y1 = 5 } = {}) 75 let y1: string; 76 ({ y1:y1 = 5 } = {}) 197 var y1;
variable 198 (_a = {}.y1, y1 = _a === void 0 ? 5 : _a);
202 var y1;
variable 203 (_a = {}.y1, y [all...] |
H A D | recursiveLetConst.js | 6 const [y1] = y1 + 1; 22 const [y1] = y1 + 1;
|
/third_party/skia/src/core/ |
H A D | SkEdge.cpp | 38 SkFDot6 x0, y0, x1, y1; in setLine() local 45 y1 = SkScalarRoundToFDot6(p1.fY, shift); in setLine() 51 y1 = int(p1.fY * scale); in setLine() 57 if (y0 > y1) { in setLine() 60 swap(y0, y1); in setLine() 65 int bot = SkFDot6Round(y1); in setLine() 76 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() 94 int SkEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1) in updateLine() argument 101 y1 >>= 10; in updateLine() 103 SkASSERT(y0 <= y1); in updateLine() 182 SkFDot6 x0, y0, x1, y1, x2, y2; setQuadraticWithoutUpdate() local 352 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; setCubicWithoutUpdate() local [all...] |
H A D | SkEdge.h | 91 SkFDot6 x0, y0, x1, y1; 98 y1 = SkScalarRoundToFDot6(p1.fY, shift); 104 y1 = int(p1.fY * scale); 110 if (y0 > y1) { 113 swap(y0, y1); 118 int bot = SkFDot6Round(y1); 125 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
H A D | LinearGradient.java | 14 public LinearGradient(float x0, float y0, float x1, float y1, int[] colors, in LinearGradient() argument 18 (c, p, t, m) -> nMakeLinear(x0, y0, x1, y1, c, p, t, m)); in LinearGradient() 21 public LinearGradient(float x0, float y0, float x1, float y1, int[] colors, in LinearGradient() argument 23 this(x0, y0, x1, y1, colors, pos, tm, null); in LinearGradient() 26 public LinearGradient(float x0, float y0, float x1, float y1, float[] colors, in LinearGradient() argument 30 (c, p, t, m) -> nMakeLinear(x0, y0, x1, y1, c, p, t, m)); in LinearGradient() 33 public LinearGradient(float x0, float y0, float x1, float y1, float[] colors, in LinearGradient() argument 35 this(x0, y0, x1, y1, colors, pos, tm, null); in LinearGradient() 38 private static native long nMakeLinear(float x0, float y0, float x1, float y1, in nMakeLinear() argument
|
H A D | TwoPointConicalGradient.java | 14 public TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, in TwoPointConicalGradient() argument 18 (c, p, t, m) -> nMakeTwoPointConical(x0, y0, r0, x1, y1, r1, c, p, t, m)); in TwoPointConicalGradient() 21 public TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, in TwoPointConicalGradient() argument 24 this(x0, y0, r0, x1, y1, r1, colors, pos, tm, null); in TwoPointConicalGradient() 27 public TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, in TwoPointConicalGradient() argument 31 (c, p, t, m) -> nMakeTwoPointConical(x0, y0, r0, x1, y1, r1, c, p, t, m)); in TwoPointConicalGradient() 34 public TwoPointConicalGradient(float x0, float y0, float r0, float x1, float y1, float r1, in TwoPointConicalGradient() argument 37 this(x0, y0, r0, x1, y1, r1, colors, pos, tm, null); in TwoPointConicalGradient() 41 float x1, float y1, float r1, in nMakeTwoPointConical() 40 nMakeTwoPointConical(float x0, float y0, float r0, float x1, float y1, float r1, float[] colors, float[] pos, int tilemode, long nativeLocalMatrix) nMakeTwoPointConical() argument
|
H A D | PathBuilder.java | 26 public void quadTo(float x1, float y1, float x2, float y2) { in quadTo() argument 27 nQuadTo(mNativeInstance, x1, y1, x2, y2); in quadTo() 29 public void conicTo(float x1, float y1, float x2, float y2, float w) { in conicTo() argument 30 nConicTo(mNativeInstance, x1, y1, x2, y2, w); in conicTo() 32 public void cubicTo(float x1, float y1, float x2, float y2, float x3, float y3) { in cubicTo() argument 33 nCubicTo(mNativeInstance, x1, y1, x2, y2, x3, y3); in cubicTo() 71 private static native void nQuadTo(long mNativeInstance, float x1, float y1, float x2, float y2); in nQuadTo() argument 72 private static native void nConicTo(long mNativeInstance, float x1, float y1, float x2, float y2, float w); in nConicTo() argument 73 private static native void nCubicTo(long mNativeInstance, float x1, float y1, float x2, float y2, float x3, float y3); in nCubicTo() argument
|
/third_party/mesa3d/src/util/format/ |
H A D | u_format_yuv.c | 496 uint8_t y0, y1, u, v; in util_format_uyvy_unpack_rgba_float() local 504 y1 = (value >> 24) & 0xff; in util_format_uyvy_unpack_rgba_float() 510 util_format_yuv_to_rgb_float(y1, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_float() 521 y1 = (value >> 24) & 0xff; in util_format_uyvy_unpack_rgba_float() 544 uint8_t y0, y1, u, v; in util_format_uyvy_unpack_rgba_8unorm() local 552 y1 = (value >> 24) & 0xff; in util_format_uyvy_unpack_rgba_8unorm() 558 util_format_yuv_to_rgb_8unorm(y1, u, v, &dst[0], &dst[1], &dst[2]); in util_format_uyvy_unpack_rgba_8unorm() 569 y1 = (value >> 24) & 0xff; in util_format_uyvy_unpack_rgba_8unorm() 591 uint8_t y0, y1, u, v; in util_format_uyvy_pack_rgba_float() local 595 uint8_t y0, y1, u in util_format_uyvy_pack_rgba_float() local 644 uint8_t y0, y1, u, v; util_format_uyvy_pack_rgba_8unorm() local 648 uint8_t y0, y1, u0, u1, v0, v1, u, v; util_format_uyvy_pack_rgba_8unorm() local 718 uint8_t y0, y1, u, v; util_format_yuyv_unpack_rgba_float() local 766 uint8_t y0, y1, u, v; util_format_yuyv_unpack_rgba_8unorm() local 813 uint8_t y0, y1, u, v; util_format_yuyv_pack_rgba_float() local 817 uint8_t y0, y1, u0, u1, v0, v1, u, v; util_format_yuyv_pack_rgba_float() local 866 uint8_t y0, y1, u, v; util_format_yuyv_pack_rgba_8unorm() local 870 uint8_t y0, y1, u0, u1, v0, v1, u, v; util_format_yuyv_pack_rgba_8unorm() local [all...] |
/third_party/python/Tools/demo/ |
H A D | hanoi.py | 47 x1, y1 = (pegdist-pegwidth)//2, height*1//3 48 x2, y2 = x1+pegwidth, y1+pegheight 50 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 53 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 56 p = c.create_rectangle(x1, y1, x2, y2, fill='black') 66 x1, y1 = (pegdist-maxpiecewidth)//2, y2-pieceheight-2 67 x2, y2 = x1+maxpiecewidth, y1+pieceheight 70 p = c.create_rectangle(x1, y1, x2, y2, fill='red') 74 y1, y2 = y1 [all...] |
H A D | spreadsheet.py | 52 def multicellvalue(self, x1, y1, x2, y2): 55 if y1 > y2: 56 y1, y2 = y2, y1 58 for y in range(y1, y2+1): 77 def clearcells(self, x1, y1, x2, y2): 78 for xy in self.selectcells(x1, y1, x2, y2): 81 def clearrows(self, y1, y2): 82 self.clearcells(0, y1, sys.maxsize, y2) 87 def selectcells(self, x1, y1, x [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | srtdec.c | 34 const char *in, int x1, int y1, int x2, int y2) in srt_to_ass() 36 if (x1 >= 0 && y1 >= 0) { in srt_to_ass() 40 if (x2 >= 0 && y2 >= 0 && (x2 != x1 || y2 != y1) && x2 >= x1 && y2 >= y1) { in srt_to_ass() 43 const int cy = y1 + (y2 - y1)/2; in srt_to_ass() 50 const int scaled_y = y1 * (int64_t)ASS_DEFAULT_PLAYRESY / 480; in srt_to_ass() 62 int x1 = -1, y1 = -1, x2 = -1, y2 = -1; in srt_decode_frame() local 70 y1 = AV_RL32(p + 4); in srt_decode_frame() 80 ret = srt_to_ass(avctx, &buffer, avpkt->data, x1, y1, x in srt_decode_frame() 33 srt_to_ass(AVCodecContext *avctx, AVBPrint *dst, const char *in, int x1, int y1, int x2, int y2) srt_to_ass() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Device.cpp | 209 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearColor() 229 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearDepth() 246 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearStencil() 468 flipY = (sourceRect->y0 < sourceRect->y1) ^ (destRect->y0 < destRect->y1); in stretchRect() 473 flipY = (sourceRect->y0 > sourceRect->y1); in stretchRect() 478 flipY = (destRect->y0 > destRect->y1); in stretchRect() 489 sRect.y1 = sourceRect->y1; in stretchRect() 497 if(sRect.y0 > sRect.y1) in stretchRect() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_swaprect.c | 34 char *x1, *y1; member 50 { "y1", "set 1st rect y top left coordinate", OFFSET(y1), AV_OPT_TYPE_STRING, {.str="h/2"}, 0, 0, .flags = FLAGS }, 76 int x1[4], y1[4]; in filter_frame() local 116 ret = av_expr_parse_and_eval(&dy1, s->y1, in filter_frame() 137 w = dw; h = dh; x1[0] = dx1; y1[0] = dy1; x2[0] = dx2; y2[0] = dy2; in filter_frame() 140 y1[0] = av_clip(y1[0], 0, inlink->w - 1); in filter_frame() 151 h = FFMIN3(h, inlink->h - y1[0], inlink->h - y2[0]); in filter_frame() 165 y1[ in filter_frame() [all...] |
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | genpng.c | 19 * shape ::= color width shape x1 y1 x2 y2 43 * shape ::= color width shape x1 y1 x2 y2 52 * y1 ::= <number> 180 double x1, y1, x2, y2; member 348 square_check(double x, double y, double x1, double y1, double x2, double y2) in square_check() argument 349 /* Is x,y inside the square (x1,y1)..(x2,y2)? */ in square_check() 354 * x<x1 | x<y1 | x<x2 | x<y2 in square_check() 360 * So 'inside' is (x<x1) != (x<x2) && (y<y1) != (y<y2); in square_check() 362 return ((x<x1) ^ (x<x2)) & ((y<y1) ^ (y<y2)); in square_check() 368 return square_check(x, y, arg->x1, arg->y1, ar in inside_square_filled() 460 circle_check(double x, double y, double x1, double y1, double x2, double y2) circle_check() argument 554 line_check(double x, double y, double x1, double y1, double x2, double y2, double w, double expand) line_check() argument [all...] |
/third_party/mesa3d/src/intel/isl/ |
H A D | isl_tiled_memcpy.c | 220 * Each row from y0 to y1 is copied in three parts: [x0,x1), [x1,x2), [x2,x3). 232 uint32_t y0, uint32_t y1, 251 uint32_t y0, uint32_t y1, in linear_to_xtiled() 265 for (yo = y0 * xtile_width; yo < y1 * xtile_width; yo += xtile_width) { in linear_to_xtiled() 312 uint32_t y1 = MIN2(y3, ALIGN_UP(y0, 4)); in linear_to_ytiled() local 313 uint32_t y2 = MAX2(y1, ALIGN_DOWN(y3, 4)); in linear_to_ytiled() 330 if (y0 != y1) { in linear_to_ytiled() 331 for (yo = y0 * column_width; yo < y1 * column_width; yo += column_width) { in linear_to_ytiled() 352 for (yo = y1 * column_width; yo < y2 * column_width; yo += 4 * column_width) { in linear_to_ytiled() 415 uint32_t y0, uint32_t y1, in xtiled_to_linear() 250 linear_to_xtiled(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, uint32_t y0, uint32_t y1, char *dst, const char *src, int32_t src_pitch, uint32_t swizzle_bit, isl_mem_copy_fn mem_copy, isl_mem_copy_fn mem_copy_align16) linear_to_xtiled() argument 414 xtiled_to_linear(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, uint32_t y0, uint32_t y1, char *dst, const char *src, int32_t dst_pitch, uint32_t swizzle_bit, isl_mem_copy_fn mem_copy, isl_mem_copy_fn mem_copy_align16) xtiled_to_linear() argument 476 uint32_t y1 = MIN2(y3, ALIGN_UP(y0, 4)); ytiled_to_linear() local 628 linear_to_xtiled_faster(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, uint32_t y0, uint32_t y1, char *dst, const char *src, int32_t src_pitch, uint32_t swizzle_bit, isl_memcpy_type copy_type) linear_to_xtiled_faster() argument 673 linear_to_ytiled_faster(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, uint32_t y0, uint32_t y1, char *dst, const char *src, int32_t src_pitch, uint32_t swizzle_bit, isl_memcpy_type copy_type) linear_to_ytiled_faster() argument 717 xtiled_to_linear_faster(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, uint32_t y0, uint32_t y1, char *dst, const char *src, int32_t dst_pitch, uint32_t swizzle_bit, isl_memcpy_type copy_type) xtiled_to_linear_faster() argument 773 ytiled_to_linear_faster(uint32_t x0, uint32_t x1, uint32_t x2, uint32_t x3, uint32_t y0, uint32_t y1, char *dst, const char *src, int32_t dst_pitch, uint32_t swizzle_bit, isl_memcpy_type copy_type) ytiled_to_linear_faster() argument 880 uint32_t y1 = MIN2(yt2, yt + th); linear_to_tiled() local 980 uint32_t y1 = MIN2(yt2, yt + th); tiled_to_linear() local [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_1d_function.cpp | 48 real64 y1 = Evaluate (x1); in EvaluateInverse() local 53 if (Abs_real64 (y1 - y0) < kNearZero) in EvaluateInverse() 59 x1 + (y - y1) * (x1 - x0) / (y1 - y0), in EvaluateInverse() 65 y0 = y1; in EvaluateInverse() 68 y1 = y2; in EvaluateInverse()
|
H A D | dng_1d_table.cpp | 89 real64 y1 = fTable [upper]; in SubDivide() local 91 real64 delta = (y1 - y0) / (real64) range; in SubDivide() 162 real64 y1 = fTable [1]; in Expand16() local 165 real64 slope = (y1 - y0) * 65535.0; in Expand16() 183 y0 = y1; in Expand16() 184 y1 = fTable [index]; in Expand16() 187 slope = (y1 - y0) * 65535.0; in Expand16()
|
/third_party/skia/include/core/ |
H A D | SkPathBuilder.h | 45 SkPathBuilder& quadTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2) { in quadTo() argument 46 return this->quadTo(SkPoint::Make(x1, y1), SkPoint::Make(x2, y2)); in quadTo() 51 SkPathBuilder& conicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar w) { in conicTo() argument 52 return this->conicTo(SkPoint::Make(x1, y1), SkPoint::Make(x2, y2), w); in conicTo() 59 SkPathBuilder& cubicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar y3) { in cubicTo() argument 60 return this->cubicTo(SkPoint::Make(x1, y1), SkPoint::Make(x2, y2), SkPoint::Make(x3, y3)); in cubicTo() 79 SkPathBuilder& rQuadTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2) { in rQuadTo() argument 80 return this->rQuadTo({x1, y1}, {x2, y2}); in rQuadTo() 83 SkPathBuilder& rConicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar w) { in rConicTo() argument 84 return this->rConicTo({x1, y1}, {x in rConicTo() 87 rCubicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar y3) rCubicTo() argument [all...] |
/third_party/skia/modules/pathkit/ |
H A D | externs.js | 43 _arcTo: function(x1, y1, x2, y2, radius) {}, 46 _conicTo: function(x1, y1, x2, y2, w) {}, 50 _lineTo: function(x1, y1) {}, 51 _moveTo: function(x1, y1) {}, 91 PathKit.SkPath.prototype.arcTo = function(x1, y1, x2, y2, radius) {}; 95 PathKit.SkPath.prototype.conicTo = function(x1, y1, x2, y2, w) {}; 102 PathKit.SkPath.prototype.quadTo = function(x1, y1, x2, y2) {}; 103 PathKit.SkPath.prototype.quadraticCurveTo = function(x1, y1, x2, y2) {};
|
H A D | pathkit_wasm_bindings.cpp | 95 float x1, y1, x2, y2, x3, y3; in FromCmds() local 108 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds() 109 path.moveTo(x1, y1); in FromCmds() 113 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds() 114 path.lineTo(x1, y1); in FromCmds() 118 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds() 120 path.quadTo(x1, y1, x2, y2); in FromCmds() 124 x1 = cmds[i++], y1 = cmds[i++]; in FromCmds() 127 path.conicTo(x1, y1, x2, y2, x3); in FromCmds() 131 x1 = cmds[i++], y1 in FromCmds() 173 ApplyArcTo(SkPath& p, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar radius) ApplyArcTo() argument 182 ApplyConicTo(SkPath& p, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar w) ApplyConicTo() argument 187 ApplyCubicTo(SkPath& p, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar y3) ApplyCubicTo() argument 200 ApplyQuadTo(SkPath& p, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2) ApplyQuadTo() argument [all...] |