/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | GrayFilter.java | 42 private int percent; field in class:GrayFilter 65 percent = p; 84 gray = (255 - ((255 - gray) * (100 - percent) / 100)); 86 gray = (gray * (100 - percent) / 100);
|
/openjdk7/jdk/test/java/net/InetAddress/ |
H A D | HashSpread.java | 92 double percent = (double)narrow / (double)iterations * 100.0; 93 if (percent > 85.0) { 94 throw new RuntimeException(percent + " of hash codes were in " +
|
/openjdk7/jdk/test/sun/security/tools/jarsigner/ |
H A D | PercentSign.sh | 77 -keystore ${TESTSRC}${FS}a%b${FS}percent.keystore \
|
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | DecimalFormatSymbols.java | 217 * Gets the character used for percent sign. Different for Arabic, etc. 220 return percent; 224 * Sets the character used for percent sign. Different for Arabic, etc. 226 public void setPercent(char percent) { argument 227 this.percent = percent; 497 percent == other.percent && 550 percent = numberElements[3].charAt(0); 677 * Character used for percent sig 681 private char percent; field in class:DecimalFormatSymbols [all...] |
H A D | DecimalFormat.java | 339 * // and percent format for each locale</strong> 1798 * Gets the multiplier for use in percent, per mille, and similar 1808 * Sets the multiplier for use in percent, per mille, and similar 1810 * For a percent format, set the multiplier to 100 and the suffixes to 1811 * have '%' (for Arabic, use the Arabic percent sign). 2340 char percent = PATTERN_PERCENT; 2350 percent = symbols.getPercent(); 2382 // percent, per mille, and currency symbols are recognized and 2464 else if (ch == percent) { 2466 throw new IllegalArgumentException("Too many percent/pe [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | NativeUnpack.java | 154 int percent = (int) Math.round(100*scaledProgress); 155 if (percent > 100) percent = 100; 156 if (percent > _prevPercent) { 157 _prevPercent = percent; 158 _props.setInteger(Pack200.Unpacker.PROGRESS, percent); 160 Utils.log.info("progress = "+percent);
|
H A D | ConstantPool.java | 1168 static double percent(int num, int den) { method in class:ConstantPool
|
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_monitor.c | 285 double percent; local 289 percent = (double)info->contended_time / 291 if (percent < cutoff) { 311 double percent; local 320 percent = (double)info->contended_time / 322 accum += percent; 323 io_write_monitor_elem(i + 1, percent, accum,
|
H A D | hprof_io.h | 87 void io_write_cpu_samples_elem(jint index, double percent, double accum, 105 void io_write_monitor_elem(jint index, double percent, double accum,
|
H A D | hprof_trace.c | 713 double percent; local 721 percent = (double)info->self_cost / (double)iterate.grand_total_cost; 722 if (percent < cutoff) { 740 double percent; local 748 percent = ((double)info->self_cost / (double)iterate.grand_total_cost) * 100.0; 749 accum += percent; 760 io_write_cpu_samples_elem(i+1, percent, accum, info->num_hits,
|
H A D | hprof_io.c | 830 " percent live alloc'ed stack class\n"); 1052 io_write_cpu_samples_elem(jint index, double percent, double accum, argument 1062 index, percent, accum, num_hits, 1167 io_write_monitor_elem(jint index, double percent, double accum, argument 1178 index, percent, accum, num_hits,
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/report/ |
H A D | J2DAnalyzer.java | 213 double percent = calcPercent(score, score2); 215 if (percent < 97.5) { 217 } else if (percent > 102.5) { 223 if (bestscore[i] < percent) { 224 bestscore[i] = percent; 226 if (worstscore[i] > percent) { 227 worstscore[i] = percent; 238 System.out.print(" ("+percent+"%)");
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | sharedRuntime.cpp | 1937 inline double percent(int x, int y) { function 1972 double percent = sum / 100; local 1975 tty->print_cr("%4d: %7d (%5.1f%%)", i, histo[i], histo[i] / percent); 1977 tty->print_cr("rest: %7d (%5.1f%%))", (int)rest, rest / percent); 2009 tty->print_cr("\t%9d (%4.1f%%) total non-inlined ", total, percent(total, total)); 2010 tty->print_cr("\t%9d (%4.1f%%) virtual calls ", _nof_normal_calls, percent(_nof_normal_calls, total)); 2011 tty->print_cr("\t %9d (%3.0f%%) inlined ", _nof_inlined_calls, percent(_nof_inlined_calls, _nof_normal_calls)); 2012 tty->print_cr("\t %9d (%3.0f%%) optimized ", _nof_optimized_calls, percent(_nof_optimized_calls, _nof_normal_calls)); 2013 tty->print_cr("\t %9d (%3.0f%%) monomorphic ", mono_c, percent(mono_c, _nof_normal_calls)); 2014 tty->print_cr("\t %9d (%3.0f%%) megamorphic ", _nof_megamorphic_calls, percent(_nof_megamorphic_call [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | InetAddress.java | 1182 int percent = s.indexOf ('%'); 1185 if (percent == -1) { 1188 for (int i=percent+1; i<slen; i++) { 1191 if (i == percent+1) {
|
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | SynchronizationStatistics.java | 340 private void timeRangeCheck(long time, long expected, int percent) argument 352 // differs > percent% 357 long range = (expected * percent) / 100;
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaUtils.java | 110 protected static Image generateLightenedImage(final Image image, final int percent) { argument 111 final GrayFilter filter = new GrayFilter(true, percent);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XlibWrapper.java | 360 static native void XBell(long display, int percent); argument
|
/openjdk7/jdk/src/solaris/native/sun/xawt/ |
H A D | XlibWrapper.c | 1538 (JNIEnv *env, jclass clazz, jlong display, jint percent) 1541 XBell((Display*)jlong_to_ptr(display), percent); 1537 Java_sun_awt_X11_XlibWrapper_XBell(JNIEnv *env, jclass clazz, jlong display, jint percent) argument
|