Searched defs:max (Results 151 - 175 of 198) sorted by relevance

12345678

/openjdk7/jdk/src/share/classes/javax/swing/
H A DJSpinner.java924 public void setMaximum(Comparable max) { argument
925 model.setEnd(max);
1044 ftf.setColumns(Math.max(maxString.length(),
1101 public void setMaximum(Comparable max) { argument
1102 model.setMaximum(max);
1222 ftf.setColumns(Math.max(maxString.length(),
H A DGroupLayout.java216 // Used by prepare, indicates min, pref or max isn't going to be used.
337 private static void checkSize(int min, int pref, int max, argument
345 checkResizeType(max, isComponentSpring);
347 checkLessThan(pref, max);
358 private static void checkLessThan(int min, int max) { argument
359 if (min >= 0 && max >= 0 && min > max) {
361 "Following is not met: min<=pref<=max");
1051 // Step 4: (for min/pref/max size calculations only) calculate the
1262 * Spring consists of a range: min, pref and max,
1270 private int max; field in class:GroupLayout.Spring
1522 addComponent(Component component, int min, int pref, int max) argument
1549 addGap(int min, int pref, int max) argument
1814 addComponent(Component component, int min, int pref, int max) argument
1835 addComponent(boolean useAsBaseline, Component component, int min, int pref, int max) argument
1854 addGap(int min, int pref, int max) argument
1895 addPreferredGap(JComponent comp1, JComponent comp2, ComponentPlacement type, int pref, int max) argument
1955 addPreferredGap(ComponentPlacement type, int pref, int max) argument
1999 addContainerGap(int pref, int max) argument
2335 checkPreferredGapValues(int pref, int max) argument
2482 addComponent(Component component, int min, int pref, int max) argument
2497 addGap(int min, int pref, int max) argument
2548 addComponent(Component component, Alignment alignment, int min, int pref, int max) argument
2941 private final int max; field in class:GroupLayout.ComponentSpring
2949 ComponentSpring(Component component, int min, int pref, int max) argument
3115 private final int max; field in class:GroupLayout.PreferredGapSpring
3117 PreferredGapSpring(JComponent source, JComponent target, ComponentPlacement type, int pref, int max) argument
3170 private final int max; field in class:GroupLayout.GapSpring
3172 GapSpring(int min, int pref, int max) argument
3217 private final int max; field in class:GroupLayout.AutoPreferredGapSpring
3228 AutoPreferredGapSpring(int pref, int max) argument
3233 AutoPreferredGapSpring(ComponentPlacement type, int pref, int max) argument
3422 ContainerAutoPreferredGapSpring(int pref, int max) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DAsyncBoxView.java426 pos = (isBackward) ? Math.max(0, pos - 1) : pos;
452 int index = Math.max(ec.getIndex() - 1, 0);
1272 max = child.getMaximumSpan(minorAxis);
1319 if (max < minorSpan) {
1320 return max;
1323 return Math.max(min, minorSpan);
1330 if (max < minorSpan) {
1333 return ((minorSpan - max) * align);
1397 private float max; field in class:AsyncBoxView.ChildState
/openjdk7/jdk/src/share/classes/java/math/
H A DBigDecimal.java127 * <tr><td>Add</td><td>max(addend.scale(), augend.scale())</td>
128 * <tr><td>Subtract</td><td>max(minuend.scale(), subtrahend.scale())</td>
1075 * augend)}, and whose scale is {@code max(this.scale(),
1150 int preferredScale = Math.max(lhs.scale(), augend.scale());
1249 this.checkScale(Math.max(big.scale, estResultUlpScale) + 3));
1260 * subtrahend)}, and whose scale is {@code max(this.scale(),
2461 * 10<sup>-n</sup>)</tt> and scale {@code max(this.scale()+n,
2483 * &times; 10<sup>n</sup>)</tt> and scale {@code max(this.scale()-n,
2678 public BigDecimal max(BigDecimal val) { method in class:BigDecimal
3615 // if r >= length, must have max possibl
[all...]
H A DBigInteger.java2191 int[] result = new int[Math.max(intLength(), val.intLength())];
2208 int[] result = new int[Math.max(intLength(), val.intLength())];
2225 int[] result = new int[Math.max(intLength(), val.intLength())];
2259 int[] result = new int[Math.max(intLength(), val.intLength())];
2298 int[] result = new int[Math.max(intLength(), intNum+2)];
2322 int[] result = new int[Math.max(intLength(), ((n + 1) >>> 5) + 1)];
2346 int[] result = new int[Math.max(intLength(), intNum+2)];
2582 public BigInteger max(BigInteger val) { method in class:BigInteger
/openjdk7/hotspot/src/share/vm/memory/
H A Dallocation.cpp379 _hwm = _chunk->bottom(); // Save the cached hwm, max
387 _hwm = _chunk->bottom(); // Save the cached hwm, max
500 _hwm = _chunk->bottom(); // Save the cached hwm, max
673 void Arena::free_malloced_objects(Chunk* chunk, char* hwm, char* max, char* hwm2) { argument
688 assert(chunk->contains(max), "bad max");
689 free_all((char**)hwm, (char**)max);
H A Dgeneration.cpp173 size_t max = 0; local
176 if (avail > max) {
177 max = avail;
180 return max;
/openjdk7/hotspot/src/share/vm/opto/
H A Dlcm.cpp1047 uint max = out->size(); local
1048 for (uint j = 0; j < max; j++) {// For all users
H A DphaseX.cpp315 uint max = size(); local
317 for( uint i = 0; i < max; ++i ) {
789 uint max; local
794 max = _table.size();
795 for( uint i = 0; i < max; ++i ) {
807 max = _worklist.size();
808 for( uint j = 0; j < max; j++ ) {
1787 uint max = Size(); local
1788 for( uint i = 0; i < max; i++ ) {
H A Dcfgnode.cpp99 //for( uint k = 0; k < max; k++ ) {
157 static bool check_phi_clipping( PhiNode *phi, ConNode * &min, uint &min_idx, ConNode * &max, uint &max_idx, Node * &val, uint &val_idx ) { argument
159 max = NULL;
176 max = n->Opcode() == Op_ConI ? (ConNode*)n : NULL;
178 if( min->get_int() > max->get_int() ) {
179 // Swap min and max
182 temp = min; min = max; max = temp;
197 return ( min && max && val && (min->get_int() <= 0) && (max
249 check_convf2i_clipping( PhiNode *phi, uint idx, ConvF2INode * &convf2i, Node *min, Node *max) argument
314 uint max = outcnt(); local
350 uint max = n->outcnt(); local
481 uint max = outcnt(); local
523 uint max = outcnt(); local
637 ConNode *max; local
[all...]
H A Dgcm.cpp104 uint max = pb->_nodes.size(); local
105 assert( max > 1, "" );
106 uint start = max - pb->_num_succs;
108 for (j = start; j < max; j++) {
112 assert( j < max, "must find" );
H A Dloopopts.cpp893 uint max = bol->outcnt(); local
895 if( n_op == Op_If && max > 1 && bol->is_Bool() ) {
H A Dnode.cpp653 _max = new_max; // Record new max length
677 _outmax = new_max; // Record new max length
829 uint max = len(); local
830 for( uint i = 0; i < max; ++i ) {
1821 uint max = x->_outcnt; local
1822 for( uint k = 0; k < max; k++ )
2065 size_t max = old_max << 1; // max * 2 local
2066 _inodes = REALLOC_ARENA_ARRAY(_a, INode, _inodes, old_max, max);
2067 _inode_max = _inodes + max;
[all...]
H A Dnode.hpp313 inline DUIterator_Fast fast_outs(DUIterator_Fast& max) const;
333 DUIterator_Fast fast_outs(DUIterator_Fast& max) const {
336 max = out + (ptrdiff_t)_outcnt;
903 static const uint NotAMachineReg; // must be > max. machine register
1417 size_t max = (size > OptoNodeListSize) ? size : OptoNodeListSize; local
1419 _inodes = NEW_ARENA_ARRAY( _a, INode, max );
1420 _inode_max = _inodes + max;
1425 size_t max = (size > OptoNodeListSize) ? size : OptoNodeListSize; local
1426 _inodes = NEW_ARENA_ARRAY( _a, INode, max );
1427 _inode_max = _inodes + max;
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneUI.java740 // force tabs to have a max height for aqua
1051 protected void padTabRun(final int tabPlacement, final int start, final int end, final int max) { argument
1053 super.padTabRun(tabPlacement, start, end, max);
1059 final int deltaHeight = max - (lastRect.y + lastRect.height);
1068 lastRect.height = max - lastRect.y;
1178 maxTabWidth = Math.max(maxTabWidth, rect.width);
1196 maxTabHeight = Math.max(maxTabHeight, rect.height);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DMethodWriter.java535 synthetics = Math.max(synthetics, parameter + 1);
673 // updates current and max stack sizes
695 // updates current and max stack sizes only for NEWARRAY
718 // updates current and max stack sizes
736 // updates max locals
777 // updates current and max stack sizes only if opcode == NEW
820 // updates current and max stack sizes
867 // updates current and max stack sizes
917 // updates current stack size (max stack size unchanged
1020 // resets the relative current and max stac
1087 visitTableSwitchInsn( final int min, final int max, final Label dflt, final Label[] labels) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_p.h93 #ifndef max
94 #define max(a,b) ((a) >= (b)? (a):(b)) macro
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_Ports.c77 INT32 max; member in struct:tag_PortControlID
754 controlID->max = (INT32) mixerControl->Bounds.lMaximum;
759 -1.0f, 1.0f, 2.0f / (controlID->max - controlID->min + 1), "");
768 controlID->max = (INT32) mixerControl->Bounds.dwMaximum;
784 min, 1.0f, 1.0f / (controlID->max - controlID->min + 1), "");
1049 float range = (float) (controlID->max - controlID->min);
1068 return (((float) (vol - controlID->min)) / (controlID->max - controlID->min));
1076 vol = vol * (controlID->max - controlID->min);
1089 float range = (float) (controlID->max - controlID->min);
1093 ret = ((float) controlID->signedValue.lValue) / controlID->max;
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Win32GraphicsDevice.cpp889 int max = ::DescribePixelFormat(hDC, 1, sizeof(PIXELFORMATDESCRIPTOR), local
895 //If ::DescribePixelFormat() fails, max = 0
897 if (max == 0) {
898 max = 1;
900 return (jint)max;
921 int max = ::DescribePixelFormat(hDC, (int)pixFmtID, local
923 DASSERT(max);
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLTextRenderer.c423 int max = LUT_EDGE - 1; local
429 for (z = min; z <= max; z++) {
430 double zval = ((double)z) / max;
434 for (y = min; y <= max; y++) {
435 double yval = ((double)y) / max;
439 for (x = min; x <= max; x++) {
440 double xval = ((double)x) / max;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/
H A DToken.java226 void setMax(int max) { // for CLOSURE argument
332 int max = this.getChild(i).getMaxLength();
333 if (max < 0) { // infinity
337 if (max > ret) ret = max;
1211 int max; field in class:Token.ClosureToken
1231 final void setMax(int max) { argument
1232 this.max = max;
1238 return this.max;
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DCollections.java696 public static <T extends Object & Comparable<? super T>> T max(Collection<? extends T> coll) { method in class:Collections
730 public static <T> T max(Collection<? extends T> coll, Comparator<? super T> comp) { method in class:Collections
732 return (T)max((Collection<SelfComparable>) (Collection) coll);
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DheapRegionRemSet.cpp377 assert(new_n_regs <= _from_card_cache_max_regions, "Must be within max.");
545 PerRegionTable* max = NULL; local
563 if (max == NULL || cur_occ > max_occ) {
564 max = cur;
582 guarantee(max != NULL, "Since _n_fine_entries > 0");
585 size_t max_hrs_index = (size_t) max->hr()->hrs_index();
593 max->hr()->bottom(),
599 *max_prev = max->collision_list_next();
602 return max;
/openjdk7/jdk/src/share/classes/java/awt/
H A DWindow.java856 int nw = Math.max(width, minimumSize.width);
857 int nh = Math.max(height, minimumSize.height);
3951 private static double limit(double value, double min, double max) { argument
3952 value = Math.max(value, min);
3953 value = Math.min(value, max);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKEngine.java168 double min, double max,
631 double value, double min, double max, double visible) {
633 nativeSetRangeValue(widget, value, min, max, visible);
167 nativeSetRangeValue(int widgetType, double value, double min, double max, double visible) argument
630 setRangeValue(SynthContext context, Region id, double value, double min, double max, double visible) argument

Completed in 186 milliseconds

12345678