/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/ |
H A D | HprofReader.java | 42 * Object that's used to read a hprof file. 120 private int version; // The version of .hprof being read 126 private boolean callStack; // If true, read the call stack of objects 173 public Snapshot read() throws IOException { method in class:HprofReader 274 // read the dump segment 520 // @returns the number of bytes read 549 warn("Illegal boolean value read"); 650 // Return number of bytes read 726 // Return number of bytes read 744 // Return number of bytes read [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CDataTransferer.java | 434 // Not MS-compliant HTML text. Return raw text from read(). 512 if (bufferedStream.read() == -1) { 520 public int read() throws IOException { method in class:HTMLDecodingInputStream 534 int retval = bufferedStream.read(); 536 index = end = 0; // so future read() calls will fail quickly
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/ |
H A D | GIFImageReader.java | 59 // True if the file header including stream metadata has been read. 62 // Global metadata, read once per input setting. 321 int nbytes = stream.read(block, off, left); 712 // read available data 753 ("Attempt to read past end of image sequence!"); 824 public BufferedImage read(int imageIndex, ImageReadParam param) method in class:GIFImageReader 894 int nbytes = stream.read(block, off, left);
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/ |
H A D | PNGImageWriter.java | 111 public int read() throws IOException { method in class:ChunkStream 115 public int read(byte[] b, int off, int len) throws IOException { method in class:ChunkStream 199 public int read() throws IOException { method in class:IDATOutputStream 203 public int read(byte[] b, int off, int len) throws IOException { method in class:IDATOutputStream
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | ostream.hpp | 204 size_t read(void *data, size_t size, size_t count) { return ::fread(data, size, count, _file); } function in class:fileStream 305 int read(char *buf, size_t len);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/ |
H A D | WSEndpointReference.java | 786 public XMLStreamReader read(final @NotNull String localName) throws XMLStreamException { method in class:WSEndpointReference
|
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | SctpChannelImpl.c | 196 int read, jboolean isEOR, struct sockaddr* sap) { 207 /* the number of bytes remaining to be read in the sctp_send_failed notif*/ 208 remaining = ssf->ssf_length - read; 236 alreadyRead = read - dataOffset; 361 int read, jboolean isEOR, struct sockaddr* sap) { 365 read, isEOR, sap); 384 (JNIEnv* env, jobject resultContainerObj, struct msghdr* msg,int read, 389 if (read == 0) { 391 read = -1; 399 isa, read, cdat 194 handleSendFailed(JNIEnv* env, int fd, jobject resultContainerObj, struct sctp_send_failed *ssf, int read, jboolean isEOR, struct sockaddr* sap) argument 359 handleNotification(JNIEnv* env, int fd, jobject resultContainerObj, union sctp_notification* snp, int read, jboolean isEOR, struct sockaddr* sap) argument 383 handleMessage(JNIEnv* env, jobject resultContainerObj, struct msghdr* msg,int read, jboolean isEOR, struct sockaddr* sap) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WDataTransferer.java | 847 public synchronized int read() throws IOException { method in class:HTMLCodec 859 int retval = bufferedStream.read();
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | io_util_md.c | 371 DWORD numEventsRead = 0; /* Number of events read from buffer */ 429 * This is documented to succeed on read-only files, but Win32's 484 DWORD read = 0; local 490 result = ReadFile(h, /* File handle to read */ 492 len, /* number of bytes to read */ 493 &read, /* number of bytes read */ 502 return read;
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/ |
H A D | JavapTask.java | 627 ClassFileInfo cfInfo = read(fo); 778 public ClassFileInfo read(JavaFileObject fo) throws IOException, ConstantPoolException { method in class:JavapTask 792 ClassFile cf = ClassFile.read(in, attributeFactory); 1035 public int read(byte[] buf, int offset, int length) throws IOException { method in class:JavapTask.SizeInputStream 1036 int n = super.read(buf, offset, length); 1043 public int read() throws IOException { method in class:JavapTask.SizeInputStream 1044 int b = super.read();
|
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/ |
H A D | CipherHelper.java | 603 "Cannot read complete token"); 620 "Cannot read complete token"); 645 "Cannot read complete token"); 1012 * read 1037 temp = cis.read(token.confounder); 1059 temp = cis.read(dataOutBuf, dataOffset, blockSize); 1071 // debug("Will call read on finalBlock" + "\n"); 1072 temp = cis.read(finalBlock); 1447 public final int read() throws IOException { method in class:CipherHelper.WrapTokenInputStream 1451 temp = is.read(); 1458 public final int read(byte[] b) throws IOException { method in class:CipherHelper.WrapTokenInputStream 1470 public final int read(byte[] b, method in class:CipherHelper.WrapTokenInputStream [all...] |
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | PolicyParser.java | 157 public void read(Reader policy) method in class:PolicyParser 193 * are delimited by semicolons. Once we've read in 732 ("expected.expect.read.end.of.file.")); 813 ("expected.read.end.of.file.")); 829 * permission java.io.FilePermission "/tmp", "read,write"; 837 * "/tmp", "read,write"); 1068 * permission java.io.FilePermission "/tmp", "read,write"; 1074 * "/tmp", "read,write"); 1224 pp.read(fr);
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | DatagramChannelImpl.java | 47 // Used to make native read and write calls 544 public int read(ByteBuffer buf) throws IOException { method in class:DatagramChannelImpl 560 n = IOUtil.read(fd, buf, -1, nd); 571 public long read(ByteBuffer[] dsts, int offset, int length) method in class:DatagramChannelImpl 589 n = IOUtil.read(fd, dsts, offset, length, nd);
|
H A D | FileChannelImpl.java | 46 // Used to make native read and write calls 135 public int read(ByteBuffer dst) throws IOException { method in class:FileChannelImpl 149 n = IOUtil.read(fd, dst, -1, nd); 161 public long read(ByteBuffer[] dsts, int offset, int length) method in class:FileChannelImpl 179 n = IOUtil.read(fd, dsts, offset, length, nd); 518 int nr = read(bb, pos); 630 int nr = src.read(bb); 671 public int read(ByteBuffer dst, long position) throws IOException { method in class:FileChannelImpl 699 n = IOUtil.read(fd, dst, position, nd);
|
/openjdk7/langtools/test/tools/javac/failover/ |
H A D | CheckAttributedTree.java | 185 System.err.println(fileCount + " files read"); 203 out.println("-v Verbose: report on files as they are being read"); 240 p.test(read(file)); 264 * @param file the file to be read 269 List<Pair<JCCompilationUnit, JCTree>> read(File file) throws IOException, AttributionException { method in class:CheckAttributedTree 406 System.err.println("Cannot read field: " + f); 638 body.setText("Cannot read " + e.file.getName() + ": " + e);
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/ |
H A D | RegexParser.java | 160 final int read() { method in class:RegexParser 315 while (this.read() == T_OR) { 331 int ch = this.read(); 338 while ((ch = this.read()) != T_OR && ch != T_RPAREN && ch != T_EOF) { 367 if (this.read() != T_RPAREN) throw ex("parser.factor.1", this.offset-1); 374 if (this.read() != T_RPAREN) throw ex("parser.factor.1", this.offset-1); 381 if (this.read() != T_RPAREN) throw ex("parser.factor.1", this.offset-1); 388 if (this.read() != T_RPAREN) throw ex("parser.factor.1", this.offset-1); 422 if (this.read() == T_QUESTION) { 431 if (this.read() [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/ |
H A D | XMLGregorianCalendarImpl.java | 2835 private char read() throws IllegalArgumentException { method in class:XMLGregorianCalendarImpl.Parser 2843 if (read() != ch) {
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/io/ |
H A D | IIOPInputStream.java | 346 * of its supertypes are read. Default deserializing for a class can be 348 * Objects referenced by this object are read transitively so 399 /* Save the current state and get ready to read an object. */ 469 /* Save the current state and get ready to read an object. */ 533 * @return the Object read from the stream. 622 * Enable the stream to allow objects read from the stream to be replaced. 667 public final int read() throws IOException{ method in class:IIOPInputStream 687 public final int read(byte data[], int offset, int length) throws IOException{ method in class:IIOPInputStream 932 // of the class attempts to read more data than is present in the 1011 * Create an instance and tell it to read it [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/ |
H A D | SocketOrChannelConnectionImpl.java | 160 // transport read timeout values 301 public boolean read() method in class:SocketOrChannelConnectionImpl 305 dprint(".read->: " + this); 316 dprint(".read<-: " + this); 518 public ByteBuffer read(int size, int offset, int length, long max_wait_time) method in class:SocketOrChannelConnectionImpl 530 sb.append(".read: got ByteBuffer id ("); 552 public ByteBuffer read(ByteBuffer byteBuffer, int offset, method in class:SocketOrChannelConnectionImpl 567 bbsb.append(".read: releasing ByteBuffer id (") 601 // long as data is being read, at least 1 byte or more, we 602 // assume we have a well behaved client. If no data is read, [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JEditorPane.java | 83 * The {@link #read read} method can be used to initialize the 157 * <code>EditorKit</code>.read operation throw a 159 * be caught. The read is then restarted with a new Reader that uses 355 * a new default document is created and the URL is read into it. 409 * page specification, or exception from the stream being read 453 read(in, doc); 521 * the read. Otherwise it calls the superclass 524 * @param in the stream from which to read 528 * @see JTextComponent#read 531 public void read(InputStream in, Object desc) throws IOException { method in class:JEditorPane 558 void read(InputStream in, Document doc) throws IOException { method in class:JEditorPane [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | DefaultEditorKit.java | 140 * @param in The stream to read from 148 public void read(InputStream in, Document doc, int pos) method in class:DefaultEditorKit 151 read(new InputStreamReader(in), doc, pos); 177 * the benefit of StyledEditorKit so that the read method will 191 * @param in The stream to read from 199 public void read(Reader in, Document doc, int pos) method in class:DefaultEditorKit 216 while ((nch = in.read(buff, 0, buff.length)) != -1) { 436 * Name of the action to set the editor into read-only 440 public static final String readOnlyAction = "set-read-only"; 1210 * Sets the editor into read [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | PNGImageDecoder.java | 247 if((signature[i]&0xFF)!=underlyingInputStream.read()) 362 int rowFilter = is.read(); 364 int n = is.read(rowByteBuffer,rowFillPos,rowByteWidth-rowFillPos); 675 int n = underlyingInputStream.read(inbuf,limit,bsize-limit); 819 public int read() throws IOException { method in class:PNGFilterInputStream 824 public int read(byte[] b) throws IOException{return read(b,0,b.length);} method in class:PNGFilterInputStream 825 public int read(byte[] b, int st, int len) throws IOException { method in class:PNGFilterInputStream 835 for(i = 0; i<n && read()>=0; i++);
|
/openjdk7/jdk/src/share/classes/javax/imageio/ |
H A D | ImageReader.java | 51 * class must be subclassed by classes that read in images in the 64 * read in order, possibly allowing the reader to avoid caching 66 * have been read previously. 167 * If <code>true</code>, the current read operation should be 223 * The input source must be set before any of the query or read 231 * read. If <code>seekForwardOnly</code> is true, then a call to 232 * <code>read(index)</code> will throw an 237 * <code>minIndex</code> will remain 0 regardless of any read 242 * encountered during the read. Subsequent calls to the 275 * may only be read i 939 public BufferedImage read(int imageIndex) throws IOException { method in class:ImageReader 998 public abstract BufferedImage read(int imageIndex, ImageReadParam param) method in class:ImageReader [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | DLSSoundbank.java | 87 public static DLSID read(RIFFReader riff) throws IOException { method in class:DLSSoundbank.DLSID 387 uuid = DLSID.read(riff); 391 uuid = DLSID.read(riff); 523 int bank = chunk.read(); // LSB 524 bank += (chunk.read() & 127) << 7; // MSB 525 chunk.read(); // Read Reserved byte 526 int drumins = chunk.read(); // Drum Instrument 528 int id = chunk.read() & 127; // Read only first 7 bits 529 chunk.read(); // Read Reserved byte 530 chunk.read(); // Rea [all...] |
H A D | DirectAudioDevice.java | 591 // read/write thread, that's why isStartedRunning() 686 // first stop ongoing read/write method 952 public int read(byte[] b, int off, int len) { method in class:DirectAudioDevice.DirectTDL 961 throw new IllegalArgumentException("illegal request to read " 978 int read = 0; 993 read += thisRead; 1006 read = 0; 1008 return read; 1133 // read the data from the stream into an array in one fell swoop. 1140 thisRead = stream.read(streamDat [all...] |