/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_alloc.c | 92 if (*threshold == 0) { in _mysqlnd_emalloc() 96 --*threshold; in _mysqlnd_emalloc() 128 if (*threshold == 0) { in _mysqlnd_pemalloc() 132 --*threshold; in _mysqlnd_pemalloc() 172 --*threshold; in _mysqlnd_ecalloc() 208 --*threshold; in _mysqlnd_pecalloc() 249 --*threshold; in _mysqlnd_erealloc() 287 --*threshold; in _mysqlnd_perealloc() 389 --*threshold; in _mysqlnd_malloc() 424 --*threshold; in _mysqlnd_calloc() [all …]
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug73291.phpt | 2 Bug #73291 (imagecropauto() $threshold differs from external libgd) 19 foreach ([0.1, 0.5, 1.0, 10.0] as $threshold) { 20 $dst = imagecropauto($src, IMG_CROP_THRESHOLD, $threshold, $white);
|
H A D | jpeg2wbmp_error1.phpt | 2 Test jpeg2wbmp() function : wrong threshold value param 37 Warning: jpeg2wbmp(): Invalid threshold value '9' in %s on line %d 41 Warning: jpeg2wbmp(): Invalid threshold value '-1' in %s on line %d
|
H A D | png2wbmp_error1-mb.phpt | 2 Test png2wbmp() function : wrong threshold value param 37 Warning: png2wbmp(): Invalid threshold value '9' in %s on line %d 41 Warning: png2wbmp(): Invalid threshold value '-1' in %s on line %d
|
H A D | png2wbmp_error1.phpt | 2 Test png2wbmp() function : wrong threshold value param 37 Warning: png2wbmp(): Invalid threshold value '9' in %s on line %d 41 Warning: png2wbmp(): Invalid threshold value '-1' in %s on line %d
|
H A D | bug72494.phpt | 14 Warning: imagecropauto(): Color argument missing with threshold mode in %s on line %d
|
H A D | bug77198_threshold.phpt | 2 Bug #77198 (threshold cropping has insufficient precision)
|
/PHP-7.4/Zend/tests/ |
H A D | gc_037.phpt | 20 ["threshold"]=> 30 ["threshold"]=>
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd_crop.c | 29 static int gdColorMatch(gdImagePtr im, int col1, int col2, float threshold); 181 gdImagePtr gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold) in gdImageCropThreshold() argument 196 if (threshold > 100.0) { in gdImageCropThreshold() 211 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold() 225 match = (gdColorMatch(im, color, gdImageGetPixel(im, x, y), threshold)) > 0; in gdImageCropThreshold() 233 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold() 241 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold() 295 static int gdColorMatch(gdImagePtr im, int col1, int col2, float threshold) in gdColorMatch() argument 303 return (100.0 * dist / 195075) < threshold; in gdColorMatch()
|
H A D | gd.h | 855 gdImagePtr gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold);
|
/PHP-7.4/Zend/ |
H A D | zend_gc.h | 28 uint32_t threshold; member
|
H A D | zend_gc.c | 1616 status->threshold = GC_G(gc_threshold); in zend_gc_get_status()
|
H A D | zend_builtin_functions.c | 439 add_assoc_long_ex(return_value, "threshold", sizeof("threshold")-1, (long)status.threshold); in ZEND_FUNCTION()
|
/PHP-7.4/ext/gd/ |
H A D | gd.c | 835 ZEND_ARG_INFO(0, threshold) 4179 zend_long height, width, threshold; in _php_image_convert() local 4196 …GS(), "pplll", &f_org, &f_org_len, &f_dest, &f_dest_len, &height, &width, &threshold) == FAILURE) { in _php_image_convert() 4204 int_threshold = threshold; in _php_image_convert() 4815 double threshold = 0.5f; in PHP_FUNCTION() local 4819 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|ldl", &IM, &mode, &threshold, &color) == FAILURE) { in PHP_FUNCTION() 4845 im_crop = gdImageCropThreshold(im, color, (float) threshold); in PHP_FUNCTION()
|
/PHP-7.4/ext/mbstring/libmbfl/ |
H A D | LICENSE | 257 threshold for this to be true is not precisely defined by law.
|
/PHP-7.4/ext/bcmath/libbcmath/ |
H A D | LICENSE | 260 threshold for this to be true is not precisely defined by law.
|
/PHP-7.4/ |
H A D | NEWS | 1471 . Fixed bug #73291 (imagecropauto() $threshold differs from external libgd).
|