sy                121 ext/gd/libgd/gd.c gdImagePtr gdImageCreate (int sx, int sy)
sy                126 ext/gd/libgd/gd.c 	if (overflow2(sx, sy)) {
sy                130 ext/gd/libgd/gd.c 	if (overflow2(sizeof(unsigned char *), sy)) {
sy                137 ext/gd/libgd/gd.c 	im->pixels = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy);
sy                138 ext/gd/libgd/gd.c 	im->AA_opacity = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy);
sy                144 ext/gd/libgd/gd.c 	for (i = 0; i < sy; i++) {
sy                150 ext/gd/libgd/gd.c 	im->sy = sy;
sy                168 ext/gd/libgd/gd.c 	im->cy2 = im->sy - 1;
sy                174 ext/gd/libgd/gd.c gdImagePtr gdImageCreateTrueColor (int sx, int sy)
sy                179 ext/gd/libgd/gd.c 	if (overflow2(sx, sy)) {
sy                183 ext/gd/libgd/gd.c 	if (overflow2(sizeof(unsigned char *), sy)) {
sy                193 ext/gd/libgd/gd.c 	im->tpixels = (int **) gdMalloc(sizeof(int *) * sy);
sy                194 ext/gd/libgd/gd.c 	im->AA_opacity = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy);
sy                200 ext/gd/libgd/gd.c 	for (i = 0; i < sy; i++) {
sy                205 ext/gd/libgd/gd.c 	im->sy = sy;
sy                223 ext/gd/libgd/gd.c 	im->cy2 = im->sy - 1;
sy                233 ext/gd/libgd/gd.c 		for (i = 0; i < im->sy; i++) {
sy                239 ext/gd/libgd/gd.c 		for (i = 0; i < im->sy; i++) {
sy                245 ext/gd/libgd/gd.c 		for (i = 0; i < im->sy; i++) {
sy                622 ext/gd/libgd/gd.c 	for (y = 0; y < to->sy; y++) {
sy               1021 ext/gd/libgd/gd.c 	for (py = 0; py < im->sy; py++) {
sy               1306 ext/gd/libgd/gd.c 	if (y1 >= im->sy && y2 >= im->sy) {
sy               1309 ext/gd/libgd/gd.c 	if (y1 >= im->sy) {
sy               1310 ext/gd/libgd/gd.c 		x1 -= ((im->sy - y1) * (x1 - x2)) / (y2 - y1);
sy               1311 ext/gd/libgd/gd.c 		y1 = im->sy - 1;
sy               1313 ext/gd/libgd/gd.c 	if (y2 >= im->sy) {
sy               1314 ext/gd/libgd/gd.c 		x2 -= ((im->sy - y2) * (x1 - x2)) / (y2 - y1);
sy               1315 ext/gd/libgd/gd.c 		y2 = im->sy - 1;
sy               1365 ext/gd/libgd/gd.c 			if ((y >> 16) + 1 < im->sy) {
sy               1778 ext/gd/libgd/gd.c 	if (y >= im->sy) {
sy               1779 ext/gd/libgd/gd.c 		y = im->sy - 1;
sy               1822 ext/gd/libgd/gd.c 	if (y < ((im->sy) - 1)) {
sy               1854 ext/gd/libgd/gd.c #define FILL_MAX ((int)(im->sy*im->sx)/4)
sy               1890 ext/gd/libgd/gd.c 	wx2=im->sx;wy2=im->sy;
sy               1911 ext/gd/libgd/gd.c 		} while(iy++ < (im->sy -1));
sy               1915 ext/gd/libgd/gd.c 	stack = (struct seg *)safe_emalloc(sizeof(struct seg), ((int)(im->sy*im->sx)/4), 1);
sy               1973 ext/gd/libgd/gd.c 	wx2=im->sx;wy2=im->sy;
sy               1977 ext/gd/libgd/gd.c 	pts = (char **) ecalloc(im->sy + 1, sizeof(char *));
sy               1978 ext/gd/libgd/gd.c 	for (i = 0; i < im->sy + 1; i++) {
sy               1982 ext/gd/libgd/gd.c 	stack = (struct seg *)safe_emalloc(sizeof(struct seg), ((int)(im->sy*im->sx)/4), 1);
sy               2024 ext/gd/libgd/gd.c 	for(i = 0; i < im->sy + 1; i++) {
sy               2476 ext/gd/libgd/gd.c 			double sx, sy;
sy               2482 ext/gd/libgd/gd.c 			sy = sy1;
sy               2485 ext/gd/libgd/gd.c 				if (floor_cast(sy) == floor_cast(sy1)) {
sy               2486 ext/gd/libgd/gd.c 					yportion = 1.0f - (sy - floor_cast(sy));
sy               2490 ext/gd/libgd/gd.c 					sy = floor_cast(sy);
sy               2491 ext/gd/libgd/gd.c 				} else if (sy == floorf(sy2)) {
sy               2513 ext/gd/libgd/gd.c 					p = gdImageGetTrueColorPixel(src, (int) sx + srcX, (int) sy + srcY);
sy               2527 ext/gd/libgd/gd.c 				sy += 1.0f;
sy               2530 ext/gd/libgd/gd.c 			while (sy < sy2);
sy               2793 ext/gd/libgd/gd.c 	int sx, sy;
sy               2815 ext/gd/libgd/gd.c 	sy = im1->sy;
sy               2816 ext/gd/libgd/gd.c 	if (im1->sy != im2->sy) {
sy               2818 ext/gd/libgd/gd.c 		if (im2->sy < im1->sy) {
sy               2819 ext/gd/libgd/gd.c 			sy = im2->sy;
sy               2827 ext/gd/libgd/gd.c 	for (y = 0; y < sy; y++) {
sy               2995 ext/gd/libgd/gd.c 	if (y1 >= im->sy) {
sy               2996 ext/gd/libgd/gd.c 		y1 = im->sy - 1;
sy               3001 ext/gd/libgd/gd.c 	if (y2 >= im->sy) {
sy               3002 ext/gd/libgd/gd.c 		y2 = im->sy - 1;
sy               3032 ext/gd/libgd/gd.c 		const unsigned int sy = gdImageSY(src);
sy               3035 ext/gd/libgd/gd.c 		src->tpixels = (int **) gdMalloc(sizeof(int *) * sy);
sy               3040 ext/gd/libgd/gd.c 		for (y = 0; y < sy; y++) {
sy                173 ext/gd/libgd/gd.h 	int sy;
sy                348 ext/gd/libgd/gd.h gdImagePtr gdImageCreate(int sx, int sy);
sy                354 ext/gd/libgd/gd.h gdImagePtr gdImageCreateTrueColor(int sx, int sy);
sy                729 ext/gd/libgd/gd.h #define gdImageSY(im) ((im)->sy)
sy                 29 ext/gd/libgd/gd_color.c 	if( (im1->sx != im2->sx) || (im1->sy != im2->sy) ) {
sy                 40 ext/gd/libgd/gd_color.c 		for( y=0; y<im1->sy; y++ ) {
sy                 65 ext/gd/libgd/gd_crop.c 	if (crop->x < 0 || crop->x>=src->sx || crop->y<0 || crop->y>=src->sy) {
sy                 73 ext/gd/libgd/gd_crop.c 	if ((src->sy - crop->height) < crop->y) {
sy                 74 ext/gd/libgd/gd_crop.c 		crop->height = src->sy - crop->y;
sy                 30 ext/gd/libgd/gd_filter.c 	for (y=0; y<src->sy; ++y) {
sy                 62 ext/gd/libgd/gd_filter.c 	for (y=0; y<src->sy; ++y) {
sy                 99 ext/gd/libgd/gd_filter.c 	for (y=0; y<src->sy; ++y) {
sy                145 ext/gd/libgd/gd_filter.c 	for (y=0; y<src->sy; ++y) {
sy                200 ext/gd/libgd/gd_filter.c 	for (y=0; y<src->sy; ++y) {
sy                244 ext/gd/libgd/gd_filter.c 	srcback = gdImageCreateTrueColor (src->sx, src->sy);
sy                253 ext/gd/libgd/gd_filter.c 	gdImageCopy(srcback, src,0,0,0,0,src->sx,src->sy);
sy                257 ext/gd/libgd/gd_filter.c 	for ( y=0; y<src->sy; y++) {
sy                263 ext/gd/libgd/gd_filter.c 				int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1);
sy                310 ext/gd/libgd/gd_filter.c 	srcback = gdImageCreateTrueColor (src->sx, src->sy);
sy                314 ext/gd/libgd/gd_filter.c 	gdImageCopy(srcback, src,0,0,0,0,src->sx,src->sy);
sy                318 ext/gd/libgd/gd_filter.c 	for(y = 0; y<src->sy; y++) {
sy                 97 ext/gd/libgd/gd_gd.c static gdImagePtr _gdCreateFromFile (gdIOCtx * in, int *sx, int *sy)
sy                117 ext/gd/libgd/gd_gd.c 	if (!gdGetWord(sy, in)) {
sy                121 ext/gd/libgd/gd_gd.c 	GD2_DBG(printf("Image is %dx%d\n", *sx, *sy));
sy                124 ext/gd/libgd/gd_gd.c 		im = gdImageCreateTrueColor(*sx, *sy);
sy                126 ext/gd/libgd/gd_gd.c 		im = gdImageCreate(*sx, *sy);
sy                167 ext/gd/libgd/gd_gd.c 	int sx, sy;
sy                172 ext/gd/libgd/gd_gd.c 	im = _gdCreateFromFile(in, &sx, &sy);
sy                181 ext/gd/libgd/gd_gd.c 		for (y = 0; y < sy; y++) {
sy                191 ext/gd/libgd/gd_gd.c 		for (y = 0; y < sy; y++) {
sy                242 ext/gd/libgd/gd_gd.c 	gdPutWord(im->sy, out);
sy                253 ext/gd/libgd/gd_gd.c 	for (y = 0; y < im->sy; y++) {
sy                 54 ext/gd/libgd/gd_gd2.c static int _gd2GetHeader(gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** chunkIdx)
sy                 98 ext/gd/libgd/gd_gd2.c 	if (!gdGetWord(sy, in)) {
sy                102 ext/gd/libgd/gd_gd2.c 	GD2_DBG(php_gd_error("Image is %dx%d", *sx, *sy));
sy                165 ext/gd/libgd/gd_gd2.c static gdImagePtr _gd2CreateFromFile (gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** cidx)
sy                169 ext/gd/libgd/gd_gd2.c 	if (_gd2GetHeader (in, sx, sy, cs, vers, fmt, ncx, ncy, cidx) != 1) {
sy                175 ext/gd/libgd/gd_gd2.c 		im = gdImageCreateTrueColor(*sx, *sy);
sy                177 ext/gd/libgd/gd_gd2.c 		im = gdImageCreate(*sx, *sy);
sy                251 ext/gd/libgd/gd_gd2.c 	int sx, sy;
sy                269 ext/gd/libgd/gd_gd2.c 	if (!(im = _gd2CreateFromFile(in, &sx, &sy, &cs, &vers, &fmt, &ncx, &ncy, &chunkIdx))) {
sy                302 ext/gd/libgd/gd_gd2.c 			if (yhi > im->sy) {
sy                303 ext/gd/libgd/gd_gd2.c 				yhi = im->sy;
sy                635 ext/gd/libgd/gd_gd2.c 	gdPutWord(im->sy, out);
sy                680 ext/gd/libgd/gd_gd2.c 	ncy = im->sy / cs + 1;
sy                717 ext/gd/libgd/gd_gd2.c 	GD2_DBG(php_gd_error("Size: %dx%d", im->sx, im->sy));
sy                724 ext/gd/libgd/gd_gd2.c 			if (yhi > im->sy) {
sy                725 ext/gd/libgd/gd_gd2.c 				yhi = im->sy;
sy                135 ext/gd/libgd/gd_gif_out.c 		out, tim->sx, tim->sy, tim->interlace, 0, tim->transparent, BitsPerPixel,
sy                749 ext/gd/libgd/gd_interpolation.c 	int sy = (int)(y);
sy                751 ext/gd/libgd/gd_interpolation.c 	const double yf = y - (double)sy;
sy                760 ext/gd/libgd/gd_interpolation.c 	const int c1 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy, bgColor)         : getPixelOverflowPalette(im, sx, sy, bgColor);
sy                761 ext/gd/libgd/gd_interpolation.c 	const int c2 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy, bgColor)     : getPixelOverflowPalette(im, sx - 1, sy, bgColor);
sy                762 ext/gd/libgd/gd_interpolation.c 	const int c3 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy - 1, bgColor)     : getPixelOverflowPalette(im, sx, sy - 1, bgColor);
sy                763 ext/gd/libgd/gd_interpolation.c 	const int c4 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy - 1, bgColor) : getPixelOverflowPalette(im, sx, sy - 1, bgColor);
sy                767 ext/gd/libgd/gd_interpolation.c 	if (y < 0) sy--;
sy               1114 ext/gd/libgd/gd_interpolation.c 	const float dy = (float)im->sy / (float)new_height;
sy               1659 ext/gd/libgd/gd_interpolation.c 			im_scaled = gdImageScaleTwoPass(src, src->sx, src->sy, new_width, new_height);
sy                194 ext/gd/libgd/gd_jpeg.c 	cinfo.image_height = im->sy;
sy                228 ext/gd/libgd/gd_jpeg.c 		for (i = 0; i < im->sy; i++) {
sy                243 ext/gd/libgd/gd_jpeg.c 		for (i = 0; i < im->sy; i++) {
sy                 14 ext/gd/libgd/gd_pixelate.c 		for (y = 0; y < im->sy; y += block_size) {
sy                 24 ext/gd/libgd/gd_pixelate.c 		for (y = 0; y < im->sy; y += block_size) {
sy                468 ext/gd/libgd/gd_png.c 	int height = im->sy;
sy                140 ext/gd/libgd/gd_rotate.c 	for (i = 0; i < src->sy; i++) {
sy                186 ext/gd/libgd/gd_rotate.c 		if ((iYPos >= 0) && (iYPos < dst->sy)) {
sy                194 ext/gd/libgd/gd_rotate.c 	if (i < dst->sy) {
sy                199 ext/gd/libgd/gd_rotate.c 	while (++i < dst->sy) {
sy                218 ext/gd/libgd/gd_rotate.c 	dst = gdImageCreateTrueColor(src->sy, src->sx);
sy                228 ext/gd/libgd/gd_rotate.c 		for (uY = 0; uY<src->sy; uY++) {
sy                239 ext/gd/libgd/gd_rotate.c 					gdImageSetPixel(dst, uY, (dst->sy - uX - 1), dst->transparent);
sy                241 ext/gd/libgd/gd_rotate.c 					gdImageSetPixel(dst, uY, (dst->sy - uX - 1), c);
sy                265 ext/gd/libgd/gd_rotate.c 	dst = gdImageCreateTrueColor(src->sx, src->sy);
sy                275 ext/gd/libgd/gd_rotate.c 		for (uY = 0; uY<src->sy; uY++) {
sy                287 ext/gd/libgd/gd_rotate.c 					gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), dst->transparent);
sy                289 ext/gd/libgd/gd_rotate.c 					gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), c);
sy                313 ext/gd/libgd/gd_rotate.c 	dst = gdImageCreateTrueColor (src->sy, src->sx);
sy                323 ext/gd/libgd/gd_rotate.c 		for (uY = 0; uY<src->sy; uY++) {
sy                362 ext/gd/libgd/gd_rotate.c 	newx = (int)(src->sx + src->sy * fabs(dTan));
sy                363 ext/gd/libgd/gd_rotate.c 	newy = src->sy;
sy                384 ext/gd/libgd/gd_rotate.c 		gdImageCopy (dst1, src,0,0,0,0,src->sx,src->sy);
sy                403 ext/gd/libgd/gd_rotate.c 	for (u = 0; u < dst1->sy; u++) {
sy                407 ext/gd/libgd/gd_rotate.c 			dShear = ((double)(u - dst1->sy) + 0.5) * dTan;
sy                434 ext/gd/libgd/gd_rotate.c 	newy = (int) ((double) src->sx * fabs( dSinE ) + (double) src->sy * cos (dRadAngle))+1;
sy                465 ext/gd/libgd/gd_rotate.c 	newx = (int) ((double)src->sy * fabs (dSinE) + (double)src->sx * cos (dRadAngle)) + 1;
sy                466 ext/gd/libgd/gd_rotate.c 	newy = dst2->sy;
sy                495 ext/gd/libgd/gd_rotate.c 	for (u = 0; u < dst3->sy; u++, dOffset += dTan) {
sy                361 ext/gd/libgd/gd_topal.c   int num_rows = oim->sy;
sy               1291 ext/gd/libgd/gd_topal.c   int num_rows = oim->sy;
sy               1396 ext/gd/libgd/gd_topal.c   int num_rows = oim->sy;
sy               1791 ext/gd/libgd/gd_topal.c     nim = gdImageCreate(oim->sx, oim->sy);
sy               1803 ext/gd/libgd/gd_topal.c         gdImageCopy(nim, oim, 0, 0, 0, 0, oim->sx, oim->sy);
sy               1820 ext/gd/libgd/gd_topal.c     nim->pixels = gdCalloc (sizeof (unsigned char *), oim->sy);
sy               1826 ext/gd/libgd/gd_topal.c     for (i = 0; (i < nim->sy); i++)
sy               2010 ext/gd/libgd/gd_topal.c     for (i = 0; i < oim->sy; i++)
sy               2024 ext/gd/libgd/gd_topal.c         for (i = 0; i < nim->sy; i++)
sy                  8 ext/gd/libgd/gd_transform.c 		for (y = 0; y < im->sy / 2; y++) {
sy                 10 ext/gd/libgd/gd_transform.c 			int *row_src = im->tpixels[im->sy - 1 - y];
sy                 14 ext/gd/libgd/gd_transform.c 				row_dst[x] = im->tpixels[im->sy - 1 - y][x];
sy                 20 ext/gd/libgd/gd_transform.c 		for (y = 0; y < im->sy / 2; y++) {
sy                 23 ext/gd/libgd/gd_transform.c 				im->pixels[y][x] =	im->pixels[im->sy - 1 - y][x];
sy                 24 ext/gd/libgd/gd_transform.c 				im->pixels[im->sy - 1 - y][x] = p;
sy                 39 ext/gd/libgd/gd_transform.c 		for (y = 0; y < im->sy; y++) {
sy                 53 ext/gd/libgd/gd_transform.c 		for (y = 0; y < im->sy; y++) {
sy                704 ext/gd/libgd/gdft.c 		if (y >= im->sy || y < 0) {
sy                144 ext/gd/libgd/xbm.c 				if (y == im->sy) {
sy                176 ext/gd/libgd/xbm.c 	int x, y, c, b, sx, sy, p;
sy                207 ext/gd/libgd/xbm.c 	sy = gdImageSY(image);
sy                208 ext/gd/libgd/xbm.c 	for (y = 0; y < sy; y++) {
sy                213 ext/gd/libgd/xbm.c 			if ((b == 128) || (x == sx && y == sy)) {