Searched refs:MIN (Results 1 - 25 of 71) sorted by relevance

123

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dbcmath.h72 #ifdef MIN
73 #undef MIN macro
77 #define MIN(a, b) ((a)>(b)?(b):(a)) macro
H A Dcompare.c87 count = n1->n_len + MIN (n1->n_scale, n2->n_scale);
H A Ddiv.c112 n1->n_len + MIN(n1->n_scale,scale));
H A Ddoaddsub.c152 min_len = MIN (n1->n_len, n2->n_len);
153 min_scale = MIN (n1->n_scale, n2->n_scale);
H A Draise.c81 rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale));
H A Dsqrt.c114 cscale = MIN (cscale*3, rscale+1);
H A Dstr2num.c70 strscale = MIN(strscale, scale);
H A Drecmul.c101 n2ptr = (char *) (n2end - MIN(indx, n2len-1));
274 the result being MIN(N2 scale+N1 scale, MAX (SCALE, N2 scale, N1 scale)).
288 prod_scale = MIN(full_scale,MAX(scale,MAX(n1->n_scale,n2->n_scale)));
/PHP_TRUNK/sapi/cli/
H A Dphp_http_parser.c26 #ifndef MIN
27 # define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
1434 to_read = MIN(pe - p, (size_t)parser->content_length);
1519 to_read = MIN(pe - p, (size_t)(parser->content_length));
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_config.h60 #ifndef MIN
61 # define MIN(a,b) (((a)<(b))?(a):(b)) macro
H A Dfpm_process_ctl.c404 children_to_fork = MIN(wp->idle_spawn_rate, wp->config->pm_min_spare_servers - idle);
407 children_to_fork = MIN(children_to_fork, wp->config->pm_max_children - wp->running_children);
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_filter.c263 int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1);
265 pxl = f(srcback, MIN(MAX(x - 1 + i, 0), src->sx - 1), yv);
H A Dgd_intern.h3 #ifndef MIN
4 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
6 #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c)))
H A Dgdtestft.c9 #define MIN(x,y) ((x) < (y) ? (x) : (y)) macro
14 ((MIN((x),(y))) < (MIN((z),(w))) ? (MIN((x),(y))) : (MIN((z),(w))))
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregerror.c235 len = MIN((end - s), buf_size);
/PHP_TRUNK/ext/standard/
H A Dcrypt_sha256.c55 #ifndef MIN
56 # define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
378 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX));
383 salt_len = MIN(strcspn(salt, "$"), SALT_LEN_MAX);
531 cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len));
532 buflen -= MIN((size_t) MAX (0, buflen), salt_len);
H A Dcrypt_sha512.c43 #ifndef MIN
44 # define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
412 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX));
417 salt_len = MIN(strcspn(salt, "$"), SALT_LEN_MAX);
566 cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len));
567 buflen -= (int) MIN((size_t) MAX(0, buflen), salt_len);
H A Dcrypt.c274 memcpy(salt, salt_in, MIN(PHP_MAX_SALT_LEN, salt_in_len));
292 salt_in_len = MIN(PHP_MAX_SALT_LEN, salt_in_len);
/PHP_TRUNK/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp70 if (zend_parse_parameters(MIN(ZEND_NUM_ARGS(), 2) TSRMLS_CC,
/PHP_TRUNK/ext/opcache/
H A Dshared_alloc_shm.c42 #ifndef MIN
43 # define MIN(x, y) ((x) > (y)? (y) : (x)) macro
76 allocate_size = MIN(requested_size, seg_allocate_size);
102 allocate_size = MIN(remaining_bytes, seg_allocate_size);
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c204 max_read = MIN(count_bytes, SG(request_info).content_length);
208 max_read = MIN(count_bytes, (SG(request_info).content_length - rc->read_post_bytes));
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c58 ret = fwrite(str, 1, MIN(str_length, 16384), stdout);
/PHP_TRUNK/sapi/pi3web/
H A Dpi3web_sapi.c220 read_from_buf = MIN(lpCB->cbAvailable-SG(read_post_bytes), count_bytes);
228 read_from_input = MIN(count_bytes-read_from_buf, lpCB->cbTotalBytes-SG(read_post_bytes)-read_from_buf);
/PHP_TRUNK/Zend/
H A Dzend_operators.c2168 retval = memcmp(s1, s2, MIN(len1, len2));
2184 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2)));
2186 return (MIN(length, len1) - MIN(length, len2));
2202 len = MIN(len1, len2);
2223 len = MIN(length, MIN(len1, len2));
2232 return MIN(length, len1) - MIN(lengt
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h120 #ifndef MIN
121 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro

Completed in 45 milliseconds

123