/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
H A D | NullDigest.java | 23 public void update(byte in) argument 25 bOut.write(in); 28 public void update(byte[] in, int inOff, int len) argument 30 bOut.write(in, inOff, len);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | RFC3394WrapEngine.java | 15 * Specification as described in RFC 3394. 68 byte[] in, 88 System.arraycopy(in, inOff, block, iv.length, inLen); 119 byte[] in, 140 System.arraycopy(in, inOff, a, 0, iv.length); 141 System.arraycopy(in, inOff + iv.length, block, 0, inLen - iv.length); 67 wrap( byte[] in, int inOff, int inLen) argument 118 unwrap( byte[] in, int inOff, int inLen) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
H A D | BlockCipherPadding.java | 28 * add the pad bytes to the passed in block, returning the 32 * passed to it inside in. i.e. if inOff is zero, indicating the 33 * entire block is to be overwritten with padding the value of in 39 public int addPadding(byte[] in, int inOff); argument 42 * return the number of pad bytes present in the block. 46 public int padCount(byte[] in) argument
|
H A D | ISO10126d2Padding.java | 44 * add the pad bytes to the passed in block, returning the 48 byte[] in, 51 byte code = (byte)(in.length - inOff); 53 while (inOff < (in.length - 1)) 55 in[inOff] = (byte)random.nextInt(); 59 in[inOff] = code; 65 * return the number of pad bytes present in the block. 67 public int padCount(byte[] in) argument 70 int count = in[in 47 addPadding( byte[] in, int inOff) argument [all...] |
H A D | ISO7816d4Padding.java | 8 * A padder that adds the padding according to the scheme referenced in 36 * add the pad bytes to the passed in block, returning the 40 byte[] in, 43 int added = (in.length - inOff); 45 in [inOff]= (byte) 0x80; 48 while (inOff < in.length) 50 in[inOff] = (byte) 0; 58 * return the number of pad bytes present in the block. 60 public int padCount(byte[] in) argument 63 int count = in 39 addPadding( byte[] in, int inOff) argument [all...] |
H A D | PKCS7Padding.java | 35 * add the pad bytes to the passed in block, returning the 39 byte[] in, 42 byte code = (byte)(in.length - inOff); 44 while (inOff < in.length) 46 in[inOff] = code; 54 * return the number of pad bytes present in the block. 56 public int padCount(byte[] in) argument 59 int count = in[in.length - 1] & 0xff; 61 if (count > in 38 addPadding( byte[] in, int inOff) argument [all...] |
H A D | TBCPadding.java | 39 * add the pad bytes to the passed in block, returning the 43 * passed to it inside in. i.e. if inOff is zero, indicating the 44 * entire block is to be overwritten with padding the value of in 49 byte[] in, 52 int count = in.length - inOff; 57 code = (byte)((in[inOff - 1] & 0x01) == 0 ? 0xff : 0x00); 61 code = (byte)((in[in.length - 1] & 0x01) == 0 ? 0xff : 0x00); 64 while (inOff < in.length) 66 in[inOf 48 addPadding( byte[] in, int inOff) argument 76 padCount(byte[] in) argument [all...] |
H A D | X923Padding.java | 9 * passed in random padding is assumed, otherwise padding with zeros is used. 38 * add the pad bytes to the passed in block, returning the 42 byte[] in, 45 byte code = (byte)(in.length - inOff); 47 while (inOff < in.length - 1) 51 in[inOff] = 0; 55 in[inOff] = (byte)random.nextInt(); 60 in[inOff] = code; 66 * return the number of pad bytes present in the block. 68 public int padCount(byte[] in) argument 41 addPadding( byte[] in, int inOff) argument [all...] |
H A D | ZeroBytePadding.java | 35 * add the pad bytes to the passed in block, returning the 39 byte[] in, 42 int added = (in.length - inOff); 44 while (inOff < in.length) 46 in[inOff] = (byte) 0; 54 * return the number of pad bytes present in the block. 56 public int padCount(byte[] in) argument 59 int count = in.length; 63 if (in[count - 1] != 0) 71 return in 38 addPadding( byte[] in, int inOff) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
H A D | PEMUtil.java | 26 InputStream in) 34 while (((c = in.read()) != '\r') && c != '\n' && (c >= 0)) 55 InputStream in) 61 while ((line = readLine(in)) != null) 69 while ((line = readLine(in)) != null) 25 readLine( InputStream in) argument 54 readPEMObject( InputStream in) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
H A D | PEMUtil.java | 28 InputStream in) 36 while (((c = in.read()) != '\r') && c != '\n' && (c >= 0)) 57 InputStream in) 63 while ((line = readLine(in)) != null) 71 while ((line = readLine(in)) != null) 27 readLine( InputStream in) argument 56 readPEMObject( InputStream in) argument
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | realpath.c | 3 * found in the LICENSE file. */ 35 const char* in = path; local 42 if (*in == '/') { 45 in++; 59 const char* next_slash = strchr(in, '/'); 63 namelen = next_slash - in; 66 namelen = strlen(in); 67 next_in = in + namelen; // Move to the '\0' 73 } else if (namelen == 1 && strncmp(in, ".", 1) == 0) { 75 } else if (namelen == 2 && strncmp(in, " [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/ |
H A D | inet_ntop.cc | 3 // found in the LICENSE file. 25 struct in_addr in; local 26 memcpy(&in, src, sizeof(in)); 27 char* result = inet_ntoa(in);
|
/external/chromium_org/remoting/codec/ |
H A D | video_encoder_verbatim.cc | 3 // found in the LICENSE file. 53 const uint8_t* in = frame.data() + rect.top() * in_stride + local 56 memcpy(out, in, row_size); 58 in += in_stride;
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | HTMLInterchange.cpp | 4 * Redistribution and use in source and binary forms, with or without 9 * 2. Redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 38 String convertHTMLTextToInterchangeFormat(const String& in, const Text& node) argument 42 return in; 51 while (i < in.length()) { 53 if (isCollapsibleWhitespace(in[i])) { 56 while (j < in.length() && isCollapsibleWhitespace(in[j])) 70 if (i == 0 || i + 1 == in [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FEMerge.cpp | 12 * This library is distributed in the hope that it will be useful, 55 FilterEffect* in = inputEffect(i); local 56 filterContext->drawImageBuffer(in->asImageBuffer(), drawingRegionOfInputImage(in->absolutePaintRect()));
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | Base64.h | 5 * Redistribution and use in source and binary forms, with or without 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 59 inline void base64Encode(const Vector<char>& in, Vector<char>& out, Base64EncodePolicy policy) argument 61 base64Encode(in.data(), in.size(), out, policy); 64 inline void base64Encode(const CString& in, Vector<char>& out, Base64EncodePolicy policy) argument 66 base64Encode(in.data(), in.length(), out, policy); 69 inline String base64Encode(const Vector<char>& in, Base64EncodePolic argument 74 base64Encode(const CString& in, Base64EncodePolicy policy) argument [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/aes/ |
H A D | mode_wrappers.c | 4 * Redistribution and use in source and binary forms, with or without 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in 19 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 27 * nor may "OpenSSL" appear in their names without prior written 33 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 56 void AES_ctr128_encrypt(const uint8_t *in, uint8_t *out, size_t len, argument 59 CRYPTO_ctr128_encrypt(in, out, len, key, ivec, ecount_buf, num, 63 void AES_ecb_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key, argument 65 assert(in 77 AES_cbc_encrypt(const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, uint8_t *ivec, const int enc) argument 90 AES_cbc_encrypt(const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, uint8_t *ivec, const int enc) argument 97 AES_ofb128_encrypt(const uint8_t *in, uint8_t *out, size_t length, const AES_KEY *key, uint8_t *ivec, int *num) argument 103 AES_cfb128_encrypt(const uint8_t *in, uint8_t *out, size_t length, const AES_KEY *key, uint8_t *ivec, int *num, int enc) argument [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/cipher/ |
H A D | e_null.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 15 * Copyright remains Eric Young's, and as such any Copyright notices in 17 * If this package is used in a product, Eric Young should be given attribution 19 * This can be in the form of a textual message at program startup or 20 * in documentation (online or textual) provided with the package. 22 * Redistribution and use in source and binary forms, with or without 27 * 2. Redistributions in binary form must reproduce the above copyright 28 * notice, this list of conditions and the following disclaimer in the 70 const uint8_t *in, size_t in_len) { 71 if (in ! 69 null_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, size_t in_len) argument [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/ |
H A D | cpu-intel.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 15 * Copyright remains Eric Young's, and as such any Copyright notices in 17 * If this package is used in a product, Eric Young should be given attribution 19 * This can be in the form of a textual message at program startup or 20 * in documentation (online or textual) provided with the package. 22 * Redistribution and use in source and binary forms, with or without 27 * 2. Redistributions in binary form must reproduce the above copyright 28 * notice, this list of conditions and the following disclaimer in the 69 /* This value must be explicitly initialised to zero in order to work around a 70 * bug in libtoo 83 handle_cpu_env(uint32_t *out, const char *in) argument [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/x509/ |
H A D | x509_set.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 15 * Copyright remains Eric Young's, and as such any Copyright notices in 17 * If this package is used in a product, Eric Young should be given attribution 19 * This can be in the form of a textual message at program startup or 20 * in documentation (online or textual) provided with the package. 22 * Redistribution and use in source and binary forms, with or without 27 * 2. Redistributions in binary form must reproduce the above copyright 28 * notice, this list of conditions and the following disclaimer in the 77 ASN1_INTEGER *in; local 80 in 107 ASN1_TIME *in; local 125 ASN1_TIME *in; local [all...] |
H A D | x509cset.c | 6 * Redistribution and use in source and binary forms, with or without 13 * 2. Redistributions in binary form must reproduce the above copyright 14 * notice, this list of conditions and the following disclaimer in 21 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 29 * nor may "OpenSSL" appear in their names without prior written 35 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 81 ASN1_TIME *in; local 84 in=x->crl->lastUpdate; 85 if (in != tm) 87 in 99 ASN1_TIME *in; local 133 ASN1_TIME *in; local 151 ASN1_INTEGER *in; local [all...] |
/external/chromium_org/third_party/cld/base/ |
H A D | stl_decl_msvc.h | 3 // found in the LICENSE file. 6 // rather than including the appropriate stl h file (which brings in 32 // copy_n isn't to be found anywhere in MSVC's STL 35 copy_n(InputIterator in, Size count, OutputIterator out) { argument 37 *out = *in; 39 ++in; 41 return std::make_pair(in, out); 71 // these template classes, then you have to put in some #ifdefs
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
H A D | encoding_utils.h | 4 // you may not use this file except in compliance with the License. 9 // Unless required by applicable law or agreed to in writing, software 29 // the function stores 0xFFFD in the output variable and returns 1. 30 static inline int DecodeUTF8Char(const char* in, char32* out) { argument 32 int len = chartorune(&r, in);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
H A D | nv20_state_frag.c | 7 * "Software"), to deal in the Software without restriction, including 14 * next paragraph) shall be included in all copies or substantial 60 uint64_t in; local 63 nv10_get_final_combiner(ctx, &in, &n); 66 PUSH_DATA (push, in); 67 PUSH_DATA (push, in >> 32);
|