Home
last modified time | relevance | path

Searched refs:dval (Results 1 – 25 of 27) sorted by relevance

12

/PHP-8.3/Zend/
H A Dzend_multiply.h30 (dval) = (double) (a) * (double) (b); \
40 (dval) = (double) (a) * (double) (b); \
53 if (usedval) (dval) = (double) (a) * (double) (b); \
65 if (usedval) (dval) = (double) (a) * (double) (b); \
78 if (usedval) (dval) = (double) (a) * (double) (b); \
94 (dval) = (double)(a) * (double)(b); \
107 (dval) = (double)(a) * (double)(b); \
116 (dval) = __dres; \
132 (dval) = (double) (a) * (double) (b); \
145 (dval) = (double) __result; \
[all …]
H A Dzend_strtod.c1481 return dval(&da) / dval(&db);
2896 dval(&rv0) *= dval(&rv0);
2968 dval(&rv0) = dval(&rv);
3429 dval(&rv0) = dval(&rv);
3475 dval(&rv0) = dval(&rv);
3580 dval(&rv) *= dval(&rv0);
3596 dval(&rv0) *= dval(&rv0);
3834 dval(&d2) = dval(&u); in zend_dtoa()
3967 dval(&d2) = dval(&u); in zend_dtoa()
4071 dval(&u) = dval(&d2); in zend_dtoa()
[all …]
H A Dzend_constants.h52 #define REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(n… argument
59 …BLE_CONSTANT(ns, name, dval, flags) zend_register_double_constant(ZEND_NS_NAME(ns, name), sizeof(… argument
66 …ine REGISTER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof… argument
84 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int fla…
H A Dzend_operators.c388 double dval = Z_DVAL_P(op); in zendi_try_get_long() local
402 double dval; in zendi_try_get_long() local
918 double dval = Z_DVAL_P(op); in zval_get_long_func() local
931 double dval; in zval_get_long_func() local
1308 double dval = 0.0; in pow_function_base() local
2629 double dval; in increment_function() local
2702 double dval; in decrement_function() local
3586 if (dval) {
3617 if (dval) {
3637 if (dval) {
[all …]
H A Dzend_ini_parser.y296 double dval; in convert_to_number() local
298 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow, NULL)) != 0) { in convert_to_number()
303 ZVAL_DOUBLE(retval, dval); in convert_to_number()
H A Dzend_operators.h106 double *dval, bool allow_errors, int *oflow_info, bool *trailing_data);
162 double *dval, bool allow_errors, int *oflow_info, bool *trailing_data) in is_numeric_string_ex() argument
167 return _is_numeric_string_ex(str, length, lval, dval, allow_errors, oflow_info, trailing_data); in is_numeric_string_ex()
170 …s_numeric_string(const char *str, size_t length, zend_long *lval, double *dval, bool allow_errors)… in is_numeric_string() argument
171 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL, NULL); in is_numeric_string()
174 …nt8_t ZEND_FASTCALL is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval);
H A Dzend_constants.c157 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int fla… in zend_register_double_constant() argument
161 ZVAL_DOUBLE(&c.value, dval); in zend_register_double_constant()
H A Dzend_API.h1083 ZEND_API zend_result zend_try_assign_typed_ref_double(zend_reference *ref, double dval);
1203 #define _ZEND_TRY_ASSIGN_DOUBLE(zv, dval, is_ref) do { \ argument
1208 zend_try_assign_typed_ref_double(ref, dval); \
1214 ZVAL_DOUBLE(_zv, dval); \
1217 #define ZEND_TRY_ASSIGN_DOUBLE(zv, dval) \ argument
1218 _ZEND_TRY_ASSIGN_DOUBLE(zv, dval, 0)
1220 #define ZEND_TRY_ASSIGN_REF_DOUBLE(zv, dval) do { \ argument
1222 _ZEND_TRY_ASSIGN_DOUBLE(zv, dval, 1); \
H A Dzend_types.h317 double dval; /* double value */ member
964 #define Z_DVAL(zval) (zval).value.dval
H A Dzend_execute.c723 double dval; in zend_verify_weak_scalar_type_hint() local
732 uint8_t type = is_numeric_str_function(Z_STR_P(arg), &lval, &dval); in zend_verify_weak_scalar_type_hint()
740 ZVAL_DOUBLE(arg, dval); in zend_verify_weak_scalar_type_hint()
751 if ((type_mask & MAY_BE_DOUBLE) && zend_parse_arg_double_weak(arg, &dval, 0)) { in zend_verify_weak_scalar_type_hint()
753 ZVAL_DOUBLE(arg, dval); in zend_verify_weak_scalar_type_hint()
784 double dval; in zend_verify_weak_scalar_type_hint_no_sideeffect() local
792 if ((type_mask & MAY_BE_DOUBLE) && zend_parse_arg_double_weak(arg, &dval, (uint32_t)-1)) { in zend_verify_weak_scalar_type_hint_no_sideeffect()
/PHP-8.3/ext/intl/collator/
H A Dcollator_is_numeric.c207 uint8_t collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, bool allow_… in collator_is_numeric() argument
242 if (dval) { in collator_is_numeric()
243 *dval = local_dval; in collator_is_numeric()
254 if (end_ptr_double > end_ptr_long && dval) { in collator_is_numeric()
255 *dval = local_dval; in collator_is_numeric()
H A Dcollator_is_numeric.h23 uint8_t collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, bool allow_…
H A Dcollator_convert.c313 double dval = 0; in collator_convert_string_to_number_if_possible() local
320 …_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval, &dval, /* allow_errors */… in collator_convert_string_to_number_if_possible()
326 ZVAL_DOUBLE(rv, dval); in collator_convert_string_to_number_if_possible()
/PHP-8.3/ext/sockets/
H A Dsockaddr_conv.c65 double dval = 0; in php_set_inet6_addr() local
70 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) { in php_set_inet6_addr()
H A Dconversions.c334 double dval; in from_zval_integer_common() local
341 switch (is_numeric_string(Z_STRVAL(lzval), Z_STRLEN(lzval), &lval, &dval, 0)) { in from_zval_integer_common()
344 ZVAL_DOUBLE(&lzval, dval); in from_zval_integer_common()
/PHP-8.3/ext/standard/
H A Dmath.c480 double dval; in PHP_FUNCTION() local
483 Z_PARAM_DOUBLE(dval) in PHP_FUNCTION()
485 RETURN_BOOL(zend_finite(dval)); in PHP_FUNCTION()
492 double dval; in PHP_FUNCTION() local
495 Z_PARAM_DOUBLE(dval) in PHP_FUNCTION()
497 RETURN_BOOL(zend_isinf(dval)); in PHP_FUNCTION()
504 double dval; in PHP_FUNCTION() local
507 Z_PARAM_DOUBLE(dval) in PHP_FUNCTION()
509 RETURN_BOOL(zend_isnan(dval)); in PHP_FUNCTION()
H A Darray.c2782 …t(const zval *input, uint32_t arg_num, zend_long /* restrict */ *lval, double /* restrict */ *dval) argument
2787 *dval = (double) Z_LVAL_P(input);
2790 *dval = Z_DVAL_P(input);
2792 if (zend_isinf(*dval)) {
2796 if (zend_isnan(*dval)) {
2817 *dval = 0.0;
2820 uint8_t type = is_numeric_str_function(Z_STR_P(input), lval, dval);
2825 *dval = (double) *lval;
2841 *dval = 0.0;
/PHP-8.3/ext/filter/
H A Dlogical_filters.c358 double dval; in php_filter_float() local
445 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) { in php_filter_float()
454 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) { in php_filter_float()
457 if ((min_range_set && (dval < min_range)) || (max_range_set && (dval > max_range))) { in php_filter_float()
461 ZVAL_DOUBLE(value, dval); in php_filter_float()
/PHP-8.3/ext/intl/timezone/
H A Dtimezone_methods.cpp165 double dval; in PHP_FUNCTION() local
169 switch (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &lval, &dval, 0)) { in PHP_FUNCTION()
172 ZVAL_DOUBLE(arg, dval); in PHP_FUNCTION()
/PHP-8.3/ext/pdo_firebird/
H A Dfirebird_statement.c676 double dval; in firebird_stmt_param_hook() local
683 switch (is_numeric_string(Z_STRVAL_P(parameter), Z_STRLEN_P(parameter), &lval, &dval, 0)) { in firebird_stmt_param_hook()
688 *(FB_BOOLEAN*)var->sqldata = (dval != 0) ? FB_TRUE : FB_FALSE; in firebird_stmt_param_hook()
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c175 double dval; in ps_fetch_float() local
185 dval = mysql_float_to_double(fval, (field->decimals >= NOT_FIXED_DEC) ? -1 : (int)field->decimals); in ps_fetch_float()
187 ZVAL_DOUBLE(zv, dval); in ps_fetch_float()
/PHP-8.3/
H A D.gdbinit109 printf "%f", $zvalue->value.dval
186 printf "double: %f", $zvalue->value.dval
/PHP-8.3/ext/dom/
H A Dphp_dom.c1713 double dval; in dom_nodemap_or_nodelist_process_offset_as_named() local
1715 …eric_string_type = is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), lval, &dval, true))) { in dom_nodemap_or_nodelist_process_offset_as_named()
1718 *lval = zend_dval_to_lval_cap(dval); in dom_nodemap_or_nodelist_process_offset_as_named()
/PHP-8.3/ext/ffi/
H A Dffi.c739 double dval; in zend_ffi_zval_to_cdata() local
757 dval = zval_get_double(value); in zend_ffi_zval_to_cdata()
758 *(float*)ptr = dval; in zend_ffi_zval_to_cdata()
761 dval = zval_get_double(value); in zend_ffi_zval_to_cdata()
762 *(double*)ptr = dval; in zend_ffi_zval_to_cdata()
766 dval = zval_get_double(value); in zend_ffi_zval_to_cdata()
767 *(long double*)ptr = dval; in zend_ffi_zval_to_cdata()
2549 double dval; in zend_ffi_pass_arg() local
2558 dval = zval_get_double(arg); in zend_ffi_pass_arg()
2563 dval = zval_get_double(arg); in zend_ffi_pass_arg()
[all …]
/PHP-8.3/ext/soap/
H A Dphp_encoding.c1018 double dval; in to_zval_double() local
1021 …_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) { in to_zval_double()
1026 ZVAL_DOUBLE(ret, dval); in to_zval_double()
1056 double dval; in to_zval_long() local
1061 …_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) { in to_zval_long()
1066 ZVAL_DOUBLE(ret, dval); in to_zval_long()

Completed in 232 milliseconds

12