Home
last modified time | relevance | path

Searched refs:y2 (Results 1 - 25 of 368) sorted by relevance

12345678910>>...15

/third_party/alsa-utils/alsamixer/
H A Dmixer_clickable.c20 void clickable_set(int y1, int x1, int y2, int x2, command_enum command, int arg1) { in clickable_set() argument
61 .y2 = y2, 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
72 y2 = y + y2; in clickable_set_relative()
74 clickable_set(y1, x1, y2, x2, command, arg1); in clickable_set_relative()
77 void clickable_clear(int y1, int x1, int y2, int x2) { in clickable_clear() argument
78 #define IS_IN_RECT(Y, X) (Y >= y1 && Y <= y2 && X >= x1 && X <= x2) in clickable_clear()
81 if (x1 == 0 && x2 == -1 && y2 in clickable_clear()
[all...]
H A Dmixer_clickable.h10 short y2; 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/python/Tools/demo/
H A Dhanoi.py48 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 - pieceheight-2, y2-pieceheight-2
98 x1, y1, x2, y2
[all...]
H A Dspreadsheet.py52 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, x2, y2)
[all...]
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
H A DPathBuilder.java26 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/typescript/tests/baselines/reference/
H A DshorthandPropertyAssignmentsInDestructuring_ES6.js80 let y2: string, y3: { x: string };
81 ({ y2 = 5, y3 = { x: 1 } } = {})
85 let y2: string, y3: { x: string };
86 ({ y2:y2 = 5, y3:y3 = { x: 1 } } = {})
184 let y2, y3;
185 ({ y2 = 5, y3 = { x: 1 } } = {});
188 let y2, y3;
189 ({ y2: y2
[all...]
H A DarrayLiteral.js14 var y2: number[] = [1]; variable
15 var y2: number[] = [1, 2]; variable
16 var y2: number[] = new Array<number>();
27 var y2 = [1]; variable
28 var y2 = [1, 2]; variable
29 var y2 = new Array();
H A DinitializersWidened.js11 var y2: undefined; variable
24 var y5 = undefined || y2;
25 var z5 = void 0 || y2;
34 var y2; variable
43 var y5 = undefined || y2;
44 var z5 = void 0 || y2;
H A DtsxStatelessFunctionComponentOverload4.js29 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;
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>
63 var e2 = <TestingOptional y1="hello" y2={1000} y3/>;
64 var e3 = <TestingOptional y1="hello" y2={1000} children="hi"/>;
65 var e4 = <TestingOptional y1="hello" y2={1000}>Hi</TestingOptional>;
H A DshorthandPropertyAssignmentsInDestructuring.js80 let y2: string, y3: { x: string };
81 ({ y2 = 5, y3 = { x: 1 } } = {})
85 let y2: string, y3: { x: string };
86 ({ y2:y2 = 5, y3:y3 = { x: 1 } } = {})
207 var y2, y3; variable
208 (_a = {}, _b = _a.y2, y2 = _b === void 0 ? 5 : _b, _c = _a.y3, y3 = _c === void 0 ? { x: 1 } : _c);
212 var y2, y3; variable
213 (_a = {}, _b = _a.y2, y
[all...]
H A DtsxStatelessFunctionComponentOverload3.js18 declare function ThreeThing(l: {y2: string}): JSX.Element;
23 const three2 = <ThreeThing y2="Bye" />;
24 const three3 = <ThreeThing {...obj2} y2={10} />; // it is just any so we allow it to pass through
36 var three2 = <ThreeThing y2="Bye"/>;
37 var three3 = <ThreeThing {...obj2} y2={10}/>; // it is just any so we allow it to pass through
H A DtypeofAmbientExternalModules.js18 var y2: typeof exp = exp; variable
19 y2 = ext;
48 var y2 = exp; variable
49 y2 = ext;
H A DtypeofExternalModules.js16 var y2: typeof exp = exp; variable
17 y2 = ext;
44 var y2 = exp; variable
45 y2 = ext;
H A DaugmentedTypesFunction.js7 function y2() { } // error function
8 function y2() { } // error
46 function y2() { } // error
47 function y2() { } // error
H A Des6ModuleConstEnumDeclaration.js28 var y2 = e4.x; variable
44 var y2 = e6.x; variable
56 var y2 = 0 /* e4.x */; variable
63 var y2 = 0 /* e6.x */; variable
H A DexternalModuleAssignToVar.js21 var y2: new() => ext2 = ext2; variable
22 y2 = ext2; // ok
67 var y2 = ext2;
68 y2 = ext2; // ok
H A DdeeplyNestedAssignabilityErrorsCombined.js15 let y2 = { a: { b: { c: { d: { e: { f: Ctor2 } } } } } };
16 x2 = y2;
35 var y2 = { a: { b: { c: { d: { e: { f: Ctor2 } } } } } };
36 x2 = y2;
/third_party/ffmpeg/libavfilter/
H A Dvf_swaprect.c35 char *x2, *y2; member
52 { "y2", "set 2nd rect y top left coordinate", OFFSET(y2), AV_OPT_TYPE_STRING, {.str="0"}, 0, 0, .flags = FLAGS },
77 int x2[4], y2[4]; in filter_frame() local
130 ret = av_expr_parse_and_eval(&dy2, s->y2, in filter_frame()
137 w = dw; h = dh; x1[0] = dx1; y1[0] = dy1; x2[0] = dx2; y2[0] = dy2; in filter_frame()
143 y2[0] = av_clip(y2[0], 0, inlink->w - 1); in filter_frame()
151 h = FFMIN3(h, inlink->h - y1[0], inlink->h - y2[0]); in filter_frame()
170 y2[ in filter_frame()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibwebpenc_common.c190 int x,y, x2, y2, p; in ff_libwebp_get_frame() local
212 for (y2 = ys; y2 < FFMIN(ys + bs2, h); y2++) { in ff_libwebp_get_frame()
214 int diff = frame->data[p][frame->linesize[p] * y2 + x2] in ff_libwebp_get_frame()
215 -s->ref->data[p][frame->linesize[p] * y2 + x2]; in ff_libwebp_get_frame()
228 for (y2 = ys; y2 < FFMIN(ys + bs2, h); y2++) { in ff_libwebp_get_frame()
229 memcpy(&s->ref->data[p][frame->linesize[p] * y2 in ff_libwebp_get_frame()
[all...]
H A Dsrtdec.c34 const char *in, int x1, int y1, int x2, int y2) 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()
62 int x1 = -1, y1 = -1, x2 = -1, y2 = -1; in srt_decode_frame() local
72 y2 = AV_RL32(p + 12); in srt_decode_frame()
80 ret = srt_to_ass(avctx, &buffer, avpkt->data, x1, y1, x2, y2); 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
H A Drtjpeg.c111 uint8_t *y1 = f->data[0], *y2 = f->data[0] + 8 * f->linesize[0]; in ff_rtjpeg_decode_frame_yuv420() local
131 BLOCK(c->lquant, y2, f->linesize[0]); in ff_rtjpeg_decode_frame_yuv420()
132 y2 += 8; in ff_rtjpeg_decode_frame_yuv420()
133 BLOCK(c->lquant, y2, f->linesize[0]); in ff_rtjpeg_decode_frame_yuv420()
134 y2 += 8; in ff_rtjpeg_decode_frame_yuv420()
141 y2 += 2 * 8 * (f->linesize[0] - w); in ff_rtjpeg_decode_frame_yuv420()
/third_party/skia/third_party/externals/libpng/contrib/tools/
H A Dgenpng.c19 * shape ::= color width shape x1 y1 x2 y2
43 * shape ::= color width shape x1 y1 x2 y2
53 * y2 ::= <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, arg->x2, arg->y2); 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/skia/src/core/
H A DSkEdge.cpp182 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()
208 swap(y0, y2); in setQuadraticWithoutUpdate()
211 SkASSERT(y0 <= y1 && y1 <= y2); in setQuadraticWithoutUpdate()
214 int bot = SkFDot6Round(y2); in setQuadraticWithoutUpdate()
223 SkFDot6 dy = (SkLeftShift(y1, 1) - y0 - y2) >> 2; in setQuadraticWithoutUpdate()
268 A = SkFDot6ToFixedDiv2(y0 - y1 - y1 + y2); // 1/2 the real value in setQuadraticWithoutUpdate()
276 fQLastY = SkFDot6ToFixed(y2); in setQuadraticWithoutUpdate()
352 SkFDot6 x0, y0, x1, y1, x2, y2, x3, y3; setCubicWithoutUpdate() local
[all...]
/third_party/skia/include/core/
H A DSkPathBuilder.h45 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}, {x2, y2}, in rConicTo()
87 rCubicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar y3) rCubicTo() argument
[all...]
/third_party/skia/modules/androidkit/src/
H A DPathBuilder.cpp34 static void PathBuilder_QuadTo(JNIEnv* env, jobject, jlong native_pathBuilder, jfloat x1, jfloat y1, jfloat x2, jfloat y2) { in PathBuilder_QuadTo() argument
36 pathBuilder->quadTo(x1, y1, x2, y2); in PathBuilder_QuadTo()
40 static void PathBuilder_ConicTo(JNIEnv* env, jobject, jlong native_pathBuilder, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat w) { in PathBuilder_ConicTo() argument
42 pathBuilder->conicTo(x1, y1, x2, y2, w); in PathBuilder_ConicTo()
47 jfloat x2, jfloat y2, in PathBuilder_CubicTo()
50 pathBuilder->cubicTo(x1, y1, x2, y2, x3, y3); in PathBuilder_CubicTo()
46 PathBuilder_CubicTo(JNIEnv* env, jobject, jlong native_pathBuilder, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) PathBuilder_CubicTo() argument

Completed in 8 milliseconds

12345678910>>...15