/php-src/ext/gd/libgd/ |
H A D | gd_gd.c | 103 if (!gdGetWord(sx, in)) { in _gdCreateFromFile() 106 if (*sx == 65535 || *sx == 65534) { in _gdCreateFromFile() 110 if (*sx == 65534) { in _gdCreateFromFile() 113 if (!gdGetWord(sx, in)) { in _gdCreateFromFile() 126 im = gdImageCreate(*sx, *sy); in _gdCreateFromFile() 167 int sx, sy; in gdImageCreateFromGdCtx() local 172 im = _gdCreateFromFile(in, &sx, &sy); in gdImageCreateFromGdCtx() 182 for (x = 0; x < sx; x++) { in gdImageCreateFromGdCtx() 192 for (x = 0; x < sx; x++) { in gdImageCreateFromGdCtx() 241 gdPutWord(im->sx, out); in _gdPutHeader() [all …]
|
H A D | gd_transform.c | 11 for (x = 0; x < im->sx; x++) { in gdImageFlipVertical() 21 for (x = 0; x < im->sx; x++) { in gdImageFlipVertical() 41 px2 = im->tpixels[y] + im->sx - 1; in gdImageFlipHorizontal() 42 for (x = 0; x < (im->sx >> 1); x++) { in gdImageFlipHorizontal() 55 px2 = im->pixels[y] + im->sx - 1; in gdImageFlipHorizontal() 56 for (x = 0; x < (im->sx >> 1); x++) { in gdImageFlipHorizontal()
|
H A D | gd_rotate.c | 42 if (i < dst->sx) { in gdImageSkewX() 46 for (i = 0; i < src->sx; i++) { in gdImageSkewX() 91 if ((i + iOffset >= 0) && (i + iOffset < dst->sx)) { in gdImageSkewX() 100 if (i < dst->sx) { in gdImageSkewX() 108 while (++i < dst->sx) { in gdImageSkewX() 214 dst = gdImageCreateTrueColor(src->sy, src->sx); in gdImageRotate90() 225 for (uX = 0; uX<src->sx; uX++) { in gdImageRotate90() 261 dst = gdImageCreateTrueColor(src->sx, src->sy); in gdImageRotate180() 272 for (uX = 0; uX<src->sx; uX++) { in gdImageRotate180() 309 dst = gdImageCreateTrueColor (src->sy, src->sx); in gdImageRotate270() [all …]
|
H A D | gd_color_match.c | 24 if( (im1->sx != im2->sx) || (im1->sy != im2->sy) ) { in gdImageColorMatch() 34 for (x=0; x<im1->sx; x++) { in gdImageColorMatch()
|
H A D | gd_xbm.c | 144 if (x == im->sx) { in gdImageCreateFromXbm() 179 int x, y, c, b, sx, sy, p; in gdImageXbmCtx() local 209 sx = gdImageSX(image); in gdImageXbmCtx() 212 for (x = 0; x < sx; x++) { in gdImageXbmCtx() 216 if ((b == 128) || (x == sx - 1)) { in gdImageXbmCtx()
|
H A D | gd_filter.c | 71 for (x = 0; x < im->sx; x++) { in gdImageScatterEx() 93 for (x = 0; x < im->sx; x++) { in gdImageScatterEx() 129 for (x=0; x<src->sx; ++x) { in gdImageNegate() 166 for (x=0; x<src->sx; ++x) { in gdImageGrayScale() 205 for (x=0; x<src->sx; ++x) { in gdImageBrightness() 251 for (x=0; x<src->sx; ++x) { in gdImageContrast() 306 for (x=0; x<src->sx; ++x) { in gdImageColor() 358 gdImageCopy(srcback, src,0,0,0,0,src->sx,src->sy); in gdImageConvolution() 363 for(x=0; x<src->sx; x++) { in gdImageConvolution() 420 gdImageCopy(srcback, src,0,0,0,0,src->sx,src->sy); in gdImageSelectiveBlur() [all …]
|
H A D | gd_gd2.c | 95 if (!gdGetWord(sx, in)) { in _gd2GetHeader() 103 GD2_DBG(gd_error("Image is %dx%d", *sx, *sy)); in _gd2GetHeader() 193 im = gdImageCreateTrueColor(*sx, *sy); in _gd2CreateFromFile() 195 im = gdImageCreate(*sx, *sy); in _gd2CreateFromFile() 269 int sx, sy; in gdImageCreateFromGd2Ctx() local 340 if (xhi > im->sx) { in gdImageCreateFromGd2Ctx() 341 xhi = im->sx; in gdImageCreateFromGd2Ctx() 656 gdPutWord(im->sx, out); in _gd2PutHeader() 701 ncx = (im->sx + cs - 1) / cs; in _gdImageGd2() 756 if (xhi > im->sx) { in _gdImageGd2() [all …]
|
H A D | gd.c | 169 im->sx = sx; in gdImageCreate() 221 im->sx = sx; in gdImageCreateTrueColor() 2628 sx = sx1; in gdImageCopyResampled() 2634 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled() 2638 sx = floor_cast(sx); in gdImageCopyResampled() 2655 sx += 1.0f; in gdImageCopyResampled() 2923 int sx, sy; in gdImageCompare() local 2937 sx = im1->sx; in gdImageCompare() 2938 if (im1->sx != im2->sx) { in gdImageCompare() 2940 if (im2->sx < im1->sx) { in gdImageCompare() [all …]
|
H A D | gd_pixelate.c | 15 for (x = 0; x < im->sx; x += block_size) { in gdImagePixelate() 25 for (x = 0; x < im->sx; x += block_size) { in gdImagePixelate()
|
H A D | gd_topal.c | 323 int width = oim->sx; in prescan_quantize() 1139 int width = oim->sx; in pass2_no_dither() 1204 int width = oim->sx; in pass2_fs_dither() 1472 nim = gdImageCreate(oim->sx, oim->sy); in gdImageTrueColorToPaletteBody() 1484 gdImageCopy(nim, oim, 0, 0, 0, 0, oim->sx, oim->sy); in gdImageTrueColorToPaletteBody() 1509 nim->pixels[i] = gdCalloc (oim->sx, sizeof (unsigned char *)); in gdImageTrueColorToPaletteBody() 1541 arraysize = (size_t) ((nim->sx + 2) * (3 * sizeof (FSERROR))); in gdImageTrueColorToPaletteBody()
|
H A D | gd_interpolation.c | 681 int sx = (int)(x); in getPixelInterpolateWeight() local 683 const double xf = x - (double)sx; in getPixelInterpolateWeight() 693 …1 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy, bgColor) : getPixelOverflowPalette… in getPixelInterpolateWeight() 694 …2 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy, bgColor) : getPixelOverflowPalette… in getPixelInterpolateWeight() 695 …3 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy - 1, bgColor) : getPixelOverflowPalette… in getPixelInterpolateWeight() 696 …4 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy - 1, bgColor) : getPixelOverflowPalette… in getPixelInterpolateWeight() 699 if (x < 0) sx--; in getPixelInterpolateWeight() 1101 const float dx = (float)im->sx / (float)new_width; in gdImageScaleNearestNeighbour() 1608 im_scaled = gdImageScaleTwoPass(src, src->sx, src->sy, new_width, new_height); in gdImageScale() 2159 gdImagePtr dst = gdImageCreateTrueColor(src->sx, src->sy); in gdImageRotateInterpolated() [all …]
|
H A D | gd_bmp.c | 119 bitmap_size = ((im->sx * (im->trueColor ? 24 : 8)) / 8) * im->sy; in gdImageBmpCtx() 144 gdBMPPutInt(out, im->sx); /* width */ in gdImageBmpCtx() 156 padding = ((int)(im->trueColor ? 3 : 1) * im->sx) % 4; in gdImageBmpCtx() 184 for (xpos = 0; xpos < im->sx; xpos++) { in gdImageBmpCtx() 235 for (xpos = 0; xpos < im->sx; xpos++) { in gdImageBmpCtx()
|
H A D | gd.h | 173 int sx; member 340 gdImagePtr gdImageCreate(int sx, int sy); 346 gdImagePtr gdImageCreateTrueColor(int sx, int sy); 768 #define gdImageSX(im) ((im)->sx)
|
H A D | gd_jpeg.c | 202 cinfo.image_width = im->sx; in _gdImageJpegCtx() 243 for (jidx = 0, j = 0; j < im->sx; j++) { in _gdImageJpegCtx() 258 for (jidx = 0, j = 0; j < im->sx; j++) { in _gdImageJpegCtx()
|
H A D | gd_gif_out.c | 147 out, tim->sx, tim->sy, interlace, 0, tim->transparent, BitsPerPixel, in _gdImageGifCtx()
|
H A D | gd_png.c | 492 int width = im->sx; in gdImagePngCtxEx()
|
H A D | gdft.c | 746 if (x >= im->sx || x < 0) {
|
/php-src/ext/gd/tests/ |
H A D | imagefttext.phpt | 17 $sx = imagesx($im); 23 imagefilledrectangle($im, 0, 0, $sx - 1, $sy - 1, $colour_b); 28 for ($x = 0; $x < $sx; ++$x) { 38 return ($cnt < ($sx * $sy));
|
/php-src/ext/standard/tests/streams/ |
H A D | bug53903.phpt | 20 stream_wrapper_register('sx', 'sw') or die('failed'); 22 fstat(fopen('sx://test', 'r'));
|
/php-src/Zend/ |
H A D | zend_strtod.c | 2169 ULong *bx, *bxe, q, *sx, *sxe; local 2186 sx = S->x; 2187 sxe = sx + --n; 2213 si = *sx++; 2223 ys = *sx++ * q + carry; 2231 while(sx <= sxe); 2244 sx = S->x; 2247 ys = *sx++ + carry; 2254 si = *sx++; 2264 ys = *sx++ + carry; [all …]
|
/php-src/ext/pcre/tests/ |
H A D | bug76514.phpt | 495 (?P<property>'.preg_quote('"require"').'\s*:\s*)(?P<value>(?&json))(?P<end>.*)}sx', $str, $match);
|
/php-src/build/ |
H A D | config.sub | 1434 | sx* \
|
H A D | ltmain.sh | 797 *.sx) xform=sx ;;
|
/php-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 40947 >>&0 regex [0-9]+ (%sx
|
H A D | magic | 40947 >>&0 regex [0-9]+ (%sx
|