Searched defs:read (Results 376 - 400 of 473) sorted by relevance

<<111213141516171819

/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DPCMtoPCMCodec.java148 * @param stream stream from which data to be processed should be read
150 * @return stream from which processed data may be read
453 * Other conversions require a read of at least 2 bytes.
456 public int read() throws IOException { method in class:PCMtoPCMCodec.PCMtoPCMCodecStream
465 temp = super.read();
477 throw new IOException("cannot read a single byte if frame size > 1");
480 throw new IOException("cannot read a single byte if frame size > 1");
485 public int read(byte[] b) throws IOException { method in class:PCMtoPCMCodec.PCMtoPCMCodecStream
487 return read(b, 0, b.length);
490 public int read(byt method in class:PCMtoPCMCodec.PCMtoPCMCodecStream
[all...]
H A DSoftAbstractResampler.java203 ret = stream.read(ibuffer[0], pad2, sector_size);
208 int sret = stream.read(sbuffer, 0, slen);
257 public int read(float[][] buffer, int offset, int len) method in class:SoftAbstractResampler.ModelAbstractResamplerStream
H A DSoftMixingSourceDataLine.java103 public int read(float[] b, int off, int len) throws IOException { method in class:SoftMixingSourceDataLine.NonBlockingFloatInputStream
106 int ret = ais.read(b, off, avail);
110 return ais.read(b, off, len);
225 ret = afis.read(readbuffer);
326 public int read() throws IOException {
328 int ret = read(b);
340 public int read(byte[] b, int off, int len)
/openjdk7/jdk/src/share/classes/com/sun/tools/script/shell/
H A Dinit.js392 while ((len = binp.read(buff)) > 0 )
861 * @param multiline to tell whether to read single line or multiple lines
863 function read(prompt, multiline) { function
/openjdk7/jdk/src/macosx/classes/sun/nio/ch/
H A DKQueueArrayWrapper.java141 * to return an int. Hence read the 8 bytes but return as an int.
211 private native void register0(int kq, int fd, int read, int write); argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/
H A DSDDocumentImpl.java109 XMLStreamReader reader = src.read();
226 public XMLStreamReader read(XMLInputFactory xif) throws IOException, XMLStreamException { method in class:SDDocumentImpl
227 return source.read(xif);
230 public XMLStreamReader read() throws IOException, XMLStreamException { method in class:SDDocumentImpl
231 return source.read();
248 new XMLStreamReaderToXMLStreamWriter().bridge(source.read(), w);
298 XMLStreamReader xsr = source.read();
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DFileDispatcherImpl.java57 int read(FileDescriptor fd, long address, int len) method in class:FileDispatcherImpl
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DFileDispatcherImpl.c46 DWORD read = 0; local
54 result = ReadFile(h, /* File handle to read */
56 len, /* number of bytes to read */
57 &read, /* number of bytes read */
70 return convertReturnVal(env, (jint)read, JNI_TRUE);
77 DWORD read = 0; local
94 result = ReadFile(h, /* File handle to read */
96 num, /* number of bytes to read */
97 &read, /* numbe
126 DWORD read = 0; local
[all...]
/openjdk7/jdk/test/java/io/Serializable/subclass/
H A DXObjectInputStream.java107 public int read() throws IOException { method in class:XObjectInputStream
108 return dis.read();
111 public int read(byte[] data, int offset, int length) throws IOException { method in class:XObjectInputStream
112 return dis.read(data, offset, length);
172 * Provide access to the persistent fields read from the input stream.
240 public void read(ObjectInputStream in) method in class:XObjectInputStream.InternalGetField
/openjdk7/jdk/test/java/net/Authenticator/
H A DB4769350.java32 * Run in othervm since the test sets system properties that are read by the
45 static void read (InputStream is) throws IOException { method in class:B4769350
47 while ((c=is.read()) != -1) {
69 read (is);
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DSelectorTest.java291 int bytesRead = sc.read(ackBuffer);
353 read(sk, sc);
371 private void read(SelectionKey sk, SocketChannel sc) throws Exception { method in class:RequestHandler
383 bytesRead = sc.read(bin);
/openjdk7/jdk/test/java/nio/charset/coders/
H A DBashStreams.java238 public int read() throws IOException { method in class:BashStreams.Source
240 read(b);
247 public int read(byte[] ba, int off, int len) throws IOException { method in class:BashStreams.Source
278 public int read(ByteBuffer bb) throws IOException { method in class:BashStreams.Source
279 int n = read(bb.array(),
309 n = rd.read(ca, 0, rn);
338 log.println(" read stream");
346 log.println(" read channel");
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DAnnotation.java77 public static element_value read(ClassReader cr) method in class:Annotation.element_value
211 values[i] = element_value.read(cr);
234 value = element_value.read(cr);
H A DStackMapTable_attribute.java52 entries[i] = stack_map_frame.read(cr);
81 static stack_map_frame read(ClassReader cr) method in class:StackMapTable_attribute.stack_map_frame
146 stack[0] = verification_type_info.read(cr);
171 stack[0] = verification_type_info.read(cr);
242 locals[i] = verification_type_info.read(cr);
273 locals[i] = verification_type_info.read(cr);
277 stack[i] = verification_type_info.read(cr);
317 static verification_type_info read(ClassReader cr) method in class:StackMapTable_attribute.verification_type_info
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_impl.h144 int (*read)(void* pStream, void* pData, int nBytes); member in struct:SplashStream
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DInputRecord.java66 // and the first message we read is a ClientHello in V2 format, we convert
189 // process can read the actual decrypted
323 * So we track how much we've read and hashed.
342 System.out.println("[read] MD5 and SHA1 hashes: len = "
362 * Hash any data that's read but unhashed.
409 // we've read the record, advance the pointers
415 * Prevent any more data from being read into this record,
442 int readLen = s.read(b, off + n, len - n);
452 System.out.println("[Raw read]: length = " +
470 void read(InputStrea method in class:InputRecord
[all...]
/openjdk7/jdk/test/java/util/zip/
H A DInflateIn_DeflateOut.java59 public int read() { method in class:InflateIn_DeflateOut.PairedInputStream
61 return super.read();
64 public int read(byte b[], int off, int len) { method in class:InflateIn_DeflateOut.PairedInputStream
66 return super.read(b, off, len);
105 while ((n = in.read(buf, pos, length - pos)) > 0) {
116 int i = in.read();
128 /** Check that written, closed and read */
175 fail("Didn't read full buffer of " + buf.length);
191 /** Check that written, flushed and read */
209 gos.flush(); // flush the head out, so gis can read
[all...]
/openjdk7/jdk/test/javax/management/descriptor/
H A DMBeanInfoInteropTest.java111 private static void showMismatch(Object read, Serializable expected) argument
125 System.out.println("...read: " + read);
/openjdk7/jdk/test/sun/net/www/httptest/
H A DHttpServer.java206 closed = read (chan, key);
232 /* read all the data off the channel without looking at it
238 int c = chan.read (consumeBuffer);
249 private boolean read (SocketChannel chan, SelectionKey key) { method in class:HttpServer.Server
289 while (remain > 0 && ((c=is.read (buf, off, remain))>0)) {
297 int cr = is.read();
298 int lf = is.read();
331 c = is.read ();
359 c = is.read ();
425 public synchronized int read (byt method in class:HttpServer.NioInputStream
429 public synchronized int read () throws IOException { method in class:HttpServer.NioInputStream
433 public synchronized int read (byte[] b, int off, int srclen) throws IOException { method in class:HttpServer.NioInputStream
[all...]
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DRequest.java76 * read a line from the stream returning as a String.
84 int c = is.read();
134 int firstc = is.read();
138 int c = is.read();
153 while ((c = is.read()) >= 0) {
167 firstc = is.read();
169 firstc = is.read();
171 firstc = is.read();
245 public synchronized int read (byte[] b) throws IOException { method in class:Request.ReadStream
246 return read (
249 public synchronized int read () throws IOException { method in class:Request.ReadStream
258 public synchronized int read (byte[] b, int off, int srclen) throws IOException { method in class:Request.ReadStream
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DChunkedInputStream.java64 * The size, in bytes, of the chunk that is currently being read.
71 * The number of bytes read from the underlying stream for the current
79 * application to read.
85 * of the next byte to read from <code>chunkData</code>
98 * read. It may contain bytes representing chunk-size, chunk-data, or
105 * of the next byte to read from <code>rawData</code>
145 * Indicates that a chunk has been completely read and the next
151 * Indicates that all chunks have been read and the next field
159 * no further bytes should be read from the underlying stream.
211 * stream can be completely read withou
648 public synchronized int read() throws IOException { method in class:ChunkedInputStream
670 public synchronized int read(byte b[], int off, int len) method in class:ChunkedInputStream
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DSocketAdaptor.java196 protected int read(ByteBuffer bb) method in class:SocketAdaptor.SocketInputStream
203 return sc.read(bb);
212 if ((n = sc.read(bb)) != 0)
223 if ((n = sc.read(bb)) != 0)
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/
H A DTCPEndpoint.java536 * @exception IOException If id could not be read (due to stream failure)
538 public static TCPEndpoint read(ObjectInput in) method in class:TCPEndpoint
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DFileDispatcherImpl.java45 int read(FileDescriptor fd, long address, int len) throws IOException { method in class:FileDispatcherImpl
/openjdk7/langtools/test/tools/javac/diags/
H A DExample.java98 String[] lines = read(f).split("[\r\n]+");
255 private String read(File f) throws IOException { method in class:Example

Completed in 243 milliseconds

<<111213141516171819