/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageAffineEdge.c | 187 t = ((X - 32768) & MLIB_MASK) * scale; \ 188 u = ((Y - 32768) & MLIB_MASK) * scale; \ 229 t = ((X - 32768) & MLIB_MASK) * scale; \ 230 u = ((Y - 32768) & MLIB_MASK) * scale; \ 323 dx = ((X - 32768) & MLIB_MASK) * scale; \ 336 dx = ((X - 32768) & MLIB_MASK) * scale; \ 661 mlib_d64 scale = 1.0 / (mlib_d64) MLIB_PREC; local 786 mlib_d64 scale = 1.0 / (mlib_d64) MLIB_PREC; local
|
H A D | mlib_ImageConv_32nw.c | 1150 mlib_s32 scale, 1163 if (scale > 30) { 1165 scale -= 30; 1168 fscale /= (1 << scale); 1143 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument
|
H A D | awt_ImagingLib.c | 242 int i, scale; local 387 if ((*sMlibFns[MLIB_CONVKERNCVT].fptr)(kdata, &scale, dkern, w, h, 405 fprintf(stderr, "New Kernel(scale=%d):\n", scale); 416 (w-1)/2, (h-1)/2, scale, cmask, 482 int i, scale; local 634 if ((*sMlibFns[MLIB_CONVKERNCVT].fptr)(kdata, &scale, dkern, w, h, 653 fprintf(stderr, "New Kernel(scale=%d):\n", scale); 664 (w-1)/2, (h-1)/2, scale, cmas [all...] |
H A D | mlib_ImageConv_16nw.c | 1640 mlib_s32 scale, 1656 if (scale > 30) { 1658 scale -= 30; 1661 fscale /= (1 << scale); 2055 mlib_s32 scale, 2077 shift2 = scale - shift1; 1633 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument 2048 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument
|
H A D | mlib_ImageConv_8nw.c | 1641 mlib_s32 scale, 1657 if (scale > 30) { 1659 scale -= 30; 1662 fscale /= (1 << scale); 2056 mlib_s32 scale, 2078 shift2 = scale - shift1; 1634 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument 2049 MxN(mlib_image *dst, const mlib_image *src, const mlib_s32 *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask) argument
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ |
H A D | ImageTests.java | 606 float scale; field in class:ImageTests.DrawImageScale 608 public DrawImageScale(String dir, float scale) { argument 610 "drawImage(img, x, y, w*"+scale+", h*"+scale+", obs);"); 611 this.scale = scale; 615 int neww = (int) (w * scale); 616 int newh = (int) (h * scale); 617 if (neww == w && scale > 1f) neww = w+1; 618 if (newh == h && scale > [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CDROutputStream.java | 386 public final void write_fixed(java.math.BigDecimal bigDecimal, short digits, short scale) { argument 387 impl.write_fixed(bigDecimal, digits, scale);
|
H A D | CDRInputStream_1_0.java | 1811 public java.math.BigDecimal read_fixed(short digits, short scale) { argument 1817 buffer.insert(digits - scale, '.'); 1821 // This method is unable to yield the correct scale.
|
H A D | CDROutputStream_1_0.java | 1600 // digits and scale before it gets written to the stream. 1601 public void write_fixed(java.math.BigDecimal bigDecimal, short digits, short scale) { argument 1630 while (stringBuffer.length() < scale) { 1645 // Right now the scale and digits information of the type code is lost.
|
/openjdk7/jdk/src/share/classes/javax/sql/rowset/ |
H A D | BaseRowSet.java | 2554 * third element is the value set for <i>scale</i>, which the driver will 2577 * to be sent to the database. The <code>scale</code> argument may 2581 * @param scale for the types <code>java.sql.Types.DECIMAL</code> and 2588 public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException { argument 2595 obj[2] = Integer.valueOf(scale); 2606 * targetSqlType, int scale)</code> except that it assumes a scale of zero. 3701 * sent to the database. The scale argument may further qualify this type. 3702 * @param scale for java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types, 3718 public void setObject(String parameterName, Object x, int targetSqlType, int scale) argument [all...] |
/openjdk7/jdk/src/share/classes/java/math/ |
H A D | BigDecimal.java | 38 * <i>unscaled value</i> and a 32-bit integer <i>scale</i>. If zero 39 * or positive, the scale is the number of digits to the right of the 41 * multiplied by ten to the power of the negation of the scale. The 43 * therefore <tt>(unscaledValue × 10<sup>-scale</sup>)</tt>. 46 * arithmetic, scale manipulation, rounding, comparison, hashing, and 89 * and rounding must specify both the numerical result and the scale 120 * preferred scale for representing a result. The preferred 121 * scale for each operation is listed in the table below. 127 * <tr><td>Add</td><td>max(addend.scale(), augend.scale())</t 235 private int scale; // Note: this may have any value, so field in class:BigDecimal 354 BigDecimal(BigInteger intVal, long val, int scale, int prec) argument 915 BigDecimal(BigInteger unscaledVal, int scale) argument 936 BigDecimal(BigInteger unscaledVal, int scale, MathContext mc) argument 1015 valueOf(long unscaledVal, int scale) argument 1379 divide(BigDecimal divisor, int scale, int roundingMode) argument 1412 divideAndRound(long ldividend, BigInteger bdividend, long ldivisor, BigInteger bdivisor, int scale, int roundingMode, int preferredScale) argument 1512 divide(BigDecimal divisor, int scale, RoundingMode roundingMode) argument 2169 public int scale() { method in class:BigDecimal 2885 getValueString(int signum, String intString, int scale) argument [all...] |
/openjdk7/jdk/src/share/classes/java/sql/ |
H A D | ResultSet.java | 351 * @param scale the number of digits to the right of the decimal point 361 BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException; argument 636 * @param scale the number of digits to the right of the decimal point 646 BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException; argument
|
/openjdk7/jdk/src/share/classes/com/sun/rowset/ |
H A D | JoinRowSetImpl.java | 1140 * that does not take a scale parameter and returns a value with full 1146 * @param scale the number of digits to the right of the decimal point in the 1155 public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { argument 1429 * @param scale the number of digits to the right of the decimal point 1438 public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { argument 2707 * <code>Object</code> value. The <code>scale</code> parameter indicates 2725 * @param scale the number of digits to the right of the decimal point (for 2732 public void updateObject(int columnIndex, Object x, int scale) throws SQLException { argument 2733 crsInternal.updateObject(columnIndex, x, scale); 3227 * <code>Object</code> value. The <code>scale</cod 3254 updateObject(String columnName, Object x, int scale) argument [all...] |
H A D | JdbcRowSetImpl.java | 743 * What's left should be setObject(int, Object, scale) 1027 * @param scale the number of digits to the right of the decimal point 1035 public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { argument 1038 return rs.getBigDecimal(columnIndex, scale); 1347 * @param scale the number of digits to the right of the decimal point 1355 public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { argument 1356 return getBigDecimal(findColumn(columnName), scale); 2626 * @param scale for <code>java.sql.Types.DECIMAl</code> 2635 public void updateObject(int columnIndex, Object x, int scale) throws SQLException { argument 2642 rs.updateObject(columnIndex, x, scale); 2973 updateObject(String columnName, Object x, int scale) argument 6517 setObject(String parameterName, Object x, int targetSqlType, int scale) argument [all...] |
/openjdk7/hotspot/src/share/vm/adlc/ |
H A D | output_h.cpp | 1315 const char *scale = mem_interface->_scale; local 1316 if( scale != NULL ) { 1317 define_oper_interface(fp, *oper, _globalNames, "scale", scale);
|
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | PeekGraphics.java | 268 public void scale(double sx, double sy) { method in class:PeekGraphics 269 mGraphics.scale(sx, sy);
|
H A D | ProxyGraphics2D.java | 204 public void scale(double sx, double sy) { method in class:ProxyGraphics2D 205 mGraphics.scale(sx, sy);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orb/ |
H A D | ORBImpl.java | 1050 public synchronized org.omg.CORBA.TypeCode create_fixed_tc(short digits, short scale) argument 1053 return new TypeCodeImpl(this, TCKind._tk_fixed, digits, scale);
|
H A D | ORBSingleton.java | 241 public org.omg.CORBA.TypeCode create_fixed_tc(short digits, short scale) argument 243 return new TypeCodeImpl(this, TCKind._tk_fixed, digits, scale);
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Formatter.java | 3527 int scale = value.scale(); 3541 = new BigDecimal(value.unscaledValue(), scale, mc); 3544 = new BigDecimalLayout(v.unscaledValue(), v.scale(), 3550 // contain a decimal point if the scale is zero (the internal 3581 int scale = value.scale(); 3583 if (scale > prec) { 3584 // more "scale" digits than the requested "precision" 3586 if (compPrec <= scale) { 3661 private int scale; field in class:Formatter.FormatSpecifier.BigDecimalLayout 3663 BigDecimalLayout(BigInteger intVal, int scale, BigDecimalLayoutForm form) argument 3671 public int scale() { method in class:Formatter.FormatSpecifier.BigDecimalLayout 3703 layout(BigInteger intVal, int scale, BigDecimalLayoutForm form) argument [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | loopopts.cpp | 339 Node *scale = n->in(2); local 340 Node *scale_ctrl = get_ctrl(scale); 344 const TypeInt *scale_t = scale->bottom_type()->isa_int(); 387 Node *inv_scale = new (C) LShiftINode( add_invar, scale ); 392 Node *var_scale = new (C) LShiftINode( add_var, scale );
|
/openjdk7/jdk/src/share/classes/com/sun/rowset/internal/ |
H A D | SyncResolverImpl.java | 1272 * that does not take a scale parameter and returns a value with full 1278 * @param scale the number of digits to the right of the decimal point in the 1287 public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { argument 1638 * @param scale the number of digits to the right of the decimal point 1639 * @return a java.math.BugDecimal object with <code><i>scale</i></code> 1652 public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { argument 3023 * <code>Object</code> value. The <code>scale</code> parameter indicates 3041 * @param scale the number of digits to the right of the decimal point (for 3048 public void updateObject(int columnIndex, Object x, int scale) throws SQLException { argument 3542 * <code>Object</code> value. The <code>scale</cod 3566 updateObject(String columnName, Object x, int scale) argument [all...] |
/openjdk7/hotspot/src/cpu/x86/vm/ |
H A D | assembler_x86.hpp | 164 assert(size >= 1 && size <= 8 && is_power_of_2(size), "bad scale size"); 170 static int scale_size(ScaleFactor scale) { argument 171 assert(scale != no_scale, ""); 176 return (1 << (int)scale); 213 Address(Register base, Register index, ScaleFactor scale, int disp = 0) argument 216 _scale(scale), 218 assert(!index->is_valid() == (scale == Address::no_scale), 222 Address(Register base, RegisterOrConstant index, ScaleFactor scale = times_1, int disp = 0) 225 _scale(scale), 226 _disp (disp + (index.constant_or_zero() * scale_size(scale))) { 271 Address(Register base, Register index, ScaleFactor scale, ByteSize disp) argument 280 Address(Register base, RegisterOrConstant index, ScaleFactor scale, ByteSize disp) argument 296 ScaleFactor scale() const { return _scale; } function in class:VALUE_OBJ_CLASS_SPEC [all...] |
/openjdk7/hotspot/src/share/vm/c1/ |
H A D | c1_LIR.cpp | 124 LIR_Address::Scale LIR_Address::scale(BasicType type) { function in class:LIR_Address 140 assert(scale() == times_1, "Scaled addressing mode not available on SPARC/PPC and should not be used"); 1565 switch (scale()) {
|
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/ |
H A D | imageioJPEG.c | 2631 UINT8** scale = NULL; local 2679 if (scale == NULL) { 2680 scale = (UINT8**) calloc(numBands, sizeof(UINT8*)); 2682 if (scale == NULL) { 2691 scale[i] = (UINT8*) malloc((maxBandValue + 1) * sizeof(UINT8)); 2693 if (scale[i] == NULL) { 2702 scale[i][j] = (UINT8) 2746 if (scale != NULL) { 2748 if (scale[i] != NULL) { 2749 free(scale[ [all...] |