Searched defs:off (Results 1 - 25 of 457) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DReadZeroBytes.java52 public int read(byte[] b, int off, int len) throws IOException { argument
/openjdk7/jdk/test/java/io/ByteArrayOutputStream/
H A DWriteBounds.java34 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 DFilterOutputStream.java102 * <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 DOutputStream.java80 * 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 DBufferedOutputStream.java102 * 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 DFilterInputStream.java116 * 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 DChecksum.java45 * @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 DReadPastObject.java53 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 DABCOutputStream.java50 public void write(byte buf[], int off, int len) throws IOException { argument
51 for (int i = off; i < off + len; i++)
H A DABCReader.java53 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 DReadBytesBounds.java34 * 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 DBadValue.java109 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 DCRC32.c47 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 DA2NFilter.java51 public int read(char[] buf, int off, int len) throws IOException { argument
H A DN2AFilter.java49 public void write(char[] buf, int off, int len) throws IOException { argument
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/
H A DCompressInputStream.java63 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 DCompressInputStream.java63 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 DArrayDecoder.java34 int decode(byte[] src, int off, int len, char[] dst); argument
H A DArrayEncoder.java34 int encode(char[] src, int off, int len, byte[] dst); argument
/openjdk7/jdk/src/share/classes/sun/rmi/log/
H A DLogOutputStream.java68 * @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 DNewBeforeOuterConstructed.java41 public void write(byte b[], int off, int len) { } argument
/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/
H A DCharacterArrayCharacterIterator.java33 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 DHexOutputStream.java73 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 DSourceDataLine.java181 * @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 DTargetDataLine.java169 * @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

Completed in 70 milliseconds

1234567891011>>