/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
H A D | GCMBlockCipher.java | 185 public int getOutputSize(int len) argument 187 int totalData = len + bufOff; 197 public int getUpdateOutputSize(int len) argument 199 int totalData = len + bufOff; 223 public void processAADBytes(byte[] in, int inOff, int len) argument 225 for (int i = 0; i < len; ++i) 271 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument 276 for (int i = 0; i < len; ++i) 462 private void gCTRPartial(byte[] buf, int off, int len, byte[] out, int outOff) argument 466 xor(tmp, buf, off, len); 474 gHASH(byte[] Y, byte[] b, int len) argument 489 gHASHPartial(byte[] Y, byte[] b, int off, int len) argument 567 xor(byte[] block, byte[] val, int off, int len) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
H A D | PaddedBufferedBlockCipher.java | 87 * plus a doFinal with an input of len bytes. 89 * @param len the length of the input. 91 * with len bytes of input. 94 int len) 96 int total = len + bufOff; 114 * an input of len bytes. 116 * @param len the length of the input. 118 * with len bytes of input. 121 int len) 123 int total = len 93 getOutputSize( int len) argument 120 getUpdateOutputSize( int len) argument 175 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
H A D | DSASigner.java | 130 int len) 133 digest.update(b, off, len); 127 engineUpdate( byte[] b, int off, int len) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
H A D | DigestSignatureSpi.java | 128 int len) 131 digest.update(b, off, len); 125 engineUpdate( byte[] b, int off, int len) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
H A D | DSABase.java | 41 int len) 44 digest.update(b, off, len); 38 engineUpdate( byte[] b, int off, int len) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
H A D | BCMessageDigest.java | 34 int len) 36 digest.update(input, offset, len); 31 engineUpdate( byte[] input, int offset, int len) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
H A D | BaseBlockCipher.java | 789 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); 791 if (len == 0) 795 else if (len != out.length) 797 byte[] tmp = new byte[len]; 799 System.arraycopy(out, 0, tmp, 0, len); 836 int len = 0; 841 len = cipher.processBytes(input, inputOffset, inputLen, tmp, 0); 846 len += cipher.doFinal(tmp, len); 857 if (len 925 getOutputSize(int len) argument 927 getUpdateOutputSize(int len) argument 934 processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument 982 getOutputSize(int len) argument 987 getUpdateOutputSize(int len) argument 1002 processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument 1044 getOutputSize(int len) argument 1049 getUpdateOutputSize(int len) argument 1064 processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument [all...] |
H A D | BaseMac.java | 121 int len) 123 macEngine.update(input, offset, len); 118 engineUpdate( byte[] input, int offset, int len) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | ECAlgorithms.java | 64 static void implMontgomeryTrick(ECFieldElement[] zs, int off, int len) argument 73 ECFieldElement[] c = new ECFieldElement[len]; 77 while (++i < len)
|
H A D | LongArray.java | 307 public LongArray(long[] ints, int off, int len) argument 309 if (off == 0 && len == ints.length) 315 m_ints = new long[len]; 316 System.arraycopy(ints, off, m_ints, 0, len); 757 // private static long getWord(long[] buf, int off, int len, int bit) 766 // if (++n < len) 1317 private static LongArray reduceResult(long[] buf, int off, int len, int m, int[] ks) argument 1319 int rLen = reduceInPlace(buf, off, len, m, ks); 1350 private static int reduceInPlace(long[] buf, int off, int len, int m, int[] ks) argument 1353 if (len < mLe 1417 reduceWordWise(long[] buf, int off, int len, int toBit, int m, int[] ks) argument 1451 reduceVectorWise(long[] buf, int off, int len, int words, int m, int[] ks) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
H A D | Streams.java | 43 public static int readFully(InputStream inStr, byte[] buf, int off, int len) argument 47 while (totalRead < len) 49 int numRead = inStr.read(buf, off + totalRead, len - totalRead);
|
H A D | TeeInputStream.java | 25 public int read(byte[] buf, int off, int len) argument 28 int i = input.read(buf, off, len);
|
H A D | TeeOutputStream.java | 25 public void write(byte[] buf, int off, int len) argument 28 this.output1.write(buf, off, len); 29 this.output2.write(buf, off, len);
|
/external/bsdiff/ |
H A D | bsdiff.c | 43 static void split(off_t *I,off_t *V,off_t start,off_t len,off_t h) argument 47 if(len<16) { 48 for(k=start;k<start+len;k+=j) { 50 for(i=1;k+i<start+len;i++) { 66 x=V[I[start+len/2]+h]; 68 for(i=start;i<start+len;i++) { 101 if(start+len>kk) split(I,V,kk,start+len-kk,h); 107 off_t i,h,len; local 123 len 202 off_t scan,pos,len; local [all...] |
/external/bzip2/ |
H A D | bzlib_private.h | 259 UChar len [BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE]; member in struct:__anon1745 404 UChar len [BZ_N_GROUPS][BZ_MAX_ALPHA_SIZE]; member in struct:__anon1746
|
H A D | dlltest.c | 115 int len;
local 137 while((len=BZ2_bzread(BZ2fp_r,buff,0x1000))>0){
138 fwrite(buff,1,len,fp_w);
164 while((len=fread(buff,1,0x1000,fp_r))>0){
165 BZ2_bzwrite(BZ2fp_w,buff,len);
|
H A D | huffman.c | 63 void BZ2_hbMakeCodeLengths ( UChar *len, argument 119 len[i-1] = j;
|
/external/checkpolicy/ |
H A D | checkpolicy.c | 524 pf.len = sb.st_size; 906 int family, len; local 928 len = sizeof(addr4); 931 len = sizeof(addr6); 939 sepol_node_sid(family, p, len, &ssid);
|
H A D | policy_define.c | 4501 int len, len2; local 4597 len = strlen(newc->u.name); 4599 if (len > len2)
|
/external/chromium-libpac/src/ |
H A D | proxy_resolver_v8.cc | 164 int len = s->Length(); local 165 char16_t* buf = new char16_t[len + 1]; 166 s->Write(buf, 0, len); 167 android::String16 ret(buf, len);
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
H A D | InputStreamUtil.java | 52 public static int read(InputStream stream, byte[] b, int off, int len) { argument 54 return Math.max(CALL_FAILED_STATUS, stream.read(b, off, len));
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
H A D | AwContentsClientShouldInterceptRequestTest.java | 350 public int read(byte b[], int off, int len) throws IOException { argument 395 public int read(byte b[], int off, int len) throws IOException { argument
|
/external/chromium_org/base/android/ |
H A D | jni_array.cc | 15 JNIEnv* env, const uint8* bytes, size_t len) { 16 jbyteArray byte_array = env->NewByteArray(len); 21 byte_array, 0, len, reinterpret_cast<const jbyte*>(bytes)); 28 JNIEnv* env, const int* ints, size_t len) { 29 jintArray int_array = env->NewIntArray(len); 34 int_array, 0, len, reinterpret_cast<const jint*>(ints)); 46 JNIEnv* env, const int64* longs, size_t len) { 47 jlongArray long_array = env->NewLongArray(len); 52 long_array, 0, len, reinterpret_cast<const jlong*>(longs)); 111 jsize len 14 ToJavaByteArray( JNIEnv* env, const uint8* bytes, size_t len) argument 27 ToJavaIntArray( JNIEnv* env, const int* ints, size_t len) argument 45 ToJavaLongArray( JNIEnv* env, const int64* longs, size_t len) argument 162 jsize len = env->GetArrayLength(int_array); local 175 jsize len = env->GetArrayLength(long_array); local 188 jsize len = env->GetArrayLength(float_array); local 202 jsize len = env->GetArrayLength(array); local [all...] |
H A D | jni_array_unittest.cc | 33 const size_t len, 38 ASSERT_EQ(static_cast<jsize>(len), java_array_len); 41 for (size_t i = 0; i < len; ++i) { 61 const size_t len, 66 ASSERT_EQ(static_cast<jsize>(len), java_array_len); 69 for (size_t i = 0; i < len; ++i) { 30 CheckIntConversion( JNIEnv* env, const int* int_array, const size_t len, const ScopedJavaLocalRef<jintArray>& ints) argument 58 CheckLongConversion( JNIEnv* env, const int64* long_array, const size_t len, const ScopedJavaLocalRef<jlongArray>& longs) argument
|
/external/chromium_org/base/ |
H A D | big_endian.cc | 11 BigEndianReader::BigEndianReader(const char* buf, size_t len) argument 12 : ptr_(buf), end_(ptr_ + len) {} 14 bool BigEndianReader::Skip(size_t len) { argument 15 if (ptr_ + len > end_) 17 ptr_ += len; 21 bool BigEndianReader::ReadBytes(void* out, size_t len) { argument 22 if (ptr_ + len > end_) 24 memcpy(out, ptr_, len); 25 ptr_ += len; 29 bool BigEndianReader::ReadPiece(base::StringPiece* out, size_t len) { argument 62 BigEndianWriter(char* buf, size_t len) argument 65 Skip(size_t len) argument 72 WriteBytes(const void* buf, size_t len) argument [all...] |