/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/support/src/test/java/tests/support/ |
H A D | Support_ASimpleInputStream.java | 20 public int len; field in class:Support_ASimpleInputStream 37 len = buf.length; 42 len = input.length; 43 buf = new byte[len]; 44 System.arraycopy(input, 0, buf, 0, len); 59 return len - pos; 67 if (pos < len) {
|
H A D | Support_ASimpleReader.java | 20 public int len; field in class:Support_ASimpleReader 37 len = buf.length; 52 return len > pos; 60 int available = len - pos;
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/encoders/ |
H A D | BufferedDecoder.java | 55 int len, 59 if (len < 0) 67 if (len > gapLen) 75 len -= gapLen; 79 int chunkSize = len - (len % buf.length); 83 len -= chunkSize; 87 if (len != 0) 89 System.arraycopy(in, inOff, buf, bufOff, len); 91 bufOff += len; 52 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument [all...] |
H A D | BufferedEncoder.java | 55 int len, 59 if (len < 0) 67 if (len > gapLen) 75 len -= gapLen; 79 int chunkSize = len - (len % buf.length); 83 len -= chunkSize; 87 if (len != 0) 89 System.arraycopy(in, inOff, buf, bufOff, len); 91 bufOff += len; 52 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument [all...] |
/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/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLEngineDataStream.java | 74 int len = (length < available) ? length : available; 75 available -= len; 76 consumed += len; 77 byte[] res = new byte[len]; 83 len --; 84 if (len == 0) {
|
/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);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/ |
H A D | PaddedBlockCipher.java | 36 * doFinal with an input of len bytes. 38 * @param len the length of the input. 40 * with len bytes of input. 43 int len) 45 int total = len + bufOff; 63 * an input of len bytes. 65 * @param len the length of the input. 67 * with len bytes of input. 70 int len) 72 int total = len 42 getOutputSize( int len) argument 69 getUpdateOutputSize( int len) argument 122 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument [all...] |
H A D | CTSBlockCipher.java | 40 * an input of len bytes. 42 * @param len the length of the input. 44 * with len bytes of input. 47 int len) 49 int total = len + bufOff; 62 * doFinal with an input of len bytes. 64 * @param len the length of the input. 66 * with len bytes of input. 69 int len) 71 return len 46 getUpdateOutputSize( int len) argument 68 getOutputSize( int len) argument 117 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument [all...] |
/dalvik/libcore/sql/src/main/java/SQLite/ |
H A D | Blob.java | 128 * @param len length to be read 132 public int read(byte b[], int off, int len) throws IOException { argument 133 if (off + len > b.length) { 134 len = b.length - off; 136 if (len < 0) { 139 if (len == 0) { 142 int n = blob.read(b, off, pos, len); 222 * @param len length of data to be written 225 public void write(byte[] b, int off, int len) throws IOException { argument 227 if (off + len > 295 write(byte[] b, int off, int pos, int len) argument 306 read(byte[] b, int off, int pos, int len) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/digests/ |
H A D | GeneralDigest.java | 58 int len) 63 while ((xBufOff != 0) && (len > 0)) 68 len--; 74 while (len > xBuf.length) 79 len -= xBuf.length; 86 while (len > 0) 91 len--; 55 update( byte[] in, int inOff, int len) argument
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
H A D | PublicClassLoader.java | 37 long len = file.length(); 38 byte raw[] = new byte[(int)len]; 41 if (r != len) 42 throw new IOException( "Can't read all, "+r+" != "+len ); 64 int len; 66 len = is.read(buf); 67 clazz = defineClass(name, buf, 0, len); 81 public Class<?> defineClassTest(byte[] b, int off, int len) { argument 82 return defineClass(b, off, len);
|
/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | CharArrayWriter.java | 178 * @param len 181 * if {@code offset < 0} or {@code len < 0}, or if 182 * {@code offset + len} is bigger than the size of {@code c}. 186 public void write(char[] c, int offset, int len) { argument 193 // added null check, used (offset | len) < 0 instead of 194 // (offset < 0) || (len < 0) to safe one operation 198 if ((offset | len) < 0 || len > c.length - offset) { 203 expand(len); 204 System.arraycopy(c, offset, this.buf, this.count, len); 245 write(String str, int offset, int len) argument [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/io/ |
H A D | DigestOutputStream.java | 32 int len) 35 digest.update(b, off, len); 36 out.write(b, off, len); 29 write( byte[] b, int off, int len) argument
|
H A D | MacOutputStream.java | 32 int len) 35 mac.update(b, off, len); 36 out.write(b, off, len); 29 write( byte[] b, int off, int len) argument
|
/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 | Signer.java | 24 public void update(byte[] in, int off, int len); argument
|