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

/PHP_5_5/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_is_numeric.h24 zend_uchar collator_is_numeric( UChar *str, int length, long *lval, double *dval, int allow_errors );
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_5_5/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_5_5/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_5_5/ext/soap/
H A Dphp_encoding.c1031 double dval; local
1034 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
1041 Z_DVAL_P(ret) = dval;
1072 double dval; local
1077 switch ((Z_TYPE_P(ret) = is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0))) {
1082 Z_DVAL_P(ret) = dval;
/PHP_5_5/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));
624 double dval local
[all...]
H A Darray.c4097 double dval; local
4120 dval = (double)Z_LVAL_P(return_value) * (double)Z_LVAL(entry_n);
4121 if ( (double)LONG_MIN <= dval && dval <= (double)LONG_MAX ) {
/PHP_5_5/Zend/
H A Dzend.h323 double dval; /* double value */ member in union:_zvalue_value
H A Dzend_constants.c193 ZEND_API void zend_register_double_constant(const char *name, uint name_len, double dval, int flags, int module_number TSRMLS_DC) argument
198 c.value.value.dval = dval;
H A Dzend_constants.h42 #define REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name), (dval), (flags), module_number TSRMLS_CC)
47 #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)
52 #define REGISTER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name), (dval), (flags), 0 TSRMLS_CC)
66 ZEND_API void zend_register_double_constant(const char *name, uint name_len, double dval, int flags, int module_number TSRMLS_DC);
H A Dzend_language_scanner.l1516 zendlval->value.dval = zend_bin_strtod(bin, NULL);
1530 zendlval->value.dval = zend_oct_strtod(yytext, NULL);
1532 zendlval->value.dval = zend_strtod(yytext, NULL);
1562 zendlval->value.dval = zend_hex_strtod(hex, NULL);
1588 zendlval->value.dval = zend_strtod(yytext, NULL);
H A Dzend_multiply.h24 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
30 if (usedval) (dval) = (double) (a) * (double) (b); \
36 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
42 if (usedval) (dval) = (double) (a) * (double) (b); \
48 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
54 if (usedval) (dval) = (double) (a) * (double) (b); \
60 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
67 if (usedval) (dval) = (double) (a) * (double) (b); \
73 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
76 (dval)
[all...]
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);
1869 double dval; local
1871 switch (is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), &lval, &dval, 0)) {
1884 ZVAL_DOUBLE(op1, dval+1);
1903 double dval; local
[all...]
H A Dzend_operators.h124 * The number's value is returned into the respective pointer, *lval or *dval,
131 static inline zend_uchar is_numeric_string_ex(const char *str, int length, long *lval, double *dval, int allow_errors, int *oflow_info) argument
172 * it's a double. Otherwise, if there's a dval or no need to check for
174 for (type = IS_LONG; !(digits >= MAX_LENGTH_OF_LONG && (dval || allow_errors == 1)); digits++, ptr++) {
205 if (dval) {
217 /* If there's a dval, do the conversion; else continue checking
219 if (dval) {
243 if (dval) {
244 *dval = zend_strtod(str, NULL);
260 if (dval) {
268 is_numeric_string(const char *str, int length, long *lval, double *dval, int allow_errors) argument
[all...]
/PHP_5_5/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_5_5/ext/gd/
H A Dgd.c4881 zval dval; local
4882 dval = **var2;
4883 zval_copy_ctor(&dval);
4884 convert_to_double(&dval);
4885 matrix[i][j] = (float)Z_DVAL(dval);
5168 zval dval; local
5169 dval = **zval_affine_elem;
5170 zval_copy_ctor(&dval);
5171 convert_to_double(&dval);
5172 affine[i] = Z_DVAL(dval);
5289 zval dval; local
5304 zval dval; local
5396 zval dval; local
5418 zval dval; local
[all...]
/PHP_5_5/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c178 double dval; local
201 dval = (double) d32val;
219 dval = zend_strtod(s, NULL);
223 ZVAL_DOUBLE(zv, dval);

Completed in 46 milliseconds