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

123

/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/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_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);
H A Dcrypt.c299 memcpy(salt, salt_in, MIN(PHP_MAX_SALT_LEN, salt_in_len));
317 salt_in_len = MIN(PHP_MAX_SALT_LEN, salt_in_len);
/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 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 Dsqrt.c114 cscale = MIN (cscale*3, rscale+1);
H A Dstr2num.c70 strscale = MIN(strscale, scale);
/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/embed/
H A Dphp_embed.c62 ret = fwrite(str, 1, MIN(str_length, 16384), stdout);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h120 #ifndef MIN
121 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregerror.c235 len = MIN((end - s), buf_size);
/PHP_TRUNK/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp82 if (zend_parse_parameters_ex(zpp_flags, MIN(ZEND_NUM_ARGS(), 2),
/PHP_TRUNK/Zend/
H A Dzend_portability.h407 #undef MIN macro
410 #define MIN(a, b) (((a)<(b))?(a):(b)) macro
H A Dzend_string.h196 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN(len, ZSTR_LEN(s)) + 1);
255 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN((n * m) + l, ZSTR_LEN(s)) + 1);
H A Dzend_operators.c2479 retval = memcmp(s1, s2, MIN(len1, len2));
2495 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2)));
2497 return (int)(MIN(length, len1) - MIN(length, len2));
2513 len = MIN(len1, len2);
2534 len = MIN(length, MIN(len1, len2));
2543 return (int)(MIN(length, len1) - MIN(lengt
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_debug.c70 i = MIN(level, sizeof(pipe_buffer) / 2 - 1);
167 i = MIN(level, sizeof(pipe_buffer) / 2 - 1);
573 unsigned int func_name_len = MIN(sizeof(func_name) - 1, j - i - 1);
/PHP_TRUNK/ext/phar/
H A Dphar_internal.h534 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len);
535 len = MIN(entry->phar->fname_len, tmp_len);
537 len = MIN(tmp_len - len, entry->filename_len);

Completed in 44 milliseconds

123