Searched refs:threshold (Results 1 - 4 of 4) sorted by relevance

/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_alloc.c82 long * threshold = &MYSQLND_G(debug_emalloc_fail_threshold); local
95 if (*threshold) {
99 --*threshold;
100 } else if (*threshold == 0) {
122 long * threshold = persistent? &MYSQLND_G(debug_malloc_fail_threshold):&MYSQLND_G(debug_emalloc_fail_threshold); local
135 if (*threshold) {
139 --*threshold;
140 } else if (*threshold == 0) {
165 long * threshold = &MYSQLND_G(debug_ecalloc_fail_threshold); local
179 if (*threshold) {
206 long * threshold = persistent? &MYSQLND_G(debug_calloc_fail_threshold):&MYSQLND_G(debug_ecalloc_fail_threshold); local
249 long * threshold = &MYSQLND_G(debug_erealloc_fail_threshold); local
290 long * threshold = persistent? &MYSQLND_G(debug_realloc_fail_threshold):&MYSQLND_G(debug_erealloc_fail_threshold); local
396 long * threshold = &MYSQLND_G(debug_malloc_fail_threshold); local
435 long * threshold = &MYSQLND_G(debug_calloc_fail_threshold); local
474 long * threshold = &MYSQLND_G(debug_realloc_fail_threshold); local
[all...]
/PHP_5_6/ext/gd/libgd/
H A Dgd_crop.c8 * The threshold method works relatively well but it can be improved.
28 static int gdColorMatch(gdImagePtr im, int col1, int col2, float threshold);
210 * Crop an image using a given color. The threshold argument defines
219 * threshold - tolerance (0..100)
227 gdImagePtr gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold) argument
242 if (threshold > 1.0) {
253 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0;
269 match = (gdColorMatch(im, color, gdImageGetPixel(im, x, y), threshold)) > 0;
282 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0;
290 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) >
344 gdColorMatch(gdImagePtr im, int col1, int col2, float threshold) argument
[all...]
H A Dgd.h838 gdImagePtr gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold);
/PHP_5_6/ext/gd/
H A Dgd.c143 static void _php_image_bw_convert(gdImagePtr im_org, gdIOCtx *out, int threshold);
791 ZEND_ARG_INFO(0, threshold)
850 ZEND_ARG_INFO(0, threshold)
2567 /* The quality parameter for Wbmp stands for the threshold when called from image2wbmp() */
2601 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid threshold value '%d'. It must be between 0 and 255", q);
2653 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid threshold value '%d'. It must be between 0 and 255", q);
4356 /* {{{ proto bool image2wbmp(resource im [, string filename [, int threshold]])
4365 /* {{{ proto bool jpeg2wbmp (string f_org, string f_dest, int d_height, int d_width, int threshold)
4375 /* {{{ proto bool png2wbmp (string f_org, string f_dest, int d_height, int d_width, int threshold)
4385 * It converts a gd Image to bw using a threshold valu
4386 _php_image_bw_convert(gdImagePtr im_org, gdIOCtx *out, int threshold) argument
4441 long height, width, threshold; local
5065 double threshold = 0.5f; local
[all...]

Completed in 16 milliseconds