Home
last modified time | relevance | path

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

12

/PHP-7.1/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.c83 #ifndef MAX
84 #define MAX(a,b) ((a)<(b)?(b):(a)) macro
86 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c)))
1157 const unsigned long new_width = MAX(1, width); in gdImageScaleNearestNeighbour()
1158 const unsigned long new_height = MAX(1, height); in gdImageScaleNearestNeighbour()
1260 long _width = MAX(1, new_width); in gdImageScaleBilinearPalette()
1261 long _height = MAX(1, new_height); in gdImageScaleBilinearPalette()
1362 long dst_w = MAX(1, new_width); in gdImageScaleBilinearTC()
1363 long dst_h = MAX(1, new_height); in gdImageScaleBilinearTC()
1462 const long new_width = MAX(1, width); in gdImageScaleBicubicFixed()
[all …]
H A Dgd_filter.c270 int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1); in gdImageConvolution()
272 pxl = f(srcback, MIN(MAX(x - 1 + i, 0), src->sx - 1), yv); in gdImageConvolution()
/PHP-7.1/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-7.1/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 Ddivmod.c58 rscale = MAX (num1->n_scale, num2->n_scale+scale); in bc_divmod()
H A Dbcmath.h74 #undef MAX
76 #define MAX(a, b) ((a)>(b)?(a):(b)) macro
H A Draise.c81 rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale)); in bc_raise()
H A Draisemod.c84 rscale = MAX(scale, power->n_scale); in bc_raisemod()
H A Dsqrt.c73 rscale = MAX (scale, (*num)->n_scale); in bc_sqrt()
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_config.h64 #ifndef MAX
65 # define MAX(a,b) (((a)>(b))?(a):(b)) macro
/PHP-7.1/ext/standard/
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)); in php_sha256_crypt_r()
518 cp = __php_stpncpy(buffer, sha256_salt_prefix, MAX(0, buflen)); in php_sha256_crypt_r()
523 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
525 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
531 cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in php_sha256_crypt_r()
532 buflen -= MIN(MAX (0, buflen), (int)salt_len); in php_sha256_crypt_r()
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)); in php_sha512_crypt_r()
553 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen)); in php_sha512_crypt_r()
558 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
560 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
566 cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); in php_sha512_crypt_r()
567 buflen -= (int) MIN((size_t) MAX(0, buflen), salt_len); in php_sha512_crypt_r()
/PHP-7.1/ext/odbc/tests/
H A Dbug69975.phpt11 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL NVARCHAR(MAX))');
/PHP-7.1/ext/opcache/Optimizer/
H A Dzend_inference.c513 tmp->max = MAX(b, d); in zend_ssa_range_and()
622 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
659 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
686 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
709 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
732 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
836 tmp->min = MAX(constraint->range.min, tmp->min); in zend_inference_calc_range()
3760 tmp_range.max = MAX(tmp_range.max, 0); in zend_func_return_info()
3775 tmp_range.max = MAX(tmp_range.max, 0); in zend_func_return_info()
3790 tmp_range.max = MAX(tmp_range.max, 1); in zend_func_return_info()
[all …]
H A Doptimize_temp_vars_5.c92 max = MAX(max, var + num); in zend_optimize_temporary_variables()
/PHP-7.1/Zend/
H A Dzend_alloc.c1014 size_t peak = MAX(heap->real_peak, size);
1068 size_t peak = MAX(heap->peak, size);
1166 #ifndef MAX
1167 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
1265 size_t peak = MAX(heap->peak, size);
1336 size = MAX(size, 1);
1506 heap->peak = MAX(heap->peak, heap->size);
1590 size_t peak = MAX(heap->peak, size);
1626 heap->peak = MAX(orig_peak, heap->size);
1769 size_t peak = MAX(heap->real_peak, size);
[all …]
H A Dzend_portability.h430 #undef MAX
431 #define MAX(a, b) (((a)>(b))?(a):(b)) macro
/PHP-7.1/ext/fileinfo/libmagic/
H A Dfile.h124 #ifndef MAX
125 #define MAX(a,b) (((a) > (b)) ? (a) : (b)) macro
/PHP-7.1/ext/mbstring/oniguruma/
H A Dregint.h203 #ifdef MAX
204 #undef MAX
207 #define MAX(a,b) (((a)<(b))?(b):(a)) macro

Completed in 76 milliseconds

12