Searched refs:dval (Results 1 - 19 of 19) sorted by relevance

/PHP_TRUNK/ext/sockets/
H A Dsockaddr_conv.c65 double dval = 0; local
68 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) {
H A Dconversions.c332 double dval; local
336 switch (is_numeric_string(Z_STRVAL(lzval), Z_STRLEN(lzval), &lval, &dval, 0)) {
339 ZVAL_DOUBLE(&lzval, dval);
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_is_numeric.c225 zend_uchar collator_is_numeric( UChar *str, int length, zend_long *lval, double *dval, int allow_errors ) argument
271 if (dval) {
272 *dval = local_dval;
286 if (end_ptr_double > end_ptr_long && dval) {
287 *dval = local_dval;
H A Dcollator_is_numeric.h24 zend_uchar collator_is_numeric( UChar *str, int length, zend_long *lval, double *dval, int allow_errors );
H A Dcollator_convert.c363 double dval = 0; local
370 if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval, &dval, 1 ) ) )
376 ZVAL_DOUBLE(rv, dval);
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_methods.cpp178 double dval; local
180 switch (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &lval, &dval, 0)) {
184 ZVAL_DOUBLE(arg, dval);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c178 double dval; local
201 dval = (double) d32val;
208 dval = zend_strtod(num_buf, NULL);
229 dval = zend_strtod(s, NULL);
233 ZVAL_DOUBLE(zv, dval);
/PHP_TRUNK/Zend/
H A Dzend_multiply.h27 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
33 if (usedval) (dval) = (double) (a) * (double) (b); \
39 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
45 if (usedval) (dval) = (double) (a) * (double) (b); \
51 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
57 if (usedval) (dval) = (double) (a) * (double) (b); \
63 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
70 if (usedval) (dval) = (double) (a) * (double) (b); \
76 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
81 (dval)
[all...]
H A Dzend_operators.h81 * The number's value is returned into the respective pointer, *lval or *dval,
88 ZEND_API zend_uchar _is_numeric_string_ex(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors, int *oflow_info);
146 static zend_always_inline zend_uchar is_numeric_string_ex(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors, int *oflow_info) argument
151 return _is_numeric_string_ex(str, length, lval, dval, allow_errors, oflow_info);
154 static zend_always_inline zend_uchar is_numeric_string(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors) { argument
155 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL);
158 ZEND_API zend_uchar is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval);
H A Dzend_constants.c198 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int flags, int module_number TSRMLS_DC) argument
202 ZVAL_DOUBLE(&c.value, dval);
H A Dzend_constants.h43 #define REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1, (dval), (flags), module_number TSRMLS_CC)
50 #define REGISTER_NS_DOUBLE_CONSTANT(ns, name, dval, flags) zend_register_double_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (dval), (flags), module_number TSRMLS_CC)
57 #define REGISTER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1, (dval), (flags), 0 TSRMLS_CC)
74 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int flags, int module_number TSRMLS_DC);
H A Dzend_operators.c567 double dval = Z_DVAL_P(op); local
570 str = zend_strpprintf(0, "%.*G", (int) EG(precision), dval);
1062 double dval = 0.0; local
1066 ZEND_SIGNED_MULTIPLY_LONG(l1, l2, l1, dval, overflow);
1068 ZVAL_DOUBLE(result, dval * pow(l2, i));
1073 ZEND_SIGNED_MULTIPLY_LONG(l2, l2, l2, dval, overflow);
1075 ZVAL_DOUBLE(result, (double)l1 * pow(dval, i));
2134 double dval; local
2136 switch (is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), &lval, &dval, 0)) {
2149 ZVAL_DOUBLE(op1, dval
2196 double dval; local
2573 is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval) argument
2577 _is_numeric_string_ex(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors, int *oflow_info) argument
[all...]
H A Dzend_ini_scanner.c155 double dval; local
157 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) {
162 ZVAL_DOUBLE(retval, dval);
H A Dzend_ini_scanner.l153 double dval;
155 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) {
160 ZVAL_DOUBLE(retval, dval);
H A Dzend_types.h93 double dval; /* double value */ member in union:_zend_value
388 #define Z_DVAL(zval) (zval).value.dval
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c985 double dval; local
988 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
993 ZVAL_DOUBLE(ret, dval);
1023 double dval; local
1028 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
1033 ZVAL_DOUBLE(ret, dval);
/PHP_TRUNK/ext/standard/
H A Dmath.c656 double dval; local
659 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &dval) == FAILURE) {
664 Z_PARAM_DOUBLE(dval)
667 RETURN_BOOL(zend_finite(dval));
675 double dval; local
678 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &dval) == FAILURE) {
683 Z_PARAM_DOUBLE(dval)
686 RETURN_BOOL(zend_isinf(dval));
694 double dval; local
697 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &dval)
[all...]
H A Darray.c4276 double dval; local
4295 dval = (double)Z_LVAL_P(return_value) * (double)Z_LVAL(entry_n);
4296 if ( (double)ZEND_LONG_MIN <= dval && dval <= (double)ZEND_LONG_MAX ) {
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c333 double dval; local
402 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) {
408 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) {
412 ZVAL_DOUBLE(value, dval);

Completed in 66 milliseconds