Home
last modified time | relevance | path

Searched refs:sx (Results 1 – 25 of 25) sorted by relevance

/PHP-8.1/ext/gd/libgd/
H A Dgd_gd.c103 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 Dgd_transform.c11 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 Dgd_rotate.c42 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 Dgd_color_match.c24 if( (im1->sx != im2->sx) || (im1->sy != im2->sy) ) { in gdImageColorMatch()
34 for (x=0; x<im1->sx; x++) { in gdImageColorMatch()
H A Dgd_xbm.c144 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 Dgd_filter.c71 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 Dgd_gd2.c95 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 Dgd.c199 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 Dgd_pixelate.c15 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 Dgd_topal.c323 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 Dgd_interpolation.c691 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 Dgd_bmp.c119 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 Dgd.h173 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 Dgd_jpeg.c202 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 Dgd_gif_out.c147 out, tim->sx, tim->sy, interlace, 0, tim->transparent, BitsPerPixel, in _gdImageGifCtx()
H A Dgd_png.c492 int width = im->sx; in gdImagePngCtxEx()
H A Dgdft.c736 if (x >= im->sx || x < 0) {
/PHP-8.1/ext/gd/tests/
H A Dimagefttext.phpt17 $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 Dxmltype_01.phpt57 $sx = simplexml_load_string($data);
58 $sx->Hardness = $sx->Hardness - 1;
59 $sx->Nice = 'Y';
67 $lob->writeTemporary($sx->asXml());
H A Dxmltype_02.phpt74 $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 Dbug53903.phpt19 stream_wrapper_register('sx', 'sw') or die('failed');
21 fstat(fopen('sx://test', 'r'));
/PHP-8.1/Zend/
H A Dzend_strtod.c2177 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 Dbug76514.phpt495 (?P<property>'.preg_quote('"require"').'\s*:\s*)(?P<value>(?&json))(?P<end>.*)}sx', $str, $match);
/PHP-8.1/build/
H A Dconfig.sub1263 | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
H A Dltmain.sh797 *.sx) xform=sx ;;

Completed in 105 milliseconds