Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 17 of 17) sorted by relevance

/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_alloc.c92 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 Dbug73291.phpt2 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 Djpeg2wbmp_error1.phpt2 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 Dpng2wbmp_error1-mb.phpt2 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 Dpng2wbmp_error1.phpt2 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 Dbug72494.phpt14 Warning: imagecropauto(): Color argument missing with threshold mode in %s on line %d
H A Dbug77198_threshold.phpt2 Bug #77198 (threshold cropping has insufficient precision)
/PHP-7.4/Zend/tests/
H A Dgc_037.phpt20 ["threshold"]=>
30 ["threshold"]=>
/PHP-7.4/ext/gd/libgd/
H A Dgd_crop.c29 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 Dgd.h855 gdImagePtr gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold);
/PHP-7.4/Zend/
H A Dzend_gc.h28 uint32_t threshold; member
H A Dzend_gc.c1616 status->threshold = GC_G(gc_threshold); in zend_gc_get_status()
H A Dzend_builtin_functions.c439 add_assoc_long_ex(return_value, "threshold", sizeof("threshold")-1, (long)status.threshold); in ZEND_FUNCTION()
/PHP-7.4/ext/gd/
H A Dgd.c835 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 DLICENSE257 threshold for this to be true is not precisely defined by law.
/PHP-7.4/ext/bcmath/libbcmath/
H A DLICENSE260 threshold for this to be true is not precisely defined by law.
/PHP-7.4/
H A DNEWS1471 . Fixed bug #73291 (imagecropauto() $threshold differs from external libgd).

Completed in 62 milliseconds