Home
last modified time | relevance | path

Searched refs:ZEND_LONG_MAX (Results 1 – 25 of 51) sorted by relevance

123

/php-src/ext/calendar/
H A Dcal_unix.c63 …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 Deaster.c36 const zend_long max_year = (zend_long)(ZEND_LONG_MAX / 5) * 4; in _cal_easter()
H A Djewish.c438 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 Dzend_long.h35 # define ZEND_LONG_MAX INT64_MAX macro
45 # define ZEND_LONG_MAX INT32_MAX macro
H A Dzend_operators.h112 # 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 Dzend_vm_trace_handlers.h42 if (EXPECTED(Z_LVAL_P(zv) < ZEND_LONG_MAX)) { in zend_vm_trace()
H A Dzend_list.c39 } else if (index == ZEND_LONG_MAX) { in zend_list_insert()
H A Dzend_multiply.h144 if (__result > ZEND_LONG_MAX || __result < ZEND_LONG_MIN) { \
H A Dzend_ini.c742 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 Dcollator_is_numeric.c169 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 Dmysqli_prop.c79 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 Dmysqli_priv.h80 if ((__val) < ZEND_LONG_MAX) { \
/php-src/ext/shmop/
H A Dshmop.c200 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 Dzend_inference.h85 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 Dzend_inference.c810 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 Dformatter_parse.c78 if(val64 > ZEND_LONG_MAX || val64 < ZEND_LONG_MIN) { in PHP_FUNCTION()
/php-src/ext/pdo_sqlite/
H A Dsqlite_statement.c118 #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 Dmain_arginfo.h35 REGISTER_LONG_CONSTANT("PHP_INT_MAX", ZEND_LONG_MAX, CONST_PERSISTENT); in register_main_symbols()
/php-src/ext/sockets/
H A Dsendrecvmsg.c314 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 Dnodelist.c109 …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 Dmath.c784 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 Dfile.c506 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 Dmsgformat_helpers.cpp655 if(aInt64 > ZEND_LONG_MAX || aInt64 < -ZEND_LONG_MAX) { in umsg_parse_helper()
/php-src/ext/sqlite3/
H A Dsqlite3.c638 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 Dzend_accelerator_module.c86 if (UNEXPECTED(memsize > ZEND_LONG_MAX / (1024 * 1024))) { in ZEND_INI_MH()
87 *p = ZEND_LONG_MAX & ~(1024 * 1024 - 1); in ZEND_INI_MH()

Completed in 77 milliseconds

123