Searched refs:ByteBuffer (Results 1 - 25 of 538) sorted by relevance

1234567891011>>

/openjdk7/corba/src/share/classes/com/sun/corba/se/pept/transport/
H A DByteBufferPool.java28 import java.nio.ByteBuffer;
35 public ByteBuffer getByteBuffer(int theSize);
36 public void releaseByteBuffer(ByteBuffer thebb);
/openjdk7/jdk/src/share/classes/sun/nio/
H A DByteBuffered.java28 import java.nio.ByteBuffer;
31 /** This is an interface to adapt existing APIs to use {@link java.nio.ByteBuffer
37 * the underlying data structure, it can create a class of InputStream that wraps the ByteBuffer,
45 * Returns the <tt>ByteBuffer</tt> behind this object, if this particular
49 * @return The <tt>ByteBuffer</tt>, if this particular instance has one,
53 * If the ByteBuffer is no longer valid.
57 public ByteBuffer getByteBuffer() throws IOException;
/openjdk7/jdk/src/share/sample/nio/chatserver/
H A DDataReader.java41 import java.nio.ByteBuffer;
45 void onData(Client client, ByteBuffer buffer, int bytes);
/openjdk7/jdk/src/share/classes/com/sun/pept/transport/
H A DConnection.java37 import java.nio.ByteBuffer;
61 public void write(ByteBuffer byteBuffer);
81 public int read(ByteBuffer byteBuffer);
89 public ByteBuffer readUntilEnd();
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DReadableByteChannel.java29 import java.nio.ByteBuffer;
106 public int read(ByteBuffer dst) throws IOException;
H A DWritableByteChannel.java29 import java.nio.ByteBuffer;
103 public int write(ByteBuffer src) throws IOException;
H A DGatheringByteChannel.java29 import java.nio.ByteBuffer;
127 public long write(ByteBuffer[] srcs, int offset, int length)
164 public long write(ByteBuffer[] srcs) throws IOException;
H A DScatteringByteChannel.java29 import java.nio.ByteBuffer;
123 public long read(ByteBuffer[] dsts, int offset, int length)
160 public long read(ByteBuffer[] dsts) throws IOException;
H A DAsynchronousByteChannel.java28 import java.nio.ByteBuffer;
42 * <p> Note that {@link java.nio.ByteBuffer ByteBuffers} are not safe for use by
106 <A> void read(ByteBuffer dst,
116 * #read(ByteBuffer,Object,CompletionHandler)
117 * read(ByteBuffer,Object,CompletionHandler)} method except that instead
134 Future<Integer> read(ByteBuffer dst);
183 <A> void write(ByteBuffer src,
193 * #write(ByteBuffer,Object,CompletionHandler)
194 * write(ByteBuffer,Object,CompletionHandler)} method except that instead
208 Future<Integer> write(ByteBuffer sr
[all...]
H A DSeekableByteChannel.java28 import java.nio.ByteBuffer;
65 int read(ByteBuffer dst) throws IOException;
80 int write(ByteBuffer src) throws IOException;
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaUtilZipAccess.java29 import java.nio.ByteBuffer;
32 public void update(Adler32 adler32, ByteBuffer buf);
H A DJavaNioAccess.java29 import java.nio.ByteBuffer;
44 * Constructs a direct ByteBuffer referring to the block of memory starting
49 ByteBuffer newDirectByteBuffer(long addr, int cap, Object ob);
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/
H A DArgCheck.java55 private static void tryNull(SSLEngine ssle, ByteBuffer appData,
56 ByteBuffer netData) throws Exception {
72 private static void tryNullArray(SSLEngine ssle, ByteBuffer [] appData,
73 ByteBuffer netData) throws Exception {
89 private static void tryNullArrayLen(SSLEngine ssle, ByteBuffer [] appData,
90 int offset, int len, ByteBuffer netData) throws Exception {
106 private static void tryReadOnly(SSLEngine ssle, ByteBuffer [] appData,
107 int offset, int len, ByteBuffer netData) throws Exception {
127 private static void tryOutOfBounds(SSLEngine ssle, ByteBuffer [] appData,
128 int offset, int len, ByteBuffer netDat
[all...]
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/
H A DPerfStringVariableMonitor.java29 import java.nio.ByteBuffer;
50 ByteBuffer bb) {
64 ByteBuffer bb, int maxLength) {
/openjdk7/jdk/test/java/nio/Buffer/
H A DAllocateDirectInit.java30 import java.nio.ByteBuffer;
35 ByteBuffer bb = ByteBuffer.allocateDirect(1024);
45 private static void printByteBuffer(ByteBuffer bb) {
H A DChew.java39 ByteBuffer.allocateDirect(1 << 20);
H A DOrder.java44 static void ckViews(ByteBuffer bb, ByteOrder ord) {
52 static void ckByteBuffer(ByteBuffer bb) {
62 ck(ByteBuffer.allocate(10).order(), be);
63 ck(ByteBuffer.allocateDirect(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));
68 ckByteBuffer(ByteBuffer.allocateDirect(10));
/openjdk7/jdk/test/sun/misc/Encode/
H A DGetBytes.java27 * @summary sun.misc.CharacterEncoder(ByteBuffer) is dumping too
39 ByteBuffer bb = ByteBuffer.wrap(new byte [26 + 2]);
51 ByteBuffer src = bb.slice();
57 ByteBuffer dst = d.decodeBufferToByteBuffer(encoded);
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLEngine.java28 import java.nio.ByteBuffer;
85 * traditional Input/OutputStreams, local {@link java.nio.ByteBuffer
172 * Data moves through the engine by calling {@link #wrap(ByteBuffer,
173 * ByteBuffer) wrap()} or {@link #unwrap(ByteBuffer, ByteBuffer)
193 * <code>ByteBuffer</code>s must be sized appropriately to hold the
221 * ByteBuffer b = ByteBuffer.allocate(appSize + dst.position());
231 * ByteBuffer
[all...]
/openjdk7/jdk/src/share/classes/javax/smartcardio/
H A DCardChannel.java124 * Transmits the command APDU stored in the command ByteBuffer and receives
125 * the reponse APDU in the response ByteBuffer.
163 public abstract int transmit(ByteBuffer command, ByteBuffer response)
/openjdk7/jdk/src/share/classes/com/sun/nio/sctp/
H A DSendFailedNotification.java27 import java.nio.ByteBuffer;
71 public abstract ByteBuffer buffer();
/openjdk7/jdk/src/share/classes/com/sun/pept/encoding/
H A DEncoder.java33 import java.nio.ByteBuffer;
63 * @return a ByteBuffer with ...
68 public ByteBuffer encode(MessageInfo messageInfo);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DChunk.java28 import java.nio.ByteBuffer;
48 public Chunk createNext(DataHead dataHead, ByteBuffer buf) {
H A DData.java28 import java.nio.ByteBuffer;
44 * TODO: should the return type be ByteBuffer ??
70 Data createNext(DataHead dataHead, ByteBuffer buf);
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DReceive.java35 ByteBuffer bb = ByteBuffer.allocate(10);

Completed in 143 milliseconds

1234567891011>>