Home
last modified time | relevance | path

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

12

/PHP-7.2/Zend/
H A Dzend_long.h37 # define ZEND_LONG_MAX INT64_MAX macro
47 # define ZEND_LONG_MAX INT32_MAX macro
H A Dzend_operators.h94 # define ZEND_DOUBLE_FITS_LONG(d) (!((d) > (double)ZEND_LONG_MAX || (d) < (double)ZEND_LONG_MIN))
97 # define ZEND_DOUBLE_FITS_LONG(d) (!((d) >= (double)ZEND_LONG_MAX || (d) < (double)ZEND_LONG_MIN))
128 return (d > 0 ? ZEND_LONG_MAX : ZEND_LONG_MIN); in zend_dval_to_lval_cap()
448 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
456 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
487 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MAX)) { in fast_long_increment_function()
489 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
H A Dzend_multiply.h133 if (__result > ZEND_LONG_MAX || __result < ZEND_LONG_MIN) { \
H A Dzend_hash.c766 ht->nNextFreeElement = h < ZEND_LONG_MAX ? h + 1 : ZEND_LONG_MAX; in _zend_hash_index_add_or_update_i()
788 ht->nNextFreeElement = h < ZEND_LONG_MAX ? h + 1 : ZEND_LONG_MAX; in _zend_hash_index_add_or_update_i()
804 ht->nNextFreeElement = h < ZEND_LONG_MAX ? h + 1 : ZEND_LONG_MAX; in _zend_hash_index_add_or_update_i()
2467 if (*idx-1 > ZEND_LONG_MAX) { /* overflow */ in _zend_handle_numeric_str_ex()
2471 } else if (*idx > ZEND_LONG_MAX) { /* overflow */ in _zend_handle_numeric_str_ex()
/PHP-7.2/ext/intl/collator/
H A Dcollator_is_numeric.c176 cutoff = neg ? -(zend_ulong)ZEND_LONG_MIN : ZEND_LONG_MAX;
200 acc = neg ? ZEND_LONG_MIN : ZEND_LONG_MAX;
/PHP-7.2/ext/opcache/Optimizer/
H A Dzend_inference.c590 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
613 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
640 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
677 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
692 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
860 tmp->min = ZEND_LONG_MAX; in zend_inference_calc_range()
1464 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_range()
1469 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_range()
1530 max = ZEND_LONG_MAX; in zend_inference_init_range()
1555 r->max = ZEND_LONG_MAX; in zend_inference_widening_meet()
[all …]
H A Dzend_ssa.c143 pi_range(phi, var, -1, val, ZEND_LONG_MAX, 0, 1, 0); in pi_range_min()
227 return (b > 0 && a > ZEND_LONG_MAX - b) in add_will_overflow()
232 || (b < 0 && a > ZEND_LONG_MAX + b); in sub_will_overflow()
377 if (val2 < ZEND_LONG_MAX) { in place_essa_pis()
400 if (val1 < ZEND_LONG_MAX) { in place_essa_pis()
H A Dzend_inference.h100 return ZEND_LONG_MAX; \
/PHP-7.2/ext/mysqli/
H A Dmysqli_priv.h97 if ((__val) < ZEND_LONG_MAX) { \
H A Dmysqli_prop.c82 if (l < ZEND_LONG_MAX) {\
168 if (rc < ZEND_LONG_MAX) { in link_affected_rows_read()
359 if (rc < ZEND_LONG_MAX) { in stmt_affected_rows_read()
/PHP-7.2/ext/intl/formatter/
H A Dformatter_parse.c90 if(val64 > ZEND_LONG_MAX || val64 < ZEND_LONG_MIN) { in PHP_FUNCTION()
/PHP-7.2/ext/standard/
H A Dmath.c839 return ZEND_LONG_MAX; in _php_math_basetolong()
867 cutoff = ZEND_LONG_MAX / base; in _php_math_basetozval()
868 cutlim = ZEND_LONG_MAX % base; in _php_math_basetozval()
H A Dfile.c641 if (len > ZEND_LONG_MAX) { in PHP_FUNCTION()
642 …cref(NULL, E_WARNING, "content truncated from %zu to " ZEND_LONG_FMT " bytes", len, ZEND_LONG_MAX); in PHP_FUNCTION()
643 len = ZEND_LONG_MAX; in PHP_FUNCTION()
H A Dfilestat.c1130 if (ZEND_LONG_MAX >= bucket->key) { in PHP_FUNCTION()
/PHP-7.2/ext/pdo/
H A Dpdo.c315 while ((pdo_uint64_t)i64 > (pdo_uint64_t)ZEND_LONG_MAX) { in php_pdo_int64_to_str()
/PHP-7.2/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp691 if(aInt64 > ZEND_LONG_MAX || aInt64 < -ZEND_LONG_MAX) { in umsg_parse_helper()
/PHP-7.2/ext/pdo_sqlite/
H A Dsqlite_statement.c161 #if ZEND_LONG_MAX > 2147483647 in pdo_sqlite_stmt_param_hook()
/PHP-7.2/ext/interbase/
H A Dphp_ibase_udf.c253 if (argv[i]->dsc_scale == 0 && l <= ZEND_LONG_MAX && l >= ZEND_LONG_MIN) { in call_php()
/PHP-7.2/ext/sockets/
H A Dsendrecvmsg.c307 if (entry->var_el_size > 0 && n > (zend_long)((ZEND_LONG_MAX - entry->size - in PHP_FUNCTION()
/PHP-7.2/ext/sqlite3/
H A Dsqlite3.c598 if (val > ZEND_LONG_MAX || val < ZEND_LONG_MIN) { in sqlite_value_to_zval()
743 #if ZEND_LONG_MAX > 2147483647 in sqlite3_do_callback()
793 #if ZEND_LONG_MAX > 2147483647 in sqlite3_do_callback()
1602 #if ZEND_LONG_MAX > 2147483647 in PHP_METHOD()
/PHP-7.2/
H A DREADME.PARAMETER_PARSING_API62 …L - long, limits out-of-range numbers to LONG_MAX/LONG_MIN (zend_long, ZEND_LONG_MAX/ZEND_LONG_MI…
/PHP-7.2/ext/filter/
H A Dlogical_filters.c121 if ( (!sign) && ctx_value <= (ZEND_LONG_MAX-digit)/10 ) { in php_filter_parse_int()
/PHP-7.2/ext/pgsql/
H A Dpgsql.c73 #if ZEND_LONG_MAX < UINT_MAX
75 if (oid > ZEND_LONG_MAX) { \
2466 #if UINT_MAX > ZEND_LONG_MAX /* Oid is unsigned int, we don't need this code, where LONG is wider */
2467 if (oid > ZEND_LONG_MAX) {
2571 #if UINT_MAX > ZEND_LONG_MAX
2572 if (oid > ZEND_LONG_MAX) {
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c612 if (Z_DVAL(tmp_data_copy) > ZEND_LONG_MAX || Z_DVAL(tmp_data_copy) < ZEND_LONG_MIN) { in mysqlnd_stmt_execute_prepare_param_types()
/PHP-7.2/main/
H A Drfc1867.c1255 if (total_bytes > ZEND_LONG_MAX) {

Completed in 139 milliseconds

12