Searched refs:allocateMemory (Results 1 - 25 of 33) sorted by relevance

12

/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXQueryTree.java36 long root_ptr = unsafe.allocateMemory(Native.getLongSize());
37 long parent_ptr = unsafe.allocateMemory(Native.getLongSize());
38 long children_ptr = unsafe.allocateMemory(Native.getLongSize());
39 long nchildren_ptr = unsafe.allocateMemory(Native.getIntSize());
H A DWindowPropertyGetter.java33 private final long actual_type = unsafe.allocateMemory(8);
34 private final long actual_format = unsafe.allocateMemory(4);
35 private final long nitems_ptr = unsafe.allocateMemory(8);
36 private final long bytes_after = unsafe.allocateMemory(8);
37 private final long data = unsafe.allocateMemory(8);
210 Native.putLong(data, unsafe.allocateMemory(getDataLength()));
H A DXTranslateCoordinates.java39 long dest_x_ptr = unsafe.allocateMemory(Native.getIntSize());
40 long dest_y_ptr = unsafe.allocateMemory(Native.getIntSize());
41 long child_ptr = unsafe.allocateMemory(Native.getLongSize());
H A DXWrapperBase.java66 long copy = XlibWrapper.unsafe.allocateMemory(getDataSize());
H A DNative.java120 long res = XlibWrapper.unsafe.allocateMemory(bytes.length);
172 long res = XlibWrapper.unsafe.allocateMemory(bytes.length);
195 long res = XlibWrapper.unsafe.allocateMemory(shorts.length*getShortSize());
225 long res = XlibWrapper.unsafe.allocateMemory(shorts.length*getShortSize());
249 long res = XlibWrapper.unsafe.allocateMemory(ints.length*getIntSize());
279 long res = XlibWrapper.unsafe.allocateMemory(ints.length*getIntSize());
371 long res = XlibWrapper.unsafe.allocateMemory(longs.length*getLongSize());
400 return unsafe.allocateMemory(getLongSize() * length);
H A DXPropertyCache.java52 this.data = XlibWrapper.unsafe.allocateMemory(dataLength);
H A DXEmbeddingContainer.java70 long data = unsafe.allocateMemory(8);
H A DMotifDnDConstants.java360 long data = unsafe.allocateMemory(tableSize);
525 long structData = unsafe.allocateMemory(MOTIF_INITIATOR_INFO_SIZE);
558 long data = unsafe.allocateMemory(dataSize);
H A DXlibWrapper.java568 final static long lbuffer = unsafe.allocateMemory(64); // array to hold 8 longs
569 final static long ibuffer = unsafe.allocateMemory(32); // array to hold 8 ints
H A DXSelection.java513 XlibWrapper.unsafe.allocateMemory(XAtom.getAtomSize());
826 nativeDataPtr = XlibWrapper.unsafe.allocateMemory(count);
H A DXNETProtocol.java375 long buffer = XlibWrapper.unsafe.allocateMemory(bufferSize);
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DNativeBuffer.java57 this.address = unsafe.allocateMemory(size);
H A DCancellable.java49 pollingAddress = unsafe.allocateMemory(4);
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DEPoll.java69 return unsafe.allocateMemory(count * SIZEOF_EPOLLEVENT);
H A DKQueue.java68 return unsafe.allocateMemory(count * SIZEOF_KQUEUEEVENT);
H A DSolarisEventPort.java156 long address = unsafe.allocateMemory(SIZEOF_PORT_EVENT);
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DNativeObject.java75 this.allocationAddress = unsafe.allocateMemory(size);
79 long a = unsafe.allocateMemory(size + ps);
375 long a = unsafe.allocateMemory(8);
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DPendingIoCache.java81 ov = unsafe.allocateMemory(SIZEOF_OVERLAPPED);
H A DWindowsAsynchronousServerSocketChannelImpl.java85 this.dataBuffer = unsafe.allocateMemory(DATA_BUFFER_SIZE);
H A DWindowsAsynchronousSocketChannelImpl.java112 this.readBufferArray = unsafe.allocateMemory(SIZEOF_WSABUFARRAY);
113 this.writeBufferArray = unsafe.allocateMemory(SIZEOF_WSABUFARRAY);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DSolarisWatchService.java250 unsafe.allocateMemory(SIZEOF_PORT_EVENT * MAX_EVENT_COUNT);
646 long name = unsafe.allocateMemory(len+1);
653 long object = unsafe.allocateMemory(SIZEOF_FILEOBJ);
H A DSolarisAclFileAttributeView.java314 long address = unsafe.allocateMemory(SIZEOF_ACE_T * MAX_ACL_ENTRIES);
347 long address = unsafe.allocateMemory(SIZEOF_ACE_T * n);
H A DLinuxWatchService.java191 this.address = unsafe.allocateMemory(BUFFER_SIZE);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRenderBuffer.java76 curAddress = baseAddress = unsafe.allocateMemory(numBytes);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DUnsafe.java395 * does not point into a block obtained from {@link #allocateMemory}, the
398 * @see #allocateMemory
404 * does not point into a block obtained from {@link #allocateMemory}, the
439 * #allocateMemory}, the results are undefined.
448 * @see #allocateMemory
455 * #allocateMemory}, the results are undefined.
481 public native long allocateMemory(long bytes); method in class:Unsafe
498 * @see #allocateMemory
565 * #allocateMemory} or {@link #reallocateMemory}. The address passed to
568 * @see #allocateMemory
[all...]

Completed in 67 milliseconds

12