/external/chromium_org/third_party/opus/src/silk/ |
H A D | resampler_down2_3.c | 3 Redistribution and use in source and binary forms, with or without 8 - Redistributions in binary form must reproduce the above copyright 9 notice, this list of conditions and the following disclaimer in the 42 const opus_int16 *in, /* I Input signal [ inLen ] */ 60 /* Second-order AR filter (output in Q8) */ 61 silk_resampler_private_AR2( &S[ ORDER_FIR ], &buf[ ORDER_FIR ], in, 74 /* Scale down, saturate and store in output array */ 82 /* Scale down, saturate and store in output array */ 89 in += nSamplesIn; 39 silk_resampler_down2_3( opus_int32 *S, opus_int16 *out, const opus_int16 *in, opus_int32 inLen ) argument
|
/external/chromium_org/third_party/yasm/source/patched-yasm/ |
H A D | genstring.c | 7 * Redistribution and use in source and binary forms, with or without 12 * 2. Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 37 FILE *in, *out; local 63 in = fopen(argv[i], "rt"); 64 if (!in) { 71 while (fgets(str, MAXLINE, in)) { 93 fclose(in);
|
/external/clang/test/Analysis/ |
H A D | ptr-arith.cpp | 9 void reset(int *in) { argument 10 while (in != p) // Loop must be entered. 15 int test (int *in) { argument 18 littleX.p = in;
|
/external/clang/test/SemaCXX/ |
H A D | wchar_t.cpp | 31 wchar_t in[] = L"\x434" "\x434"; // No warning variable
|
/external/dropbear/libtomcrypt/src/hashes/helper/ |
H A D | hash_memory.c | 4 * algorithms in a highly modular and flexible manner. 21 @param in The data you wish to hash 24 @param outlen [in/out] Max size and resulting size of the digest 27 int hash_memory(int hash, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument 32 LTC_ARGCHK(in != NULL); 53 if ((err = hash_descriptor[hash].process(md, in, inlen)) != CRYPT_OK) {
|
/external/dropbear/libtomcrypt/src/mac/f9/ |
H A D | f9_memory.c | 4 * algorithms in a highly modular and flexible manner. 22 @param key [in] Secret key 23 @param keylen Length of key in octets 24 @param in [in] Message to MAC 25 @param inlen Length of input in octets 27 @param outlen [in/out] Output size and final tag size 32 const unsigned char *in, unsigned long inlen, 45 return cipher_descriptor[cipher].f9_memory(key, keylen, in, inlen, out, outlen); 57 if ((err = f9_process(f9, in, inle 30 f9_memory(int cipher, const unsigned char *key, unsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument [all...] |
/external/dropbear/libtomcrypt/src/mac/hmac/ |
H A D | hmac_memory.c | 4 * algorithms in a highly modular and flexible manner. 25 @param in The data to HMAC 28 @param outlen [in/out] Max size and resulting size of authentication tag 33 const unsigned char *in, unsigned long inlen, 40 LTC_ARGCHK(in != NULL); 51 return hash_descriptor[hash].hmac_block(key, keylen, in, inlen, out, outlen); 65 if ((err = hmac_process(hmac, in, inlen)) != CRYPT_OK) { 31 hmac_memory(int hash, const unsigned char *key, unsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument
|
/external/dropbear/libtomcrypt/src/mac/omac/ |
H A D | omac_memory.c | 4 * algorithms in a highly modular and flexible manner. 25 @param in The data to send through OMAC 28 @param outlen [in/out] The max size and resulting size of the authentication tag (octets) 33 const unsigned char *in, unsigned long inlen, 40 LTC_ARGCHK(in != NULL); 51 return cipher_descriptor[cipher].omac_memory(key, keylen, in, inlen, out, outlen); 64 if ((err = omac_process(omac, in, inlen)) != CRYPT_OK) { 31 omac_memory(int cipher, const unsigned char *key, unsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument
|
H A D | omac_process.c | 4 * algorithms in a highly modular and flexible manner. 24 @param in The input data to send through OMAC 28 int omac_process(omac_state *omac, const unsigned char *in, unsigned long inlen) argument 34 LTC_ARGCHK(in != NULL); 49 *((LTC_FAST_TYPE*)(&omac->prev[y])) ^= *((LTC_FAST_TYPE*)(&in[y])); 51 in += 16; 61 /* ok if the block is full we xor in prev, encrypt and replace prev */ 74 XMEMCPY(omac->block + omac->buflen, in, n); 77 in += n;
|
/external/dropbear/libtomcrypt/src/mac/pelican/ |
H A D | pelican_memory.c | 4 * algorithms in a highly modular and flexible manner. 24 @param in The input to MAC 30 const unsigned char *in, unsigned long inlen, 45 if ((err = pelican_process(pel, in ,inlen)) != CRYPT_OK) { 29 pelican_memory(const unsigned char *key, unsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *out) argument
|
/external/dropbear/libtomcrypt/src/mac/pmac/ |
H A D | pmac_memory.c | 4 * algorithms in a highly modular and flexible manner. 25 @param in The data you wish to send through PMAC 28 @param outlen [in/out] The max size and resulting size of the authentication tag 33 const unsigned char *in, unsigned long inlen, 40 LTC_ARGCHK(in != NULL); 53 if ((err = pmac_process(pmac, in, inlen)) != CRYPT_OK) { 31 pmac_memory(int cipher, const unsigned char *key, unsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument
|
H A D | pmac_process.c | 4 * algorithms in a highly modular and flexible manner. 22 Process data in a PMAC stream 24 @param in The data to send through PMAC 28 int pmac_process(pmac_state *pmac, const unsigned char *in, unsigned long inlen) argument 35 LTC_ARGCHK(in != NULL); 51 *((LTC_FAST_TYPE*)(&Z[y])) = *((LTC_FAST_TYPE*)(&in[y])) ^ *((LTC_FAST_TYPE*)(&pmac->Li[y])); 59 in += 16; 66 /* ok if the block is full we xor in prev, encrypt and replace prev */ 83 XMEMCPY(pmac->block + pmac->buflen, in, n); 86 in [all...] |
/external/dropbear/libtomcrypt/src/mac/xcbc/ |
H A D | xcbc_memory.c | 4 * algorithms in a highly modular and flexible manner. 22 @param key [in] Secret key 23 @param keylen Length of key in octets 24 @param in [in] Message to MAC 25 @param inlen Length of input in octets 27 @param outlen [in/out] Output size and final tag size 32 const unsigned char *in, unsigned long inlen, 45 return cipher_descriptor[cipher].xcbc_memory(key, keylen, in, inlen, out, outlen); 57 if ((err = xcbc_process(xcbc, in, inle 30 xcbc_memory(int cipher, const unsigned char *key, unsigned long keylen, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/bit/ |
H A D | der_decode_bit_string.c | 4 * algorithms in a highly modular and flexible manner. 23 @param in The DER encoded BIT STRING 26 @param outlen [in/out] The number of bits stored 29 int der_decode_bit_string(const unsigned char *in, unsigned long inlen, argument 34 LTC_ARGCHK(in != NULL); 44 if ((in[0]&0x1F) != 0x03) { 48 /* offset in the data */ 52 if (in[x] & 0x80) { 54 y = in[x++] & 0x7F; 64 dlen = (dlen << 8) | (unsigned long)in[ [all...] |
H A D | der_encode_bit_string.c | 4 * algorithms in a highly modular and flexible manner. 23 @param in The array of bits to store (one per char) 26 @param outlen [in/out] The max size and resulting size of the DER BIT STRING 29 int der_encode_bit_string(const unsigned char *in, unsigned long inlen, argument 36 LTC_ARGCHK(in != NULL); 50 /* store header (include bit padding count in length) */ 69 /* store the bits in big endian format */ 71 buf |= (in[y] ? 1 : 0) << (7 - (y & 7));
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/choice/ |
H A D | der_decode_choice.c | 4 * algorithms in a highly modular and flexible manner. 22 @param in The DER encoded input 23 @param inlen [in/out] The size of the input and resulting size of read type 25 @param outlen The number of items in the list 28 int der_decode_choice(const unsigned char *in, unsigned long *inlen, argument 34 LTC_ARGCHK(in != NULL); 55 if (der_decode_integer(in, *inlen, data) == CRYPT_OK) { 65 if (der_decode_short_integer(in, *inlen, data) == CRYPT_OK) { 75 if (der_decode_bit_string(in, *inlen, data, &size) == CRYPT_OK) { 86 if (der_decode_octet_string(in, *inle [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/ia5/ |
H A D | der_decode_ia5_string.c | 4 * algorithms in a highly modular and flexible manner. 23 @param in The DER encoded IA5 STRING 26 @param outlen [in/out] The number of octets stored 29 int der_decode_ia5_string(const unsigned char *in, unsigned long inlen, argument 35 LTC_ARGCHK(in != NULL); 45 if ((in[0] & 0x1F) != 0x16) { 51 if (in[x] & 0x80) { 52 /* valid # of bytes in length are 1,2,3 */ 53 y = in[x] & 0x7F; 58 /* read the length in */ [all...] |
H A D | der_encode_ia5_string.c | 4 * algorithms in a highly modular and flexible manner. 22 @param in The array of IA5 to store (one per char) 25 @param outlen [in/out] The max size and resulting size of the DER IA5 STRING 28 int der_encode_ia5_string(const unsigned char *in, unsigned long inlen, argument 34 LTC_ARGCHK(in != NULL); 39 if ((err = der_length_ia5_string(in, inlen, &len)) != CRYPT_OK) { 72 out[x++] = der_ia5_char_encode(in[y]);
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/ |
H A D | der_decode_integer.c | 4 * algorithms in a highly modular and flexible manner. 23 @param in The DER encoded data 28 int der_decode_integer(const unsigned char *in, unsigned long inlen, void *num) argument 34 LTC_ARGCHK(in != NULL); 43 if ((in[x++] & 0x1F) != 0x02) { 48 z = in[x++]; 59 if ((err = mp_read_unsigned_bin(num, (unsigned char *)in + x, z)) != CRYPT_OK) { 71 /* now read it in */ 74 y = ((unsigned long)(in[x++])) | (y << 8); 83 if ((err = mp_read_unsigned_bin(num, (unsigned char *)in [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/object_identifier/ |
H A D | der_decode_object_identifier.c | 4 * algorithms in a highly modular and flexible manner. 20 Decode OID data and store the array of integers in words 21 @param in The OID DER encoded data 24 @param outlen [in/out] The number of OID words 27 int der_decode_object_identifier(const unsigned char *in, unsigned long inlen, argument 32 LTC_ARGCHK(in != NULL); 48 if ((in[x++] & 0x1F) != 0x06) { 53 if (in[x] < 128) { 54 len = in[x++]; 56 if (in[ [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/octet/ |
H A D | der_decode_octet_string.c | 4 * algorithms in a highly modular and flexible manner. 23 @param in The DER encoded OCTET STRING 26 @param outlen [in/out] The number of octets stored 29 int der_decode_octet_string(const unsigned char *in, unsigned long inlen, argument 34 LTC_ARGCHK(in != NULL); 44 if ((in[0] & 0x1F) != 0x04) { 50 if (in[x] & 0x80) { 51 /* valid # of bytes in length are 1,2,3 */ 52 y = in[x] & 0x7F; 57 /* read the length in */ [all...] |
H A D | der_encode_octet_string.c | 4 * algorithms in a highly modular and flexible manner. 23 @param in The array of OCTETS to store (one per char) 26 @param outlen [in/out] The max size and resulting size of the DER OCTET STRING 29 int der_encode_octet_string(const unsigned char *in, unsigned long inlen, argument 35 LTC_ARGCHK(in != NULL); 73 out[x++] = in[y];
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/printable_string/ |
H A D | der_decode_printable_string.c | 4 * algorithms in a highly modular and flexible manner. 23 @param in The DER encoded printable STRING 26 @param outlen [in/out] The number of octets stored 29 int der_decode_printable_string(const unsigned char *in, unsigned long inlen, argument 35 LTC_ARGCHK(in != NULL); 45 if ((in[0] & 0x1F) != 0x13) { 51 if (in[x] & 0x80) { 52 /* valid # of bytes in length are 1,2,3 */ 53 y = in[x] & 0x7F; 58 /* read the length in */ [all...] |
H A D | der_encode_printable_string.c | 4 * algorithms in a highly modular and flexible manner. 22 @param in The array of printable to store (one per char) 25 @param outlen [in/out] The max size and resulting size of the DER printable STRING 28 int der_encode_printable_string(const unsigned char *in, unsigned long inlen, argument 34 LTC_ARGCHK(in != NULL); 39 if ((err = der_length_printable_string(in, inlen, &len)) != CRYPT_OK) { 72 out[x++] = der_printable_char_encode(in[y]);
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/sequence/ |
H A D | der_decode_sequence_multi.c | 4 * algorithms in a highly modular and flexible manner. 24 @param in Input buffer 25 @param inlen Length of input in octets 29 int der_decode_sequence_multi(const unsigned char *in, unsigned long inlen, ...) argument 37 LTC_ARGCHK(in != NULL); 87 /* fill in the structure */ 128 err = der_decode_sequence(in, inlen, list, x);
|