/dalvik/libcore/security/src/main/java/java/security/ |
H A D | SecureClassLoader.java | 90 * @param off 98 * if {@code off} or {@code len} are not valid in respect to 107 protected final Class<?> defineClass(String name, byte[] b, int off, int len, argument 109 return cs == null ? defineClass(name, b, off, len) : defineClass(name, 110 b, off, len, getPD(cs));
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/signers/ |
H A D | ISO9796d2Signer.java | 191 int off, 194 digest.update(in, off, len); 200 mBuf[messageLength + i] = in[off + i]; 392 int off = block.length - delta - hash.length; 397 if ((off - mStart) <= 0) 413 digest.update(block, mStart, off - mStart); 418 block[off + i] ^= hash[i]; 419 if (block[off + i] != 0) 428 recoveredMessage = new byte[off - mStart]; 439 block[off 189 update( byte[] in, int off, int len) argument [all...] |
H A D | ISO9796d2PSSSigner.java | 227 int off, 232 this.update(in[off]); 233 off++; 239 digest.update(in, off, len); 304 int off = block.length - messageLength - salt.length - hLen - tLength - 1; 306 block[off] = 0x01; 308 System.arraycopy(mBuf, 0, block, off + 1, messageLength); 309 System.arraycopy(salt, 0, block, off + 1 + messageLength, salt.length); 481 int off = block.length - tLength - hash.length; 485 if (hash[i] != block[off 225 update( byte[] in, int off, int len) argument [all...] |
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
H A D | DeflaterOutputStream.java | 194 * {@code off} and writes it to the underlying stream. 198 * @param off 206 public void write(byte[] buffer, int off, int nbytes) throws IOException { argument 211 if (off <= buffer.length && nbytes >= 0 && off >= 0 212 && buffer.length - off >= nbytes) { 216 def.setInput(buffer, off, nbytes);
|
H A D | InflaterInputStream.java | 140 * {@code buffer} starting at {@code off}. 144 * @param off 153 public int read(byte[] buffer, int off, int nbytes) throws IOException { argument 163 if (off < 0 || nbytes < 0 || off + nbytes > buffer.length) { 176 if (off > buffer.length || nbytes < 0 || off < 0 177 || buffer.length - off < nbytes) { 188 int result = inf.inflate(buffer, off, nbytes);
|
H A D | ZipInputStream.java | 408 private int getShort(byte[] buffer, int off) { argument 409 return (buffer[off] & 0xFF) | ((buffer[off + 1] & 0xFF) << 8); 412 private long getLong(byte[] buffer, int off) { argument 414 l |= (buffer[off] & 0xFF); 415 l |= (buffer[off + 1] & 0xFF) << 8; 416 l |= (buffer[off + 2] & 0xFF) << 16; 417 l |= ((long) (buffer[off + 3] & 0xFF)) << 24;
|
/dalvik/libcore/nio/src/main/java/java/nio/ |
H A D | ByteBuffer.java | 426 * @param off 431 * greater than {@code dest.length - off} 434 * if either {@code off} or {@code len} is invalid. 438 public ByteBuffer get(byte[] dest, int off, int len) { argument 440 if ((off < 0) || (len < 0) || ((long) off + (long) len > length)) { 447 for (int i = off; i < off + len; i++) { 763 * @param off 768 * greater than {@code src.length - off} 777 put(byte[] src, int off, int len) argument [all...] |
H A D | CharBuffer.java | 369 * @param off 374 * greater than {@code dest.length - off}. 377 * if either {@code off} or {@code len} is invalid. 381 public CharBuffer get(char[] dest, int off, int len) { argument 383 if ((off < 0) || (len < 0) || (long) off + (long) len > length) { 390 for (int i = off; i < off + len; i++) { 527 * @param off 532 * greater than {@code src.length - off} 541 put(char[] src, int off, int len) argument [all...] |
H A D | DirectByteBuffer.java | 95 public final ByteBuffer get(byte[] dest, int off, int len) { argument 97 if ((off < 0) || (len < 0) || (long) off + (long) len > length) { 103 getBaseAddress().getByteArray(offset + position, dest, off, len);
|
H A D | ReadWriteHeapByteBuffer.java | 120 public ByteBuffer put(byte[] src, int off, int len) { argument 121 if (off < 0 || len < 0 || (long) off + (long) len > src.length) { 130 System.arraycopy(src, off, backingArray, offset + position, len);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/encoders/ |
H A D | Base64Encoder.java | 52 int off, 61 for (int i = off; i < off + dataLength; i += 3) 84 d1 = data[off + dataLength] & 0xff; 94 d1 = data[off + dataLength] & 0xff; 95 d2 = data[off + dataLength + 1] & 0xff; 125 int off, 133 int end = off + length; 135 while (end > off) 145 int i = off; 50 encode( byte[] data, int off, int length, OutputStream out) argument 123 decode( byte[] data, int off, int length, OutputStream out) argument [all...] |
H A D | Base64.java | 53 int off, 58 return encoder.encode(data, off, length, out); 51 encode( byte[] data, int off, int length, OutputStream out) argument
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
H A D | CipherOutputStream.java | 100 * {@code off} to this cipher output stream. 104 * @param off 112 public void write(byte[] b, int off, int len) throws IOException { argument 116 byte[] result = cipher.update(b, off, len);
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/ |
H A D | FtpURLInputStream.java | 45 public int read(byte[] buf, int off, int nbytes) throws IOException { argument 46 return is.read(buf, off, nbytes);
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLInputStream.java | 113 public int read(byte[] b, int off, int len) throws IOException { argument 120 b[off+i] = (byte) read_b;
|
/dalvik/vm/compiler/template/armv5te/ |
H A D | TEMPLATE_MONITOR_ENTER.S | 16 @ refresh Jit's on/off status
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/ |
H A D | ZoneInfo.java | 56 private static String nullName(byte[] data, int where, int off) { argument 57 if (off < 0) 60 int end = where + off; 64 return new String(data, where + off, end - (where + off)); 190 public void setRawOffset(int off) { argument 191 mRawOffset = off;
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | IESEngine.java | 134 int off = cipher.processBytes(in_enc, inOff, inLen, tmp, 0); 136 off += cipher.doFinal(tmp, off); 138 M = new byte[off]; 140 System.arraycopy(tmp, 0, M, 0, off); 207 int off = cipher.processBytes(in, inOff, inLen, C, 0); 209 cipher.doFinal(C, off);
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
H A D | SHAOutputStream.java | 145 * @param off offset into the source buffer where to start the copying 149 private void copyToInternalBuffer(byte[] buffer, int off, int len) { argument 151 index = off; 391 * @param off 397 private static String toStringBlock(byte[] block, int off, int len) { argument 401 for (int i = off; i < off + len; ++i) { 411 * <code>buffer</code> starting at offset <code>off</code> to the 417 * @param off 423 public void write(byte[] buffer, int off, in argument [all...] |
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
H A D | Adler32Test.java | 184 int off = 2;// accessing the 2nd element of byteArray 188 adl.update(byteArray, off, len); 197 adl.update(byteArray, off, lenError); 202 "update(byte[],int,int) failed b/c lenError>byte[].length-off",
|
H A D | CRC32Test.java | 202 int off = 2;// accessing the 2nd element of byteArray 206 crc.update(byteArray, off, len); 215 crc.update(byteArray, off, lenError); 220 "update(byte[],int,int) failed b/c lenError>byte[].length-off",
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/ |
H A D | AudioInputStream.java | 94 public int read(byte[] b, int off, int len) throws IOException { argument 102 res = stream.read(b, off, l); 109 res = line.read(b, off, l);
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MySignature2.java | 60 protected void engineUpdate(byte[] b, int off, int len) argument
|
/dalvik/vm/ |
H A D | LinearAlloc.c | 298 * chunk header size off so we're back to the header pointer. 609 int off = pHdr->firstOffset; local 612 while (off < pHdr->curOffset) { 613 rawLen = *(u4*) (pHdr->mapAddr + off); 617 LOGI(" %p (%3d): %clen=%d%s\n", pHdr->mapAddr + off + HEADER_EXTRA, 618 (int) ((off + HEADER_EXTRA) / SYSTEM_PAGE_SIZE), 623 off += fullLen; 671 int off = pHdr->firstOffset; local 674 while (off < pHdr->curOffset) { 675 rawLen = *(u4*) (pHdr->mapAddr + off); [all...] |
/dalvik/libcore/archive/src/main/native/ |
H A D | java_util_zip_Inflater.c | 105 jbyteArray buf, jint off, jint len, 123 (*env)->GetByteArrayRegion(env, buf, off, len, (jbyte*) baseAddr); 128 jobject javaFileDescriptor, jlong off, jint len, jlong handle) 150 lseek(fd, off, SEEK_SET); 158 jbyteArray buf, int off, int len, 179 stream->stream->next_out = (Bytef *) out + off; 245 jbyteArray dict, int off, 259 (*env)->GetByteArrayRegion (env, dict, off, len, (mcSignednessBull)dBytes); 104 Java_java_util_zip_Inflater_setInputImpl(JNIEnv * env, jobject recv, jbyteArray buf, jint off, jint len, jlong handle) argument 127 Java_java_util_zip_Inflater_setFileInputImpl(JNIEnv * env, jobject recv, jobject javaFileDescriptor, jlong off, jint len, jlong handle) argument 157 Java_java_util_zip_Inflater_inflateImpl(JNIEnv * env, jobject recv, jbyteArray buf, int off, int len, jlong handle) argument 244 Java_java_util_zip_Inflater_setDictionaryImpl(JNIEnv * env, jobject recv, jbyteArray dict, int off, int len, jlong handle) argument
|