Searched defs:off (Results 51 - 75 of 457) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/solaris/native/java/net/
H A DSocketInputStream.c63 jint off, jint len, jint timeout)
154 (*env)->SetByteArrayRegion(env, data, off, nread, (jbyte *)bufP);
61 Java_java_net_SocketInputStream_socketRead0(JNIEnv *env, jobject this, jobject fdObj, jbyteArray data, jint off, jint len, jint timeout) argument
/openjdk7/jdk/src/windows/native/java/io/
H A DFileOutputStream_md.c70 jobject this, jbyteArray bytes, jint off, jint len, jboolean append)
72 writeBytes(env, this, bytes, off, len, append, fos_fd);
69 Java_java_io_FileOutputStream_writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off, jint len, jboolean append) argument
/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DCountUpdate.java89 public int read(byte b[], int off, int len) throws IOException { argument
92 System.arraycopy(buffer, 0, b, off, len);
H A DFill.java55 public int read(byte[] buf, int off, int len) throws IOException { argument
57 for (int i = off; i < n; i++)
H A DSkipTest.java91 public int read(byte b[], int off, int len) throws IOException { argument
93 System.arraycopy(buffer, aposition, b, off, len);
/openjdk7/jdk/test/java/io/BufferedReader/
H A DFill.java51 public int read(char[] cbuf, int off, int len) throws IOException { argument
53 for (int i = off; i < n; i++)
/openjdk7/jdk/test/java/io/RandomAccessFile/
H A DParameterCheck.java35 static int off[] = {-1, -1, 0, 0, 33, 33, 0, 32, field in class:ParameterCheck
51 int numCases = off.length;
64 "\nTotal test cases = " + (off.length+1));
70 raf.readFully(b , off[i] , len[i]);
73 raf.read(b , off[i] , len[i]);
76 raf.write(b , off[i] , len[i]);
145 " off = " + off[i] +
/openjdk7/jdk/test/java/io/Writer/
H A DWriteFromString.java87 * @param off Offset from which to start writing characters
90 public void write(char cbuf[], int off, int len) { argument
91 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
92 ((off + len) > cbuf.length) || ((off + len) < 0)) {
97 buf.append(cbuf, off, len);
/openjdk7/jdk/test/java/io/charStreams/
H A DABCInputStream.java67 public int read(byte buf[], int off, int len) { argument
69 for (int i = off; i < off + n; i++) {
72 if (i > off)
73 return i - off;
H A DSmallReads.java39 public int read(byte[] b, int off, int len) throws IOException { argument
40 return in.read(b, off, 1);
/openjdk7/jdk/test/java/nio/charset/coders/
H A DUtil.java59 public static String toString(byte[] ba, int off, int len) { argument
61 for (int i = off; i < off + len; i++) {
81 public static String toString(char[] ca, int off, int len) { argument
83 for (int i = off; i < off + len; i++) {
/openjdk7/jdk/src/share/native/java/util/zip/
H A DAdler32.c47 jarray b, jint off, jint len)
51 adler = adler32(adler, buf + off, len);
59 jlong address, jint off, jint len)
63 adler = adler32(adler, buf + off, len);
46 Java_java_util_zip_Adler32_updateBytes(JNIEnv *env, jclass cls, jint adler, jarray b, jint off, jint len) argument
58 Java_java_util_zip_Adler32_updateByteBuffer(JNIEnv *env, jclass cls, jint adler, jlong address, jint off, jint len) argument
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DAppOutputStream.java59 synchronized public void write(byte b[], int off, int len) argument
63 } else if (off < 0 || len < 0 || len > b.length - off) {
118 r.write(b, off, howmuch);
119 off += howmuch;
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/
H A DCompressOutputStream.java56 public void write(byte b[], int off, int len) throws IOException { argument
64 write(b[off + i]);
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/
H A DCompressOutputStream.java56 public void write(byte b[], int off, int len) throws IOException { argument
64 write(b[off + i]);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DClassFileTransformer.java87 * @param off Offset
91 public abstract byte[] transform(byte[] b, int off, int len) argument
/openjdk7/jdk/src/share/classes/sun/net/
H A DTelnetInputStream.java133 * Read into a byte array at offset <i>off</i> for length <i>length</i>
136 public int read(byte bytes[], int off, int length) throws IOException { argument
138 return super.read(bytes, off, length);
141 int offStart = off;
147 bytes[off++] = (byte)c;
149 return (off > offStart) ? off - offStart : -1;
H A DTelnetOutputStream.java127 * Write the bytes at offset <i>off</i> in buffer <i>bytes</i> for
130 public void write(byte bytes[], int off, int length) throws IOException { argument
132 super.write(bytes, off, length);
137 write(bytes[off++]);
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DFixedLengthInputStream.java35 * number of bytes off an underlying stream
47 protected int readImpl (byte[]b, int off, int len) throws IOException { argument
56 int n = in.read(b, off, len);
H A DFixedLengthOutputStream.java66 public void write (byte[]b, int off, int len) throws IOException { argument
78 out.write(b, off, len);
H A DUndefLengthOutputStream.java57 public void write (byte[]b, int off, int len) throws IOException { argument
61 out.write(b, off, len);
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DHttpCaptureInputStream.java69 public int read(byte[] b, int off, int len) throws IOException { argument
70 int ret = super.read(b, off, len);
72 capture.received(b[off+i]);
H A DHttpCaptureOutputStream.java58 public void write(byte[] b, int off, int len) throws IOException { argument
59 for (int i = off; i < len; i++) {
62 out.write(b, off, len);
H A DPosterOutputStream.java68 * starting at offset <code>off</code> to this output stream.
71 * @param off the start offset in the data.
74 public synchronized void write(byte b[], int off, int len) { argument
78 super.write (b, off, len);
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DChannelInputStream.java87 public synchronized int read(byte[] bs, int off, int len) argument
90 if ((off < 0) || (off > bs.length) || (len < 0) ||
91 ((off + len) > bs.length) || ((off + len) < 0)) {
99 bb.limit(Math.min(off + len, bb.capacity()));
100 bb.position(off);

Completed in 43 milliseconds

1234567891011>>