Home
last modified time | relevance | path

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

123

/php-src/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.c74 #ifndef MAX
75 #define MAX(a,b) ((a)<(b)?(b):(a)) macro
77 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c)))
1099 const unsigned long new_width = MAX(1, width); in gdImageScaleNearestNeighbour()
1100 const unsigned long new_height = MAX(1, height); in gdImageScaleNearestNeighbour()
1154 long _width = MAX(1, new_width); in gdImageScaleBilinearPalette()
1155 long _height = MAX(1, new_height); in gdImageScaleBilinearPalette()
1256 long dst_w = MAX(1, new_width); in gdImageScaleBilinearTC()
1257 long dst_h = MAX(1, new_height); in gdImageScaleBilinearTC()
1354 const long new_width = MAX(1, width); in gdImageScaleBicubicFixed()
[all …]
/php-src/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-src/ext/bcmath/libbcmath/src/
H A Dadd.c60 sum = bc_new_num (1, MAX(scale_min, MAX(n1->n_scale, n2->n_scale))); in bc_add()
H A Dsub.c60 size_t res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale)); in bc_sub()
H A Ddoaddsub.c44 size_t sum_len = MAX(n1->n_len, n2->n_len) + 1; in _bc_do_add()
45 size_t sum_scale = MAX(n1->n_scale, n2->n_scale); in _bc_do_add()
177 size_t diff_scale = MAX(n1->n_scale, n2->n_scale); in _bc_do_sub()
H A Ddivmod.c56 rscale = MAX (num1->n_scale, num2->n_scale + scale); in bc_divmod()
H A Drecmul.c251 size_t prod_scale = MIN(full_scale, MAX(scale, MAX(n1->n_scale, n2->n_scale))); in bc_multiply()
277 size_t prod_scale = MIN(full_scale, MAX(scale, n1->n_scale)); in bc_square()
H A Dbcmath.h72 #undef MAX
74 #define MAX(a, b) ((a)>(b)?(a):(b)) macro
H A Dsqrt.c65 size_t rscale = MAX(scale, local_num->n_scale); in bc_sqrt()
H A Draise.c67 rscale = MIN (base->n_scale * exponent, MAX(scale, base->n_scale)); in bc_raise()
/php-src/sapi/fpm/fpm/
H A Dfpm_config.h63 #ifndef MAX
64 # define MAX(a,b) (((a)>(b))?(a):(b)) macro
/php-src/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-src/sapi/fuzzer/
H A Dfuzzer-mbstring.c94 bufsize1 = MAX(bufsize1, MBSTRING_MIN_WCHAR_BUFSIZE); in LLVMFuzzerTestOneInput()
95 bufsize2 = MAX(bufsize2, MBSTRING_MIN_WCHAR_BUFSIZE); in LLVMFuzzerTestOneInput()
/php-src/ext/standard/
H A Dcrypt_sha256.c43 #ifndef MAX
44 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
509 cp = __php_stpncpy(buffer, sha256_salt_prefix, MAX(0, buflen)); in php_sha256_crypt_r()
514 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
516 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
522 cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in php_sha256_crypt_r()
523 buflen -= MIN(MAX (0, buflen), (int)salt_len); in php_sha256_crypt_r()
H A Dcrypt_sha512.c35 #ifndef MAX
36 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
548 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen)); in php_sha512_crypt_r()
553 int n = _snprintf(cp, MAX(0, buflen), "%s" ZEND_ULONG_FMT "$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
555 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
561 cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); in php_sha512_crypt_r()
562 buflen -= (int) MIN((size_t) MAX(0, buflen), salt_len); in php_sha512_crypt_r()
H A Dformatted_print.c95 m_width = MAX(min_width, copy_len); in php_sprintf_appendstring()
520 max_missing_argnum = MAX(max_missing_argnum, width_argnum); in php_formatted_print()
564 max_missing_argnum = MAX(max_missing_argnum, prec_argnum); in php_formatted_print()
606 max_missing_argnum = MAX(max_missing_argnum, argnum); in php_formatted_print()
/php-src/ext/odbc/tests/
H A Dbug69975.phpt12 odbc_exec($conn, 'CREATE TABLE bug69975 (ID INT, VARCHAR_COL NVARCHAR(MAX))');
/php-src/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-src/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-src/ext/pdo_odbc/tests/
H A Dbug80783a.phpt19 $db->exec("CREATE TABLE bug80783a (name NVARCHAR(MAX))");
/php-src/ext/date/lib/
H A Dtimelib.c253 #undef MAX
254 #define MAX(a, b) (((a)>(b))?(a):(b)) macro
303 #undef MAX
/php-src/ext/dom/
H A Dinternal_helpers.h75 doc_ptr->cache_tag.modification_nr = MAX(dom_minimum_modification_nr_since_parsing(doc_ptr) + 1, in dom_mark_document_cache_as_modified_since_parsing()

Completed in 36 milliseconds

123