Searched refs:MAX (Results 1 - 25 of 35) sorted by relevance

12

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dadd.c73 res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale));
H A Ddivmod.c58 rscale = MAX (num1->n_scale, num2->n_scale+scale);
H A Ddoaddsub.c58 sum_scale = MAX (n1->n_scale, n2->n_scale);
59 sum_digits = MAX (n1->n_len, n2->n_len) + 1;
60 sum = bc_new_num (sum_digits, MAX(sum_scale, scale_min));
150 diff_len = MAX (n1->n_len, n2->n_len);
151 diff_scale = MAX (n1->n_scale, n2->n_scale);
154 diff = bc_new_num (diff_len, MAX(diff_scale, scale_min));
H A Draise.c81 rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale));
H A Draisemod.c77 rscale = MAX(scale, base->n_scale);
H A Dsqrt.c73 rscale = MAX (scale, (*num)->n_scale);
H A Dsub.c74 res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale));
H A Drecmul.c100 n1ptr = (char *) (n1end - MAX(0, indx-n2len+1));
199 n = (MAX(ulen, vlen)+1) / 2;
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.h74 #undef MAX macro
76 #define MAX(a, b) ((a)>(b)?(a):(b)) macro
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_config.h64 #ifndef MAX
65 # define MAX(a,b) (((a)>(b))?(a):(b)) macro
H A Dfpm_process_ctl.c457 fpm_globals.heartbeat = MAX(fpm_globals.heartbeat, FPM_PCTL_MIN_HEARTBEAT);
/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.h7 #ifndef MAX
8 #define MAX(a,b) ((a)<(b)?(b):(a)) macro
10 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c)))
H A Dgdtestft.c8 #define MAX(x,y) ((x) > (y) ? (x) : (y)) macro
12 ((MAX((x),(y))) > (MAX((z),(w))) ? (MAX((x),(y))) : (MAX((z),(w))))
H A Dgd_interpolation.c73 #ifndef MAX
74 #define MAX(a,b) ((a)<(b)?(b):(a)) macro
76 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c)))
930 register int iLeft = MAX(0, (int)floor (dCenter - width_d));
1106 const unsigned long new_width = MAX(1, width);
1107 const unsigned long new_height = MAX(1, height);
1205 long _width = MAX(1, new_width);
1206 long _height = MAX(1, new_height);
1297 long dst_w = MAX(
[all...]
H A Dgdft.c109 #ifndef MAX
110 #define MAX(a,b) ((a)>(b)?(a):(b)) macro
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregint.h203 #ifdef MAX
204 #undef MAX macro
207 #define MAX(a,b) (((a)<(b))?(b):(a)) macro
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h124 #ifndef MAX
125 #define MAX(a,b) (((a) > (b)) ? (a) : (b)) macro
/PHP_TRUNK/ext/sockets/
H A Dmulticast.c806 entry_len = MAX(entry_len, sizeof(*cur_req));
/PHP_TRUNK/ext/standard/
H A Dcrypt_sha512.c46 #ifndef MAX
47 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
412 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX));
553 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen));
558 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha512_rounds_prefix, rounds);
560 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds);
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.c58 #ifndef MAX
59 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
378 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX));
518 cp = __php_stpncpy(buffer, sha256_salt_prefix, MAX(0, buflen));
523 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha256_rounds_prefix, rounds);
525 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds);
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 Dformatted_print.c82 m_width = MAX(min_width, copy_len);
H A Dpack.c348 int arg_cp = (code != 'Z') ? arg : MAX(0, arg - 1);
/PHP_TRUNK/Zend/
H A Dzend_portability.h376 #undef MAX macro
377 #define MAX(a, b) (((a)>(b))?(a):(b)) macro
H A Dzend_alloc.c996 size_t peak = MAX(heap->real_peak, size);
1040 size_t peak = MAX(heap->peak, size);
1119 #ifndef MAX
1120 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
1215 size_t peak = MAX(heap->peak, size);
1286 size = MAX(size, 1);
1525 size_t peak = MAX(heap->peak, size);
1680 size_t peak = MAX(heap->real_peak, size);
1686 size_t peak = MAX(heap->peak, size);

Completed in 58 milliseconds

12