Searched refs:nbytes (Results 1 - 9 of 9) sorted by relevance

/libcore/luni/src/main/java/java/util/zip/
H A DChecksum.java45 * @param nbytes
48 public void update(byte[] buf, int off, int nbytes); argument
H A DCheckedOutputStream.java81 * @param nbytes
87 public void write(byte[] buf, int off, int nbytes) throws IOException { argument
88 out.write(buf, off, nbytes);
89 check.update(buf, off, nbytes);
H A DGZIPOutputStream.java106 * Write up to nbytes of data from the given buffer, starting at offset off,
110 public void write(byte[] buffer, int off, int nbytes) throws IOException { argument
111 super.write(buffer, off, nbytes);
112 crc.update(buffer, off, nbytes);
/libcore/luni/src/main/java/libcore/net/url/
H A DFtpURLInputStream.java46 public int read(byte[] buf, int off, int nbytes) throws IOException { argument
47 return is.read(buf, off, nbytes);
H A DJarURLConnectionImpl.java147 int nbytes = 0;
148 while ((nbytes = is.read(buf)) > -1) {
149 fos.write(buf, 0, nbytes);
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
H A DByteBufferTest.java1123 int nbytes = 2;
1124 byte bytes[] = new byte[nbytes];
1127 for (int i = 0; buf.remaining() >= nbytes; i++) {
1130 assertEquals(i * nbytes, buf.position());
1149 int nbytes = 2;
1150 byte bytes[] = new byte[nbytes];
1153 for (int i = 0; i <= buf.limit() - nbytes; i++) {
1170 buf.getChar(buf.limit() - nbytes + 1);
1191 int nbytes = 2;
1192 byte bytes[] = new byte[nbytes];
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldPipedOutputStreamTest.java60 public String read(int nbytes) { argument
61 byte[] buf = new byte[nbytes];
63 reader.read(buf, 0, nbytes);
H A DOldPipedWriterTest.java58 public String read(int nbytes) { argument
59 buf = new char[nbytes];
61 pr.read(buf, 0, nbytes);
/libcore/luni/src/main/java/java/util/jar/
H A DJarVerifier.java115 public void write(byte[] buf, int off, int nbytes) { argument
116 digest.update(buf, off, nbytes);

Completed in 511 milliseconds