/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | UnmodifiableHeaders.java | 39 public int size() {return map.size();} method in class:UnmodifiableHeaders
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | ServerSocketAdaptor.java | 196 public void setReceiveBufferSize(int size) throws SocketException { argument 197 // size 0 valid for ServerSocketChannel, invalid for ServerSocket 198 if (size <= 0) 199 throw new IllegalArgumentException("size cannot be 0 or negative"); 201 ssc.setOption(StandardSocketOptions.SO_RCVBUF, size);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XAtomList.java | 73 XAtom[] res = new XAtom[size()]; 84 * The size of the native data is size of the list multiplied by 85 * size of the Atom type on the platform. Caller is responsible for 115 * Returns size of the list 117 public int size() { method in class:XAtomList 118 return atoms.size();
|
H A D | XIconWindow.java | 39 Dimension size; field in class:XIconWindow 89 // ICE_WM has a bug - it only displays icons of the size 90 // 16x16, while reporting 32x32 in its size list 91 log.finest("Returning ICE_WM icon size: 16x16"); 182 // Icon image fits within right size 202 * @return preffered icon size calculated from specific icon 205 if (size == null) { 206 size = calcIconSize(widthHint, heightHint); 208 return size; 222 //create new buffered image of desired size [all...] |
/openjdk7/jdk/src/solaris/classes/sun/java2d/jules/ |
H A D | TrapezoidList.java | 46 public final void setSize(int size) { argument
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | GrowableByteArray.java | 41 int size; field in class:GrowableByteArray 47 size = 0; 53 int oldSize = size; 54 size += cellSize; 56 if (size >= array.length) 110 return size / cellSize; 115 size = 0;
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | LinuxUserDefinedFileAttributeView.java | 65 private List<String> asList(long address, int size) { argument 69 while (pos < size) { 103 int size = 1024; 104 buffer = NativeBuffers.getNativeBuffer(size); 107 int n = flistxattr(fd, buffer.address(), size); 112 if (x.errno() == ERANGE && size < 32*1024) { 114 size *= 2; 116 buffer = NativeBuffers.getNativeBuffer(size); 132 public int size(String name) throws IOException { method in class:LinuxUserDefinedFileAttributeView 138 // fgetxattr returns size i [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/ |
H A D | Hashtable.java | 62 private int threshold; // current size of hash-tabke 96 public int size() { method in class:Hashtable 288 int max = size() - 1;
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/ |
H A D | ListDV.java | 133 public int size() { method in class:ListDV.ListData
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/io/ |
H A D | ASCIIReader.java | 49 /** Default byte buffer size (2048). */ 75 * using the default buffer size. 88 * and buffer size. 91 * @param size The initial buffer size. 95 public ASCIIReader(InputStream inputStream, int size, argument 99 fBuffer = ba.getByteBuffer(size); 101 fBuffer = new byte[size];
|
H A D | UCSReader.java | 45 /** Default byte buffer size (8192, larger than that of ASCIIReader 75 * using the default buffer size. The Endian-ness and whether this is 87 * and buffer size. The Endian-ness and whether this is 91 * @param size The initial buffer size. 94 public UCSReader(InputStream inputStream, int size, short encoding) { argument 97 fBuffer = ba.getByteBuffer(size); 99 fBuffer = new byte[size];
|
H A D | UTF8Reader.java | 49 /** Default byte buffer size (2048). */ 86 * using the default buffer size. Primarily for testing. 96 * using the default buffer size and the given MessageFormatter. 109 * buffer size and MessageFormatter. 112 * @param size The initial buffer size. 116 public UTF8Reader(InputStream inputStream, int size, argument 120 fBuffer = ba.getByteBuffer(size); 122 fBuffer = new byte[size];
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/models/ |
H A D | XSAllCM.java | 65 public XSAllCM (boolean hasOptionalContent, int size) { argument 67 fAllElements = new XSElementDecl[size]; 68 fIsOptionalElement = new boolean[size];
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/ |
H A D | NamespaceSupport.java | 89 * <prefix, uri>. The default size can be set to anything 100 // NOTE: The constructor depends on the initial context size 106 * index of declared namespace bindings and runs to the size of the 398 private int size = 0; field in class:NamespaceSupport.IteratorPrefixes 403 public IteratorPrefixes(String [] prefixes, int size) { argument 405 this.size = size; 412 return (counter < size); 419 if (counter< size){ 427 for (int i=0;i<size; 444 private int size = 0; field in class:NamespaceSupport.Prefixes 449 Prefixes(String [] prefixes, int size) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/ |
H A D | IntVector.java | 52 * block size is very small, for small lists. 63 * Construct a IntVector, using the given block size. 76 * Construct a IntVector, using the given block size. 107 public final int size() method in class:IntVector 302 * than the current size of the vector.
|
H A D | ObjectVector.java | 52 * block size is very small, for small lists. 63 * Construct a IntVector, using the given block size. 76 * Construct a IntVector, using the given block size. 107 public final int size() method in class:ObjectVector 299 * than the current size of the vector. 408 * Reset the array to the supplied size. 410 * @param size 412 public final void setToSize(int size) { argument 414 Object newMap[] = new Object[size]; 417 m_mapSize = size; [all...] |
H A D | SuballocatedByteVector.java | 65 * block size is very small, for small lists. 73 * Construct a ByteVector, using the given block size. 86 * Construct a ByteVector, using the given block size. 102 public int size() method in class:SuballocatedByteVector 342 * than the current size of the vector.
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/ |
H A D | CacheTable.java | 49 // size must be power of 2 52 int size; field in class:CacheTable 67 size = INITIAL_SIZE; 72 map = new Entry[size]; 73 rmap = noReverseMap ? null : new Entry[size]; 76 if (size == MAX_SIZE) 79 int oldSize = size; 80 size <<= 1; 95 return h & (size - 1); 106 if (entryCount > size * [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/ |
H A D | Message_1_0.java | 93 public void setSize(ByteBuffer byteBuffer, int size) { argument 94 this.message_size = size; 97 // Patch the size field in the header. 99 int patch = size - GIOPMessageHeaderLength;
|
H A D | Message_1_1.java | 111 public void setSize(ByteBuffer byteBuffer, int size) { argument 113 this.message_size = size; 116 // Patch the size field in the header. 119 int patch = size - GIOPMessageHeaderLength;
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/util/ |
H A D | IdentityHashtable.java | 123 public int size() { method in class:IdentityHashtable 366 int max = size() - 1;
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/ |
H A D | X86Instruction.java | 31 final private int size; field in class:X86Instruction 34 public X86Instruction(String name, int size, int prefixes) { argument 36 this.size = size; 71 return size;
|
H A D | X86InstructionFactory.java | 30 public X86Instruction newCallInstruction(String name, Address addr, int size, int prefixes); argument 32 public X86Instruction newJmpInstruction(String name, Address addr, int size, int prefixes); argument 34 public X86Instruction newCondJmpInstruction(String name, X86PCRelativeAddress addr, int size, int prefixes); argument 36 public X86Instruction newMoveInstruction(String name, X86Register rd, ImmediateOrRegister oSrc, int size, int prefixes); argument 38 public X86Instruction newMoveLoadInstruction(String name, X86Register op1, Address op2, int dataType, int size, int prefixes); argument 40 public X86Instruction newMoveStoreInstruction(String name, Address op1, X86Register op2, int dataType, int size, int prefixes); argument 42 public X86Instruction newArithmeticInstruction(String name, int rtlOperation, Operand op1, Operand op2, Operand op3, int size, int prefixes); argument 44 public X86Instruction newArithmeticInstruction(String name, int rtlOperation, Operand op1, Operand op2, int size, int prefixes); argument 46 public X86Instruction newLogicInstruction(String name, int rtlOperation, Operand op1, Operand op2, int size, int prefixes); argument 48 public X86Instruction newBranchInstruction(String name, X86PCRelativeAddress addr, int size, in argument 50 newShiftInstruction(String name, int rtlOperation, Operand op1, ImmediateOrRegister op2, int size, int prefixes) argument 52 newRotateInstruction(String name, Operand op1, ImmediateOrRegister op2, int size, int prefixes) argument 54 newFPLoadInstruction(String name, Operand op, int size, int prefixes) argument 56 newFPStoreInstruction(String name, Operand op, int size, int prefixes) argument 58 newFPArithmeticInstruction(String name, int rtlOperation, Operand op1, Operand op2, int size, int prefixes) argument 60 newGeneralInstruction(String name, Operand op1, Operand op2, Operand op3, int size, int prefixes) argument 62 newGeneralInstruction(String name, Operand op1, Operand op2, int size, int prefixes) argument 64 newGeneralInstruction(String name, Operand op1, int size, int prefixes) argument [all...] |
H A D | X86InstructionFactoryImpl.java | 31 public X86Instruction newCallInstruction(String name, Address addr, int size, int prefixes) { argument 32 return new X86CallInstruction(name, addr, size, prefixes); 35 public X86Instruction newJmpInstruction(String name, Address addr, int size, int prefixes) { argument 36 return new X86JmpInstruction(name, addr, size, prefixes); 39 public X86Instruction newCondJmpInstruction(String name, X86PCRelativeAddress addr, int size, int prefixes) { argument 40 return new X86CondJmpInstruction(name, addr, size, prefixes); 43 public X86Instruction newMoveInstruction(String name, X86Register rd, ImmediateOrRegister oSrc, int size, int prefixes) { argument 44 return new X86MoveInstruction(name, rd, oSrc, size, prefixes); 47 public X86Instruction newMoveLoadInstruction(String name, X86Register op1, Address op2, int dataType, int size, int prefixes) { argument 48 return new X86MoveLoadInstruction(name, op1, op2, dataType, size, prefixe 51 newMoveStoreInstruction(String name, Address op1, X86Register op2, int dataType, int size, int prefixes) argument 55 newArithmeticInstruction(String name, int rtlOperation, Operand op1, Operand op2, Operand op3, int size, int prefixes) argument 59 newArithmeticInstruction(String name, int rtlOperation, Operand op1, Operand op2, int size, int prefixes) argument 64 newLogicInstruction(String name, int rtlOperation, Operand op1, Operand op2, int size, int prefixes) argument 68 newBranchInstruction(String name, X86PCRelativeAddress addr, int size, int prefixes) argument 72 newShiftInstruction(String name, int rtlOperation, Operand op1, ImmediateOrRegister op2, int size, int prefixes) argument 76 newRotateInstruction(String name, Operand op1, ImmediateOrRegister op2, int size, int prefixes) argument 80 newFPLoadInstruction(String name, Operand op, int size, int prefixes) argument 84 newFPStoreInstruction(String name, Operand op, int size, int prefixes) argument 88 newFPArithmeticInstruction(String name, int rtlOperation, Operand op1, Operand op2, int size, int prefixes) argument 92 newGeneralInstruction(String name, Operand op1, Operand op2, Operand op3, int size, int prefixes) argument 96 newGeneralInstruction(String name, Operand op1, Operand op2, int size, int prefixes) argument 100 newGeneralInstruction(String name, Operand op1, int size, int prefixes) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ci/ |
H A D | ciMethodData.java | 77 private byte[] fetchDataAt(Address base, long size) { argument 78 byte[] result = new byte[(int)size]; 79 for (int i = 0; i < size; i++) {
|