Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 126) sorted by last modified time

123456

/PHP-7.4/
H A DNEWS383 0-width fullstring match). (Kamil Tekiela)
/PHP-7.4/ext/gd/
H A Dgd.c357 ZEND_ARG_INFO(0, width)
2447 zend_long srcx, srcy, width, height; in _php_image_create_from() local
2456 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pllll", &file, &file_len, &srcx, &srcy, &width, &heigh… in _php_image_create_from()
2459 if (width < 1 || height < 1) { in _php_image_create_from()
2504 im = (*ioctx_func_p)(io_ctx, srcx, srcy, width, height); in _php_image_create_from()
2522 im = (*func_p)(fp, srcx, srcy, width, height); in _php_image_create_from()
4179 zend_long height, width, threshold; in _php_image_convert() local
4203 dest_width = width; in _php_image_convert()
4785 rect.width = zval_get_long(tmp); in PHP_FUNCTION()
4981 rect.width = zval_get_long(tmp); in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/gd/libgd/
H A Dgd_png.c129 png_uint_32 width, height, rowbytes, w, h, res_x, res_y; in gdImageCreateFromPngCtx() local
202 im = gdImageCreateTrueColor((int) width, (int) height); in gdImageCreateFromPngCtx()
204 im = gdImageCreate((int) width, (int) height); in gdImageCreateFromPngCtx()
382 for (w = 0; w < width; w++) { in gdImageCreateFromPngCtx()
395 for (w = 0; w < width; w++) { in gdImageCreateFromPngCtx()
414 for (w = 0; w < width; ++w) { in gdImageCreateFromPngCtx()
487 int width = im->sx; in gdImagePngCtxEx() local
719 *prow_pointers = (png_bytep) safe_emalloc(width, channels, 0); in gdImagePngCtxEx()
722 for (i = 0; i < width; ++i) { in gdImagePngCtxEx()
754 row_pointers[j] = (png_bytep) gdMalloc(width); in gdImagePngCtxEx()
[all …]
H A Dgd_interpolation.c1335 const long new_width = MAX(1, width); in gdImageScaleBicubicFixed()
1603 src_area.width = gdImageSX(src); in gdRotatedImageSize()
1631 new_width = bbox.width; in gdImageRotateNearestNeighbour()
1699 new_width = bbox.width; in gdImageRotateGeneric()
1756 new_width = bbox.width; in gdImageRotateBilinear()
1874 new_width = bbox.width; in gdImageRotateBicubicFixed()
2199 x1 = r->x + r->width - 1; in gdImageClipRectangle()
2241 area_full.width = gdImageSX(src); in gdTransformAffineGetImage()
2345 end_x = bbox.width + abs(bbox.x); in gdTransformAffineCopy()
2416 extent[1].x=(double) src->width; in gdTransformAffineBoundingBox()
[all …]
H A Dgd_wbmp.c153 if (!(im = gdImageCreate (wbmp->width, wbmp->height))) { in gdImageCreateFromWBMPCtx()
166 for (col = 0; col < wbmp->width; col++) { in gdImageCreateFromWBMPCtx()
H A Dgd_crop.c81 const int width = gdImageSX(im); in gdImageCropAuto() local
90 crop.width = 0; in gdImageCropAuto()
122 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
137 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
144 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
157 crop.width = x - crop.x + 2; in gdImageCropAuto()
183 const int width = gdImageSX(im); in gdImageCropThreshold() local
192 crop.width = 0; in gdImageCropThreshold()
210 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
231 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
[all …]
/PHP-7.4/ext/mbstring/
H A Dmbstring.c339 ZEND_ARG_INFO(0, width)
3091 zend_long from, width, swidth = 0; in PHP_FUNCTION() local
3095 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sll|sS", &str, &str_len, &from, &width, &trimmarker, &… in PHP_FUNCTION()
3110 if ((from < 0) || (width < 0)) { in PHP_FUNCTION()
3123 if (width < 0) { in PHP_FUNCTION()
3124 width = swidth + width - from; in PHP_FUNCTION()
3127 if (width < 0) { in PHP_FUNCTION()
3137 ret = mbfl_strimwidth(&string, &marker, &result, from, width); in PHP_FUNCTION()
/PHP-7.4/ext/standard/tests/image/
H A Dgetimagesize_256_ico.phpt20 string(23) "width="32" height="256""
H A Dbug71848.phpt18 string(20) "width="8" height="8""
H A Dbug72278.phpt20 string(24) "width="300" height="300""
/PHP-7.4/ext/standard/
H A Dimage.c65 unsigned int width; member
866 if ( width && height) { in php_handle_tiff()
870 result->width = width; in php_handle_tiff()
918 result->width = width; in php_handle_iff()
969 width = (width << 7) | (i & 0x7f); in php_get_wbmp()
994 (*result)->width = width; in php_get_wbmp()
1051 if (width) { in php_get_xbm()
1064 if (width && height) { in php_get_xbm()
1067 (*result)->width = width; in php_get_xbm()
1119 if (0 == result->width) in php_handle_ico()
[all …]
H A Dbasic_functions.c2187 ZEND_ARG_INFO(0, width)
/PHP-7.4/ext/pcre/tests/
H A Dbug80866.phpt2 Bug #80866 preg_split ignores limit flag when pattern with \K has 0-width fullstring match
/PHP-7.4/ext/mysqli/tests/
H A D003.phpt35 the display width is ignored.
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2.h970 #error Use 8, 16, or 32; or 0 for a multi-width application.
/PHP-7.4/ext/exif/
H A Dexif.c84 ZEND_ARG_INFO(1, width)
1962 size_t width, height; member
2070 size_t width; member
2692 result->width = php_jpg_get16(Data+5); in exif_process_SOFn()
3957 ImageInfo->Width = sof_info.width; in exif_scan_JPEG_header()
4047 ImageInfo->Thumbnail.width = sof_info.width; in exif_scan_thumbnail()
4688 if (!ImageInfo.Thumbnail.width || !ImageInfo.Thumbnail.height) { in PHP_FUNCTION()
4695 if (ImageInfo.Thumbnail.width && ImageInfo.Thumbnail.height) { in PHP_FUNCTION()
4790 if (!ImageInfo.Thumbnail.width || !ImageInfo.Thumbnail.height) { in PHP_FUNCTION()
4792 ImageInfo.Thumbnail.width = ImageInfo.Thumbnail.height = 0; in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c1623 size_t width; member
1643 if (pc->outwidth > pc->width) { in collector_strimwidth()
1668 size_t width) in mbfl_strimwidth() argument
1681 mbfl_memory_device_init(&pc.device, MIN(string->len, width), 0); in mbfl_strimwidth()
1708 pc.width = width - mkwidth; in mbfl_strimwidth()
1726 pc.width += mkwidth; in mbfl_strimwidth()
1735 } else if (pc.outwidth > pc.width) { in mbfl_strimwidth()
/PHP-7.4/ext/exif/tests/
H A Dfloat_cast_overflow.phpt26 string(20) "width="1" height="1""
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_out.c103 #define PAD( width, len, ch ) do \ argument
106 width-- ; \
108 while ( width > len )
/PHP-7.4/main/
H A Dsnprintf.c566 #define PAD( width, len, ch ) do \ argument
569 width-- ; \
571 while ( (size_t)width > len )
/PHP-7.4/ext/standard/tests/strings/
H A Dwordwrap_error.phpt19 $width = 10;
26 // $width arg as negative value
30 $width = 0;
35 // width as zero and cut as true
36 $width = 0;
42 $width = -10;
47 // width as -ne and cut as true
48 $width = -10;
68 -- width = 0 & cut = false --
70 -- width = 0 & cut = true --
[all …]
H A Dsscanf_basic3.phpt18 list($part, $length, $width, $depth) = sscanf($str, $format);
19 var_dump($part, $length, $width, $depth);
23 $res = sscanf($str, $format, $part, $length, $width, $depth);
24 var_dump($res, $part, $length, $width, $depth);
H A Dmoney_format_basic1.phpt25 // Format with 14 positions of width, 8 digits of
H A Dprintf.phpt201 echo"\n\n*** Output for invalid width(-15) specifier ***\n";
676 *** Output for invalid width(-15) specifier ***
H A Dprintf_64bit.phpt201 echo"\n\n*** Output for invalid width(-15) specifier ***\n";
676 *** Output for invalid width(-15) specifier ***

Completed in 162 milliseconds

123456