/dalvik/vm/alloc/TEST/HeapBitmapTest/include/cutils/ |
H A D | ashmem.h | 9 ashmem_create_region(const char *name, size_t len) argument
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/spec/ |
H A D | IvParameterSpec.java | 53 * Creates a new <code>IvParameterSpec</code> instance with <code>len</code> 61 * @param len 65 * <code>len</code> do not specify a valid chunk in the 68 * if <code>offset</code> or <code>len</code> are negative. 70 public IvParameterSpec(byte[] iv, int offset, int len) { argument 71 if ((iv == null) || (iv.length - offset < len)) { 75 if (offset < 0 || len < 0) { 78 this.iv = new byte[len]; 79 System.arraycopy(iv, offset, this.iv, 0, len);
|
H A D | SecretKeySpec.java | 81 * length <code>len</code> and the specified <code>algorithm</code> name. 87 * @param len 93 * is empty or <code>offset</code> and <code>len</code> do not 96 * if <code>offset</code> or <code>len</code> is negative. 98 public SecretKeySpec(byte[] key, int offset, int len, String algorithm) { argument 106 if (len < 0 || offset < 0) { 110 if ((key.length - offset < len)) { 117 this.key = new byte[len]; 118 System.arraycopy(key, offset, this.key, 0, len);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/ |
H A D | MGFParameters.java | 22 int len) 24 this.seed = new byte[len]; 25 System.arraycopy(seed, off, this.seed, 0, len); 19 MGFParameters( byte[] seed, int off, int len) argument
|
/dalvik/libcore/archive/src/main/native/ |
H A D | java_util_zip_Adler32.c | 25 jbyteArray buf, int off, int len, 35 result = (jlong) adler32 ((uLong) crc, (Bytef *) (b + off), (uInt) len); 24 Java_java_util_zip_Adler32_updateImpl(JNIEnv * env, jobject recv, jbyteArray buf, int off, int len, jlong crc) argument
|
H A D | java_util_zip_CRC32.c | 24 jbyteArray buf, int off, int len, 33 result = crc32 ((uLong) crc, (Bytef *) (b + off), (uInt) len); 23 Java_java_util_zip_CRC32_updateImpl(JNIEnv * env, jobject recv, jbyteArray buf, int off, int len, jlong crc) argument
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
H A D | CipherOutputStream.java | 107 * Writes the {@code len} bytes from buffer {@code b} starting at offset 114 * @param len 121 public void write(byte[] b, int off, int len) throws IOException { argument 122 if (len == 0) { 125 byte[] result = cipher.update(b, off, len);
|
H A D | MacSpi.java | 82 * len}. 88 * @param len 92 protected abstract void engineUpdate(byte[] input, int offset, int len); argument
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
H A D | Base64.java | 37 public static byte[] decode(byte[] in, int len) { argument 39 int length = len / 4 * 3; 51 for (;;len--) { 52 chr = in[len-1]; 72 for (int i=0; i<len; i++) {
|
H A D | PasswordProtectedInputStream.java | 57 public int read(byte b[], int off, int len) throws IOException { argument 58 int read = in.read(b, off, len);
|
H A D | PositionedInputStream.java | 60 public int read(byte b[], int off, int len) throws IOException { argument 61 int read = in.read(b, off, len);
|
/dalvik/libcore/nio/src/main/java/java/nio/ |
H A D | DoubleArrayBuffer.java | 66 public final DoubleBuffer get(double[] dest, int off, int len) { argument 68 if (off < 0 || len < 0 || (long)off + (long)len > length) { 71 if (len > remaining()) { 75 off, len); 76 position += len;
|
H A D | FloatArrayBuffer.java | 66 public final FloatBuffer get(float[] dest, int off, int len) { argument 68 if (off < 0 || len < 0 || (long)off + (long)len > length) { 71 if (len > remaining()) { 74 System.arraycopy(backingArray, offset+position, dest, off, len); 75 position += len;
|
H A D | IntArrayBuffer.java | 66 public final IntBuffer get(int[] dest, int off, int len) { argument 68 if (off < 0 || len < 0 || (long)len + (long)off > length) { 71 if (len > remaining()) { 74 System.arraycopy(backingArray, offset+position, dest, off, len); 75 position += len;
|
H A D | LongArrayBuffer.java | 66 public final LongBuffer get(long[] dest, int off, int len) { argument 68 if (off < 0 || len < 0 || (long)len + (long)off > length) { 71 if (len > remaining()) { 74 System.arraycopy(backingArray, offset+position, dest, off, len); 75 position += len;
|
H A D | ShortArrayBuffer.java | 66 public final ShortBuffer get(short[] dest, int off, int len) { argument 68 if (off < 0 || len < 0 || (long)off + (long)len > length) { 71 if (len > remaining()) { 75 off, len); 76 position += len;
|
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | DigestInputStream.java | 109 * Reads {@code len} bytes into the specified {@code byte[]}, starting from 121 * @param len 129 public int read(byte[] b, int off, int len) throws IOException { argument 130 // read next up to len bytes 131 int bytesRead = in.read(b, off, len);
|
H A D | DigestOutputStream.java | 101 * Writes {@code len} bytes into the stream, starting from the specified 108 * @param len 114 public void write(byte[] b, int off, int len) throws IOException { argument 117 digest.update(b, off, len); 119 // write len bytes 120 out.write(b, off, len);
|
H A D | MessageDigestSpi.java | 68 * @param len 71 * if {@code offset} or {@code len} are not valid in respect to 75 protected abstract void engineUpdate(byte[] input, int offset, int len); argument 123 * @param len 129 * if {@code offset} or {@code len} are not valid in respect to 134 protected int engineDigest(byte[] buf, int offset, int len) argument 136 if (len < engineGetDigestLength()) { 144 if (offset + len > buf.length) { 149 if (len < tmp.length) {
|
H A D | SecureClassLoader.java | 105 * @param len 111 * if {@code off} or {@code len} are not valid in respect to 121 protected final Class<?> defineClass(String name, byte[] b, int off, int len, argument 123 return cs == null ? defineClass(name, b, off, len) : defineClass(name, 124 b, off, len, getPD(cs));
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/ |
H A D | AsymmetricBlockCipher.java | 34 * process the block of len bytes stored in in from offset inOff. 38 * @param len the length of the block to be processed. 43 public byte[] processBlock(byte[] in, int inOff, int len) argument
|
H A D | DerivationFunction.java | 15 public int generateBytes(byte[] out, int outOff, int len) argument
|
H A D | Digest.java | 34 * @param len the length of the data. 36 public void update(byte[] in, int inOff, int len); argument
|
H A D | Mac.java | 45 * @param len the length of the input starting at inOff. 49 public void update(byte[] in, int inOff, int len) argument
|
H A D | Signer.java | 24 public void update(byte[] in, int off, int len); argument
|