/php-src/ext/gd/libgd/ |
H A D | gd_intern.h | 7 #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 D | gdtestft.c | 8 #define MAX(x,y) ((x) > (y) ? (x) : (y)) macro 12 ((MAX((x),(y))) > (MAX((z),(w))) ? (MAX((x),(y))) : (MAX((z),(w))))
|
H A D | gd_interpolation.c | 74 #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 D | bug63635.phpt | 21 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 D | bug69017.phpt | 10 const MAX = PHP_INT_MAX; 13 public static $a3 = array(self::MAX => 'zero');
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | add.c | 60 sum = bc_new_num (1, MAX(scale_min, MAX(n1->n_scale, n2->n_scale))); in bc_add()
|
H A D | sub.c | 60 size_t res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale)); in bc_sub()
|
H A D | doaddsub.c | 44 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 D | divmod.c | 56 rscale = MAX (num1->n_scale, num2->n_scale + scale); in bc_divmod()
|
H A D | recmul.c | 251 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 D | bcmath.h | 72 #undef MAX 74 #define MAX(a, b) ((a)>(b)?(a):(b)) macro
|
H A D | sqrt.c | 65 size_t rscale = MAX(scale, local_num->n_scale); in bc_sqrt()
|
H A D | raise.c | 67 rscale = MIN (base->n_scale * exponent, MAX(scale, base->n_scale)); in bc_raise()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_config.h | 63 #ifndef MAX 64 # define MAX(a,b) (((a)>(b))?(a):(b)) macro
|
/php-src/ext/opcache/tests/opt/ |
H A D | gh11170.phpt | 69 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 D | fuzzer-mbstring.c | 94 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 D | crypt_sha256.c | 43 #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 D | crypt_sha512.c | 35 #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 D | formatted_print.c | 95 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 D | bug69975.phpt | 12 odbc_exec($conn, 'CREATE TABLE bug69975 (ID INT, VARCHAR_COL NVARCHAR(MAX))');
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_block_alloc.c | 43 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 D | mbfl_memory_device.c | 45 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 D | bug80783a.phpt | 19 $db->exec("CREATE TABLE bug80783a (name NVARCHAR(MAX))");
|
/php-src/ext/date/lib/ |
H A D | timelib.c | 253 #undef MAX 254 #define MAX(a, b) (((a)>(b))?(a):(b)) macro 303 #undef MAX
|
/php-src/ext/dom/ |
H A D | internal_helpers.h | 75 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()
|