Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 25 of 37) sorted by relevance

12

/PHP-5.5/ext/gd/libgd/
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.c71 #ifndef MAX
72 #define MAX(a,b) ((a)<(b)?(b):(a)) macro
74 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c)))
1135 const unsigned long new_width = MAX(1, width); in gdImageScaleNearestNeighbour()
1136 const unsigned long new_height = MAX(1, height); in gdImageScaleNearestNeighbour()
1234 long _width = MAX(1, new_width); in gdImageScaleBilinearPalette()
1235 long _height = MAX(1, new_height); in gdImageScaleBilinearPalette()
1332 long dst_w = MAX(1, new_width); in gdImageScaleBilinearTC()
1333 long dst_h = MAX(1, new_height); in gdImageScaleBilinearTC()
1428 const long new_width = MAX(1, width); in gdImageScaleBicubicFixed()
[all …]
H A Dgd_filter.c263 int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1); in gdImageConvolution()
265 pxl = f(srcback, MIN(MAX(x - 1 + i, 0), src->sx - 1), yv); in gdImageConvolution()
H A Dgdft.c109 #ifndef MAX
110 #define MAX(a,b) ((a)>(b)?(a):(b)) macro
/PHP-5.5/Zend/tests/
H A Dbug63635.phpt21 define("MAX", 16);
25 for ($i=0 ; $i<MAX ; $i++) {
27 for ($j=0 ; $j<MAX ; $j++) {
29 for ($k=0 ; $k<MAX ; $k++) {
H A Dbug69017.phpt10 const MAX = PHP_INT_MAX;
13 public static $a3 = array(self::MAX => 'zero');
/PHP-5.5/ext/bcmath/libbcmath/src/
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 Dadd.c73 res_scale = MAX (scale_min, MAX(n1->n_scale, n2->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)); in _bc_simp_mul()
199 n = (MAX(ulen, vlen)+1) / 2; in _bc_rec_mul()
288 prod_scale = MIN(full_scale,MAX(scale,MAX(n1->n_scale,n2->n_scale))); in bc_multiply()
H A Dbcmath.h74 #undef MAX
76 #define MAX(a, b) ((a)>(b)?(a):(b)) macro
H A Ddivmod.c58 rscale = MAX (num1->n_scale, num2->n_scale+scale); in bc_divmod()
H A Draisemod.c77 rscale = MAX(scale, base->n_scale); in bc_raisemod()
H A Draise.c81 rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale)); in bc_raise()
H A Dsqrt.c73 rscale = MAX (scale, (*num)->n_scale); in bc_sqrt()
/PHP-5.5/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); in fpm_pctl_heartbeat()
/PHP-5.5/ext/standard/
H A Dcrypt_sha256.c64 #ifndef MAX
65 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
384 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); in php_sha256_crypt_r()
524 cp = __php_stpncpy(buffer, sha256_salt_prefix, MAX(0, buflen)); in php_sha256_crypt_r()
529 int n = _snprintf(cp, MAX(0, buflen), "%s%u$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
531 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
537 cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in php_sha256_crypt_r()
538 buflen -= MIN((size_t) MAX (0, buflen), salt_len); in php_sha256_crypt_r()
H A Dcrypt_sha512.c52 #ifndef MAX
53 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
418 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); in php_sha512_crypt_r()
559 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen)); in php_sha512_crypt_r()
564 int n = _snprintf(cp, MAX(0, buflen), "%s%u$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
566 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
572 cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); in php_sha512_crypt_r()
573 buflen -= (int) MIN((size_t) MAX(0, buflen), salt_len); in php_sha512_crypt_r()
H A Dpack.c327 int arg_cp = (code != 'Z') ? arg : MAX(0, arg - 1); in PHP_FUNCTION()
/PHP-5.5/ext/odbc/tests/
H A Dbug69975.phpt11 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL NVARCHAR(MAX))');
/PHP-5.5/ext/fileinfo/libmagic/
H A Dfile.h124 #ifndef MAX
125 #define MAX(a,b) (((a) > (b)) ? (a) : (b)) macro
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregint.h203 #ifdef MAX
204 #undef MAX
207 #define MAX(a,b) (((a)<(b))?(b):(a)) macro
/PHP-5.5/Zend/
H A Dzend.h568 #undef MAX
569 #define MAX(a, b) (((a)>(b))?(a):(b)) macro

Completed in 193 milliseconds

12