/PHP-8.0/Zend/ |
H A D | zend_operators.c | 860 return Z_DVAL_P(op); in zval_get_double_func() 974 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); in add_function_fast() 1040 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - Z_DVAL_P(op2)); in sub_function_fast() 1109 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * Z_DVAL_P(op2)); in mul_function_fast() 1209 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base() 1281 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base() 2081 if (Z_DVAL_P(op1) == Z_DVAL_P(op2)) { in zend_compare() 2084 return ZEND_NORMALIZE_BOOL(Z_DVAL_P(op1) - Z_DVAL_P(op2)); in zend_compare() 2220 return (Z_DVAL_P(op1) == Z_DVAL_P(op2)); in zend_is_identical() 2419 Z_DVAL_P(op1) = Z_DVAL_P(op1) + 1; in increment_function() [all …]
|
H A D | zend_operators.h | 269 return EXPECTED(Z_TYPE_P(op) == IS_DOUBLE) ? Z_DVAL_P(op) : zval_get_double_func(op); in zval_get_double() 354 if (Z_DVAL_P(op)) { in i_zend_is_true() 737 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2)); in fast_add_function() 742 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); in fast_add_function() 745 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2))); in fast_add_function() 856 return ((double)Z_LVAL_P(op1)) == Z_DVAL_P(op2); in fast_equal_check_function() 860 return Z_DVAL_P(op1) == Z_DVAL_P(op2); in fast_equal_check_function() 862 return Z_DVAL_P(op1) == ((double)Z_LVAL_P(op2)); in fast_equal_check_function()
|
H A D | zend_vm_execute.h | 8011 result = (Z_DVAL_P(op1) < Z_DVAL_P(op2)); in ZEND_IS_SMALLER_DOUBLE_SPEC_CONST_TMPVARCV_HANDLER() 8023 result = (Z_DVAL_P(op1) < Z_DVAL_P(op2)); in ZEND_IS_SMALLER_DOUBLE_SPEC_CONST_TMPVARCV_JMPZ_HANDLER() 8035 result = (Z_DVAL_P(op1) < Z_DVAL_P(op2)); in ZEND_IS_SMALLER_DOUBLE_SPEC_CONST_TMPVARCV_JMPNZ_HANDLER() 8083 result = (Z_DVAL_P(op1) <= Z_DVAL_P(op2)); in ZEND_IS_SMALLER_OR_EQUAL_DOUBLE_SPEC_CONST_TMPVARCV_HANDLER() 8095 result = (Z_DVAL_P(op1) <= Z_DVAL_P(op2)); in ZEND_IS_SMALLER_OR_EQUAL_DOUBLE_SPEC_CONST_TMPVARCV_JMPZ_HANDLER() 12829 result = (Z_DVAL_P(op1) < Z_DVAL_P(op2)); in ZEND_IS_SMALLER_DOUBLE_SPEC_TMPVARCV_CONST_HANDLER() 12841 result = (Z_DVAL_P(op1) < Z_DVAL_P(op2)); in ZEND_IS_SMALLER_DOUBLE_SPEC_TMPVARCV_CONST_JMPZ_HANDLER() 12853 result = (Z_DVAL_P(op1) < Z_DVAL_P(op2)); in ZEND_IS_SMALLER_DOUBLE_SPEC_TMPVARCV_CONST_JMPNZ_HANDLER() 13735 result = (Z_DVAL_P(op1) < Z_DVAL_P(op2)); in ZEND_IS_SMALLER_DOUBLE_SPEC_TMPVARCV_TMPVARCV_HANDLER() 13747 result = (Z_DVAL_P(op1) < Z_DVAL_P(op2)); in ZEND_IS_SMALLER_DOUBLE_SPEC_TMPVARCV_TMPVARCV_JMPZ_HANDLER() [all …]
|
H A D | zend_vm_def.h | 64 d2 = Z_DVAL_P(op2); 69 d1 = Z_DVAL_P(op1); 70 d2 = Z_DVAL_P(op2); 76 d1 = Z_DVAL_P(op1); 9229 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); 9265 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - Z_DVAL_P(op2)); 9303 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * Z_DVAL_P(op2)); 9327 result = (Z_DVAL_P(op1) == Z_DVAL_P(op2)); 9351 result = (Z_DVAL_P(op1) != Z_DVAL_P(op2)); 9404 result = (Z_DVAL_P(op1) < Z_DVAL_P(op2)); [all …]
|
H A D | zend_ini_parser.y | 52 return (int)Z_DVAL_P(op); in get_int_val()
|
H A D | zend_types.h | 799 #define Z_DVAL_P(zval_p) Z_DVAL(*(zval_p)) macro 904 Z_DVAL_P(__z) = d; \
|
H A D | zend_exceptions.c | 523 smart_str_append_printf(str, "%.*G", (int) EG(precision), Z_DVAL_P(arg)); in _build_trace_args()
|
/PHP-8.0/ext/spl/ |
H A D | spl_engine.c | 44 return zend_dval_to_lval(Z_DVAL_P(offset)); in spl_offset_convert_to_long()
|
H A D | spl_array.c | 345 index = (zend_long)Z_DVAL_P(offset); in spl_array_get_dimension_ptr() 477 index = (zend_long)Z_DVAL_P(offset); in spl_array_write_dimension_ex() 565 index = (zend_long)Z_DVAL_P(offset); in spl_array_unset_dimension_ex() 638 index = (zend_long)Z_DVAL_P(offset); in spl_array_has_dimension_ex()
|
/PHP-8.0/ext/intl/formatter/ |
H A D | formatter_format.c | 79 int64_t value = (Z_TYPE_P(number) == IS_DOUBLE)?(int64_t)Z_DVAL_P(number):Z_LVAL_P(number); in PHP_FUNCTION() 95 …formatted_len = unum_formatDouble(FORMATTER_OBJECT(nfo), Z_DVAL_P(number), formatted, formatted_le… in PHP_FUNCTION() 99 …unum_formatDouble(FORMATTER_OBJECT(nfo), Z_DVAL_P(number), formatted, formatted_len, NULL, &INTL_D… in PHP_FUNCTION()
|
/PHP-8.0/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 480 if (Z_DVAL_P(elem) > (double)INT32_MAX || in umsg_format_helper() 481 Z_DVAL_P(elem) < (double)INT32_MIN) { in umsg_format_helper() 486 tInt32 = (int32_t)Z_DVAL_P(elem); in umsg_format_helper() 508 if (Z_DVAL_P(elem) > (double)U_INT64_MAX || in umsg_format_helper() 509 Z_DVAL_P(elem) < (double)U_INT64_MIN) { in umsg_format_helper() 514 tInt64 = (int64_t)Z_DVAL_P(elem); in umsg_format_helper() 556 formattable.setDouble(Z_DVAL_P(elem)); in umsg_format_helper()
|
/PHP-8.0/ext/standard/ |
H A D | math.c | 218 RETURN_DOUBLE(fabs(Z_DVAL_P(value))); in PHP_FUNCTION() 241 RETURN_DOUBLE(ceil(Z_DVAL_P(value))); in PHP_FUNCTION() 260 RETURN_DOUBLE(floor(Z_DVAL_P(value))); in PHP_FUNCTION() 306 return_val = (Z_TYPE_P(value) == IS_LONG) ? (double)Z_LVAL_P(value) : Z_DVAL_P(value); in PHP_FUNCTION() 874 double fvalue = floor(Z_DVAL_P(arg)); /* floor it just in case */ in _php_math_zvaltobase()
|
H A D | var.c | 116 php_printf_unchecked("%sfloat(%.*H)\n", COMMON, (int) PG(serialize_precision), Z_DVAL_P(struc)); in php_var_dump() 297 php_printf_unchecked("%sfloat(%.*H)\n", COMMON, (int) PG(serialize_precision), Z_DVAL_P(struc)); in php_debug_zval_dump() 493 php_gcvt(Z_DVAL_P(struc), (int)PG(serialize_precision), '.', 'E', tmp_str); in php_var_export_ex() 501 if (zend_finite(Z_DVAL_P(struc)) && NULL == strchr(tmp_str, '.')) { in php_var_export_ex() 980 php_gcvt(Z_DVAL_P(struc), (int)PG(serialize_precision), '.', 'E', tmp_str); in php_var_serialize_intern()
|
/PHP-8.0/ext/json/ |
H A D | json_encoder.c | 552 if (php_json_is_valid_double(Z_DVAL_P(val))) { in php_json_encode_zval() 553 php_json_encode_double(buf, Z_DVAL_P(val), options); in php_json_encode_zval()
|
/PHP-8.0/ext/intl/common/ |
H A D | common_date.cpp | 197 rv = U_MILLIS_PER_SECOND * Z_DVAL_P(z); in intl_zval_to_millis()
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 678 …phpdbg_xml("<float refstatus=\"%s\" value=\"%.*G\" />", COMMON, (int) EG(precision), Z_DVAL_P(zv)); in phpdbg_xml_var_dump() 803 spprintf(&decode, 0, "%.*G", 14, Z_DVAL_P(zv)); in phpdbg_short_zval_print() 806 if (zend_finite(Z_DVAL_P(zv)) && !strchr(decode, '.')) { in phpdbg_short_zval_print()
|
H A D | phpdbg_info.c | 269 VARIABLEINFO("value=\"%lf\"", "\ndouble (%lf)", Z_DVAL_P(data)); in phpdbg_print_symbols()
|
/PHP-8.0/ext/sysvmsg/ |
H A D | sysvmsg.c | 413 message_len = spprintf(&p, 0, "%F", Z_DVAL_P(message)); in PHP_FUNCTION()
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | sccp.c | 187 …value) == IS_DOUBLE && Z_TYPE_P(new) == IS_DOUBLE && isnan(Z_DVAL_P(value)) && isnan(Z_DVAL_P(new)… in set_value() 431 *result = zend_hash_index_find(Z_ARR_P(op1), zend_dval_to_lval(Z_DVAL_P(op2))); in fetch_array_elem() 514 zend_hash_index_del(Z_ARR_P(result), zend_dval_to_lval(Z_DVAL_P(key))); in ct_eval_del_array_elem() 556 Z_ARR_P(result), zend_dval_to_lval(Z_DVAL_P(key)), value); in ct_eval_add_array_elem()
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 504 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_jit_fetch_dim_r_helper() 605 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_jit_fetch_dim_is_helper() 689 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_jit_fetch_dim_isset_helper() 775 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_jit_fetch_dim_rw_helper() 874 hval = zend_dval_to_lval(Z_DVAL_P(dim)); in zend_jit_fetch_dim_w_helper()
|
/PHP-8.0/ext/pgsql/ |
H A D | pgsql.c | 4728 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert() 4783 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert() 4844 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert() 4882 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert() 5147 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert() 5399 smart_str_appendl(&querystr, buf, snprintf(buf, sizeof(buf), "%F", Z_DVAL_P(val))); in php_pgsql_insert() 5569 …smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_P(val)), sizeof(buf) … in build_assignment_string()
|
/PHP-8.0/ext/pdo_mysql/ |
H A D | mysql_statement.c | 527 b->buffer = &Z_DVAL_P(parameter); in pdo_mysql_stmt_param_hook()
|
/PHP-8.0/ext/pdo_firebird/ |
H A D | firebird_statement.c | 693 var->sqldata = (void*)&Z_DVAL_P(parameter); in firebird_stmt_param_hook()
|
/PHP-8.0/ext/com_dotnet/ |
H A D | com_variant.c | 159 V_R8(v) = Z_DVAL_P(z); in php_com_variant_from_zval()
|
/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 810 float8store(*p, Z_DVAL_P(data)); in mysqlnd_stmt_execute_store_param_values()
|