Searched defs:read (Results 401 - 425 of 473) sorted by relevance

<<111213141516171819

/openjdk7/langtools/test/tools/javac/diags/
H A DMessageFile.java415 read(in);
422 read(in);
425 final void read(Reader in) throws IOException { method in class:MessageFile
H A DRunExamples.java252 protected String read(File f) throws IOException { method in class:RunExamples.Runner
304 text = read(f);
475 text = read(f);
/openjdk7/langtools/test/tools/javac/processing/
H A DT6920317.java372 write(f, read(new File(gen)));
406 byte[] read(File file) { method in class:T6920317.Processor
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DWrapperInputStream.java79 public int read() throws IOException { return stream.read(); } method in class:WrapperInputStream
80 public int read(byte b[]) throws IOException { return stream.read(b); } method in class:WrapperInputStream
81 public int read(byte b[], int off, int len) throws IOException { method in class:WrapperInputStream
82 return stream.read(b, off, len);
H A DCDRInputStream.java245 public final int read() throws java.io.IOException { method in class:CDRInputStream
246 return impl.read();
371 public final int read(byte b[]) throws IOException { method in class:CDRInputStream
372 return impl.read(b);
375 public final int read(byte b[], int off, int len) throws IOException { method in class:CDRInputStream
376 return impl.read(b, off, len);
462 // which wants to read values. Thus, TypeCodeInputStream doesn't
H A DCDRInputStreamBase.java91 public int read() throws java.io.IOException { method in class:CDRInputStreamBase
138 // public abstract int read(byte b[]) throws IOException;
139 // public abstract int read(byte b[], int off, int len) throws IOException
/openjdk7/jdk/src/share/classes/java/io/
H A DRandomAccessFile.java38 * input operations read bytes starting at the file pointer and advance
39 * the file pointer past the bytes read. If the random access file is
40 * created in read/write mode, then output operations are also available;
44 * extended. The file pointer can be read by the
50 * read, an <code>EOFException</code> (which is a kind of
51 * <code>IOException</code>) is thrown. If any byte cannot be read for
78 * Creates a random access file stream to read from, and optionally
91 * as its argument to see if read access to the file is allowed.
110 * <code>checkRead</code> method denies read access to the file
126 * Creates a random access file stream to read fro
326 public int read() throws IOException { method in class:RandomAccessFile
384 public int read(byte b[], int off, int len) throws IOException { method in class:RandomAccessFile
407 public int read(byte b[]) throws IOException { method in class:RandomAccessFile
[all...]
/openjdk7/jdk/src/share/classes/java/util/jar/
H A DJarVerifier.java221 * called when we reach the end of entry in one of the read() methods.
354 * Force a read of the entry data to generate the
362 n = s.read(buffer, 0, buffer.length);
405 * META-INF entries, and if we re-read one of them, don't
447 public int read() throws IOException method in class:JarVerifier.VerifierStream
450 int b = is.read();
461 public int read(byte b[], int off, int len) throws IOException { method in class:JarVerifier.VerifierStream
467 int n = is.read(b, off, len);
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipFile.java47 * This class is used to read entries from a zip file.
102 * to ensure the read is allowed.
111 * <code>checkRead</code> method doesn't allow read access to the file.
120 * Opens a new <code>ZipFile</code> to read from the specified
126 * ensure the read is allowed.
137 * doesn't allow read access to the file,
165 * Opens a new <code>ZipFile</code> to read from the specified
171 * ensure the read is allowed.
186 * method doesn't allow read access to the file,or its
228 * to ensure the read i
666 public int read(byte b[], int off, int len) throws IOException { method in class:ZipFile.ZipFileInputStream
692 public int read() throws IOException { method in class:ZipFile.ZipFileInputStream
764 private static native int read(long jzfile, long jzentry, method in class:ZipFile
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DImageInputStreamImpl.java75 * The current read position within the stream. Subclasses are
77 * override that alters the read position.
132 * the read occurs.
139 public abstract int read() throws IOException; method in class:ImageInputStreamImpl
142 * A convenience method that calls <code>read(b, 0, b.length)</code>.
145 * the read occurs.
147 * @return the number of bytes actually read, or <code>-1</code>
154 public int read(byte[] b) throws IOException { method in class:ImageInputStreamImpl
155 return read(b, 0, b.length);
161 * If no bytes can be read becaus
185 public abstract int read(byte[] b, int off, int len) throws IOException; method in class:ImageInputStreamImpl
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftMixingDataLine.java184 ibuffer_len = ais.read(ibuffer2);
187 int ret = ais.read(ibuffer2, ibuffer_len, ibuffer2.length
209 public int read(float[] b, int off, int len) throws IOException { method in class:SoftMixingDataLine.AudioFloatInputStreamResampler
282 int ret = read(l_skipbuffer, 0, (int) Math.min(remain,
/openjdk7/jdk/src/share/classes/com/sun/security/auth/
H A DPolicyParser.java144 public void read(Reader policy) method in class:PolicyParser
180 * are delimited by semicolons. Once we've read in
530 rb.getString("expected.expect.read.end.of.file."));
612 (rb.getString("expected.read.end.of.file"));
628 * permission java.io.FilePermission "/tmp", "read,write";
636 * "/tmp", "read,write");
804 * permission java.io.FilePermission "/tmp", "read,write";
810 * "/tmp", "read,write");
959 pp.read(new FileReader(arg[0]));
/openjdk7/hotspot/src/share/vm/utilities/
H A DglobalDefinitions_visCPP.hpp177 #define read _read macro
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/
H A DHttpServer.java262 /* read all the data off the channel without looking at it
268 int c = chan.read (consumeBuffer);
336 int bytes = schan.read(inNetBB);
378 * Just transitioned from read to write.
424 // read the application data; using non-blocking mode
426 read(schan, sslEng);
434 private boolean read (SocketChannel chan, SSLEngine sslEng) { method in class:HttpServer.ServerWorker
474 while (remain > 0 && ((c=is.read (buf, off, remain))>0)) {
482 int cr = is.read();
483 int lf = is.read();
607 public synchronized int read (byte[] b) throws IOException { method in class:HttpServer.NioInputStream
611 public synchronized int read () throws IOException { method in class:HttpServer.NioInputStream
615 public synchronized int read (byte[] b, int off, int srclen) throws IOException { method in class:HttpServer.NioInputStream
[all...]
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/
H A DTunnelProxy.java187 closed = read (chan, key);
213 /* read all the data off the channel without looking at it
219 int c = chan.read (consumeBuffer);
230 private boolean read (SocketChannel chan, SelectionKey key) { method in class:TunnelProxy.Server
297 c = is.read ();
360 public synchronized int read (byte[] b) throws IOException { method in class:TunnelProxy.NioInputStream
361 return read (b, 0, b.length);
364 public synchronized int read () throws IOException { method in class:TunnelProxy.NioInputStream
365 return read (one, 0, 1);
368 public synchronized int read (byt method in class:TunnelProxy.NioInputStream
[all...]
/openjdk7/jdk/test/sun/security/tools/keytool/
H A DKeyToolTest.java128 if(in.read() != 'X' || in.read() != -1)
1340 * keytool has called InputStream.read() and BufferedReader.readLine() in
1343 * anything to I.read() after a B.readLine() call.
1346 * to B.readLine(), no more, no less, and the next I.read() can have a chance
1347 * to read the exact character right after "\n".
1366 // the trick: when called through read(byte[], int, int),
1369 @Override public int read() throws IOException { method in class:HumanInputStream
1393 @Override public int read(byte[] buffer, int offset, int len) { method in class:HumanInputStream
1396 int re = super.read(buffe
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DAttribute.java136 public static Attribute read(ClassReader cr) throws IOException { method in class:Attribute
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DSSLStreams.java241 * channel read/writes. It handles the UNDER/OVERFLOW status codes
243 * though once the engine is closed, any attempt to read/write to it
334 x = chan.read (unwrap_src);
350 /* Buffer not full, just need to read more
399 * read data thru the engine into the given ByteBuffer. If the
510 public int read (byte[] buf, int off, int len) throws IOException { method in class:SSLStreams.InputStream
586 public int read (byte[] buf) throws IOException { method in class:SSLStreams.InputStream
587 return read (buf, 0, buf.length);
592 public int read () throws IOException { method in class:SSLStreams.InputStream
593 int n = read (singl
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAsynchronousSocketChannelImpl.java212 * Invoked by read to initiate the I/O operation.
223 private <V extends Number,A> Future<V> read(boolean isScatteringRead, method in class:AsynchronousSocketChannelImpl
260 // immediately complete with -1 if shutdown for read
279 public final Future<Integer> read(ByteBuffer dst) { method in class:AsynchronousSocketChannelImpl
282 return read(false, dst, null, 0L, TimeUnit.MILLISECONDS, null, null);
286 public final <A> void read(ByteBuffer dst, method in class:AsynchronousSocketChannelImpl
296 read(false, dst, null, timeout, unit, attachment, handler);
300 public final <A> void read(ByteBuffer[] dsts, method in class:AsynchronousSocketChannelImpl
317 read(true, null, bufs, timeout, unit, attachment, handler);
H A DSocketChannelImpl.java47 // Used to make native read and write calls
289 public int read(ByteBuffer buf) throws IOException { method in class:SocketChannelImpl
329 // IOUtil.read invocation below, this channel might be closed
331 // implicit synchronization point in the kernel read() call to
337 // before this thread invokes read(), in which case the
338 // read returns immediately with either EOF or an error,
343 // this thread is blocked in read(). On some operating
344 // systems (e.g., Solaris and Windows) this causes the read
349 // this thread is blocked in read() but the operating
352 // thread, thereby causing the read t
427 public long read(ByteBuffer[] dsts, int offset, int length) method in class:SocketChannelImpl
[all...]
/openjdk7/langtools/test/tools/javac/tree/
H A DTreePosTest.java182 System.err.println(fileCount + " files read");
200 out.println("-v Verbose: report on files as they are being read");
237 p.test(read(file));
261 * @param file the file to be read
266 JCCompilationUnit read(File file) throws IOException, ParseException { method in class:TreePosTest
626 body.setText("Cannot read " + e.file.getName() + ": " + e);
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DUtility.java832 consumed_chars = 1; // This is the default, read just one char like `B'
1232 while((ch = jr.read()) >= 0) {
1249 while((b = gis.read()) >= 0)
1295 public int read() throws IOException { method in class:Utility.JavaReader
1296 int b = in.read();
1301 int i = in.read();
1307 int j = in.read();
1322 public int read(char[] cbuf, int off, int len) throws IOException { method in class:Utility.JavaReader
1324 cbuf[off + i] = (char)read();
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFiles.java71 * Opens a file, returning an input stream to read from the file. The stream
101 * method is invoked to check read access to the file.
300 * method is invoked to check read access to the path if the file is
346 * method is invoked to check read access to the path if the file is
406 * method is invoked to check read access to the directory.
461 * method is invoked to check read access to the directory.
537 * method is invoked to check read access to the directory.
1213 * method is invoked to check read access to the source file, the
1359 * links</a> then this method is used to read the target of the link, failing
1372 * if the target could otherwise not be read becaus
2902 private static byte[] read(InputStream source, int initialSize) method in class:Files
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DImageIO.java205 // we have to check whether we can read, write,
214 security.checkPermission(new FilePermission(filepath, "read, write, delete"));
232 * may be necessary to save previously read information in a cache
233 * since the underlying stream does not allow data to be re-read.
981 * program can read an image, modify it in some way, and write it
1271 * <code>ImageReader</code> claims to be able to read the
1278 * <p> Note that there is no <code>read</code> method that takes a
1283 * <code>ImageReader</code>s that can read directly from a
1287 * @param input a <code>File</code> to read from.
1296 public static BufferedImage read(Fil method in class:ImageIO
1346 public static BufferedImage read(InputStream input) throws IOException { method in class:ImageIO
1386 public static BufferedImage read(URL input) throws IOException { method in class:ImageIO
1432 public static BufferedImage read(ImageInputStream stream) method in class:ImageIO
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DPackageReader.java75 * read its underlying stream ahead of a given mark,
106 public int read() throws IOException { method in class:PackageReader.LimitedBuffer
112 int ch = super.read();
118 public int read(byte b[], int off, int len) throws IOException { method in class:PackageReader.LimitedBuffer
120 int nr = super.read(b, off, len);
133 public int read() throws IOException {
137 return super.read();
139 public int read(byte b[], int off, int len) throws IOException {
147 int nr = super.read(b, off, len);
155 void read() throw method in class:PackageReader
[all...]

Completed in 91 milliseconds

<<111213141516171819