| /PHP_TRUNK/ext/xmlrpc/libxmlrpc/ |
| H A D | xml_to_xmlrpc.c | 233 ap_php_snprintf(buf, BUF_SIZE, "%.*G", (int) EG(precision), XMLRPC_GetValueDouble(node));
|
| /PHP_TRUNK/Zend/ |
| H A D | zend_globals.h | 199 long precision; member in struct:_zend_executor_globals
|
| H A D | zend_operators.c | 582 Z_STRLEN_P(op) = zend_spprintf(&Z_STRVAL_P(op), 0, "%.*H", (int) EG(precision), dval); 630 Z_STRLEN_P(op) = zend_spprintf(&Z_STRVAL_P(op), 0, "%.*G", (int) EG(precision), dval); 2336 Z_STRLEN_P(op) = zend_spprintf(&Z_STRVAL_P(op), 0, "%.*G", (int) EG(precision), (double)Z_DVAL_P(op));
|
| /PHP_TRUNK/ext/interbase/ |
| H A D | ibase_query.c | 1935 unsigned short precision = 0; local 1940 precision = 4; 1943 precision = 9; 1946 precision = 18; 1949 len = slprintf(buf, 16, "NUMERIC(%d,%d)", precision, -var->sqlscale);
|
| /PHP_TRUNK/ext/json/ |
| H A D | json.c | 422 int l = spprintf(&tmp, 0, "%.*k", (int) EG(precision), d); 630 len = spprintf(&d, 0, "%.*k", (int) EG(precision), dbl);
|
| /PHP_TRUNK/ext/oci8/ |
| H A D | oci8_interface.c | 1186 Tell the precision of a column */ 1192 RETURN_LONG(column->precision);
|
| H A D | php_oci8_int.h | 249 sb2 precision; /* column precision */ member in struct:__anon10
|
| /PHP_TRUNK/ext/odbc/ |
| H A D | php_odbc.c | 1238 SQLULEN precision; local 1296 rc = SQLDescribeParam(result->stmt, (SQLUSMALLINT)i, &sqltype, &precision, &scale, &nullable); 1358 ctype, sqltype, precision, scale, 1363 precision = params[i-1].vallen; 1370 ctype, sqltype, precision, scale, 2840 Get the length (precision) of a column */
|
| /PHP_TRUNK/ext/pdo_odbc/ |
| H A D | odbc_stmt.c | 282 UDWORD precision = 0; local 310 rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nullable); 317 precision = 4000; 322 precision = param->max_value_len; 354 P->len = param->max_value_len > 0 ? param->max_value_len : precision; 368 P->paramtype, ctype, sqltype, precision, scale,
|
| /PHP_TRUNK/ext/pdo_pgsql/ |
| H A D | pgsql_statement.c | 443 cols[colno].precision = PQfmod(S->result, colno);
|
| /PHP_TRUNK/ext/standard/ |
| H A D | formatted_print.c | 208 int alignment, int precision, 223 precision = FLOAT_PRECISION; 224 } else if (precision > MAX_FLOAT_PRECISION) { 225 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Requested precision of %d digits was truncated to PHP maximum of %d digits", precision, MAX_FLOAT_PRECISION); 226 precision = MAX_FLOAT_PRECISION; 251 s = php_conv_fp((fmt == 'f')?'F':fmt, number, 0, precision, 267 if (precision == 0) 268 precision = 1; 275 s = php_gcvt(number, precision, LCONV_DECIMAL_POIN 205 php_sprintf_appenddouble(char **buffer, int *pos, int *size, double number, int width, char padding, int alignment, int precision, int adjust, char fmt, int always_sign TSRMLS_DC) argument 376 int alignment, currarg, adjusting, argnum, width, precision; local [all...] |
| H A D | math.c | 152 /* If the decimal precision guaranteed by FP arithmetic is higher than 154 is returned, pre-round the result to the precision */ 176 /* This value is beyond our precision, so rounding it is pointless */ 341 /* {{{ proto float round(float number [, int precision [, int mode]]) 342 Returns the number rounded to specified precision */ 347 long precision = 0; local 351 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z|ll", &value, &precision, &mode) == FAILURE) { 356 places = (int) precision;
|
| H A D | http.c | 184 ekey_len = spprintf(&ekey, 0, "%.*G", (int) EG(precision), Z_DVAL_PP(zdata));
|
| H A D | var.c | 110 php_printf("%sfloat(%.*G)\n", COMMON, (int) EG(precision), Z_DVAL_PP(struc)); 265 php_printf("%sdouble(%.*G) refcount(%u)\n", COMMON, (int) EG(precision), Z_DVAL_PP(struc), Z_REFCOUNT_PP(struc)); 439 tmp_len = spprintf(&tmp_str, 0,"%.*H", (int) EG(precision), Z_DVAL_PP(struc));
|
| /PHP_TRUNK/ext/sybase_ct/ |
| H A D | php_sybase_ct.c | 1182 if ((length - 1) <= EG(precision)) { \ 1375 result->datafmt[i].maxlength = result->datafmt[i].precision + 3;
|
| /PHP_TRUNK/main/ |
| H A D | snprintf.c | 373 boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, int *len) 379 if (precision >= NDIG - 1) { 380 precision = NDIG - 2; 384 p_orig = p = php_fcvt(num, precision, &decimal_point, is_negative); 386 p_orig = p = php_ecvt(num, precision + 1, &decimal_point, is_negative); 401 if (num != 0 || precision > 0) { 403 if (precision > 0) { 421 if (precision > 0 || add_dp) { 427 if (precision > 0 || add_dp) { 547 * This macro does zero padding so that the precision 372 php_conv_fp(register char format, register double num, boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, int *len) argument 594 int precision = 0; local [all...] |
| H A D | snprintf.h | 90 boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, int *len); 161 /* The maximum precision that's allowed for float conversion. Does not include
|
| H A D | spprintf.c | 172 * This macro does zero padding so that the precision 177 #define FIX_PRECISION(adjust, precision, s, s_len) do { \ 179 while (s_len < precision) { \ 205 int precision = 0; local 250 * Try to avoid checking for flags, width or precision 289 * Check if a precision was specified 295 STR_TO_DEC(fmt, precision); 297 precision = va_arg(ap, int); 299 if (precision < 0) 300 precision [all...] |
| /PHP_TRUNK/ext/pdo_sqlite/ |
| H A D | sqlite_statement.c | 233 stmt->columns[colno].precision = 0;
|
| /PHP_TRUNK/ext/pdo_oci/ |
| H A D | oci_statement.c | 523 /* precision ? */ 531 col->precision = scale;
|
| /PHP_TRUNK/ext/pdo/ |
| H A D | pdo_stmt.c | 323 int len = spprintf(&p, 0, "%.*H", (int) EG(precision), Z_DVAL_P(param->parameter)); 1865 add_assoc_long(return_value, "precision", col->precision);
|
| H A D | php_pdo_driver.h | 374 * precision => precision of the column 518 unsigned long precision; member in struct:pdo_column_data
|
| /PHP_TRUNK/ext/pdo_firebird/ |
| H A D | firebird_statement.c | 200 col->precision = -var->sqlscale;
|
| /PHP_TRUNK/ext/pdo_dblib/ |
| H A D | dblib_stmt.c | 307 add_assoc_long(return_value, "precision", (int) dbtypeinfo->precision );
|
| /PHP_TRUNK/ext/pdo_mysql/ |
| H A D | mysql_statement.c | 689 cols[i].precision = S->fields[i].decimals;
|