Searched refs:max (Results 51 - 75 of 747) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/native/sun/font/layout/
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) {
H A DIndicLayoutEngine.cpp81 le_int32 IndicOpenTypeLayoutEngine::glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
88 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
93 le_int32 retCount = OpenTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success);
102 OpenTypeLayoutEngine::glyphSubstitution(count,max, rightToLeft, glyphStorage, success);
112 le_int32 IndicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
119 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
[all...]
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) {
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
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/solaris/classes/sun/java2d/xr/
H A DDirtyRegion.java29 import static java.lang.Math.max;
55 this.x2 = max(x2, this.x2);
56 this.y2 = max(y2, this.y2);
69 this.x = max(x, 0);
72 this.y = max(y, 0);
87 region.x2 = max(region1.x2, region2.x2);
88 region.y2 = max(region1.y2, region2.y2);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DSlotLayout.java64 int max = 0;
68 if (i > max) {
69 max = i;
86 lx += (max - width) / 2;
91 lx += max - width;
101 int max = 0;
105 if (i > max) {
106 max = i;
123 ly += (max - height) / 2;
128 ly += max
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKColorType.java103 float max = Math.max(Math.max(r, g), b);
105 float l = (max + min) / 2.0f;
109 if (max != min) {
110 float delta = max - min;
111 s = (l <= .5f) ? (delta / (max + min)) : (delta / (2.0f - max -min));
112 if (r == max) {
115 else if (g == max) {
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DPosition.java71 * @param max Number of characters to read
74 public static LineMap makeLineMap(char[] src, int max, boolean expandTabs) { argument
76 new LineTabMapImpl(max) : new LineMapImpl();
77 lineMap.build(src, max);
150 protected void build(char[] src, int max) { argument
153 int[] linebuf = new int[max];
154 while (i < max) {
159 if (ch == '\r' && (i+1) < max && src[i+1] == '\n')
167 } while (++i < max);
247 public LineTabMapImpl(int max) { argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/
H A DMultiplicityCounter.java54 BigInteger max;
55 if (m.max==null || (BigInteger.valueOf(XSParticle.UNBOUNDED).equals(p.getMaxOccurs())))
56 max=null;
58 max=p.getMaxOccurs();
60 return Multiplicity.multiply( m, Multiplicity.create(p.getMinOccurs(),max) );
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSpring.java54 * the "+", "-", <em>max</em>, and <em>min</em> operators on
74 * max([a1, b1], [a2, b2]) = [max(a1, a2), max(b1, b2)]
87 * max([a1, b1, c1], [a2, b2, c2]) = [max(a1, a2), max(b1, b2), max(c1, c2)]
96 * min(X, Y) = -max(-X, -Y)
142 * @see #max
236 protected int max; field in class:Spring.StaticSpring
242 StaticSpring(int min, int pref, int max) argument
543 constant(int min, int pref, int max) argument
600 public static Spring max(Spring s1, Spring s2) { method in class:Spring
[all...]
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 DSpinnerListModel.java229 int max = list.size();
231 if (max == 0) {
243 counter = (counter + 1) % max;
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DTabSet.java121 int current, min, max;
124 max = getTabCount();
125 while(min != max) {
126 current = (max - min) / 2 + min;
129 min = max;
136 max = current;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/
H A DDenseIntMapImpl.java32 * keys in the range 0..max such that "most" of the key space is actually
73 int max = list.size() ;
74 while (max++ <= index)
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcmsOopClosures.inline.hpp31 // Trim our work_queue so its length is below max at return
32 inline void Par_MarkRefsIntoAndScanClosure::trim_queue(uint max) { argument
33 while (_work_queue->size() > max) {
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/
H A DSnmpScopedPduBulk.java50 * The <CODE>max-repetitions</CODE> value.
61 * The <CODE>max-repetitions</CODE> setter.
62 * @param max Maximum repetition.
64 public void setMaxRepetitions(int max) { argument
65 maxRepetitions = max;
77 * The <CODE>max-repetitions</CODE> getter.
/openjdk7/jdk/src/share/classes/sun/swing/
H A DBakedArrayList.java58 for (int counter = 0, max = data.size(); counter < max; counter++){
/openjdk7/jdk/test/java/text/Format/MessageFormat/
H A DBug7003643.java43 int max = (int) (Math.pow((double)elements.length, (double)N)/0.52);
44 while (count < max) {
/openjdk7/jdk/src/share/classes/sun/nio/cs/ext/
H A DJIS_X_0208_Encoder.java54 public JIS_X_0208_Encoder(Charset cs, float avg, float max) { argument
60 max
/openjdk7/jdk/src/share/classes/java/util/
H A DLinkedHashSet.java168 super(Math.max(2*c.size(), 11), .75f, true);
/openjdk7/jdk/src/share/classes/java/awt/
H A DAdjustable.java77 * @param max the maximum value
79 void setMaximum(int max); argument
/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/test/java/util/LinkedHashMap/
H A DCache.java46 if (eldest != Math.max(i-9, 0))
/openjdk7/jdk/src/share/classes/javax/imageio/plugins/jpeg/
H A DJPEGQTable.java179 int max = (forceBaseline) ? 255 : 32767;
186 if (sv > max) {
187 sv = max;
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DImageGraphicAttribute.java119 return Math.max(0, fOriginY);
130 return Math.max(0, fImageHeight-fOriginY);
141 return Math.max(0, fImageWidth-fOriginX);

Completed in 114 milliseconds

1234567891011>>