Searched defs:max (Results 26 - 50 of 198) sorted by relevance

12345678

/openjdk7/jdk/test/java/lang/StringBuffer/
H A DTrim.java107 private static StringBuffer generateTestBuffer(int min, int max) { argument
109 int aNewLength = getRandomIndex(min, max);
H A DIndexOf.java52 private static String generateTestString(int min, int max) { argument
54 int aNewLength = getRandomIndex(min, max);
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A Dimg_globals.c112 int max, val; local
125 if (max < val) {
126 max = val;
131 printf("\nmax = %d\n", max);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DGXLayoutEngine.cpp57 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
63 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
H A DGXLayoutEngine2.cpp54 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
60 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
H A DKhmerLayoutEngine.cpp69 le_int32 KhmerOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
76 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
H A DThaiLayoutEngine.cpp80 // Input: characters (0..max provided for context)
84 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
90 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
H A DTibetanLayoutEngine.cpp75 le_int32 TibetanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
82 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
/openjdk7/jdk/test/javax/swing/JScrollBar/4865918/
H A Dbug4865918.java101 int min, int max) {
102 super(orientation, value, extent, min, max);
100 TestScrollBar(int orientation, int value, int extent, int min, int max) argument
/openjdk7/jdk/src/share/classes/sun/print/
H A DSunMinMaxPage.java36 public SunMinMaxPage(int min, int max) { argument
38 page_max = max;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/
H A DExsltDynamic.java69 * The dyn:max function calculates the maximum value for the nodes passed as
76 * the dyn:max function itself, except for the following:
81 * the first argument to the dyn:max function, arranged in document order.</li>
83 * dyn:max function.</li>
86 * The dyn:max function returns the maximum of these values, calculated in exactly
87 * the same way as for math:max.
93 * nodes based on their string values, you should use the math:max function.
101 public static double max(ExpressionContext myContext, NodeList nl, String expr) method in class:ExsltDynamic
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DAddressOps.java112 public static Address max(Address a1, Address a2) { method in class:AddressOps
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DSolarisWatchService.c95 jint port, jlong arrayAddress, jint max)
100 if (port_getn((int)port, list, (uint_t)max, &n, NULL) == -1) {
94 Java_sun_nio_fs_SolarisWatchService_portGetn(JNIEnv* env, jclass clazz, jint port, jlong arrayAddress, jint max) argument
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DProtocolList.java46 final ProtocolVersion min, max; field in class:ProtocolList
68 max = protocols.get(protocols.size() - 1);
72 max = ProtocolVersion.NONE;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DApplyImports.java68 private int getMinPrecedence(int max) { argument
133 // Get the [min,max> precedence of all templates imported under the
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/monitoring/
H A DStatisticsAccumulator.java54 protected double max = Double.MIN_VALUE; field in class:StatisticsAccumulator
92 if( value > max) max = value;
113 "Maximum Value = " + max + " " + unit + " " +
167 max = Double.MIN_VALUE;
190 if( max != expectedMax ) {
193 "\nMax Value = " + max + "Expected Max Value = " + expectedMax);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBoundedRangeModel.java238 * @param max an int giving the maximum value
248 void setRangeProperties(int value, int extent, int min, int max, boolean adjusting); argument
H A DBox.java311 * @param max Maximum size
314 public Filler(Dimension min, Dimension pref, Dimension max) { argument
317 setMaximumSize(max);
327 * @param max Value to return for getMaximumSize
329 public void changeShape(Dimension min, Dimension pref, Dimension max) { argument
332 setMaximumSize(max);
H A DSizeRequirements.java147 * @param max the maximum size >= 0
150 public SizeRequirements(int min, int pref, int max, float a) { argument
153 maximum = max;
213 totalAscent.minimum = Math.max(ascent, totalAscent.minimum);
214 totalDescent.minimum = Math.max(descent, totalDescent.minimum);
218 totalAscent.preferred = Math.max(ascent, totalAscent.preferred);
219 totalDescent.preferred = Math.max(descent, totalDescent.preferred);
223 totalAscent.maximum = Math.max(ascent, totalAscent.maximum);
224 totalDescent.maximum = Math.max(descent, totalDescent.maximum);
228 int max
323 compressedTile(int allocated, long min, long pref, long max, SizeRequirements[] request, int[] offsets, int[] spans, boolean forward) argument
357 expandedTile(int allocated, long min, long pref, long max, SizeRequirements[] request, int[] offsets, int[] spans, boolean forward) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DColorModelHSL.java104 float max = max(rgb[0], rgb[1], rgb[2]);
107 float summa = max + min;
108 float saturation = max - min;
114 hsl[0] = getHue(rgb[0], rgb[1], rgb[2], max, min);
141 static float max(float red, float green, float blue) { method in class:ColorModelHSL
142 float max = (red > green) ? red : green;
143 return (max > blue) ? max : blue;
152 * @param max th
156 getHue(float red, float green, float blue, float max, float min) argument
[all...]
H A DDiagramComponent.java147 private static int getValue(float value, int min, int max) { argument
148 return min + (int) (value * (float) (max));
151 private static float getValue(int value, int min, int max) { argument
154 return (value < max)
155 ? (float) value / (float) max
H A DSlidingSpinner.java75 int max = this.slider.getMaximum();
77 this.slider.setValue(min + (int) (value * (float) (max - min)));
83 void setRange(int min, int max) { argument
86 this.slider.setMaximum(max);
88 this.model.setMaximum(Integer.valueOf(max));
113 int max = this.slider.getMaximum();
114 this.value = (float) (value - min) / (float) (max - min);
/openjdk7/jdk/src/share/classes/com/sun/jdi/connect/
H A DConnector.java212 * <code>{@link #min()} &lt;= value &lt;= {@link #max()}</code>
219 * <code>{@link #min()} &lt;= value &lt;= {@link #max()}</code>
247 int max(); method in interface:Connector.IntegerArgument
/openjdk7/jdk/src/share/classes/java/awt/
H A DAdjustable.java77 * @param max the maximum value
79 void setMaximum(int max); argument
/openjdk7/hotspot/test/compiler/8010927/
H A DTest8010927.java141 static int get_top_address(long min, long max) { argument
146 if (((test - addr) > 0) && ((max - test) > 0)) { // substaction works with unsigned values

Completed in 71 milliseconds

12345678