Searched refs:threshold (Results 1 – 15 of 15) sorted by relevance
/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_alloc.c | 90 if (*threshold == 0) { in _mysqlnd_emalloc() 94 --*threshold; in _mysqlnd_emalloc() 126 if (*threshold == 0) { in _mysqlnd_pemalloc() 130 --*threshold; in _mysqlnd_pemalloc() 170 --*threshold; in _mysqlnd_ecalloc() 206 --*threshold; in _mysqlnd_pecalloc() 247 --*threshold; in _mysqlnd_erealloc() 285 --*threshold; in _mysqlnd_perealloc() 387 --*threshold; in _mysqlnd_malloc() 422 --*threshold; in _mysqlnd_calloc() [all …]
|
/PHP-8.0/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 | bug72494.phpt | 19 …gecropauto(): Argument #4 ($color) must be greater than or equal to 0 when using the threshold mode
|
H A D | bug77198_threshold.phpt | 2 Bug #77198 (threshold cropping has insufficient precision)
|
/PHP-8.0/Zend/tests/ |
H A D | gc_037.phpt | 21 ["threshold"]=> 31 ["threshold"]=>
|
/PHP-8.0/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-8.0/Zend/ |
H A D | zend_gc.h | 28 uint32_t threshold; member
|
H A D | zend_gc.c | 1631 status->threshold = GC_G(gc_threshold); in zend_gc_get_status()
|
H A D | zend_builtin_functions.c | 145 add_assoc_long_ex(return_value, "threshold", sizeof("threshold")-1, (long)status.threshold); in ZEND_FUNCTION()
|
/PHP-8.0/ext/gd/ |
H A D | gd.stub.php | 241 function imagecropauto(GdImage $image, int $mode = IMG_CROP_DEFAULT, float $threshold = 0.5, int $c… argument
|
H A D | gd_arginfo.h | 524 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, threshold, IS_DOUBLE, 0, "0.5")
|
H A D | gd.c | 3637 double threshold = 0.5f; in PHP_FUNCTION() local 3641 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|ldl", &IM, gd_image_ce, &mode, &threshold, &color) =… in PHP_FUNCTION() 3661 im_crop = gdImageCropThreshold(im, color, (float) threshold); in PHP_FUNCTION()
|
/PHP-8.0/ext/mbstring/libmbfl/ |
H A D | LICENSE | 257 threshold for this to be true is not precisely defined by law.
|
/PHP-8.0/ext/bcmath/libbcmath/ |
H A D | LICENSE | 260 threshold for this to be true is not precisely defined by law.
|
Completed in 71 milliseconds