scale 212 ext/bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 219 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 227 ext/bcmath/bcmath.c bc_add (first, second, &result, scale); scale 229 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 230 ext/bcmath/bcmath.c result->n_scale = scale; scale 251 ext/bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 258 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 266 ext/bcmath/bcmath.c bc_sub (first, second, &result, scale); scale 268 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 269 ext/bcmath/bcmath.c result->n_scale = scale; scale 290 ext/bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 297 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 305 ext/bcmath/bcmath.c bc_multiply (first, second, &result, scale TSRMLS_CC); scale 307 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 308 ext/bcmath/bcmath.c result->n_scale = scale; scale 329 ext/bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 336 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 345 ext/bcmath/bcmath.c switch (bc_divide(first, second, &result, scale TSRMLS_CC)) { scale 347 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 348 ext/bcmath/bcmath.c result->n_scale = scale; scale 409 ext/bcmath/bcmath.c long scale = BCG(bc_precision); scale 412 ext/bcmath/bcmath.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|l", &left, &left_len, &right, &right_len, &modulous, &modulous_len, &scale) == FAILURE) { scale 424 ext/bcmath/bcmath.c scale_int = (int) ((int)scale < 0) ? 0 : scale; scale 427 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 428 ext/bcmath/bcmath.c result->n_scale = scale; scale 453 ext/bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 460 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 468 ext/bcmath/bcmath.c bc_raise (first, second, &result, scale TSRMLS_CC); scale 470 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 471 ext/bcmath/bcmath.c result->n_scale = scale; scale 492 ext/bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 499 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 505 ext/bcmath/bcmath.c if (bc_sqrt (&result, scale TSRMLS_CC) != 0) { scale 506 ext/bcmath/bcmath.c if (result->n_scale > scale) { scale 507 ext/bcmath/bcmath.c result->n_scale = scale; scale 529 ext/bcmath/bcmath.c int scale = BCG(bc_precision), argc = ZEND_NUM_ARGS(); scale 536 ext/bcmath/bcmath.c scale = (int) ((int)scale_param < 0) ? 0 : scale_param; scale 542 ext/bcmath/bcmath.c bc_str2num(&first, left, scale TSRMLS_CC); scale 543 ext/bcmath/bcmath.c bc_str2num(&second, right, scale TSRMLS_CC); scale 159 ext/bcmath/libbcmath/src/bcmath.h #define bc_new_num(length, scale) _bc_new_num_ex((length), (scale), 0) scale 108 ext/bcmath/libbcmath/src/div.c qval = bc_new_num (n1->n_len, scale); scale 110 ext/bcmath/libbcmath/src/div.c memset (&qval->n_value[n1->n_len],0,scale); scale 112 ext/bcmath/libbcmath/src/div.c n1->n_len + MIN(n1->n_scale,scale)); scale 126 ext/bcmath/libbcmath/src/div.c if (scale1 < scale) scale 127 ext/bcmath/libbcmath/src/div.c extra = scale - scale1; scale 148 ext/bcmath/libbcmath/src/div.c if (len2 > len1+scale) scale 150 ext/bcmath/libbcmath/src/div.c qdigits = scale+1; scale 157 ext/bcmath/libbcmath/src/div.c qdigits = scale+1; /* One for the zero integer part. */ scale 159 ext/bcmath/libbcmath/src/div.c qdigits = len1-len2+scale+1; scale 163 ext/bcmath/libbcmath/src/div.c qval = bc_new_num (qdigits-scale,scale); scale 189 ext/bcmath/libbcmath/src/div.c while (qdig <= len1+scale-len2) scale 58 ext/bcmath/libbcmath/src/divmod.c rscale = MAX (num1->n_scale, num2->n_scale+scale); scale 62 ext/bcmath/libbcmath/src/divmod.c bc_divide (num1, num2, &temp, scale TSRMLS_CC); scale 85 ext/bcmath/libbcmath/src/divmod.c return bc_divmod (num1, num2, NULL, result, scale TSRMLS_CC); scale 54 ext/bcmath/libbcmath/src/init.c temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent); scale 66 ext/bcmath/libbcmath/src/init.c temp->n_scale = scale; scale 69 ext/bcmath/libbcmath/src/init.c temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent); scale 72 ext/bcmath/libbcmath/src/init.c memset (temp->n_ptr, 0, length+scale); scale 54 ext/bcmath/libbcmath/src/nearzero.c if (scale > num->n_scale) scale 55 ext/bcmath/libbcmath/src/nearzero.c scale = num->n_scale; scale 58 ext/bcmath/libbcmath/src/nearzero.c count = num->n_len + scale; scale 76 ext/bcmath/libbcmath/src/raise.c rscale = scale; scale 81 ext/bcmath/libbcmath/src/raise.c rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale)); scale 77 ext/bcmath/libbcmath/src/raisemod.c rscale = MAX(scale, base->n_scale); scale 84 ext/bcmath/libbcmath/src/raisemod.c (void) bc_modulo (temp, mod, &temp, scale TSRMLS_CC); scale 88 ext/bcmath/libbcmath/src/raisemod.c (void) bc_modulo (power, mod, &power, scale TSRMLS_CC); scale 73 ext/bcmath/libbcmath/src/recmul.c temp->n_scale = scale; scale 288 ext/bcmath/libbcmath/src/recmul.c prod_scale = MIN(full_scale,MAX(scale,MAX(n1->n_scale,n2->n_scale))); scale 73 ext/bcmath/libbcmath/src/sqrt.c rscale = MAX (scale, (*num)->n_scale); scale 70 ext/bcmath/libbcmath/src/str2num.c strscale = MIN(strscale, scale); scale 151 ext/gd/libgd/gd_webp.c const float scale = MAX_VP8QP - MIN_VP8QP; scale 153 ext/gd/libgd/gd_webp.c scale * (MAX_QUALITY - quality) / (MAX_QUALITY - MIN_QUALITY) + MIN_VP8QP; scale 12 ext/gd/libgd/mathmake.c printf ("#define costScale %d\n", scale); scale 16 ext/gd/libgd/mathmake.c basis[i] = cos ((double) i * .0174532925) * scale; scale 36 ext/gd/libgd/mathmake.c printf ("#define sintScale %d\n", scale); scale 81 ext/gd/libgd/testac.c im_out = gdImageCreateTrueColor ((int) (gdImageSX (im_in) * scale), scale 82 ext/gd/libgd/testac.c (int) (gdImageSY (im_in) * scale)); scale 95 ext/gd/libgd/testac.c gdImageFill (im_out, (int) (gdImageSX (im_in) * scale / 2), scale 96 ext/gd/libgd/testac.c (int) (gdImageSY (im_in) * scale / 2), scale 107 ext/gd/libgd/testac.c (int) (gdImageSX (im_in) * scale), (int) (gdImageSY (im_in) * scale), scale 1338 ext/interbase/ibase_query.c if (scale == 0) { scale 1342 ext/interbase/ibase_query.c ISC_INT64 n = *(ISC_INT64 *) data, f = scales[-scale]; scale 1345 ext/interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d.%0*" LL_MASK "d", n / f, -scale, n % f); scale 1347 ext/interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "%" LL_MASK "d.%0*" LL_MASK "d", n / f, -scale, -n % f); scale 1349 ext/interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "-0.%0*" LL_MASK "d", -scale, -n % f); scale 1358 ext/interbase/ibase_query.c if (scale == 0) { scale 1361 ext/interbase/ibase_query.c long f = (long) scales[-scale]; scale 1364 ext/interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "%ld.%0*ld", n / f, -scale, n % f); scale 1366 ext/interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "%ld.%0*ld", n / f, -scale, -n % f); scale 1368 ext/interbase/ibase_query.c l = slprintf(string_data, sizeof(string_data), "-0.%0*ld", -scale, -n % f); scale 1179 ext/oci8/oci8_interface.c RETURN_LONG(column->scale); scale 562 ext/oci8/oci8_statement.c PHP_OCI_CALL_RETURN(statement->errcode, OCIAttrGet, ((dvoid *)param, OCI_DTYPE_PARAM, (dvoid *)&outcol->scale, (dvoid *)0, OCI_ATTR_SCALE, statement->err)); scale 248 ext/oci8/php_oci8_int.h sb1 scale; /* column scale */ scale 1236 ext/odbc/php_odbc.c SQLSMALLINT sqltype, ctype, scale; scale 1296 ext/odbc/php_odbc.c rc = SQLDescribeParam(result->stmt, (SQLUSMALLINT)i, &sqltype, &precision, &scale, &nullable); scale 1358 ext/odbc/php_odbc.c ctype, sqltype, precision, scale, scale 1370 ext/odbc/php_odbc.c ctype, sqltype, precision, scale, scale 308 ext/pdo_dblib/dblib_stmt.c add_assoc_long(return_value, "scale", (int) dbtypeinfo->scale ); scale 509 ext/pdo_oci/oci_statement.c ub2 dtype, data_size, scale, precis; scale 527 ext/pdo_oci/oci_statement.c (param, OCI_DTYPE_PARAM, &scale, 0, OCI_ATTR_SCALE, S->err)); scale 537 ext/pdo_oci/oci_statement.c col->precision = scale; scale 281 ext/pdo_odbc/odbc_stmt.c SWORD sqltype = 0, ctype = 0, scale = 0, nullable = 0; scale 316 ext/pdo_odbc/odbc_stmt.c rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nullable); scale 324 ext/pdo_odbc/odbc_stmt.c scale = 5; scale 374 ext/pdo_odbc/odbc_stmt.c P->paramtype, ctype, sqltype, precision, scale, scale 20899 ext/sqlite3/libsqlite/sqlite3.c double scale = 1.0; scale 20902 ext/sqlite3/libsqlite/sqlite3.c while( e%308 ) { scale *= 1.0e+1; e -= 1; } scale 20904 ext/sqlite3/libsqlite/sqlite3.c result = s / scale; scale 20907 ext/sqlite3/libsqlite/sqlite3.c result = s * scale; scale 20913 ext/sqlite3/libsqlite/sqlite3.c while( e%22 ) { scale *= 1.0e+1; e -= 1; } scale 20914 ext/sqlite3/libsqlite/sqlite3.c while( e>0 ) { scale *= 1.0e+22; e -= 22; } scale 20916 ext/sqlite3/libsqlite/sqlite3.c result = s / scale; scale 20918 ext/sqlite3/libsqlite/sqlite3.c result = s * scale; scale 1377 ext/sybase_ct/php_sybase_ct.c result->numerics[i] = (result->datafmt[i].scale == 0) ? 3 : 2;