/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FilterReader.java | 73 public int read(char cbuf[], int off, int len) throws IOException { argument 74 return in.read(cbuf, off, len);
|
H A D | FilterWriter.java | 72 * @param off Offset from which to start reading characters 77 public void write(char cbuf[], int off, int len) throws IOException { argument 78 out.write(cbuf, off, len); 85 * @param off Offset from which to start reading characters 90 public void write(String str, int off, int len) throws IOException { argument 91 out.write(str, off, len);
|
H A D | InputStream.java | 119 * <p> The first byte read is stored into element <code>b[off]</code>, the 120 * next one into <code>b[off+1]</code>, and so on. The number of bytes read 123 * <code>b[off]</code> through <code>b[off+</code><i>k</i><code>-1]</code>, 124 * leaving elements <code>b[off+</code><i>k</i><code>]</code> through 125 * <code>b[off+len-1]</code> unaffected. 128 * <code>b[off]</code> and elements <code>b[off+len]</code> through 131 * <p> The <code>read(b,</code> <code>off,</code> <code>len)</code> method 135 * the <code>read(b,</code> <code>off,</cod 161 read(byte b[], int off, int len) argument [all...] |
H A D | ObjectInput.java | 76 * @param off the start offset of the data 82 public int read(byte b[], int off, int len) throws IOException; argument
|
H A D | ObjectOutput.java | 70 * @param off the start offset in the data 74 public void write(byte b[], int off, int len) throws IOException; argument
|
H A D | PipedOutputStream.java | 127 * starting at offset <code>off</code> to this piped output stream. 132 * @param off the start offset in the data. 138 public void write(byte b[], int off, int len) throws IOException { argument 143 } else if ((off < 0) || (off > b.length) || (len < 0) || 144 ((off + len) > b.length) || ((off + len) < 0)) { 149 sink.receive(b, off, len);
|
H A D | PipedWriter.java | 129 * starting at offset <code>off</code> to this piped output stream. 137 * @param off the start offset in the data. 144 public void write(char cbuf[], int off, int len) throws IOException { argument 147 } else if ((off | len | (off + len) | (cbuf.length - (off + len))) < 0) { 150 sink.receive(cbuf, off, len);
|
H A D | SequenceInputStream.java | 187 * @param off the start offset in array <code>b</code> 192 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 194 * <code>b.length - off</code> 197 public int read(byte b[], int off, int len) throws IOException { argument 202 } else if (off < 0 || len < 0 || len > b.length - off) { 208 int n = in.read(b, off, len); 211 return read(b, off, len);
|
H A D | StringBufferInputStream.java | 105 * @param off the start offset of the data. 111 public synchronized int read(byte b[], int off, int len) { argument 114 } else if ((off < 0) || (off > b.length) || (len < 0) || 115 ((off + len) > b.length) || ((off + len) < 0)) { 130 b[off++] = (byte)s.charAt(pos++);
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | DigestInputStream.java | 44 * <p>It is possible to turn this stream on or off (see 47 * results in an update on the message digest. But when it is off, 68 /* Are we on or off? */ 135 * <code>b</code>, starting at offset <code>off</code>. This method 144 * @param off the starting offset into <code>b</code> of where the 148 * stream into b, starting at offset <code>off</code>. 160 public int read(byte[] b, int off, int len) throws IOException { argument 161 int result = in.read(b, off, len); 163 digest.update(b, off, result); 169 * Turns the digest function on or off [all...] |
H A D | DigestOutputStream.java | 44 * <p>It is possible to turn this stream on or off (see 47 * an update on the message digest. But when it is off, the message 134 * @param off the offset into <code>b</code> of the first byte to 138 * from <code>b</code>, starting at offset <code>off</code>. 144 public void write(byte[] b, int off, int len) throws IOException { argument 146 digest.update(b, off, len); 148 out.write(b, off, len); 152 * Turns the digest function on or off. The default is on. When 154 * update on the message digest. But when it is off, the message 158 * off [all...] |
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | Adler32.java | 62 public void update(byte[] b, int off, int len) { argument 66 if (off < 0 || len < 0 || off > b.length - len) { 69 adler = updateBytes(adler, b, off, len); 136 private native static int updateBytes(int adler, byte[] b, int off, argument 139 int off, int len); 138 updateByteBuffer(int adler, long addr, int off, int len) argument
|
H A D | CRC32.java | 58 public void update(byte[] b, int off, int len) { argument 62 if (off < 0 || len < 0 || off > b.length - len) { 65 crc = updateBytes(crc, b, off, len); 92 private native static int updateBytes(int crc, byte[] b, int off, int len); argument
|
H A D | CheckedInputStream.java | 71 * @param off the start offset in the destination array <code>b</code> 76 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 78 * <code>buf.length - off</code> 81 public int read(byte[] buf, int off, int len) throws IOException { argument 82 len = in.read(buf, off, len); 84 cksum.update(buf, off, len);
|
H A D | CheckedOutputStream.java | 68 * @param off the start offset of the data 72 public void write(byte[] b, int off, int len) throws IOException { argument 73 out.write(b, off, len); 74 cksum.update(b, off, len);
|
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | CipherOutputStream.java | 146 * starting at offset <code>off</code> to this output stream. 149 * @param off the start offset in the data. 154 public void write(byte b[], int off, int len) throws IOException { argument 155 obuffer = cipher.update(b, off, len);
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/ |
H A D | TypeScriptWriter.java | 48 public void write(char[] cbuf, int off, int len) throws IOException { argument 49 script.append(String.valueOf(cbuf, off, len));
|
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | ISO10126Padding.java | 53 * @param off the offset in <code>in</code> where the padding bytes 60 public void padWithLen(byte[] in, int off, int len) argument 66 if ((off + len) > in.length) { 74 System.arraycopy(padding, 0, in, off, len); 85 * @param off the offset in <code>in</code> where the padded data starts 91 public int unpad(byte[] in, int off, int len) { argument 97 byte lastByte = in[off + len - 1]; 104 int start = off + len - ((int)lastByte & 0x0ff); 105 if (start < off) {
|
H A D | PKCS5Padding.java | 53 * @param off the offset in <code>in</code> where the padding bytes 60 public void padWithLen(byte[] in, int off, int len) argument 66 if ((off + len) > in.length) { 72 in[i + off] = paddingOctet; 84 * @param off the offset in <code>in</code> where the padded data starts 90 public int unpad(byte[] in, int off, int len) { argument 96 byte lastByte = in[off + len - 1]; 103 int start = off + len - ((int)lastByte & 0x0ff); 104 if (start < off) {
|
H A D | Padding.java | 59 void padWithLen(byte[] in, int off, int len) throws ShortBufferException; argument 68 * @param off the offset in <code>in</code> where the data starts 74 int unpad(byte[] in, int off, int len); argument
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/ |
H A D | InputStreamAdapter.java | 46 public int read(byte b[], int off, int len) throws IOException { argument 47 return stream.read(b, off, len);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/util/ |
H A D | JavadocEscapeWriter.java | 68 public void write(char[] buf, int off, int len) throws IOException { argument 70 write(buf[off+i]); 77 public void write(String buf, int off, int len) throws IOException { argument 78 write( buf.toCharArray(), off, len );
|
H A D | UnicodeEscapeWriter.java | 73 public final void write(char[] buf, int off, int len) throws IOException { argument 75 write(buf[off+i]); 82 public final void write(String buf, int off, int len) throws IOException { argument 83 write( buf.toCharArray(), off, len );
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/util/ |
H A D | NullStream.java | 48 public void write(byte[] b, int off, int len) throws IOException { argument
|
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | FileOutputStream_md.c | 69 jobject this, jbyteArray bytes, jint off, jint len, jboolean append) { 70 writeBytes(env, this, bytes, off, len, append, fos_fd); 68 Java_java_io_FileOutputStream_writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len, jboolean append) argument
|