Searched defs:dval (Results 1 - 17 of 17) sorted by relevance

/PHP_TRUNK/ext/intl/collator/
H A Dcollator_is_numeric.c225 zend_uchar collator_is_numeric( UChar *str, int32_t 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_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.cpp177 double dval; local
179 switch (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &lval, &dval, 0)) {
183 ZVAL_DOUBLE(arg, dval);
/PHP_TRUNK/Zend/
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) argument
202 ZVAL_DOUBLE(&c.value, dval);
H A Dzend_ini_scanner.c159 double dval; local
161 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) {
166 ZVAL_DOUBLE(retval, dval);
H A Dzend_exceptions.c451 double dval = Z_DVAL_P(arg); local
453 int l_tmp = zend_sprintf(s_tmp, "%.*G", (int) EG(precision), dval); /* SAFE */
H A Dzend_types.h94 double dval; /* double value */ member in union:_zend_value
427 #define Z_DVAL(zval) (zval).value.dval
H A Dzend_operators.c510 double dval = Z_DVAL_P(op); local
512 str = zend_strpprintf(0, "%.*G", (int) EG(precision), dval);
1000 double dval = 0.0; local
1004 ZEND_SIGNED_MULTIPLY_LONG(l1, l2, l1, dval, overflow);
1006 ZVAL_DOUBLE(result, dval * pow(l2, i));
1011 ZEND_SIGNED_MULTIPLY_LONG(l2, l2, l2, dval, overflow);
1013 ZVAL_DOUBLE(result, (double)l1 * pow(dval, i));
2181 double dval; local
2183 switch (is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), &lval, &dval, 0)) {
2196 ZVAL_DOUBLE(op1, dval
2241 double dval; local
2658 is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval) argument
2663 _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_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);
127 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
132 return _is_numeric_string_ex(str, length, lval, dval, allow_errors, oflow_info);
135 static zend_always_inline zend_uchar is_numeric_string(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors) { argument
136 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL);
139 ZEND_API zend_uchar is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c1035 double dval; local
1040 dval = mysql_float_to_double(*(float *)stmt->result.buf[i].val,
1044 dval = *((double *)stmt->result.buf[i].val);
1047 ZVAL_DOUBLE(result, dval);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c179 double dval; local
189 dval = mysql_float_to_double(fval, (field->decimals >= NOT_FIXED_DEC) ? -1 : field->decimals);
191 ZVAL_DOUBLE(zv, dval);
/PHP_TRUNK/ext/standard/
H A Dmath.c663 double dval; local
666 if (zend_parse_parameters(ZEND_NUM_ARGS(), "d", &dval) == FAILURE) {
671 Z_PARAM_DOUBLE(dval)
674 RETURN_BOOL(zend_finite(dval));
682 double dval; local
685 if (zend_parse_parameters(ZEND_NUM_ARGS(), "d", &dval) == FAILURE) {
690 Z_PARAM_DOUBLE(dval)
693 RETURN_BOOL(zend_isinf(dval));
701 double dval; local
704 if (zend_parse_parameters(ZEND_NUM_ARGS(), "d", &dval)
[all...]
H A Darray.c4643 double dval; local
4662 dval = (double)Z_LVAL_P(return_value) * (double)Z_LVAL(entry_n);
4663 if ( (double)ZEND_LONG_MIN <= dval && dval <= (double)ZEND_LONG_MAX ) {
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c336 double dval; local
405 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) {
411 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) {
415 ZVAL_DOUBLE(value, dval);
/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.c333 double dval; local
337 switch (is_numeric_string(Z_STRVAL(lzval), Z_STRLEN(lzval), &lval, &dval, 0)) {
340 ZVAL_DOUBLE(&lzval, dval);
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c992 double dval; local
995 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
1000 ZVAL_DOUBLE(ret, dval);
1030 double dval; local
1035 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
1040 ZVAL_DOUBLE(ret, dval);

Completed in 103 milliseconds