Searched defs:percent (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DGrayFilter.java42 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/src/share/demo/jvmti/hprof/
H A Dhprof_monitor.c285 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 Dhprof_trace.c713 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 Dhprof_io.c830 " 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/classes/java/text/
H A DDecimalFormatSymbols.java217 * 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...]
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DSynchronizationStatistics.java340 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 DAquaUtils.java110 protected static Image generateLightenedImage(final Image image, final int percent) { argument
111 final GrayFilter filter = new GrayFilter(true, percent);
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DConstantPool.java1168 static double percent(int num, int den) { method in class:ConstantPool
/openjdk7/hotspot/src/share/vm/runtime/
H A DsharedRuntime.cpp1937 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/solaris/native/sun/xawt/
H A DXlibWrapper.c1538 (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
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXlibWrapper.java360 static native void XBell(long display, int percent); argument

Completed in 2986 milliseconds