y1 49 ext/date/lib/dow.c timelib_sll c1, y1, m1, dow; y1 55 ext/date/lib/dow.c y1 = positive_mod(y, 100); y1 57 ext/date/lib/dow.c dow = positive_mod((c1 + y1 + m1 + (y1 / 4) + d), 7); y1 489 ext/gd/gd.c ZEND_ARG_INFO(0, y1) y1 498 ext/gd/gd.c ZEND_ARG_INFO(0, y1) y1 507 ext/gd/gd.c ZEND_ARG_INFO(0, y1) y1 516 ext/gd/gd.c ZEND_ARG_INFO(0, y1) y1 3075 ext/gd/gd.c zend_long x1, y1, x2, y2, col; y1 3078 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlllll", &IM, &x1, &y1, &x2, &y2, &col) == FAILURE) { y1 3088 ext/gd/gd.c gdImageAALine(im, x1, y1, x2, y2, col); y1 3092 ext/gd/gd.c gdImageLine(im, x1, y1, x2, y2, col); y1 3103 ext/gd/gd.c zend_long x1, y1, x2, y2, col; y1 3106 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlllll", &IM, &x1, &y1, &x2, &y2, &col) == FAILURE) { y1 3114 ext/gd/gd.c gdImageDashedLine(im, x1, y1, x2, y2, col); y1 3124 ext/gd/gd.c zend_long x1, y1, x2, y2, col; y1 3127 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlllll", &IM, &x1, &y1, &x2, &y2, &col) == FAILURE) { y1 3135 ext/gd/gd.c gdImageRectangle(im, x1, y1, x2, y2, col); y1 3145 ext/gd/gd.c zend_long x1, y1, x2, y2, col; y1 3148 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlllll", &IM, &x1, &y1, &x2, &y2, &col) == FAILURE) { y1 3155 ext/gd/gd.c gdImageFilledRectangle(im, x1, y1, x2, y2, col); y1 669 ext/gd/libgd/gd.c static int clip_1d(int *x0, int *y0, int *x1, int *y1, int maxdim) { y1 676 ext/gd/libgd/gd.c m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ y1 682 ext/gd/libgd/gd.c *y1 += (int)(m * (maxdim - *x1)); y1 691 ext/gd/libgd/gd.c m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ y1 696 ext/gd/libgd/gd.c *y1 -= (int)(m * *x1); y1 703 ext/gd/libgd/gd.c m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ y1 704 ext/gd/libgd/gd.c *y1 += (int)(m * (maxdim - *x1)); y1 709 ext/gd/libgd/gd.c m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ y1 710 ext/gd/libgd/gd.c *y1 -= (int)(m * *x1); y1 795 ext/gd/libgd/gd.c int x1, y1, x2, y2; y1 803 ext/gd/libgd/gd.c y1 = y - hy; y1 804 ext/gd/libgd/gd.c y2 = y1 + gdImageSY(im->brush); y1 812 ext/gd/libgd/gd.c for (ly = y1; ly < y2; ly++) { y1 827 ext/gd/libgd/gd.c for (ly = y1; ly < y2; ly++) { y1 843 ext/gd/libgd/gd.c for (ly = y1; ly < y2; ly++) { y1 1071 ext/gd/libgd/gd.c static void gdImageVLine(gdImagePtr im, int x, int y1, int y2, int col) y1 1075 ext/gd/libgd/gd.c gdImageFilledRectangle(im, x - thickhalf, y1, x + im->thick - thickhalf - 1, y2, col); y1 1077 ext/gd/libgd/gd.c if (y2 < y1) { y1 1078 ext/gd/libgd/gd.c int t = y1; y1 1079 ext/gd/libgd/gd.c y1 = y2; y1 1083 ext/gd/libgd/gd.c for (;y1 <= y2; y1++) { y1 1084 ext/gd/libgd/gd.c gdImageSetPixel(im, x, y1, col); y1 1091 ext/gd/libgd/gd.c void gdImageLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color) y1 1104 ext/gd/libgd/gd.c gdImageAALine(im, x1, y1, x2, y2, im->AA_color); y1 1109 ext/gd/libgd/gd.c if (!clip_1d(&x1,&y1,&x2,&y2,gdImageSX(im)) || !clip_1d(&y1,&x1,&y2,&x2,gdImageSY(im))) { y1 1114 ext/gd/libgd/gd.c dy = abs (y2 - y1); y1 1117 ext/gd/libgd/gd.c gdImageVLine(im, x1, y1, y2, color); y1 1120 ext/gd/libgd/gd.c gdImageHLine(im, y1, x1, x2, color); y1 1152 ext/gd/libgd/gd.c y = y1; y1 1163 ext/gd/libgd/gd.c if (((y2 - y1) * ydirflag) > 0) { y1 1209 ext/gd/libgd/gd.c if (y1 > y2) { y1 1212 ext/gd/libgd/gd.c yend = y1; y1 1215 ext/gd/libgd/gd.c y = y1; y1 1287 ext/gd/libgd/gd.c void gdImageAALine (gdImagePtr im, int x1, int y1, int x2, int y2, int col) y1 1293 ext/gd/libgd/gd.c if (y1 < 0 && y2 < 0) { y1 1296 ext/gd/libgd/gd.c if (y1 < 0) { y1 1297 ext/gd/libgd/gd.c x1 += (y1 * (x1 - x2)) / (y2 - y1); y1 1298 ext/gd/libgd/gd.c y1 = 0; y1 1301 ext/gd/libgd/gd.c x2 += (y2 * (x1 - x2)) / (y2 - y1); y1 1306 ext/gd/libgd/gd.c if (y1 >= im->sy && y2 >= im->sy) { y1 1309 ext/gd/libgd/gd.c if (y1 >= im->sy) { y1 1310 ext/gd/libgd/gd.c x1 -= ((im->sy - y1) * (x1 - x2)) / (y2 - y1); y1 1311 ext/gd/libgd/gd.c y1 = im->sy - 1; y1 1314 ext/gd/libgd/gd.c x2 -= ((im->sy - y2) * (x1 - x2)) / (y2 - y1); y1 1323 ext/gd/libgd/gd.c y1 += (x1 * (y1 - y2)) / (x2 - x1); y1 1327 ext/gd/libgd/gd.c y2 += (x2 * (y1 - y2)) / (x2 - x1); y1 1335 ext/gd/libgd/gd.c y1 -= ((im->sx - x1) * (y1 - y2)) / (x2 - x1); y1 1339 ext/gd/libgd/gd.c y2 -= ((im->sx - x2) * (y1 - y2)) / (x2 - x1); y1 1344 ext/gd/libgd/gd.c dy = y2 - y1; y1 1354 ext/gd/libgd/gd.c tmp = y1; y1 1355 ext/gd/libgd/gd.c y1 = y2; y1 1358 ext/gd/libgd/gd.c dy = y2 - y1; y1 1361 ext/gd/libgd/gd.c y = y1 << 16; y1 1376 ext/gd/libgd/gd.c tmp = y1; y1 1377 ext/gd/libgd/gd.c y1 = y2; y1 1380 ext/gd/libgd/gd.c dy = y2 - y1; y1 1383 ext/gd/libgd/gd.c y = y1 << 16; y1 1398 ext/gd/libgd/gd.c void gdImageDashedLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color) y1 1408 ext/gd/libgd/gd.c dy = abs(y2 - y1); y1 1432 ext/gd/libgd/gd.c y = y1; y1 1437 ext/gd/libgd/gd.c if (((y2 - y1) * ydirflag) > 0) { y1 1474 ext/gd/libgd/gd.c if (y1 > y2) { y1 1477 ext/gd/libgd/gd.c yend = y1; y1 1480 ext/gd/libgd/gd.c y = y1; y1 2034 ext/gd/libgd/gd.c void gdImageRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color) y1 2036 ext/gd/libgd/gd.c int x1h = x1, x1v = x1, y1h = y1, y1v = y1, x2h = x2, x2v = x2, y2h = y2, y2v = y2; y1 2040 ext/gd/libgd/gd.c if (x1 == x2 && y1 == y2 && thick == 1) { y1 2041 ext/gd/libgd/gd.c gdImageSetPixel(im, x1, y1, color); y1 2045 ext/gd/libgd/gd.c if (y2 < y1) { y1 2046 ext/gd/libgd/gd.c t=y1; y1 2047 ext/gd/libgd/gd.c y1 = y2; y1 2057 ext/gd/libgd/gd.c x1h = x1; x1v = x1; y1h = y1; y1v = y1; x2h = x2; x2v = x2; y2h = y2; y2v = y2; y1 2063 ext/gd/libgd/gd.c y1ul = y1 - half; y1 2102 ext/gd/libgd/gd.c if (x1 == x2 || y1 == y2) { y1 2103 ext/gd/libgd/gd.c gdImageLine(im, x1, y1, x2, y2, color); y1 2115 ext/gd/libgd/gd.c void gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color) y1 2120 ext/gd/libgd/gd.c if (x1 == x2 && y1 == y2) { y1 2121 ext/gd/libgd/gd.c gdImageSetPixel(im, x1, y1, color); y1 2131 ext/gd/libgd/gd.c if (y1 > y2) { y1 2132 ext/gd/libgd/gd.c y = y1; y1 2133 ext/gd/libgd/gd.c y1 = y2; y1 2145 ext/gd/libgd/gd.c if (y1 < 0) { y1 2146 ext/gd/libgd/gd.c y1 = 0; y1 2153 ext/gd/libgd/gd.c for (y = y1; (y <= y2); y++) { y1 2569 ext/gd/libgd/gd.c typedef void (*image_line)(gdImagePtr im, int x1, int y1, int x2, int y2, int color); y1 2619 ext/gd/libgd/gd.c int x1, y1; y1 2685 ext/gd/libgd/gd.c y1 = p[ind1].y; y1 2687 ext/gd/libgd/gd.c if (y1 < y2) { y1 2690 ext/gd/libgd/gd.c } else if (y1 > y2) { y1 2692 ext/gd/libgd/gd.c y1 = p[ind2].y; y1 2702 ext/gd/libgd/gd.c if (y >= y1 && y < y2) { y1 2703 ext/gd/libgd/gd.c im->polyInts[ints++] = (float) ((y - y1) * (x2 - x1)) / (float) (y2 - y1) + 0.5 + x1; y1 2978 ext/gd/libgd/gd.c void gdImageSetClip (gdImagePtr im, int x1, int y1, int x2, int y2) y1 2992 ext/gd/libgd/gd.c if (y1 < 0) { y1 2993 ext/gd/libgd/gd.c y1 = 0; y1 2995 ext/gd/libgd/gd.c if (y1 >= im->sy) { y1 2996 ext/gd/libgd/gd.c y1 = im->sy - 1; y1 3005 ext/gd/libgd/gd.c im->cy1 = y1; y1 423 ext/gd/libgd/gd.h void gdImageLine(gdImagePtr im, int x1, int y1, int x2, int y2, int color); y1 424 ext/gd/libgd/gd.h void gdImageAALine(gdImagePtr im, int x1, int y1, int x2, int y2, int color); y1 428 ext/gd/libgd/gd.h void gdImageDashedLine(gdImagePtr im, int x1, int y1, int x2, int y2, int color); y1 431 ext/gd/libgd/gd.h void gdImageRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color); y1 433 ext/gd/libgd/gd.h void gdImageFilledRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color); y1 434 ext/gd/libgd/gd.h void gdImageSetClip(gdImagePtr im, int x1, int y1, int x2, int y2); y1 2226 ext/gd/libgd/gd_interpolation.c int x1,y1; y1 2230 ext/gd/libgd/gd_interpolation.c y1 = r->y + r->height - 1; y1 2234 ext/gd/libgd/gd_interpolation.c r->height = CLAMP(y1, c1y, c2y) - r->y + 1; y1 821 ext/gd/libgd/gdft.c int x1 = 0, y1 = 0; y1 969 ext/gd/libgd/gdft.c y1 = (int)(- penf.y * cos_a + 32) / 64; y1 983 ext/gd/libgd/gdft.c y1 = (int)(- penf.y * cos_a + 32) / 64; y1 985 ext/gd/libgd/gdft.c yb = y + y1; y1 1150 ext/gd/libgd/gdft.c gdft_draw_bitmap(tc_cache, im, fg, bm->bitmap, x + x1 + ((pen.x + 31) >> 6) + bm->left, y + y1 + ((pen.y + 31) >> 6) - bm->top);