Searched refs:scale (Results 1 - 25 of 213) sorted by relevance

123456789

/openjdk7/hotspot/src/share/vm/runtime/
H A DsimpleThresholdPolicy.inline.hpp29 bool SimpleThresholdPolicy::call_predicate_helper(int i, int b, double scale) { argument
33 return (i > Tier3InvocationThreshold * scale) ||
34 (i > Tier3MinInvocationThreshold * scale && i + b > Tier3CompileThreshold * scale);
36 return (i > Tier4InvocationThreshold * scale) ||
37 (i > Tier4MinInvocationThreshold * scale && i + b > Tier4CompileThreshold * scale);
43 bool SimpleThresholdPolicy::loop_predicate_helper(int i, int b, double scale) { argument
47 return b > Tier3BackEdgeThreshold * scale;
49 return b > Tier4BackEdgeThreshold * scale;
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageConvKernelConvert.c90 mlib_s32 i, scale, scale1, chk_flag; local
110 scale = mlib_ilogb(sum);
111 scale++;
113 scale = 31 - scale;
126 scale = mlib_ilogb(sum);
127 scale = (scale > scale1) ? scale : scale1;
128 scale
[all...]
H A Dmlib_c_ImageConvVersion.c38 * mlib_s32 scale,
51 mlib_s32 scale,
57 mlib_d64 dscale = 1.0 / (1 << scale); /* 16 < scale <= 31 */
49 mlib_ImageConvVersion(mlib_s32 m, mlib_s32 n, mlib_s32 scale, mlib_type type) argument
H A Dmlib_ImageConvMxN.c39 * mlib_s32 scale,
50 * scale The scaling factor to convert the input integer
52 * floating-point coefficient = integer coefficient * 2^(-scale)
78 * For data type MLIB_BYTE: 16 <= scale <= 31 (to be compatible with VIS version)
79 * For data type MLIB_SHORT: 17 <= scale <= 32 (to be compatible with VIS version)
80 * For data type MLIB_USHORT: 17 <= scale <= 32 (to be compatible with VIS version)
81 * For data type MLIB_INT: scale >= 0
100 mlib_s32 scale,
109 if (scale < 16 || scale > 3
93 mlib_ImageConvMxN(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, mlib_edge edge) argument
131 mlib_ImageConvMxN_f(mlib_image *dst, const mlib_image *src, const void *kernel, mlib_s32 m, mlib_s32 n, mlib_s32 dm, mlib_s32 dn, mlib_s32 scale, mlib_s32 cmask, mlib_edge edge) argument
[all...]
H A Dmlib_c_ImageConv.h41 mlib_s32 scale,
51 mlib_s32 scale,
61 mlib_s32 scale,
67 mlib_s32 scale,
73 mlib_s32 scale,
79 mlib_s32 scale,
89 mlib_s32 scale,
95 mlib_s32 scale,
105 mlib_s32 scale,
111 mlib_s32 scale,
[all...]
H A Dmlib_c_ImageConv_f.c36 mlib_s32 scale, \
41 dst, src, kern, scale, cmask
52 mlib_s32 scale, \
57 dst, src, dx_l, dx_r, dy_t, dy_b, kern, scale, cmask
68 mlib_s32 scale, \
73 dst, src, kern, m, n, dm, dn, scale, cmask
86 mlib_s32 scale, \
91 dst, src, kern, m, n, dx_l, dx_r, dy_t, dy_b, scale, cmask
107 if (mlib_ImageConvVersion(3, 3, scale, MLIB_BYTE) == 0)
127 if (mlib_ImageConvVersion(5, 5, scale, MLIB_BYT
[all...]
H A Dmlib_ImageConv.h71 mlib_s32 scale,
81 mlib_s32 scale,
91 mlib_s32 scale,
101 mlib_s32 scale,
117 mlib_s32 scale,
123 mlib_s32 scale,
129 mlib_s32 scale,
135 mlib_s32 scale,
145 mlib_s32 scale,
173 mlib_s32 scale,
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DModelConnectionBlock.java40 // source1 * source2 * scale -> destination
44 private double scale = 1; field in class:ModelConnectionBlock
50 public ModelConnectionBlock(double scale, ModelDestination destination) { argument
51 this.scale = scale;
64 public ModelConnectionBlock(ModelSource source, double scale, argument
70 this.scale = scale;
90 double scale, ModelDestination destination) {
101 this.scale
89 ModelConnectionBlock(ModelSource source, ModelSource control, double scale, ModelDestination destination) argument
117 setScale(double scale) argument
[all...]
/openjdk7/jdk/test/java/math/BigDecimal/
H A DZeroScalingTests.java27 * @summary Tests that the scale of zero is propagated properly and has the proper effect.
66 Math.max(zero1.scale(), zero2.scale()));
71 System.err.println("For classic exact add, expected scale of " +
72 expected.scale() + "; got " +
73 result.scale() + ".");
79 " expected scale of " +
80 expected.scale() + "; got " +
81 result.scale() + ".");
87 " expected scale o
[all...]
H A DIntegralDivisionTests.java26 * @summary Tests that integral division and related methods return the proper result and scale.
58 System.err.println("dividend = " + testCase[0] + " scale = " + testCase[0].scale());
59 System.err.println("divisor = " + testCase[1] + " scale = " + testCase[1].scale());
60 System.err.println("quotient = " + quotient + " scale = " + quotient.scale());
61 System.err.println("expected = " + testCase[2] + " scale = " + testCase[2].scale());
62 // System.err.println("exact = " + exact + " scale
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageConvVersion.c39 * mlib_s32 scale,
53 mlib_s32 scale,
56 mlib_d64 dscale = 1.0 / (1 << scale); /* 16 < scale <= 31 */
51 mlib_ImageConvVersion(mlib_s32 m, mlib_s32 n, mlib_s32 scale, mlib_type type) argument
H A Dmlib_v_ImageConv.h40 mlib_s32 scale,
46 mlib_s32 scale,
56 mlib_s32 scale,
64 mlib_s32 scale);
69 mlib_s32 scale);
78 mlib_s32 scale);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/
H A DBaseIndexScaleDispAddress.java27 // address is calculated as (base + (index * scale) + displacement)
32 private final int scale; field in class:BaseIndexScaleDispAddress
37 public BaseIndexScaleDispAddress(Register base, Register index, long disp, int scale) { argument
41 this.scale = scale;
65 return scale;
/openjdk7/jdk/src/share/classes/sun/tools/jstat/resources/
H A Djstat_options30 scale sec
42 scale raw
50 scale K
59 scale raw
66 scale K
73 scale raw
84 scale raw
92 scale raw
100 scale raw
109 scale se
[all...]
H A Djstat_unsupported_options31 scale raw
38 scale sec
47 scale raw
54 scale raw
63 scale raw
71 scale K
78 scale raw
87 scale raw
95 scale K
102 scale ra
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DImageCache.java85 final int h, final int scale,
87 final int hash = hash(config, w, h, scale, state);
97 if (ref != null && ref.equals(config, w, h, scale, state)) {
110 * @param scale The image scale factor, used as part of cache key
115 final int scale, final JRSUIState state) {
120 final int hash = hash(config, w, h, scale, state);
158 map.put(hash, new PixelCountSoftReference(image, referenceQueue, newPixelCount, hash, config, w, h, scale, state));
166 final int h, final int scale,
171 hash = 31 * hash + scale;
84 getImage(final GraphicsConfiguration config, final int w, final int h, final int scale, final JRSUIState state) argument
113 setImage(final Image image, final GraphicsConfiguration config, final int w, final int h, final int scale, final JRSUIState state) argument
165 hash(final GraphicsConfiguration config, final int w, final int h, final int scale, final JRSUIState state) argument
191 private final int scale; field in class:ImageCache.PixelCountSoftReference
194 PixelCountSoftReference(final Image referent, final ReferenceQueue<? super Image> q, final int pixelCount, final int hash, final GraphicsConfiguration config, final int w, final int h, final int scale, final JRSUIState state) argument
208 equals(final GraphicsConfiguration config, final int w, final int h, final int scale, final JRSUIState state) argument
[all...]
/openjdk7/hotspot/src/share/vm/ci/
H A DciCallProfile.hpp83 // Rescale the current profile based on the incoming scale
84 ciCallProfile rescale(double scale) {
85 assert(scale >= 0 && scale <= 1.0, "out of range");
87 call._count = (int)(call._count * scale);
89 call._receiver_count[i] = (int)(call._receiver_count[i] * scale);
/openjdk7/jdk/src/share/classes/java/math/
H A DBigDecimal.java38 * <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 &times; 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/sun/tools/jstat/
H A DColumnFormat.java40 private Scale scale = Scale.RAW; field in class:ColumnFormat
84 public void setScale(Scale scale) { argument
85 this.scale = scale;
113 return scale;
144 + ";scale=" + scale.toString() + ";align=" + align.toString());
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DExtendedSatelliteComponent.java85 double scale = Math.min(sx, sy);
87 int vw = (int) (scale * bounds.width);
88 int vh = (int) (scale * bounds.height);
99 ig.scale(scale, scale);
100 scene.setRealZoomFactor(scale);
112 (int) ((double) viewRectangle.x * scale / zoomFactor),
113 (int) ((double) viewRectangle.y * scale / zoomFactor),
114 (int) ((double) viewRectangle.width * scale / zoomFacto
[all...]
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLLayer.java43 private static native void nativeSetScale(long layerPtr, double scale); argument
48 private int scale = 1; field in class:CGLLayer
125 if (scale != _scale) {
126 scale = _scale;
127 nativeSetScale(getPointer(), scale);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/
H A DExtendedSatelliteComponent.java84 double scale = Math.min(sx, sy);
86 int vw = (int) (scale * bounds.width);
87 int vh = (int) (scale * bounds.height);
98 ig.scale(scale, scale);
109 (int) ((double) viewRectangle.x * scale / zoomFactor),
110 (int) ((double) viewRectangle.y * scale / zoomFactor),
111 (int) ((double) viewRectangle.width * scale / zoomFactor),
112 (int) ((double) viewRectangle.height * scale / zoomFacto
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/
H A DFileTime.java321 long scale;
323 case DAYS : scale = C0; break;
324 case HOURS : scale = C1; break;
325 case MINUTES : scale = C2; break;
326 case SECONDS : scale = C3; break;
327 case MILLISECONDS : scale = C4; break;
328 case MICROSECONDS : scale = C5; break;
329 case NANOSECONDS : scale = C6; break;
333 this.excessNanos = unit.toNanos(value - (this.days * scale));
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dutils.h39 inline size_t scale_size(size_t size, size_t scale) { argument
40 return (size > PSIZE_MAX / scale) ? OVERFLOW : size * scale;
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A Dimg_dcm.h32 * scale the decoded color components to 8-bit quantities if needed.
64 int scale;
82 scale = (red_scale | green_scale | blue_scale \
94 if (scale) { \

Completed in 83 milliseconds

123456789