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

/PHP_TRUNK/ext/intl/collator/
H A Dcollator_is_numeric.c225 zend_uchar collator_is_numeric( UChar *str, int length, 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.c378 double dval = 0; local
385 if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval, &dval, 1 ) ) )
392 Z_DVAL_P(num) = dval;
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_methods.cpp178 double dval; local
180 switch (is_numeric_string(Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), &lval, &dval, 0)) {
185 Z_DVAL_PP(arg) = dval;
/PHP_TRUNK/ext/sockets/
H A Dconversions.c332 double dval; local
336 switch (is_numeric_string(Z_STRVAL(lzval), Z_STRLEN(lzval), &lval, &dval, 0)) {
340 Z_DVAL(lzval) = dval;
H A Dsockaddr_conv.c65 double dval = 0; local
68 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) {
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c319 double dval; local
388 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) {
395 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) {
400 Z_DVAL_P(value) = dval;
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_bt.c110 double dval = Z_DVAL_PP(arg); local
115 l_tmp = zend_sprintf(s_tmp, "%.*G", (int) EG(precision), dval); /* SAFE */
/PHP_TRUNK/Zend/
H A Dzend_operators.h125 * The number's value is returned into the respective pointer, *lval or *dval,
132 static inline zend_uchar is_numeric_string_ex(const char *str, int length, long *lval, double *dval, int allow_errors, int *oflow_info) argument
173 * it's a double. Otherwise, if there's a dval or no need to check for
175 for (type = IS_LONG; !(digits >= MAX_LENGTH_OF_LONG && (dval || allow_errors == 1)); digits++, ptr++) {
206 if (dval) {
218 /* If there's a dval, do the conversion; else continue checking
220 if (dval) {
244 if (dval) {
245 *dval = zend_strtod(str, NULL);
261 if (dval) {
269 is_numeric_string(const char *str, int length, long *lval, double *dval, int allow_errors) argument
[all...]
H A Dzend_exceptions.c477 double dval = Z_DVAL_PP(arg); local
482 l_tmp = zend_sprintf(s_tmp, "%.*G", (int) EG(precision), dval); /* SAFE */
H A Dzend.h324 double dval; /* double value */ member in union:_zvalue_value
H A Dzend_constants.c183 ZEND_API void zend_register_double_constant(const char *name, uint name_len, double dval, int flags, int module_number TSRMLS_DC) argument
187 ZVAL_DOUBLE(&c.value, dval);
H A Dzend_operators.c577 double dval; local
581 dval = Z_DVAL_P(op);
582 Z_STRLEN_P(op) = zend_spprintf(&Z_STRVAL_P(op), 0, "%.*H", (int) EG(precision), dval);
596 double dval; local
629 dval = Z_DVAL_P(op);
630 Z_STRLEN_P(op) = zend_spprintf(&Z_STRVAL_P(op), 0, "%.*G", (int) EG(precision), dval);
987 double dval = 0.0; local
991 ZEND_SIGNED_MULTIPLY_LONG(l1, l2, l1, dval, overflow);
993 ZVAL_DOUBLE(result, dval * pow(l2, i));
998 ZEND_SIGNED_MULTIPLY_LONG(l2, l2, l2, dval, overflo
2008 double dval; local
2056 double dval; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dmath.c562 double dval; local
564 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &dval) == FAILURE) {
567 RETURN_BOOL(zend_finite(dval));
575 double dval; local
577 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &dval) == FAILURE) {
580 RETURN_BOOL(zend_isinf(dval));
588 double dval; local
590 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &dval) == FAILURE) {
593 RETURN_BOOL(zend_isnan(dval));
H A Darray.c3958 double dval; local
3981 dval = (double)Z_LVAL_P(return_value) * (double)Z_LVAL(entry_n);
3982 if ( (double)LONG_MIN <= dval && dval <= (double)LONG_MAX ) {
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c1029 double dval; local
1032 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
1039 Z_DVAL_P(ret) = dval;
1070 double dval; local
1075 switch ((Z_TYPE_P(ret) = is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0))) {
1080 Z_DVAL_P(ret) = dval;
/PHP_TRUNK/ext/gd/
H A Dgd.c4889 zval dval; local
4890 dval = **var2;
4891 zval_copy_ctor(&dval);
4892 convert_to_double(&dval);
4893 matrix[i][j] = (float)Z_DVAL(dval);
5176 zval dval; local
5177 dval = **zval_affine_elem;
5178 zval_copy_ctor(&dval);
5179 convert_to_double(&dval);
5180 affine[i] = Z_DVAL(dval);
5295 zval dval; local
5310 zval dval; local
5402 zval dval; local
5424 zval dval; local
[all...]

Completed in 42 milliseconds