/openjdk7/jdk/test/java/io/BufferedInputStream/ |
H A D | ReadZeroBytes.java | 52 public int read(byte[] b, int off, int len) throws IOException { argument
|
/openjdk7/jdk/test/java/io/ByteArrayOutputStream/ |
H A D | WriteBounds.java | 34 private static void dotest(byte[] b, int off, int len, argument 41 b.length + " off = " + off + " len = " + len); 44 System.err.println("ByteArrayOutStream.write - b is null off = " + 45 off + " len = " + len); 49 baos.write(b, off, len);
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FilterOutputStream.java | 102 * <code>byte</code> array starting at offset <code>off</code> to 115 * @param off the start offset in the data. 120 public void write(byte b[], int off, int len) throws IOException { argument 121 if ((off | len | (b.length - (len + off)) | (off + len)) < 0) 125 write(b[off + i]);
|
H A D | OutputStream.java | 80 * starting at offset <code>off</code> to this output stream. 81 * The general contract for <code>write(b, off, len)</code> is that 83 * output stream in order; element <code>b[off]</code> is the first 84 * byte written and <code>b[off+len-1]</code> is the last byte written 95 * If <code>off</code> is negative, or <code>len</code> is negative, or 96 * <code>off+len</code> is greater than the length of the array 100 * @param off the start offset in the data. 106 public void write(byte b[], int off, int len) throws IOException { argument 109 } else if ((off < 0) || (off > [all...] |
H A D | BufferedOutputStream.java | 102 * starting at offset <code>off</code> to this buffered output stream. 112 * @param off the start offset in the data. 116 public synchronized void write(byte b[], int off, int len) throws IOException { argument 122 out.write(b, off, len); 128 System.arraycopy(b, off, buf, count, len);
|
H A D | FilterInputStream.java | 116 * This method simply performs <code>in.read(b, off, len)</code> 120 * @param off the start offset in the destination array <code>b</code> 126 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 128 * <code>b.length - off</code> 132 public int read(byte b[], int off, int len) throws IOException { argument 133 return in.read(b, off, len);
|
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | Checksum.java | 45 * @param off the start offset of the data 48 public void update(byte[] b, int off, int len); argument
|
/openjdk7/jdk/test/java/io/Serializable/readPastObject/ |
H A D | ReadPastObject.java | 53 public int read(byte[] b, int off, int len) { argument 56 int n = super.read(b, off, len);
|
/openjdk7/jdk/test/java/io/charStreams/ |
H A D | ABCOutputStream.java | 50 public void write(byte buf[], int off, int len) throws IOException { argument 51 for (int i = off; i < off + len; i++)
|
H A D | ABCReader.java | 53 public int read(char cbuf[], int off, int len) { argument 54 for (int i = off; i < off + len; i++) { 57 if (i > off) 58 return i - off;
|
/openjdk7/jdk/test/java/io/readBytes/ |
H A D | ReadBytesBounds.java | 34 * The test calls the read(byte buf[] , int off , int len) of 35 * FileInputStream with different values of off and len to see if the 84 static void testRead(int off, int len, boolean expected) throws Throwable { argument 85 System.err.printf("off=%d len=%d expected=%b%n", off, len, expected); 88 fis.read(b, off, len); 89 raf.read(b, off, len); 97 (String.format("Unexpected result off=%d len=%d expected=%b", 98 off, len, expected));
|
/openjdk7/jdk/test/sun/security/util/DerValue/ |
H A D | BadValue.java | 109 public int read(byte b[], int off, int len) throws IOException { argument 113 b[off] = 0;
|
/openjdk7/jdk/src/share/native/java/util/zip/ |
H A D | CRC32.c | 47 jarray b, jint off, jint len) 51 crc = crc32(crc, buf + off, len); 46 Java_java_util_zip_CRC32_updateBytes(JNIEnv *env, jclass cls, jint crc, jarray b, jint off, jint len) argument
|
/openjdk7/jdk/src/share/classes/sun/tools/native2ascii/ |
H A D | A2NFilter.java | 51 public int read(char[] buf, int off, int len) throws IOException { argument
|
H A D | N2AFilter.java | 49 public void write(char[] buf, int off, int len) throws IOException { argument
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/ |
H A D | CompressInputStream.java | 63 public int read(byte b[], int off, int len) throws IOException { argument 72 b[off] = (byte)c; 83 b[off + i] = (byte)c;
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/ |
H A D | CompressInputStream.java | 63 public int read(byte b[], int off, int len) throws IOException { argument 72 b[off] = (byte)c; 83 b[off + i] = (byte)c;
|
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | ArrayDecoder.java | 34 int decode(byte[] src, int off, int len, char[] dst); argument
|
H A D | ArrayEncoder.java | 34 int encode(char[] src, int off, int len, byte[] dst); argument
|
/openjdk7/jdk/src/share/classes/sun/rmi/log/ |
H A D | LogOutputStream.java | 68 * @param off the start offset in the data 72 public void write(byte b[], int off, int len) throws IOException { argument 73 raf.write(b, off, len);
|
/openjdk7/langtools/test/tools/javac/implicitThis/ |
H A D | NewBeforeOuterConstructed.java | 41 public void write(byte b[], int off, int len) { } argument
|
/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/ |
H A D | CharacterArrayCharacterIterator.java | 33 private final int off; field in class:CharacterArrayCharacterIterator 38 public CharacterArrayCharacterIterator(char[] src, int off, int len) argument 41 this.off = off; 56 return new String(src, off + beginIndex, endIndex - beginIndex); 68 return src[off + pos];
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/ |
H A D | HexOutputStream.java | 73 public synchronized void write(byte[] b, int off, int len) argument 77 write(b[off + i]);
|
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | SourceDataLine.java | 181 * @param off the offset from the beginning of the array, in bytes 186 * @throws ArrayIndexOutOfBoundsException if <code>off</code> is negative, 187 * or <code>off+len</code> is greater than the length of the array 193 public int write(byte[] b, int off, int len); argument
|
H A D | TargetDataLine.java | 169 * @param off the offset from the beginning of the array, in bytes 175 * @throws ArrayIndexOutOfBoundsException if <code>off</code> is negative, 176 * or <code>off+len</code> is greater than the length of the array 182 public int read(byte[] b, int off, int len); argument
|