/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | BasicFloat.java | 123 FloatBuffer c = FloatBuffer.allocate(n + 7); 150 FloatBuffer nondirect1 = ByteBuffer.allocate(cap).asFloatBuffer(); 154 FloatBuffer nondirect2 = ByteBuffer.allocate(cap).asFloatBuffer(); 161 FloatBuffer nondirect3 = ByteBuffer.allocate(cap).asFloatBuffer(); 162 FloatBuffer nondirect4 = ByteBuffer.allocate(cap).asFloatBuffer(); 510 FloatBuffer b2 = FloatBuffer.allocate(b.capacity()); 898 FloatBuffer.allocate(-1); 910 test(0, FloatBuffer.allocate(7 * 1024), false); 923 callReset(FloatBuffer.allocate(10));
|
H A D | BasicInt.java | 123 IntBuffer c = IntBuffer.allocate(n + 7); 150 IntBuffer nondirect1 = ByteBuffer.allocate(cap).asIntBuffer(); 154 IntBuffer nondirect2 = ByteBuffer.allocate(cap).asIntBuffer(); 161 IntBuffer nondirect3 = ByteBuffer.allocate(cap).asIntBuffer(); 162 IntBuffer nondirect4 = ByteBuffer.allocate(cap).asIntBuffer(); 510 IntBuffer b2 = IntBuffer.allocate(b.capacity()); 898 IntBuffer.allocate(-1); 910 test(0, IntBuffer.allocate(7 * 1024), false); 923 callReset(IntBuffer.allocate(10));
|
H A D | BasicLong.java | 123 LongBuffer c = LongBuffer.allocate(n + 7); 150 LongBuffer nondirect1 = ByteBuffer.allocate(cap).asLongBuffer(); 154 LongBuffer nondirect2 = ByteBuffer.allocate(cap).asLongBuffer(); 161 LongBuffer nondirect3 = ByteBuffer.allocate(cap).asLongBuffer(); 162 LongBuffer nondirect4 = ByteBuffer.allocate(cap).asLongBuffer(); 510 LongBuffer b2 = LongBuffer.allocate(b.capacity()); 898 LongBuffer.allocate(-1); 910 test(0, LongBuffer.allocate(7 * 1024), false); 923 callReset(LongBuffer.allocate(10));
|
H A D | BasicShort.java | 123 ShortBuffer c = ShortBuffer.allocate(n + 7); 150 ShortBuffer nondirect1 = ByteBuffer.allocate(cap).asShortBuffer(); 154 ShortBuffer nondirect2 = ByteBuffer.allocate(cap).asShortBuffer(); 161 ShortBuffer nondirect3 = ByteBuffer.allocate(cap).asShortBuffer(); 162 ShortBuffer nondirect4 = ByteBuffer.allocate(cap).asShortBuffer(); 510 ShortBuffer b2 = ShortBuffer.allocate(b.capacity()); 898 ShortBuffer.allocate(-1); 910 test(0, ShortBuffer.allocate(7 * 1024), false); 923 callReset(ShortBuffer.allocate(10));
|
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/ |
H A D | HttpServer.java | 186 consumeBuffer = ByteBuffer.allocate (512); 308 inNetBB = ByteBuffer.allocate(netBBSize); 309 outNetBB = ByteBuffer.allocate(netBBSize); 311 inAppBB = ByteBuffer.allocate(appBBSize); 312 outAppBB = ByteBuffer.allocate(appBBSize); 665 inAppBB = ByteBuffer.allocate(needed); 701 markBuf = ByteBuffer.allocate (readlimit); 751 outAppBB = ByteBuffer.allocate (len); 758 outNetBB = ByteBuffer.allocate(needed);
|
/openjdk7/jdk/src/share/classes/java/nio/charset/ |
H A D | Charset-X-Coder.java.template | 336 CharBuffer cb = CharBuffer.allocate((int)(bb.remaining() 777 $Otype$Buffer out = $Otype$Buffer.allocate(n); 792 $Otype$Buffer o = $Otype$Buffer.allocate(n); 927 CharBuffer cb = CharBuffer.allocate(1);
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | psOldGen.hpp | 66 HeapWord* res = object_space()->allocate(word_size); 166 HeapWord* allocate(size_t word_size);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/events/ |
H A D | StAXEventAllocatorBase.java | 41 * allows a user to register a way to allocate events given an XMLStreamReader. 71 * allows the XMLInputFactory to allocate a new instance per reader. 81 * @param streamReader The XMLStreamReader to allocate from 84 public XMLEvent allocate(XMLStreamReader streamReader) throws XMLStreamException { method in class:StAXEventAllocatorBase 94 * @param streamReader The XMLStreamReader to allocate from 97 public void allocate(XMLStreamReader streamReader, XMLEventConsumer consumer) throws XMLStreamException { method in class:StAXEventAllocatorBase
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/ |
H A D | Identity.java | 85 final ByteBuffer buf = ByteBuffer.allocate(100); 168 buf = ByteBuffer.allocate(1);
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/ |
H A D | StressLoopback.java | 96 ByteBuffer.allocateDirect(size) : ByteBuffer.allocate(size); 139 ByteBuffer.allocateDirect(size) : ByteBuffer.allocate(size);
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | Pread.java | 64 fc.read(ByteBuffer.allocate(256), -1L); 83 fc.read(ByteBuffer.allocate(256),1);
|
H A D | AtomicAppend.java | 65 ByteBuffer buf = ByteBuffer.allocate(1);
|
H A D | InterruptDeadlock.java | 52 ByteBuffer bb = ByteBuffer.allocate(1024);
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | VectorIO.java | 69 bufs[i] = ByteBuffer.allocate(source.length()); 130 bufs[i] = ByteBuffer.allocate(source.length());
|
H A D | CloseDuringWrite.java | 63 ByteBuffer bb = ByteBuffer.allocate(2*1024*1024);
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | JISAutoDetectTest.java | 49 CharBuffer output = CharBuffer.allocate(128); 50 CharBuffer expectedOutput = CharBuffer.allocate(128);
|
H A D | TestUTF_32.java | 187 .decode((ByteBuffer)(ByteBuffer.allocate(4) 191 CharBuffer.allocate(1),
|
H A D | TestX11CNS.java | 39 CharBuffer cbf = CharBuffer.allocate(bb.length); 57 ByteBuffer bbf = ByteBuffer.allocate(cc.length * 4);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/ |
H A D | ByteBufferPoolImpl.java | 69 // then allocate a a DirectByteBuffer of ORB fragment size. 72 // size, allocate a new non-direct ByteBuffer. 80 // check if there's one in the pool, if not allocate one. 96 // less expensive to check poolSize than to allocate a 111 // Just allocate a non-direct ByteBuffer 112 abb = ByteBuffer.allocate(theAskSize);
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | typeArrayKlass.hpp | 60 typeArrayOop allocate(int length, TRAPS) { return allocate_common(length, true, THREAD); } function in class:typeArrayKlass
|
/openjdk7/jdk/test/java/io/FileInputStream/ |
H A D | LargeFileAvailable.java | 105 ByteBuffer bb = ByteBuffer.allocate(1).put((byte)1);
|
/openjdk7/jdk/test/java/nio/charset/coders/ |
H A D | IsLegalReplacement.java | 57 CharBuffer cb = CharBuffer.allocate((int)(bb.remaining()
|
/openjdk7/jdk/test/vm/verifier/ |
H A D | VerifyStackForExceptionHandlers.java | 126 java.nio.ByteBuffer bbuf = java.nio.ByteBuffer.allocate(arr.length * 8);
|
/openjdk7/jdk/test/java/security/MessageDigest/ |
H A D | ByteBuffers.java | 49 ByteBuffer b1 = ByteBuffer.allocate(n + 256);
|
/openjdk7/jdk/test/java/security/Signature/ |
H A D | ByteBuffers.java | 57 ByteBuffer b1 = ByteBuffer.allocate(n + 256);
|