Home
last modified time | relevance | path

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

12

/PHP-8.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.c84 #ifndef MAX
85 #define MAX(a,b) ((a)<(b)?(b):(a)) macro
87 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c)))
1079 const unsigned long new_width = MAX(1, width); in gdImageScaleNearestNeighbour()
1080 const unsigned long new_height = MAX(1, height); in gdImageScaleNearestNeighbour()
1134 long _width = MAX(1, new_width); in gdImageScaleBilinearPalette()
1135 long _height = MAX(1, new_height); in gdImageScaleBilinearPalette()
1236 long dst_w = MAX(1, new_width); in gdImageScaleBilinearTC()
1237 long dst_h = MAX(1, new_height); in gdImageScaleBilinearTC()
1334 const long new_width = MAX(1, width); in gdImageScaleBicubicFixed()
[all …]
/PHP-8.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-8.1/ext/bcmath/libbcmath/src/
H A Ddoaddsub.c57 sum_scale = MAX (n1->n_scale, n2->n_scale);
58 sum_digits = MAX (n1->n_len, n2->n_len) + 1;
59 sum = bc_new_num (sum_digits, MAX(sum_scale, scale_min));
149 diff_len = MAX (n1->n_len, n2->n_len);
150 diff_scale = MAX (n1->n_scale, n2->n_scale);
153 diff = bc_new_num (diff_len, MAX(diff_scale, scale_min));
H A Dadd.c72 res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale));
H A Dsub.c73 res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale));
H A Drecmul.c88 n1ptr = (char *) (n1end - MAX(0, indx-n2len+1)); in _bc_simp_mul()
187 n = (MAX(ulen, vlen)+1) / 2; in _bc_rec_mul()
276 prod_scale = MIN(full_scale,MAX(scale,MAX(n1->n_scale,n2->n_scale))); in bc_multiply()
H A Dbcmath.h73 #undef MAX
75 #define MAX(a, b) ((a)>(b)?(a):(b)) macro
H A Ddivmod.c57 rscale = MAX (num1->n_scale, num2->n_scale+scale); in bc_divmod()
H A Draisemod.c83 rscale = MAX(scale, power->n_scale); in bc_raisemod()
H A Draise.c86 rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale)); in bc_raise()
H A Dsqrt.c72 rscale = MAX (scale, (*num)->n_scale); in bc_sqrt()
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_config.h63 #ifndef MAX
64 # define MAX(a,b) (((a)>(b))?(a):(b)) macro
/PHP-8.1/ext/opcache/tests/opt/
H A Dgh11170.phpt69 0002 #3.T3 [long] RANGE[MIN..MAX] = MOD #2.V2 [long] int(10)
70 0003 JMPZ #3.T3 [long] RANGE[MIN..MAX] BB2
115 0002 #3.T3 [long] RANGE[MIN..MAX] = MOD #2.V2 [long] int(10)
116 0003 JMPZ #3.T3 [long] RANGE[MIN..MAX] BB2
/PHP-8.1/ext/standard/
H A Dcrypt_sha256.c49 #ifndef MAX
50 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
506 cp = __php_stpncpy(buffer, sha256_salt_prefix, MAX(0, buflen)); in php_sha256_crypt_r()
511 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
513 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
519 cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in php_sha256_crypt_r()
520 buflen -= MIN(MAX (0, buflen), (int)salt_len); in php_sha256_crypt_r()
H A Dcrypt_sha512.c37 #ifndef MAX
38 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
541 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen)); in php_sha512_crypt_r()
546 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
548 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
554 cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); in php_sha512_crypt_r()
555 buflen -= (int) MIN((size_t) MAX(0, buflen), salt_len); in php_sha512_crypt_r()
H A Dformatted_print.c98 m_width = MAX(min_width, copy_len); in php_sprintf_appendstring()
523 max_missing_argnum = MAX(max_missing_argnum, width_argnum); in php_formatted_print()
567 max_missing_argnum = MAX(max_missing_argnum, prec_argnum); in php_formatted_print()
609 max_missing_argnum = MAX(max_missing_argnum, argnum); in php_formatted_print()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c43 arena = zend_arena_create(MAX(arena_size, ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena)))); in mysqlnd_mempool_create()
/PHP-8.1/ext/odbc/tests/
H A Dbug69975.phpt13 odbc_exec($conn, 'CREATE TABLE FOO (ID INT, VARCHAR_COL NVARCHAR(MAX))');
/PHP-8.1/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c45 device->allocsz = MAX(allocsz, MBFL_MEMORY_DEVICE_ALLOC_SIZE); in mbfl_memory_device_init()
54 device->allocsz = MAX(allocsz, MBFL_MEMORY_DEVICE_ALLOC_SIZE); in mbfl_memory_device_realloc()
/PHP-8.1/ext/pdo_odbc/tests/
H A Dbug80783a.phpt14 $db->exec("CREATE TABLE bug80783a (name NVARCHAR(MAX))");
/PHP-8.1/ext/date/lib/
H A Dtimelib.c245 #undef MAX
246 #define MAX(a, b) (((a)>(b))?(a):(b)) macro
295 #undef MAX
/PHP-8.1/Zend/Optimizer/
H A Dzend_inference.c739 tmp->max = MAX(b, d); in zend_ssa_range_and()
768 *abs_max = MAX(max, -min); in zend_abs_range()
884 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
916 tmp->max = MAX(MAX(MAX(t1, t2), MAX(t3, t4)), MAX(MAX(t1_, t2_), MAX(t3_, t4_))); in zend_inference_calc_binary_op_range()
953 tmp->min = MAX(op1_min, -op2_abs_max + 1); in zend_inference_calc_binary_op_range()
956 tmp->min = MAX(op1_min, -op2_abs_max + 1); in zend_inference_calc_binary_op_range()
995 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
1036 tmp->max = MAX(MAX(t1, t2), MAX(t3, t4)); in zend_inference_calc_binary_op_range()
4423 tmp_range.max = MAX(tmp_range.max, 0); in zend_func_return_info()
4438 tmp_range.max = MAX(tmp_range.max, 0); in zend_func_return_info()
[all …]

Completed in 88 milliseconds

12