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

123

/PHP_TRUNK/ext/bcmath/libbcmath/src/
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)));
H A Dbcmath.h72 #ifdef MIN
73 #undef MIN macro
77 #define MIN(a, b) ((a)>(b)?(b):(a)) macro
/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_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/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/ext/fileinfo/libmagic/
H A Dfile.h120 #ifndef MIN
121 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
/PHP_TRUNK/Zend/
H A Dzend_portability.h369 #undef MIN macro
372 #define MIN(a, b) (((a)<(b))?(a):(b)) macro
H A Dzend_operators.c2324 retval = memcmp(s1, s2, MIN(len1, len2));
2340 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2)));
2342 return (int)(MIN(length, len1) - MIN(length, len2));
2358 len = MIN(len1, len2);
2379 len = MIN(length, MIN(len1, len2));
2388 return (int)(MIN(length, len1) - MIN(lengt
[all...]
/PHP_TRUNK/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp72 if (zend_parse_parameters(MIN(ZEND_NUM_ARGS(), 2) TSRMLS_CC,
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_debug.c79 i = MIN(level, sizeof(pipe_buffer) / 2 - 1);
177 i = MIN(level, sizeof(pipe_buffer) / 2 - 1);
584 unsigned int func_name_len = MIN(sizeof(func_name) - 1, j - i - 1);
/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/ext/standard/
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.c276 memcpy(salt, salt_in, MIN(PHP_MAX_SALT_LEN, salt_in_len));
294 salt_in_len = MIN(PHP_MAX_SALT_LEN, salt_in_len);
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(MAX (0, buflen), (int)salt_len);
/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);

Completed in 22 milliseconds

123