| /OK3568_Linux_fs/external/xserver/test/ |
| H A D | fixes.c | 80 barrier.y2 = y + 49; in fixes_pointer_barrier_direction_test() 101 int x1, y1, x2, y2; in fixes_pointer_barriers_test() local 111 barrier.y2 = y + 50; in fixes_pointer_barriers_test() 117 y2 = y; in fixes_pointer_barriers_test() 118 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test() 124 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test() 130 y2 = y + 100; in fixes_pointer_barriers_test() 131 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test() 137 y2 = y - 5; in fixes_pointer_barriers_test() 138 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A D | sha256-avx-asm.S | 115 y2 = %r15d define 163 mov f, y2 # y2 = f 166 xor g, y2 # y2 = f^g 169 and e, y2 # y2 = (f^g)&e 175 xor g, y2 # y2 = CH = ((f^g)&e)^g 177 add y0, y2 # y2 = S1 + CH 178 add _XFER(%rsp), y2 # y2 = k + w + S1 + CH 180 add y2, h # h = h + S1 + CH + k + w 181 mov a, y2 # y2 = a 185 and c, y2 # y2 = a&c [all …]
|
| H A D | sha256-ssse3-asm.S | 108 y2 = %r15d define 157 mov f, y2 # y2 = f 161 xor g, y2 # y2 = f^g 164 and e, y2 # y2 = (f^g)&e 170 xor g, y2 # y2 = CH = ((f^g)&e)^g 173 add y0, y2 # y2 = S1 + CH 174 add _XFER(%rsp) , y2 # y2 = k + w + S1 + CH 177 add y2, h # h = h + S1 + CH + k + w 178 mov a, y2 # y2 = a 182 and c, y2 # y2 = a&c [all …]
|
| H A D | sha256-avx2-asm.S | 112 y2 = %r15d define 165 mov f, y2 # y2 = f # CH 169 xor g, y2 # y2 = f^g # CH 173 and e, y2 # y2 = (f^g)&e # CH 183 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 189 add y0, y2 # y2 = S1 + CH # -- 194 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 198 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 215 mov f, y2 # y2 = f # CH 218 xor g, y2 # y2 = f^g # CH [all …]
|
| H A D | sha512-avx2-asm.S | 97 y2 = %r15 define 190 mov f, y2 # y2 = f # CH 194 xor g, y2 # y2 = f^g # CH 197 and e, y2 # y2 = (f^g)&e # CH 206 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH 211 add y0, y2 # y2 = S1 + CH # -- 215 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 217 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 254 mov f, y2 # y2 = f # CH 257 xor g, y2 # y2 = f^g # CH [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_rect.c | 49 r1->y2 = min(r1->y2, r2->y2); in drm_rect_intersect() 110 src->y1 = src->y2 - new_src_h; in drm_rect_clip_scaled() 121 diff = dst->y2 - clip->y2; in drm_rect_clip_scaled() 126 src->y2 = src->y1 + new_src_h; in drm_rect_clip_scaled() 127 dst->y2 -= diff; in drm_rect_clip_scaled() 268 r->y1 = height - tmp.y2; in drm_rect_rotate() 269 r->y2 = height - tmp.y1; in drm_rect_rotate() 279 r->x2 = tmp.y2; in drm_rect_rotate() 281 r->y2 = width - tmp.x1; in drm_rect_rotate() 287 r->y1 = height - tmp.y2; in drm_rect_rotate() [all …]
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | region.c | 155 ((r1)->y2 <= (r2)->y1) || \ 156 ((r1)->y1 >= (r2)->y2) ) ) 162 ((r)->y2 > y) && \ 170 ((r1)->y2 >= (r2)->y2) ) 187 pNextRect->y2 = ny2; \ 285 rgn->extents.x1, rgn->extents.y1, rgn->extents.x2, rgn->extents.y2); in RegionPrint() 288 rects[i].x1, rects[i].y1, rects[i].x2, rects[i].y2); in RegionPrint() 299 (reg->extents.y1 > reg->extents.y2)) in RegionIsValid() 304 (reg->extents.y1 == reg->extents.y2) && in RegionIsValid() 314 box.y2 = pboxP[numRects - 1].y2; in RegionIsValid() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/selftests/ |
| H A D | test-drm_rect.c | 53 src.y1 != 0 || src.y2 != 1 << 16, in igt_drm_rect_clip_scaled_not_clipped() 56 dst.y1 != 0 || dst.y2 != 1, in igt_drm_rect_clip_scaled_not_clipped() 69 src.y1 != 0 || src.y2 != 2 << 16, in igt_drm_rect_clip_scaled_not_clipped() 72 dst.y1 != 0 || dst.y2 != 1, in igt_drm_rect_clip_scaled_not_clipped() 85 src.y1 != 0 || src.y2 != 1 << 16, in igt_drm_rect_clip_scaled_not_clipped() 88 dst.y1 != 0 || dst.y2 != 2, in igt_drm_rect_clip_scaled_not_clipped() 109 src.y1 != 0 || src.y2 != 1 << 16, in igt_drm_rect_clip_scaled_clipped() 112 dst.y1 != 0 || dst.y2 != 1, in igt_drm_rect_clip_scaled_clipped() 125 src.y1 != 1 << 16 || src.y2 != 2 << 16, in igt_drm_rect_clip_scaled_clipped() 128 dst.y1 != 1 || dst.y2 != 2, in igt_drm_rect_clip_scaled_clipped() [all …]
|
| /OK3568_Linux_fs/external/xserver/glamor/ |
| H A D | glamor_largepixmap.c | 57 end_y = MIN(y + h, extent->y2); in __glamor_compute_clipped_regions() 121 temp_box.y2 = MIN(temp_box.y1 + block_h, end_y); in __glamor_compute_clipped_regions() 190 small_box.y2 = block_h; in glamor_compute_clipped_regions_ext() 224 height = box_array[clipped_regions[i].block_idx].y2 - y; in glamor_compute_clipped_regions_ext() 274 if (pad_box.y1 < 0 && pad_box.y2 <= 0) in _glamor_convert_pad_region() 275 pad_box.y2 = 1; in _glamor_convert_pad_region() 276 else if (pad_box.y1 >= h && pad_box.y2 > h) in _glamor_convert_pad_region() 463 extent->x2, extent->y2); in _glamor_compute_clipped_regions() 495 repeat_box.y2 = extent->y2; in _glamor_compute_clipped_regions() 496 dy = extent->y2 - repeat_box.y1; in _glamor_compute_clipped_regions() [all …]
|
| H A D | glamor_transfer.c | 63 int y2 = MIN(boxes->y2 + dy_dst, box->y2); in glamor_upload_boxes() local 70 if (x2 <= x1 || y2 <= y1) in glamor_upload_boxes() 77 x2 - x1, y2 - y1, in glamor_upload_boxes() 81 for (; y1 < y2; y1++, ofs += byte_stride) in glamor_upload_boxes() 121 box.y2 = pixmap->drawable.height; in glamor_upload_pixmap() 164 int y2 = MIN(boxes->y2 + dy_src, box->y2); in glamor_download_boxes() local 170 if (x2 <= x1 || y2 <= y1) in glamor_download_boxes() 175 … glReadPixels(x1 - box->x1, y1 - box->y1, x2 - x1, y2 - y1, f->format, f->type, bits + ofs); in glamor_download_boxes() 177 for (; y1 < y2; y1++, ofs += byte_stride) in glamor_download_boxes() 197 box.y2 = y + h; in glamor_download_rect() [all …]
|
| /OK3568_Linux_fs/external/xserver/miext/rootless/ |
| H A D | rootlessGC.c | 434 box.y2 = box.y1 = ppt->y; in RootlessFillSpans() 445 else if (box.y2 < ppt->y) in RootlessFillSpans() 446 box.y2 = ppt->y; in RootlessFillSpans() 449 box.y2++; in RootlessFillSpans() 487 box.y2 = box.y1 = ppt->y; in RootlessSetSpans() 498 else if (box.y2 < ppt->y) in RootlessSetSpans() 499 box.y2 = ppt->y; in RootlessSetSpans() 502 box.y2++; in RootlessSetSpans() 531 box.y2 = box.y1 + h; in RootlessPutImage() 571 box.y2 = box.y1 + h; in RootlessCopyArea() [all …]
|
| /OK3568_Linux_fs/external/xserver/miext/damage/ |
| H A D | damage.c | 57 (a)->y2 == (b)->y2) 233 box.y2 = draw_y + pDamage->pDrawable->height; in _damageRegionAppend() 248 pDamageRegion->extents.y2 - pDamageRegion->extents.y1, in _damageRegionAppend() 443 if(box.y2 > extents->y2) box.y2 = extents->y2; \ 450 box.y2 += pDrawable->y; \ 459 (((box.x2 - box.x1) > 0) && ((box.y2 - box.y1) > 0)) 470 if(box.y2 > extents->y2) box.y2 = extents->y2; \ 498 box.y2 = box.y1 + height; in damageComposite() 543 int x1, y1, x2, y2; in damageGlyphs() local 548 box.y2 = -32767; in damageGlyphs() [all …]
|
| /OK3568_Linux_fs/external/xserver/fb/ |
| H A D | fbimage.c | 91 int x1, y1, x2, y2; in fbPutZImage() local 100 y2 = y + height; in fbPutZImage() 107 if (y2 > pbox->y2) in fbPutZImage() 108 y2 = pbox->y2; in fbPutZImage() 109 if (x1 >= x2 || y1 >= y2) in fbPutZImage() 117 (x2 - x1) * dstBpp, (y2 - y1), alu, pm, dstBpp); in fbPutZImage() 141 int x1, y1, x2, y2; in fbPutXYImage() local 170 y2 = y + height; in fbPutXYImage() 177 if (y2 > pbox->y2) in fbPutXYImage() 178 y2 = pbox->y2; in fbPutXYImage() [all …]
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/ |
| H A D | touch_test.c | 41 int draw_line(int x1, int y1, int x2, int y2) in draw_line() argument 49 for(y = MIN(y1, y2); y <= MAX(y1, y2); y++) in draw_line() 51 }else if(y1 == y2){ in draw_line() 55 }else if(ABS(x1-x2) > ABS(y1-y2)){ in draw_line() 57 y = ((y2 - y1) * (x - x1)) / (x2 - x1) + y1; in draw_line() 61 for(y = MIN(y1, y2); y <= MAX(y1, y2); y++){ in draw_line() 62 x = ((x2 - x1) * (y - y1)) / (y2 - y1) + x1; in draw_line()
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/asm/ |
| H A D | sfp-machine_32.h | 78 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument 86 "rI" ((USItype)(y2)), \ 93 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument 101 "rI" ((USItype)(y2)), \ 108 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument 123 "rI" ((USItype)(y2)), \ 133 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument 148 "rI" ((USItype)(y2)), \ 158 #define __FP_FRAC_DEC_3(x2,x1,x0,y2,y1,y0) __FP_FRAC_SUB_3(x2,x1,x0,x2,x1,x0,y2,y1,y0) argument 160 #define __FP_FRAC_DEC_4(x3,x2,x1,x0,y3,y2,y1,y0) __FP_FRAC_SUB_4(x3,x2,x1,x0,x3,x2,x1,x0,y3,y2,y1,y… argument
|
| /OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/qopenglwidget/ |
| H A D | glwidget.cpp | 442 qreal y2 = -0.06f; in createGeometry() local 448 quad(x1, y1, x2, y2, y2, x2, y1, x1); in createGeometry() 451 extrude(x1, y1, x2, y2); in createGeometry() 452 extrude(x2, y2, y2, x2); in createGeometry() 453 extrude(y2, x2, y1, x1); in createGeometry() 485 void GLWidget::quad(qreal x1, qreal y1, qreal x2, qreal y2, qreal x3, qreal y3, qreal x4, qreal y4) in quad() argument 488 m_vertices << QVector3D(x2, y2, -0.05f); in quad() 493 m_vertices << QVector3D(x2, y2, -0.05f); in quad() 496 (QVector3D(x2 - x1, y2 - y1, 0.0f), QVector3D(x4 - x1, y4 - y1, 0.0f)); in quad() 507 m_vertices << QVector3D(x2, y2, 0.05f); in quad() [all …]
|
| /OK3568_Linux_fs/app/forlinx/forlinx_qt/qopenglwidget/ |
| H A D | glwidget.cpp | 442 qreal y2 = -0.06f; in createGeometry() local 448 quad(x1, y1, x2, y2, y2, x2, y1, x1); in createGeometry() 451 extrude(x1, y1, x2, y2); in createGeometry() 452 extrude(x2, y2, y2, x2); in createGeometry() 453 extrude(y2, x2, y1, x1); in createGeometry() 485 void GLWidget::quad(qreal x1, qreal y1, qreal x2, qreal y2, qreal x3, qreal y3, qreal x4, qreal y4) in quad() argument 488 m_vertices << QVector3D(x2, y2, -0.05f); in quad() 493 m_vertices << QVector3D(x2, y2, -0.05f); in quad() 496 (QVector3D(x2 - x1, y2 - y1, 0.0f), QVector3D(x4 - x1, y4 - y1, 0.0f)); in quad() 507 m_vertices << QVector3D(x2, y2, 0.05f); in quad() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/ |
| H A D | clip_lines.cpp | 9 const int16_t x1, const int16_t y1, const int16_t x2, const int16_t y2) { in clipLines() argument 47 if (p0.y >= y2 && p1.y >= y2) { in clipLines() 49 } else if (p0.y >= y2) { in clipLines() 50 …{ static_cast<int16_t>(::round(p0.x + (p1.x - p0.x) * ((float)(y2 - p0.y) / (p1.y - p0.y)))), y2 }; in clipLines() 51 } else if (p1.y >= y2) { in clipLines() 52 …{ static_cast<int16_t>(::round(p0.x + (p1.x - p0.x) * ((float)(y2 - p0.y) / (p1.y - p0.y)))), y2 }; in clipLines()
|
| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | mitrap.c | 53 box->y2 = MINSHORT; in miTrapezoidBounds() 57 INT16 x1, y1, x2, y2; in miTrapezoidBounds() local 65 y2 = xFixedToInt(xFixedCeil(traps->bottom)); in miTrapezoidBounds() 66 if (y2 > box->y2) in miTrapezoidBounds() 67 box->y2 = y2; in miTrapezoidBounds()
|
| H A D | mitri.c | 42 bounds->y2 = xFixedToInt(xFixedCeil(points->y)); in miPointFixedBounds() 49 INT16 y2 = xFixedToInt(xFixedCeil(points->y)); in miPointFixedBounds() local 57 else if (y2 > bounds->y2) in miPointFixedBounds() 58 bounds->y2 = y2; in miPointFixedBounds()
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_rect.h | 44 int x1, y1, x2, y2; member 88 r->y2 = y + height; in drm_rect_init() 108 r->y2 += (dh + 1) >> 1; in drm_rect_adjust_size() 125 r->y2 += dy; in drm_rect_translate() 155 r->y2 /= vert; in drm_rect_downscale() 179 return r->y2 - r->y1; in drm_rect_height() 206 r1->y1 == r2->y1 && r1->y2 == r2->y2; in drm_rect_equals()
|
| /OK3568_Linux_fs/external/xserver/mi/ |
| H A D | mizerline.c | 110 int x = 0, y = 0, x1, y1, x2, y2, xstart, ystart; in miZeroLine() local 177 y2 = ystart; in miZeroLine() 179 MIOUTCODES(oc2, x2, y2, xleft, ytop, xright, ybottom); in miZeroLine() 183 y1 = y2; in miZeroLine() 188 y2 = ppt->y; in miZeroLine() 191 y2 += pDraw->y; in miZeroLine() 195 y2 += y1; in miZeroLine() 199 MIOUTCODES(oc2, x2, y2, xleft, ytop, xright, ybottom); in miZeroLine() 201 CalcLineDeltas(x1, y1, x2, y2, adx, ady, signdx, signdy, 1, 1, octant); in miZeroLine() 222 new_y2 = y2; in miZeroLine() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/libtiff/tiff/ |
| H A D | CVE-2022-2869.patch | 25 y2 = _TIFFClampDoubleToUInt32(crop->corners[i].Y2); 58 if (y2 > image->length - 1) 59 crop->regionlist[i].y2 = image->length - 1; 61 - crop->regionlist[i].y2 = (uint32_t) (y2 - 1); 62 + else if (y2 > 0) 63 + crop->regionlist[i].y2 = (uint32_t)(y2 - 1); 65 zlength = crop->regionlist[i].y2 - crop->regionlist[i].y1 + 1;
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tiny/ |
| H A D | ili9225.c | 82 unsigned int height = rect->y2 - rect->y1; in ili9225_fb_dirty() 87 u16 x1, x2, y1, y2; in ili9225_fb_dirty() local 114 y2 = rect->y2 - 1; in ili9225_fb_dirty() 120 x2 = rect->y2 - 1; in ili9225_fb_dirty() 122 y2 = fb->width - rect->x1 - 1; in ili9225_fb_dirty() 124 y_start = y2; in ili9225_fb_dirty() 129 y1 = fb->height - rect->y2; in ili9225_fb_dirty() 130 y2 = fb->height - rect->y1 - 1; in ili9225_fb_dirty() 132 y_start = y2; in ili9225_fb_dirty() 135 x1 = fb->height - rect->y2; in ili9225_fb_dirty() [all …]
|
| /OK3568_Linux_fs/external/xserver/exa/ |
| H A D | exa_accel.c | 86 extentY2 = pextent->y2; in exaFillSpans() 115 if (pbox->y1 <= fullY1 && fullY1 < pbox->y2) { in exaFillSpans() 196 int y2 = y + h; in exaDoPutImage() local 206 if (y2 > pbox->y2) in exaDoPutImage() 207 y2 = pbox->y2; in exaDoPutImage() 208 if (x1 >= x2 || y1 >= y2) in exaDoPutImage() 213 x2 - x1, y2 - y1, src, src_stride); in exaDoPutImage() 279 pbox->x2 - pbox->x1, pbox->y2 - pbox->y1); in exaCopyNtoNTwoDir() 300 pbox->x2 - pbox->x1, pbox->y2 - pbox->y1); in exaCopyNtoNTwoDir() 321 for (i = pbox->y2 - pbox->y1 - 1; i >= 0; i--) in exaCopyNtoNTwoDir() [all …]
|