/libcore/ojluni/src/main/java/java/util/logging/ |
H A D | FileHandler.java | 155 public void write(byte buff[], int off, int len) throws IOException { argument 156 out.write(buff,off,len);
|
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | GZIPInputStream.java | 97 * @param off the start offset in the destination array <code>b</code> 103 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 105 * <code>buf.length - off</code> 110 public int read(byte[] buf, int off, int len) throws IOException { argument 115 int n = super.read(buf, off, len); 120 return this.read(buf, off, len); 122 crc.update(buf, off, n);
|
H A D | Inflater.java | 81 private int off, len; field in class:Inflater 119 * @param off the start offset of the input data 123 public void setInput(byte[] b, int off, int len) { argument 127 if (off < 0 || len < 0 || off > b.length - len) { 132 this.off = off; 154 * @param off the start offset of the data 159 public void setDictionary(byte[] b, int off, int len) { argument 163 if (off < 248 inflate(byte[] b, int off, int len) argument 407 setDictionary(long addr, byte[] b, int off, int len) argument 409 inflateBytes(long addr, byte[] b, int off, int len) argument [all...] |
H A D | ZipInputStream.java | 175 * @param off the start offset in the destination array <code>b</code> 180 * @exception IndexOutOfBoundsException if <code>off</code> is negative, 182 * <code>b.length - off</code> 186 public int read(byte[] b, int off, int len) throws IOException { argument 188 if (off < 0 || len < 0 || off > b.length - len) { 199 len = super.read(b, off, len); 205 crc.update(b, off, len); 220 len = in.read(b, off, len); 224 crc.update(b, off, le 431 readFully(byte[] b, int off, int len) argument 446 get16(byte b[], int off) argument 454 get32(byte b[], int off) argument 462 get64(byte b[], int off) argument [all...] |
H A D | Deflater.java | 80 private int off, len; field in class:Deflater 195 * @param off the start offset of the data 199 public void setInput(byte[] b, int off, int len) { argument 203 if (off < 0 || len < 0 || off > b.length - len) { 208 this.off = off; 230 * @param off the start offset of the data 235 public void setDictionary(byte[] b, int off, int len) { argument 239 if (off < 351 deflate(byte[] b, int off, int len) argument 418 deflate(byte[] b, int off, int len, int flush) argument 555 setDictionary(long addr, byte[] b, int off, int len) argument 556 deflateBytes(long addr, byte[] b, int off, int len, int flush) argument [all...] |
H A D | ZipOutputStream.java | 294 * @param off the start offset in the data 299 public synchronized void write(byte[] b, int off, int len) argument 303 if (off < 0 || len < 0 || off > b.length - len) { 315 super.write(b, off, len); 323 out.write(b, off, len); 328 crc.update(b, off, len); 351 long off = written; 354 writeEND(off, written - off); 528 writeEND(long off, long len) argument 621 writeBytes(byte[] b, int off, int len) argument [all...] |
/libcore/ojluni/src/main/java/sun/net/smtp/ |
H A D | SmtpClient.java | 254 public void write(byte b[], int off, int len) { argument 258 int c = b[off++];
|
/libcore/ojluni/src/main/java/sun/net/www/http/ |
H A D | ChunkedOutputStream.java | 200 public synchronized void write(byte b[], int off, int len) { argument 202 if ((off < 0) || (off > b.length) || (len < 0) || 203 ((off + len) > b.length) || ((off + len) < 0)) { 216 int inputIndex = off; /* the index of the byte[] currently being written */
|
H A D | ChunkedInputStream.java | 235 private int fastRead(byte[] b, int off, int len) throws IOException { argument 244 nread = in.read(b, off, cnt); 664 * @param off offset at which to start storing bytes. 670 public synchronized int read(byte b[], int off, int len) argument 674 if ((off < 0) || (off > b.length) || (len < 0) || 675 ((off + len) > b.length) || ((off + len) < 0)) { 689 return fastRead( b, off, len ); 702 System.arraycopy(chunkData, chunkPos, b, off, cn [all...] |
/libcore/ojluni/src/main/java/sun/security/ssl/ |
H A D | HandshakeOutStream.java | 90 public void write(byte buf[], int off, int len) throws IOException { argument 97 r.write(buf, off, howmuch); 98 off += howmuch;
|
H A D | RSASignature.java | 143 protected void engineUpdate(byte[] b, int off, int len) { argument 146 md5.update(b, off, len); 147 sha.update(b, off, len);
|
/libcore/ojluni/src/main/native/ |
H A D | FileChannelImpl.c | 78 jint prot, jlong off, jlong len) 103 off); /* Offset into file */ 77 FileChannelImpl_map0(JNIEnv *env, jobject this, jint prot, jlong off, jlong len) argument
|
H A D | java_util_zip_Deflater.c | 59 offID = (*env)->GetFieldID(env, cls, "off", "I"); 98 jarray b, jint off, jint len) 105 res = deflateSetDictionary((z_stream *)jlong_to_ptr(addr), buf + off, len); 121 jarray b, jint off, jint len, jint flush) 150 strm->next_out = (Bytef *) (out_buf + off); 189 strm->next_out = (Bytef *) (out_buf + off); 97 Deflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, jarray b, jint off, jint len) argument 120 Deflater_deflateBytes(JNIEnv *env, jobject this, jlong addr, jarray b, jint off, jint len, jint flush) argument
|
H A D | java_util_zip_Inflater.c | 56 offID = (*env)->GetFieldID(env, cls, "off", "I"); 88 jarray b, jint off, jint len) 94 res = inflateSetDictionary(jlong_to_ptr(addr), buf + off, len); 111 jarray b, jint off, jint len) 136 strm->next_out = (Bytef *) (out_buf + off); 87 Inflater_setDictionary(JNIEnv *env, jclass cls, jlong addr, jarray b, jint off, jint len) argument 110 Inflater_inflateBytes(JNIEnv *env, jobject this, jlong addr, jarray b, jint off, jint len) argument
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MySignature1.java | 80 protected void engineUpdate(byte[] b, int off, int len) argument 83 if (off < 0 || off > b.length || off > len) { 84 throw new IllegalArgumentException("incorrect parameter off");
|
H A D | MySignature2.java | 60 protected void engineUpdate(byte[] b, int off, int len) argument
|
/libcore/dex/src/main/java/com/android/dex/ |
H A D | TableOfContents.java | 71 readMap(dex.open(mapList.off)); 96 mapList.off = headerIn.readInt(); 97 if (mapList.off == 0) { 101 stringIds.off = headerIn.readInt(); 103 typeIds.off = headerIn.readInt(); 105 protoIds.off = headerIn.readInt(); 107 fieldIds.off = headerIn.readInt(); 109 methodIds.off = headerIn.readInt(); 111 classDefs.off = headerIn.readInt(); 127 || (section.off ! 215 public int off = -1; field in class:TableOfContents.Section [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | SignatureSpiTest.java | 129 protected void engineUpdate(byte[] b, int off, int len) 172 public void engineUpdate(byte[] b, int off, int len) { argument 206 public void engineUpdate(byte[] b, int off, int len) { argument 260 protected void engineUpdate(byte[] b, int off, int len) argument
|
H A D | SignatureTest.java | 602 protected void engineUpdate(byte[] b, int off, int len) argument
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | PrintStream.java | 476 * offset <code>off</code> to this stream. If automatic flushing is 485 * @param off Offset from which to start taking bytes 488 public void write(byte buf[], int off, int len) { argument 492 out.write(buf, off, len);
|
H A D | PrintWriter.java | 419 * @param off Offset from which to start writing characters 422 public void write(char buf[], int off, int len) { argument 426 out.write(buf, off, len); 449 * @param off Offset from which to start writing characters 452 public void write(String s, int off, int len) { argument 456 out.write(s, off, len);
|
H A D | RandomAccessFile.java | 320 * @param off the start offset of the data. 324 private int readBytes(byte b[], int off, int len) throws IOException { argument 325 return IoBridge.read(fd, b, off, len); 339 * @param off the start offset in array <code>b</code> 349 * @exception IndexOutOfBoundsException If <code>off</code> is negative, 351 * <code>b.length - off</code> 353 public int read(byte b[], int off, int len) throws IOException { argument 354 return readBytes(b, off, len); 404 * @param off the start offset of the data. 410 public final void readFully(byte b[], int off, in argument 477 writeBytes(byte b[], int off, int len) argument 505 write(byte b[], int off, int len) argument [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
H A D | HeapByteBuffer.java | 58 HeapByteBuffer(byte[] buf, int off, int len) { // package-private argument 59 this(buf, off, len, false); 62 HeapByteBuffer(byte[] buf, int off, int len, boolean isReadOnly) { // package-private argument 63 super(-1, off, off + len, buf.length, buf, 0); 69 int off) { 70 this(buf, mark, pos, lim, cap, off, false); 75 int off, boolean isReadOnly) { 76 super(mark, pos, lim, cap, buf, off); 230 int off 67 HeapByteBuffer(byte[] buf, int mark, int pos, int lim, int cap, int off) argument 73 HeapByteBuffer(byte[] buf, int mark, int pos, int lim, int cap, int off, boolean isReadOnly) argument [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | Properties.java | 533 private String loadConvert (char[] in, int off, int len, char[] convtBuf) { argument 544 int end = off + len; 546 while (off < end) { 547 aChar = in[off++]; 549 aChar = in[off++]; 554 aChar = in[off++];
|
/libcore/ojluni/src/main/java/java/util/jar/ |
H A D | Manifest.java | 345 public int read(byte[] b, int off, int len) throws IOException { argument 349 return in.read(b, off, len); 360 System.arraycopy(buf, pos, b, off, len); 369 public int readLine(byte[] b, int off, int len) throws IOException { argument 389 System.arraycopy(tbuf, pos, b, off, n); 390 off += n;
|