Home
last modified time | relevance | path

Searched refs:zend_dval_to_lval (Results 1 – 12 of 12) sorted by relevance

/PHP-8.3/Zend/tests/
H A Ddval_to_lval_64.phpt2 zend_dval_to_lval preserves low bits (64 bit long)
H A Ddval_to_lval_32.phpt2 zend_dval_to_lval preserves low bits (32 bit long)
/PHP-8.3/Zend/
H A Dzend_operators.h120 static zend_always_inline zend_long zend_dval_to_lval(double d) in zend_dval_to_lval() function
151 zend_long l = zend_dval_to_lval(d); in zend_dval_to_lval_safe()
H A Dzend_operators.c389 zend_long lval = zend_dval_to_lval(dval); in zendi_try_get_long()
561 ZVAL_LONG(op, zend_dval_to_lval(Z_DVAL_P(op))); in convert_to_long()
919 zend_long lval = zend_dval_to_lval(dval); in zval_get_long_func()
1587 zend_long lval = zend_dval_to_lval(Z_DVAL_P(op1)); in bitwise_not_function()
H A Dzend_API.c531 zend_long lval = zend_dval_to_lval(Z_DVAL_P(arg)); in zend_parse_arg_long_weak()
558 lval = zend_dval_to_lval(d); in zend_parse_arg_long_weak()
H A Dzend_execute.c2356 value->lval = zend_dval_to_lval(Z_DVAL_P(dim)); in slow_index_convert()
2426 value->lval = zend_dval_to_lval(Z_DVAL_P(dim)); in slow_index_convert_w()
H A Dzend_compile.c8694 && !zend_is_long_compatible(Z_DVAL_P(op), zend_dval_to_lval(Z_DVAL_P(op)))) { in zend_is_op_long_compatible()
8701 …if (is_num == 0 || (is_num == IS_DOUBLE && !zend_is_long_compatible(dval, zend_dval_to_lval(dval))… in zend_is_op_long_compatible()
8917 zend_long lval = zend_dval_to_lval(Z_DVAL_P(key)); in zend_try_ct_eval_array()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_helpers.c417 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_jit_fetch_dim_r_helper()
559 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_jit_fetch_dim_is_helper()
687 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_jit_fetch_dim_isset_helper()
795 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_jit_fetch_dim_rw_helper()
928 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_jit_fetch_dim_w_helper()
/PHP-8.3/Zend/Optimizer/
H A Dsccp.c374 zend_long lval = zend_dval_to_lval(Z_DVAL_P(op2)); in fetch_array_elem()
462 zend_long lval = zend_dval_to_lval(Z_DVAL_P(key)); in ct_eval_del_array_elem()
507 zend_long lval = zend_dval_to_lval(Z_DVAL_P(key)); in ct_eval_add_array_elem()
/PHP-8.3/main/
H A Dphp_variables.c752 ZVAL_LONG(&tmp, zend_dval_to_lval(Z_DVAL(tmp))); in php_register_server_variables()
/PHP-8.3/ext/standard/
H A Darray.c1244 } else if (Z_TYPE(args[i]) == IS_DOUBLE && (zend_dval_to_lval((double) min_lval) == min_lval)) { in PHP_FUNCTION()
1264 …} else if (Z_TYPE(args[i]) == IS_LONG && (zend_dval_to_lval((double) Z_LVAL(args[i])) == Z_LVAL(ar… in PHP_FUNCTION()
1333 } else if (Z_TYPE(args[i]) == IS_DOUBLE && (zend_dval_to_lval((double) max_lval) == max_lval)) { in PHP_FUNCTION()
1353 …} else if (Z_TYPE(args[i]) == IS_LONG && (zend_dval_to_lval((double) Z_LVAL(args[i])) == Z_LVAL(ar… in PHP_FUNCTION()
2882 step = zend_dval_to_lval(step_double);
/PHP-8.3/ext/date/
H A Dphp_date.c4374 obj->diff->us = zend_dval_to_lval(zval_get_double(value) * 1000000.0); in date_interval_write_property()
4534 (*intobj)->diff->us = zend_dval_to_lval(zval_get_double(z_arg) * 1000000.0); in php_date_interval_initialize_from_hash()

Completed in 134 milliseconds