/php-src/ext/calendar/ |
H A D | cal_unix.c | 63 …if (uday < 2440588 || (uday - 2440588) > (ZEND_LONG_MAX / SECS_PER_DAY)) { /* before beginning of … in PHP_FUNCTION() 64 …zend_value_error("jday must be between 2440588 and " ZEND_LONG_FMT, ZEND_LONG_MAX / SECS_PER_DAY +… in PHP_FUNCTION()
|
H A D | easter.c | 36 const zend_long max_year = (zend_long)(ZEND_LONG_MAX / 5) * 4; in _cal_easter()
|
H A D | jewish.c | 438 if (chk > (ZEND_LONG_MAX - NEW_MOON_OF_CREATION) / (HALAKIM_PER_METONIC_CYCLE & 0xFFFF)) { in MoladOfMetonicCycle() 449 if (chk > (ZEND_LONG_MAX - (r1 >> 16)) / ((HALAKIM_PER_METONIC_CYCLE >> 16) & 0xFFFF)) { in MoladOfMetonicCycle()
|
/php-src/Zend/ |
H A D | zend_long.h | 35 # define ZEND_LONG_MAX INT64_MAX macro 45 # define ZEND_LONG_MAX INT32_MAX macro
|
H A D | zend_operators.h | 112 # define ZEND_DOUBLE_FITS_LONG(d) (!((d) > (double)ZEND_LONG_MAX || (d) < (double)ZEND_LONG_MIN)) 115 # define ZEND_DOUBLE_FITS_LONG(d) (!((d) >= (double)ZEND_LONG_MAX || (d) < (double)ZEND_LONG_MIN)) 136 return (d > 0 ? ZEND_LONG_MAX : ZEND_LONG_MIN); in zend_dval_to_lval_cap() 541 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function() 552 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function() 565 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function() 570 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function() 578 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function() 583 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MAX)) { in fast_long_increment_function() 585 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
|
H A D | zend_vm_trace_handlers.h | 42 if (EXPECTED(Z_LVAL_P(zv) < ZEND_LONG_MAX)) { in zend_vm_trace()
|
H A D | zend_list.c | 39 } else if (index == ZEND_LONG_MAX) { in zend_list_insert()
|
H A D | zend_multiply.h | 144 if (__result > ZEND_LONG_MAX || __result < ZEND_LONG_MIN) { \
|
H A D | zend_ini.c | 742 if (is_negative && retval == ((zend_ulong)ZEND_LONG_MAX +1)) { in zend_ini_parse_quantity_internal() 810 overflow = (zend_long)retval > ZEND_LONG_MAX / (zend_long)factor; in zend_ini_parse_quantity_internal()
|
/php-src/ext/intl/collator/ |
H A D | collator_is_numeric.c | 169 cutoff = neg ? -(zend_ulong)ZEND_LONG_MIN : ZEND_LONG_MAX; in collator_u_strtol() 193 acc = neg ? ZEND_LONG_MIN : ZEND_LONG_MAX; in collator_u_strtol()
|
/php-src/ext/mysqli/ |
H A D | mysqli_prop.c | 79 if (l < ZEND_LONG_MAX) {\ 94 ZEND_ASSERT(l < ZEND_LONG_MAX);\ 184 if (rc < ZEND_LONG_MAX) { in link_affected_rows_read() 323 if (rc < ZEND_LONG_MAX) { in stmt_affected_rows_read()
|
H A D | mysqli_priv.h | 80 if ((__val) < ZEND_LONG_MAX) { \
|
/php-src/ext/shmop/ |
H A D | shmop.c | 200 if (shm.shm_segsz > ZEND_LONG_MAX) { in PHP_FUNCTION() 241 if (count < 0 || start > (ZEND_LONG_MAX - count) || start + count > shmop->size) { in PHP_FUNCTION()
|
/php-src/Zend/Optimizer/ |
H A D | zend_inference.h | 85 return ZEND_LONG_MAX; \ 210 return (b > 0 && a > ZEND_LONG_MAX - b) in DEFINE_SSA_OP_INFO() 215 || (b < 0 && a > ZEND_LONG_MAX + b); in zend_sub_will_overflow()
|
H A D | zend_inference.c | 810 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range() 835 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range() 867 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range() 893 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range() 1082 tmp->min = ZEND_LONG_MAX; in zend_inference_calc_range() 1534 tmp->max = ZEND_LONG_MAX; in zend_inference_propagate_range() 1540 tmp->max = ZEND_LONG_MAX; in zend_inference_propagate_range() 1545 tmp->max = ZEND_LONG_MAX; in zend_inference_propagate_range() 1606 max = ZEND_LONG_MAX; in zend_inference_init_range() 1631 r->max = ZEND_LONG_MAX; in zend_inference_widening_meet() [all …]
|
/php-src/ext/intl/formatter/ |
H A D | formatter_parse.c | 78 if(val64 > ZEND_LONG_MAX || val64 < ZEND_LONG_MIN) { in PHP_FUNCTION()
|
/php-src/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 118 #if ZEND_LONG_MAX > 2147483647 in pdo_sqlite_stmt_param_hook() 275 if (i > ZEND_LONG_MAX || i < ZEND_LONG_MIN) { in pdo_sqlite_stmt_get_col()
|
/php-src/main/ |
H A D | main_arginfo.h | 35 REGISTER_LONG_CONSTANT("PHP_INT_MAX", ZEND_LONG_MAX, CONST_PERSISTENT); in register_main_symbols()
|
/php-src/ext/sockets/ |
H A D | sendrecvmsg.c | 314 size_t _rem_size = ZEND_LONG_MAX - entry->size; in PHP_FUNCTION() 319 || total_size > ZEND_LONG_MAX in PHP_FUNCTION()
|
/php-src/ext/dom/ |
H A D | nodelist.c | 109 …basep, nodep, objmap->ns, objmap->local, objmap->local_lower, &count, ZEND_LONG_MAX - 1 /* because… in php_dom_get_nodelist_length()
|
/php-src/ext/standard/ |
H A D | math.c | 784 return ZEND_LONG_MAX; in _php_math_basetolong() 820 cutoff = ZEND_LONG_MAX / base; in _php_math_basetozval() 821 cutlim = ZEND_LONG_MAX % base; in _php_math_basetozval()
|
H A D | file.c | 506 if (len > ZEND_LONG_MAX) { in PHP_FUNCTION() 507 …cref(NULL, E_WARNING, "content truncated from %zu to " ZEND_LONG_FMT " bytes", len, ZEND_LONG_MAX); in PHP_FUNCTION() 508 len = ZEND_LONG_MAX; in PHP_FUNCTION() 1859 } else if (len < 0 || len > (ZEND_LONG_MAX - 1)) { in PHP_FUNCTION() 1860 zend_argument_value_error(2, "must be between 0 and " ZEND_LONG_FMT, (ZEND_LONG_MAX - 1)); in PHP_FUNCTION()
|
/php-src/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 655 if(aInt64 > ZEND_LONG_MAX || aInt64 < -ZEND_LONG_MAX) { in umsg_parse_helper()
|
/php-src/ext/sqlite3/ |
H A D | sqlite3.c | 638 if (val > ZEND_LONG_MAX || val < ZEND_LONG_MIN) { in sqlite_value_to_zval() 777 #if ZEND_LONG_MAX > 2147483647 in sqlite3_do_callback() 820 #if ZEND_LONG_MAX > 2147483647 in sqlite3_do_callback() 1521 #if ZEND_LONG_MAX > 2147483647 in php_sqlite3_bind_params()
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_module.c | 86 if (UNEXPECTED(memsize > ZEND_LONG_MAX / (1024 * 1024))) { in ZEND_INI_MH() 87 *p = ZEND_LONG_MAX & ~(1024 * 1024 - 1); in ZEND_INI_MH()
|