/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | ZoneView.java | 37 * the region being actively viewed/edited. The size of the children 60 * Boxes are easier to estimate the size of than some other shapes. 96 * Get the current maximum zone size. 103 * Set the desired maximum zone size. A 104 * zone may get larger than this size if 106 * size since zones are formed on child view 109 * @param size the number of characters the zone 111 * the zone into a smaller size. 113 public void setMaximumZoneSize(int size) { argument 114 maxZoneSize = size; [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | HRuleView.java | 61 size = 0; 77 size = Integer.parseInt((String)value); 79 size = 1; 94 size = Math.max(2, size); 125 if (size > 0) 126 height = size; 171 * basically the preferred size of the border. 182 if (size > 0) { 183 return size 313 private int size = 0; field in class:HRuleView [all...] |
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/ |
H A D | DOMUtils.java | 198 public int size() { return nl.getLength(); } method in class:DOMUtils.NodeSet 320 int size = types.size(); 321 if (size != otypes.size()) { 324 for (int i = 0; i < size; i++) {
|
/openjdk7/jdk/src/share/classes/sun/awt/util/ |
H A D | IdentityLinkedList.java | 94 private transient int size = 0; field in class:IdentityLinkedList 123 if (size==0) 136 if (size==0) 200 public int size() { method in class:IdentityLinkedList 201 return size; 252 return addAll(size, c); 271 if (index < 0 || index > size) 273 ", Size: "+size); 280 Entry<E> successor = (index==size ? header : entry(index)); 289 size [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | FontUtilities.java | 361 * The method currently assumes that only the size and style attributes 367 * font returned by this method for deriving a different point size. 477 int style, int size) { 488 fuir = sfm.getFontConfigFUIR(mapped, style, size); 490 fuir = new FontUIResource(mapped, style, size); 476 getFontConfigFUIR(String fcFamily, int style, int size) argument
|
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | RectangularShape.java | 191 * Sets the location and size of the framing rectangle of this 206 * Sets the location and size of the framing rectangle of this 212 * @param size the specified <code>Dimension2D</code> 216 public void setFrame(Point2D loc, Dimension2D size) { argument 217 setFrame(loc.getX(), loc.getY(), size.getWidth(), size.getHeight());
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ThreadLocal.java | 295 private int size = 0; field in class:ThreadLocal.ThreadLocalMap 298 * The next size value at which to resize. 332 size = 1; 359 size++; 444 int sz = ++size; 558 size--; 570 size--; 628 * Re-pack and/or re-size the table. First scan the entire 630 * shrink the size of the table, double the table size [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | DatagramSocket.java | 892 * network implementation as a hint to size the underlying 894 * by the network implementation to determine the maximum size 898 * what size the buffer is should call {@link #getSendBufferSize()}. 900 * Increasing the buffer size may allow multiple outgoing packets 909 * @param size the size to which to set the send buffer 910 * size. This value must be greater than 0. 918 public synchronized void setSendBufferSize(int size) argument 920 if (!(size > 0)) { 921 throw new IllegalArgumentException("negative send size"); 976 setReceiveBufferSize(int size) argument [all...] |
H A D | ServerSocket.java | 794 * The value of SO_RCVBUF is used both to set the size of the internal 795 * socket receive buffer, and to set the size of the TCP receive window 806 * Failure to do this will not cause an error, and the buffer size may be set to the 813 * @param size the size to which to set the receive buffer 814 * size. This value must be greater than 0. 822 public synchronized void setReceiveBufferSize (int size) throws SocketException { argument 823 if (!(size > 0)) { 824 throw new IllegalArgumentException("negative receive size"); 828 getImpl().setOption(SocketOptions.SO_RCVBUF, new Integer(size)); [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | AbstractList.java | 37 * {@link List#size() size()} methods. 42 * variable-size the programmer must additionally override the 90 * <p>This implementation calls {@code add(size(), e)}. 108 add(size(), e); 195 * of the list (with {@code listIterator(size())}). Then, it iterates 203 ListIterator<E> it = listIterator(size()); 223 * <p>This implementation calls {@code removeRange(0, size())}. 234 removeRange(0, size()); 273 * iterator interface, relying on the backing list's {@code size()}, 616 private int size; field in class:SubList 644 public int size() { method in class:SubList [all...] |
H A D | ArrayDeque.java | 172 System.arraycopy(elements, head, a, 0, size()); 210 allocateElements(c.size()); 574 public int size() { method in class:ArrayDeque 756 return copyElements(new Object[size()]); 765 * size of this deque. 797 int size = size(); 798 if (a.length < size) 800 a.getClass().getComponentType(), size); 802 if (a.length > size) [all...] |
H A D | Arrays.java | 549 * Tuning parameter: list size at or below which insertion sort will be 2811 * Returns a fixed-size list backed by the specified array. (Changes to 2817 * <p>This method also provides a convenient way to create a fixed-size 2846 public int size() { method in class:Arrays.ArrayList 2855 int size = size(); 2856 if (a.length < size) 2857 return Arrays.copyOf(this.a, size, 2859 System.arraycopy(this.a, 0, a, 0, size); 2860 if (a.length > size) [all...] |
H A D | BitSet.java | 45 * <p>Every bit set has a current size, which is the number of bits 46 * of space currently in use by the bit set. Note that the size is 67 * The choice of word size is determined purely by performance concerns. 93 * The number of words in the logical size of this BitSet. 98 * Whether the size of "words" is user-specified. If so, we assume 123 * Sets the field wordsInUse to the logical size in words of the bit set. 134 wordsInUse = i+1; // The new logical size 146 * Creates a bit set whose initial size is large enough to explicitly 150 * @param nbits the initial size of the bit set 151 * @throws NegativeArraySizeException if the specified initial size 1036 public int size() { method in class:BitSet [all...] |
H A D | EnumMap.java | 104 private transient int size = 0; field in class:EnumMap 152 size = m.size; 173 size = em.size; 191 public int size() { method in class:EnumMap 192 return size; 272 size++; 292 size--; 302 size 393 public int size() { method in class:EnumMap.KeySet 431 public int size() { method in class:EnumMap.Values 488 public int size() { method in class:EnumMap.EntrySet [all...] |
H A D | PriorityQueue.java | 46 * <i>capacity</i> governing the size of an array used to store the 48 * size. As elements are added to a priority queue, its capacity 70 * ({@code peek}, {@code element}, and {@code size}). 100 private int size = 0; field in class:PriorityQueue 233 this.size = c.size(); 250 this.size = a.length; 264 * The maximum size of array to allocate. 267 * OutOfMemoryError: Requested array size exceeds VM limit 278 // Double size i 554 public int size() { method in class:PriorityQueue [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | ArrayBlockingQueue.java | 244 * {@code c.size()}, or less than 1. 408 // greater in size than Integer.MAX_VALUE 414 public int size() { method in class:ArrayBlockingQueue 430 * less the current {@code size} of this queue. 538 * runtime type of the specified array and the size of this queue.
|
H A D | ConcurrentLinkedQueue.java | 72 * <p>Beware that, unlike in most collections, the {@code size} method 447 public int size() { method in class:ConcurrentLinkedQueue 451 // Collection.size() spec says to max out 596 * runtime type of the specified array and the size of this queue.
|
H A D | ConcurrentSkipListSet.java | 58 * <p>Beware that, unlike in most collections, the <tt>size</tt> 183 * Additionally, it is possible for the size to change during 190 public int size() { method in class:ConcurrentSkipListSet 191 return m.size(); 284 * have the same size, and every member of the specified set is 294 // Override AbstractSet version to avoid calling size() 323 // Override AbstractSet version to avoid unnecessary call to size()
|
H A D | LinkedBlockingQueue.java | 296 // greater in size than Integer.MAX_VALUE 302 public int size() { method in class:LinkedBlockingQueue 312 * less the current {@code size} of this queue. 601 int size = count.get(); 602 Object[] a = new Object[size]; 617 * runtime type of the specified array and the size of this queue. 652 int size = count.get(); 653 if (a.length < size) 655 (a.getClass().getComponentType(), size);
|
H A D | PriorityBlockingQueue.java | 124 * The maximum size of array to allocate. 127 * OutOfMemoryError: Requested array size exceeds VM limit 144 private transient int size; field in class:PriorityBlockingQueue 263 this.size = n; 312 int n = size - 1; 325 size = n; 344 * @param n heap size 380 * @param n heap size 429 int n = size; 474 while ((n = size) > 583 public int size() { method in class:PriorityBlockingQueue [all...] |
/openjdk7/jdk/src/share/classes/java/util/jar/ |
H A D | Attributes.java | 61 * Constructs a new, empty Attributes object with default size. 69 * initial size. 71 * @param size the initial number of attributes 73 public Attributes(int size) { argument 74 map = new HashMap(size); 229 public int size() { method in class:Attributes 230 return map.size();
|
H A D | Manifest.java | 202 // Average size of entry attributes 253 acount += attr.size(); 330 FastInputStream(InputStream in, int size) { argument 332 buf = new byte[size];
|
/openjdk7/jdk/src/share/classes/javax/naming/directory/ |
H A D | BasicAttribute.java | 141 (len=size()) == target.size()) { 183 int num = values.size(); 214 if (values.size() == 0) { 297 if (values.size() == 0) { 305 public int size() { method in class:BasicAttribute 306 return values.size(); 332 int ct = values.size(); 338 int ct = values.size(); 504 s.writeInt(values.size()); [all...] |
/openjdk7/jdk/src/share/classes/javax/naming/ldap/ |
H A D | Rdn.java | 130 if (attrSet.size() == 0) { 133 entries = new ArrayList(attrSet.size()); 175 entries = new ArrayList(rdn.entries.size()); 243 if (entries.size() > 1) { 290 int size = entries.size(); 291 if (size > 0) { 294 for (int next = 1; next < size; next++) { 328 int minSize = Math.min(entries.size(), that.entries.size()); 499 public int size() { method in class:Rdn [all...] |
/openjdk7/hotspot/src/share/vm/code/ |
H A D | codeBlob.cpp | 62 // align the size to CodeEntryAlignment 71 unsigned int size = header_size; local 72 size += round_to(cb->total_relocation_size(), oopSize); 73 // align the size to CodeEntryAlignment 74 size = align_code_offset(size); 75 size += round_to(cb->total_content_size(), oopSize); 76 size += round_to(cb->total_oop_size(), oopSize); 77 return size; 81 // Creates a simple CodeBlob. Sets up the size o 82 CodeBlob(const char* name, int header_size, int size, int frame_complete, int locs_size) argument 110 CodeBlob( const char* name, CodeBuffer* cb, int header_size, int size, int frame_complete, int frame_size, OopMapSet* oop_maps ) argument 202 BufferBlob(const char* name, int size) argument 210 unsigned int size = sizeof(BufferBlob); local 226 BufferBlob(const char* name, int size, CodeBuffer* cb) argument 234 unsigned int size = allocation_size(cb, sizeof(BufferBlob)); local 247 operator new(size_t s, unsigned size) argument 267 AdapterBlob(int size, CodeBuffer* cb) argument 276 unsigned int size = allocation_size(cb, sizeof(AdapterBlob)); local 295 unsigned int size = sizeof(MethodHandlesAdapterBlob); local 313 RuntimeStub( const char* name, CodeBuffer* cb, int size, int frame_complete, int frame_size, OopMapSet* oop_maps, bool caller_must_gc_arguments ) argument 339 unsigned int size = allocation_size(cb, sizeof(RuntimeStub)); local 349 operator new(size_t s, unsigned size) argument 356 operator new(size_t s, unsigned size) argument 366 DeoptimizationBlob( CodeBuffer* cb, int size, OopMapSet* oop_maps, int unpack_offset, int unpack_with_exception_offset, int unpack_with_reexecution_offset, int frame_size ) argument 398 unsigned int size = allocation_size(cb, sizeof(DeoptimizationBlob)); local 418 UncommonTrapBlob( CodeBuffer* cb, int size, OopMapSet* oop_maps, int frame_size ) argument 437 unsigned int size = allocation_size(cb, sizeof(UncommonTrapBlob)); local 454 ExceptionBlob( CodeBuffer* cb, int size, OopMapSet* oop_maps, int frame_size ) argument 473 unsigned int size = allocation_size(cb, sizeof(ExceptionBlob)); local 489 SafepointBlob( CodeBuffer* cb, int size, OopMapSet* oop_maps, int frame_size ) argument 508 unsigned int size = allocation_size(cb, sizeof(SafepointBlob)); local [all...] |