/PHP-8.1/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 | 199 im->sx = sx; in gdImageCreate() 251 im->sx = sx; in gdImageCreateTrueColor() 2574 sx = sx1; in gdImageCopyResampled() 2580 xportion = 1.0f - (sx - floor_cast(sx)); in gdImageCopyResampled() 2584 sx = floor_cast(sx); in gdImageCopyResampled() 2601 sx += 1.0f; in gdImageCopyResampled() 2869 int sx, sy; in gdImageCompare() local 2883 sx = im1->sx; in gdImageCompare() 2884 if (im1->sx != im2->sx) { in gdImageCompare() 2886 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 (sizeof (unsigned char *), oim->sx); in gdImageTrueColorToPaletteBody() 1541 arraysize = (size_t) ((nim->sx + 2) * (3 * sizeof (FSERROR))); in gdImageTrueColorToPaletteBody()
|
H A D | gd_interpolation.c | 691 int sx = (int)(x); in getPixelInterpolateWeight() local 693 const double xf = x - (double)sx; in getPixelInterpolateWeight() 703 …1 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy, bgColor) : getPixelOverflowPalette… in getPixelInterpolateWeight() 704 …2 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy, bgColor) : getPixelOverflowPalette… in getPixelInterpolateWeight() 705 …3 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy - 1, bgColor) : getPixelOverflowPalette… in getPixelInterpolateWeight() 706 …4 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy - 1, bgColor) : getPixelOverflowPalette… in getPixelInterpolateWeight() 709 if (x < 0) sx--; in getPixelInterpolateWeight() 1081 const float dx = (float)im->sx / (float)new_width; in gdImageScaleNearestNeighbour() 1588 im_scaled = gdImageScaleTwoPass(src, src->sx, src->sy, new_width, new_height); in gdImageScale() 2139 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); 766 #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 | 736 if (x >= im->sx || x < 0) {
|
/PHP-8.1/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-8.1/ext/oci8/tests/ |
H A D | xmltype_01.phpt | 57 $sx = simplexml_load_string($data); 58 $sx->Hardness = $sx->Hardness - 1; 59 $sx->Nice = 'Y'; 67 $lob->writeTemporary($sx->asXml());
|
H A D | xmltype_02.phpt | 74 $sx = simplexml_load_string($row[0]->load()); 76 var_dump($sx); 78 $sx->Docks -= 1; // change the data 80 var_dump($sx); 90 $lob->writeTemporary($sx->asXml());
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | bug53903.phpt | 19 stream_wrapper_register('sx', 'sw') or die('failed'); 21 fstat(fopen('sx://test', 'r'));
|
/PHP-8.1/Zend/ |
H A D | zend_strtod.c | 2177 ULong *bx, *bxe, q, *sx, *sxe; local 2194 sx = S->x; 2195 sxe = sx + --n; 2221 si = *sx++; 2231 ys = *sx++ * q + carry; 2239 while(sx <= sxe); 2252 sx = S->x; 2255 ys = *sx++ + carry; 2262 si = *sx++; 2272 ys = *sx++ + carry; [all …]
|
/PHP-8.1/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-8.1/build/ |
H A D | config.sub | 1263 | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
|
H A D | ltmain.sh | 797 *.sx) xform=sx ;;
|