Home
last modified time | relevance | path

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

12

/PHP-7.1/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.h97 # define ZEND_DOUBLE_FITS_LONG(d) (!((d) > ZEND_LONG_MAX || (d) < ZEND_LONG_MIN))
100 # define ZEND_DOUBLE_FITS_LONG(d) (!((d) >= ZEND_LONG_MAX || (d) < ZEND_LONG_MIN))
131 return (d > 0 ? ZEND_LONG_MAX : ZEND_LONG_MIN); in zend_dval_to_lval_cap()
474 if (UNEXPECTED(Z_LVAL_P(op1) == ZEND_LONG_MAX)) { in fast_long_increment_function()
476 ZVAL_DOUBLE(op1, (double)ZEND_LONG_MAX + 1.0); in fast_long_increment_function()
H A Dzend_multiply.h96 if (__result > ZEND_LONG_MAX || __result < ZEND_LONG_MIN) { \
H A Dzend_hash.c731 ht->nNextFreeElement = h < ZEND_LONG_MAX ? h + 1 : ZEND_LONG_MAX; in _zend_hash_index_add_or_update_i()
767 ht->nNextFreeElement = h < ZEND_LONG_MAX ? h + 1 : ZEND_LONG_MAX; in _zend_hash_index_add_or_update_i()
789 ht->nNextFreeElement = h < ZEND_LONG_MAX ? h + 1 : ZEND_LONG_MAX; in _zend_hash_index_add_or_update_i()
805 ht->nNextFreeElement = h < ZEND_LONG_MAX ? h + 1 : ZEND_LONG_MAX; in _zend_hash_index_add_or_update_i()
2466 if (*idx-1 > ZEND_LONG_MAX) { /* overflow */ in _zend_handle_numeric_str_ex()
2470 } else if (*idx > ZEND_LONG_MAX) { /* overflow */ in _zend_handle_numeric_str_ex()
/PHP-7.1/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.1/ext/opcache/Optimizer/
H A Dzend_inference.c569 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
592 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
619 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
656 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
671 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
698 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_binary_op_range()
792 tmp->min = ZEND_LONG_MAX; in zend_inference_calc_range()
1389 tmp->max = ZEND_LONG_MAX; in zend_inference_calc_range()
1452 max = ZEND_LONG_MAX; in zend_inference_init_range()
1477 r->max = ZEND_LONG_MAX; in zend_inference_widening_meet()
[all …]
H A Dzend_ssa.c134 pi_range(phi, var, -1, val, ZEND_LONG_MAX, 0, 1, 0); in pi_range_min()
218 return (b > 0 && a > ZEND_LONG_MAX - b) in add_will_overflow()
223 || (b < 0 && a > ZEND_LONG_MAX + b); in sub_will_overflow()
368 if (val2 < ZEND_LONG_MAX) { in place_essa_pis()
391 if (val1 < ZEND_LONG_MAX) { in place_essa_pis()
H A Dzend_inference.h97 return ZEND_LONG_MAX; \
/PHP-7.1/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.1/ext/intl/formatter/
H A Dformatter_parse.c90 if(val64 > ZEND_LONG_MAX || val64 < ZEND_LONG_MIN) { in PHP_FUNCTION()
/PHP-7.1/ext/standard/
H A Dmath.c834 return ZEND_LONG_MAX; in _php_math_basetolong()
862 cutoff = ZEND_LONG_MAX / base; in _php_math_basetozval()
863 cutlim = ZEND_LONG_MAX % base; in _php_math_basetozval()
H A Dfile.c631 if (len > ZEND_LONG_MAX) { in PHP_FUNCTION()
632 …cref(NULL, E_WARNING, "content truncated from %zu to " ZEND_LONG_FMT " bytes", len, ZEND_LONG_MAX); in PHP_FUNCTION()
633 len = ZEND_LONG_MAX; in PHP_FUNCTION()
H A Dfilestat.c1136 if (ZEND_LONG_MAX >= bucket->key) { in PHP_FUNCTION()
/PHP-7.1/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.1/ext/pdo_sqlite/
H A Dsqlite_statement.c121 #if ZEND_LONG_MAX > 2147483647 in pdo_sqlite_stmt_param_hook()
/PHP-7.1/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp691 if(aInt64 > ZEND_LONG_MAX || aInt64 < -ZEND_LONG_MAX) { in umsg_parse_helper()
/PHP-7.1/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.1/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.1/ext/sqlite3/
H A Dsqlite3.c592 if (val > ZEND_LONG_MAX || val < ZEND_LONG_MIN) { in sqlite_value_to_zval()
737 #if ZEND_LONG_MAX > 2147483647 in sqlite3_do_callback()
787 #if ZEND_LONG_MAX > 2147483647 in sqlite3_do_callback()
1566 #if ZEND_LONG_MAX > 2147483647 in PHP_METHOD()
/PHP-7.1/
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.1/ext/filter/
H A Dlogical_filters.c121 if ( (!sign) && ctx_value <= (ZEND_LONG_MAX-digit)/10 ) { in php_filter_parse_int()
/PHP-7.1/ext/pgsql/
H A Dpgsql.c73 #if ZEND_LONG_MAX < UINT_MAX
75 if (oid > ZEND_LONG_MAX) { \
2460 #if UINT_MAX > ZEND_LONG_MAX /* Oid is unsigned int, we don't need this code, where LONG is wider */
2461 if (oid > ZEND_LONG_MAX) {
2565 #if UINT_MAX > ZEND_LONG_MAX
2566 if (oid > ZEND_LONG_MAX) {
/PHP-7.1/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.1/main/
H A Drfc1867.c1254 if (total_bytes > ZEND_LONG_MAX) {

Completed in 91 milliseconds

12