Home
last modified time | relevance | path

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

/PHP-7.3/Zend/
H A Dzend_multiply.h27 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \ argument
30 (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); \
103 (dval) = __dres; \
119 (dval) = (double) (a) * (double) (b); \
132 (dval) = (double) __result; \
[all …]
H A Dzend_strtod.c1488 return dval(&da) / dval(&db);
2902 dval(&rv0) *= dval(&rv0);
2974 dval(&rv0) = dval(&rv);
3435 dval(&rv0) = dval(&rv);
3481 dval(&rv0) = dval(&rv);
3586 dval(&rv) *= dval(&rv0);
3602 dval(&rv0) *= dval(&rv0);
3847 dval(&d2) = dval(&u);
3980 dval(&d2) = dval(&u);
4084 dval(&u) = dval(&d2);
[all …]
H A Dzend_constants.h54 #define REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(n… argument
61 …BLE_CONSTANT(ns, name, dval, flags) zend_register_double_constant(ZEND_NS_NAME(ns, name), sizeof(… argument
68 …ine REGISTER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof… argument
85 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int fla…
H A Dzend_operators.c524 double dval = Z_DVAL_P(op); in _convert_to_cstring() local
561 double dval = Z_DVAL_P(op); in _convert_to_string() local
764 double dval; in _zval_get_long_func_ex() local
1149 double dval = 0.0; in pow_function() local
2459 double dval; in increment_function() local
2474 ZVAL_DOUBLE(op1, dval+1); in increment_function()
2518 double dval; in decrement_function() local
3089 if (dval) {
3113 if (dval) {
3133 if (dval) {
[all …]
H A Dzend_ini_scanner.l158 double dval; in convert_to_number() local
160 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) { in convert_to_number()
165 ZVAL_DOUBLE(retval, dval); in convert_to_number()
H A Dzend_operators.h87 …umeric_string_ex(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors, …
136 …umeric_string_ex(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors, … in is_numeric_string_ex() argument
141 return _is_numeric_string_ex(str, length, lval, dval, allow_errors, oflow_info); in is_numeric_string_ex()
144 …s_numeric_string(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors) { in is_numeric_string() argument
145 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL); in is_numeric_string()
148 …uchar ZEND_FASTCALL is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval);
H A Dzend_constants.c180 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int fla… in zend_register_double_constant() argument
184 ZVAL_DOUBLE(&c.value, dval); in zend_register_double_constant()
H A Dzend_types.h164 double dval; /* double value */ member
642 #define Z_DVAL(zval) (zval).value.dval
H A Dzend_ini_scanner.c161 double dval; in convert_to_number() local
163 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) { in convert_to_number()
168 ZVAL_DOUBLE(retval, dval); in convert_to_number()
/PHP-7.3/ext/intl/collator/
H A Dcollator_is_numeric.c214 zend_uchar collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, int allo… in collator_is_numeric() argument
260 if (dval) { in collator_is_numeric()
261 *dval = local_dval; in collator_is_numeric()
275 if (end_ptr_double > end_ptr_long && dval) { in collator_is_numeric()
276 *dval = local_dval; in collator_is_numeric()
H A Dcollator_is_numeric.h24 zend_uchar collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, int allo…
H A Dcollator_convert.c350 double dval = 0; in collator_convert_string_to_number_if_possible() local
357 …c = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval, &dval, 1 ) ) ) in collator_convert_string_to_number_if_possible()
363 ZVAL_DOUBLE(rv, dval); in collator_convert_string_to_number_if_possible()
/PHP-7.3/ext/sockets/
H A Dsockaddr_conv.c65 double dval = 0; in php_set_inet6_addr() local
68 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) { in php_set_inet6_addr()
H A Dconversions.c333 double dval; in from_zval_integer_common() local
337 switch (is_numeric_string(Z_STRVAL(lzval), Z_STRLEN(lzval), &lval, &dval, 0)) { in from_zval_integer_common()
340 ZVAL_DOUBLE(&lzval, dval); in from_zval_integer_common()
/PHP-7.3/ext/standard/
H A Dmath.c586 double dval; in PHP_FUNCTION() local
589 Z_PARAM_DOUBLE(dval) in PHP_FUNCTION()
591 RETURN_BOOL(zend_finite(dval)); in PHP_FUNCTION()
599 double dval; in PHP_FUNCTION() local
602 Z_PARAM_DOUBLE(dval) in PHP_FUNCTION()
604 RETURN_BOOL(zend_isinf(dval)); in PHP_FUNCTION()
612 double dval; in PHP_FUNCTION() local
615 Z_PARAM_DOUBLE(dval) in PHP_FUNCTION()
617 RETURN_BOOL(zend_isnan(dval)); in PHP_FUNCTION()
H A Darray.c5914 double dval; local
5933 dval = (double)Z_LVAL_P(return_value) * (double)Z_LVAL(entry_n);
5934 if ( (double)ZEND_LONG_MIN <= dval && dval <= (double)ZEND_LONG_MAX ) {
/PHP-7.3/ext/filter/
H A Dlogical_filters.c337 double dval; in php_filter_float() local
419 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) { in php_filter_float()
425 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) { in php_filter_float()
429 ZVAL_DOUBLE(value, dval); in php_filter_float()
/PHP-7.3/ext/intl/timezone/
H A Dtimezone_methods.cpp181 double dval; in PHP_FUNCTION() local
183 switch (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &lval, &dval, 0)) { in PHP_FUNCTION()
186 ZVAL_DOUBLE(arg, dval); in PHP_FUNCTION()
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c179 double dval; in ps_fetch_float() local
189 dval = mysql_float_to_double(fval, (field->decimals >= NOT_FIXED_DEC) ? -1 : (int)field->decimals); in ps_fetch_float()
191 ZVAL_DOUBLE(zv, dval); in ps_fetch_float()
/PHP-7.3/
H A D.gdbinit111 printf "%f", $zvalue->value.dval
188 printf "double: %f", $zvalue->value.dval
/PHP-7.3/ext/mysqli/
H A Dmysqli_api.c1015 double dval; local
1020 dval = mysql_float_to_double(*(float *)stmt->result.buf[i].val,
1024 dval = *((double *)stmt->result.buf[i].val);
1027 ZVAL_DOUBLE(result, dval);
/PHP-7.3/ext/soap/
H A Dphp_encoding.c988 double dval; in to_zval_double() local
991 …_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) { in to_zval_double()
996 ZVAL_DOUBLE(ret, dval); in to_zval_double()
1026 double dval; in to_zval_long() local
1031 …_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) { in to_zval_long()
1036 ZVAL_DOUBLE(ret, dval); in to_zval_long()

Completed in 131 milliseconds