/openjdk7/jaxp/src/javax/xml/stream/util/ |
H A D | XMLEventAllocator.java | 37 * a way to allocate events given an XMLStreamReader. An implementation 52 * allows the XMLInputFactory to allocate a new instance per reader. 62 * @param reader The XMLStreamReader to allocate from 65 public XMLEvent allocate(XMLStreamReader reader) method in interface:XMLEventAllocator 76 * @param reader The XMLStreamReader to allocate from 79 public void allocate(XMLStreamReader reader, XMLEventConsumer consumer) method in interface:XMLEventAllocator
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | BigReadWrite.java | 47 ByteBuffer buf = ByteBuffer.allocate(900); 49 buf = ByteBuffer.allocate(950); 51 buf = ByteBuffer.allocate(975); 53 buf = ByteBuffer.allocate(4419000);
|
/openjdk7/jdk/test/java/nio/charset/CharsetDecoder/ |
H A D | EmptyInput.java | 36 ByteBuffer bb = ByteBuffer.allocate(10); 40 cd.decode(bb, CharBuffer.allocate(10), true).throwException();
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | oopFactory.hpp | 45 static typeArrayOop new_boolArray (int length, TRAPS) { return typeArrayKlass::cast(Universe::boolArrayKlassObj ())->allocate(length, CHECK_NULL); } 46 static typeArrayOop new_charArray (int length, TRAPS) { return typeArrayKlass::cast(Universe::charArrayKlassObj ())->allocate(length, CHECK_NULL); } 47 static typeArrayOop new_singleArray(int length, TRAPS) { return typeArrayKlass::cast(Universe::singleArrayKlassObj())->allocate(length, CHECK_NULL); } 48 static typeArrayOop new_doubleArray(int length, TRAPS) { return typeArrayKlass::cast(Universe::doubleArrayKlassObj())->allocate(length, CHECK_NULL); } 49 static typeArrayOop new_byteArray (int length, TRAPS) { return typeArrayKlass::cast(Universe::byteArrayKlassObj ())->allocate(length, CHECK_NULL); } 50 static typeArrayOop new_shortArray (int length, TRAPS) { return typeArrayKlass::cast(Universe::shortArrayKlassObj ())->allocate(length, CHECK_NULL); } 51 static typeArrayOop new_intArray (int length, TRAPS) { return typeArrayKlass::cast(Universe::intArrayKlassObj ())->allocate(length, CHECK_NULL); } 52 static typeArrayOop new_longArray (int length, TRAPS) { return typeArrayKlass::cast(Universe::longArrayKlassObj ())->allocate(length, CHECK_NULL); } 57 cast(Universe::objectArrayKlassObj())->allocate(length, CHECK_NULL);
|
H A D | space.inline.hpp | 37 inline HeapWord* OffsetTableContigSpace::allocate(size_t size) { function in class:OffsetTableContigSpace 38 HeapWord* res = ContiguousSpace::allocate(size); 50 // This ought to be just "allocate", because of the lock above, but that 51 // ContiguousSpace::allocate asserts that either the allocating thread
|
H A D | generation.inline.hpp | 46 HeapWord* OneContigSpaceCardGeneration::allocate(size_t word_size, function in class:OneContigSpaceCardGeneration 49 return the_space()->allocate(word_size);
|
/openjdk7/jdk/test/java/util/HashMap/ |
H A D | HashMapCloneLeak.java | 59 Object[] allocate = new Object[1000000]; 60 allocate[0] = chain; 61 chain = allocate;
|
/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | Order.java | 62 ck(ByteBuffer.allocate(10).order(), be); 64 ck(ByteBuffer.allocate(10).order(be).order(), be); 65 ck(ByteBuffer.allocate(10).order(le).order(), le); 67 ckByteBuffer(ByteBuffer.allocate(10));
|
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/ |
H A D | Receive.java | 35 ByteBuffer bb = ByteBuffer.allocate(10);
|
H A D | SendToUnresolved.java | 39 ByteBuffer bb = ByteBuffer.allocate(4);
|
/openjdk7/jdk/src/share/instrument/ |
H A D | Utilities.h | 45 * This allocate must be paired with this deallocate. Used for our own working buffers. 49 allocate(jvmtiEnv * jvmtienv, size_t bytecount);
|
/openjdk7/hotspot/test/gc/7168848/ |
H A D | HumongousAlloc.java | 44 public static void allocate(int size, int sleepTime, int sleepFreq) throws InterruptedException { method in class:HumongousAlloc 45 System.out.println("Will allocate objects of size: " + size 59 allocate((int) (size * MB), sleepTime, sleepFreq);
|
/openjdk7/jdk/test/java/nio/charset/coders/ |
H A D | ResetISO2022JP.java | 47 e.encode(CharBuffer.wrap(s), ByteBuffer.allocate(64), true); 53 ByteBuffer bb = ByteBuffer.allocate(64);
|
/openjdk7/jdk/test/java/nio/charset/Charset/ |
H A D | EncDec.java | 37 ByteBuffer bb = ByteBuffer.allocate(100);
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | heapRegion.inline.hpp | 28 inline HeapWord* G1OffsetTableContigSpace::allocate(size_t size) { function in class:G1OffsetTableContigSpace 29 HeapWord* res = ContiguousSpace::allocate(size); 42 HeapWord* res = ContiguousSpace::allocate(size); 75 // This is how we always allocate survivors. 100 // This is how we always allocate survivors.
|
/openjdk7/jdk/test/java/nio/channels/Selector/ |
H A D | SelectAfterRead.java | 48 sc.read(ByteBuffer.allocate(1)); 77 if (sc.read(ByteBuffer.allocate(1)) != 1) 79 if (sc.read(ByteBuffer.allocate(1)) != 1)
|
H A D | LotsOfChannels.java | 62 sink.write(ByteBuffer.allocate(BUF_SIZE)); 65 source.read(ByteBuffer.allocate(BUF_SIZE));
|
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvmtiExtensions.cpp | 99 jvmtiError err = rt.allocate(_ext_functions->length() * 110 err = rt.allocate(strlen(id)+1, (unsigned char**)&(ext_funcs[i].id)); 117 err = rt.allocate(strlen(desc)+1, 132 err = rt.allocate(param_count*sizeof(jvmtiParamInfo), 141 err = rt.allocate(strlen(src_params[j].name)+1, 161 err = rt.allocate(error_count*sizeof(jvmtiError), 188 jvmtiError err = rt.allocate(_ext_events->length() * sizeof(jvmtiExtensionEventInfo), 198 err = rt.allocate(strlen(id)+1, (unsigned char**)&(ext_events[i].id)); 205 err = rt.allocate(strlen(desc)+1, 220 err = rt.allocate(param_coun [all...] |
/openjdk7/jdk/test/java/nio/charset/RemovingSunIO/ |
H A D | TestUnmappableForLength.java | 50 .decode(ByteBuffer.wrap(ba), CharBuffer.allocate(4), true);
|
/openjdk7/jdk/src/share/demo/jvmti/agent_util/ |
H A D | agent_util.h | 65 void *allocate(jvmtiEnv *jvmti, jint len);
|
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/ |
H A D | ArgCheck.java | 187 ByteBuffer roBB = ByteBuffer.allocate(40).asReadOnlyBuffer(); 189 ByteBuffer bb1K = ByteBuffer.allocate(1024); 190 ByteBuffer bb2K = ByteBuffer.allocate(2048); 191 ByteBuffer bb4K = ByteBuffer.allocate(5096); 192 ByteBuffer bb8K = ByteBuffer.allocate(10192); 196 ByteBuffer netBBMinus1 = ByteBuffer.allocate( 198 ByteBuffer appBBMinus1 = ByteBuffer.allocate( 201 ByteBuffer bbNet = ByteBuffer.allocate( 203 ByteBuffer bbApp = ByteBuffer.allocate(
|
H A D | SSLEngineService.java | 66 // allocate more in order to check large packet 67 ByteBuffer localAppData = ByteBuffer.allocate(length); 69 // allocate less in order to check BUFFER_OVERFLOW/BUFFER_UNDERFLOW 70 ByteBuffer localNetData = ByteBuffer.allocate(netBufferMax/2); 141 // allocate less in order to check BUFFER_OVERFLOW/BUFFER_UNDERFLOW 142 ByteBuffer peerAppData = ByteBuffer.allocate(appBufferMax/2); 143 ByteBuffer peerNetData = ByteBuffer.allocate(netBufferMax/2); 224 // allocate less in order to check BUFFER_OVERFLOW/BUFFER_UNDERFLOW 225 ByteBuffer localAppData = ByteBuffer.allocate(appBufferMax/10); 226 ByteBuffer peerAppData = ByteBuffer.allocate(appBufferMa [all...] |
/openjdk7/langtools/test/tools/javac/6330997/ |
H A D | T6330997.java | 74 ByteBuffer rbuf = ByteBuffer.allocate(2); 76 ByteBuffer wbuf = ByteBuffer.allocate(2);
|
/openjdk7/jdk/test/sun/misc/IoTrace/ |
H A D | IoTraceFileChannelReadWrite.java | 42 ByteBuffer bb = ByteBuffer.allocate(1); 54 ByteBuffer bb = ByteBuffer.allocate(1);
|
/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | ChannelIO.java | 77 cio.requestBB = ByteBuffer.allocate(requestBBSize); 93 ByteBuffer bb = ByteBuffer.allocate(requestBB.capacity() * 2);
|