/external/chromium/android/ext/ |
H A D | fake_hash.h | 11 template <class _Key> struct hash { }; struct in namespace:__gnu_cxx 15 struct hash<_type> { \ 17 return std::hash<_type>(val); \
|
/external/dropbear/libtomcrypt/src/misc/crypt/ |
H A D | crypt_register_hash.c | 19 Register a hash with the descriptor table 20 @param hash The hash you wish to register 23 int register_hash(const struct ltc_hash_descriptor *hash) argument 27 LTC_ARGCHK(hash != NULL); 32 if (XMEMCMP(&hash_descriptor[x], hash, sizeof(struct ltc_hash_descriptor)) == 0) { 41 XMEMCPY(&hash_descriptor[x], hash, sizeof(struct ltc_hash_descriptor));
|
H A D | crypt_unregister_hash.c | 15 Unregister a hash, Tom St Denis 19 Unregister a hash from the descriptor table 20 @param hash The hash descriptor to remove 23 int unregister_hash(const struct ltc_hash_descriptor *hash) argument 27 LTC_ARGCHK(hash != NULL); 32 if (XMEMCMP(&hash_descriptor[x], hash, sizeof(struct ltc_hash_descriptor)) == 0) {
|
/external/guava/guava/src/com/google/common/hash/ |
H A D | package-info.java | 20 package com.google.common.hash;
|
H A D | AbstractCompositeHashFunction.java | 3 package com.google.common.hash; 8 * An abstract composition of multiple hash functions. {@linkplain #newHasher()} delegates to the 9 * {@code Hasher} objects of the delegate hash functions, and in the end, they are used by 127 @Override public HashCode hash() {
|
H A D | Funnel.java | 15 package com.google.common.hash;
|
H A D | HashCodes.java | 15 package com.google.common.hash; 29 static HashCode fromInt(int hash) { argument 30 return new IntHashCode(hash); 34 final int hash; field in class:HashCodes.IntHashCode 36 IntHashCode(int hash) { argument 37 this.hash = hash; 46 (byte) hash, 47 (byte) (hash >> 8), 48 (byte) (hash >> 1 65 fromLong(long hash) argument 70 final long hash; field in class:HashCodes.LongHashCode 72 LongHashCode(long hash) argument [all...] |
/external/dropbear/libtomcrypt/src/hashes/helper/ |
H A D | hash_file.c | 19 @param hash The index of the hash desired 20 @param fname The name of the file you wish to hash 25 int hash_file(int hash, const char *fname, unsigned char *out, unsigned long *outlen) argument 36 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 45 err = hash_filehandle(hash, in, out, outlen);
|
H A D | hash_filehandle.c | 20 @param hash The index of the hash you want to use 21 @param in The FILE* handle of the file you want to hash 26 int hash_filehandle(int hash, FILE *in, unsigned char *out, unsigned long *outlen) argument 40 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 44 if (*outlen < hash_descriptor[hash].hashsize) { 45 *outlen = hash_descriptor[hash].hashsize; 48 if ((err = hash_descriptor[hash].init(&md)) != CRYPT_OK) { 52 *outlen = hash_descriptor[hash].hashsize; 55 if ((err = hash_descriptor[hash] [all...] |
H A D | hash_memory.c | 20 @param hash The index of the hash you wish to use 21 @param in The data you wish to hash 22 @param inlen The length of the data to hash (octets) 27 int hash_memory(int hash, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument 36 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 40 if (*outlen < hash_descriptor[hash].hashsize) { 41 *outlen = hash_descriptor[hash].hashsize; 50 if ((err = hash_descriptor[hash].init(md)) != CRYPT_OK) { 53 if ((err = hash_descriptor[hash] [all...] |
/external/bluetooth/bluez/src/ |
H A D | oob.c | 36 void oob_read_local_data_complete(struct btd_adapter *adapter, uint8_t *hash, argument 40 local_oob_read_cb(adapter, hash, randomizer);
|
/external/dropbear/libtomcrypt/src/mac/hmac/ |
H A D | hmac_file.c | 22 @param hash The index of the hash you wish to use 30 int hmac_file(int hash, const char *fname, argument 48 if((err = hash_is_valid(hash)) != CRYPT_OK) { 52 if ((err = hmac_init(&hmac, hash, key, keylen)) != CRYPT_OK) {
|
H A D | hmac_memory.c | 22 @param hash The index of the hash to use 31 int hmac_memory(int hash, argument 44 /* make sure hash descriptor is valid */ 45 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 50 if (hash_descriptor[hash].hmac_block != NULL) { 51 return hash_descriptor[hash].hmac_block(key, keylen, in, inlen, out, outlen); 61 if ((err = hmac_init(hmac, hash, key, keylen)) != CRYPT_OK) {
|
/external/elfutils/libelf/ |
H A D | dl-hash.h | 1 /* Compute hash value for given string according to ELF standard. 62 unsigned int hash = (unsigned int) *iname++; local 65 hash = (hash << 4) + (unsigned int) *iname++; 68 hash = (hash << 4) + (unsigned int) *iname++; 71 hash = (hash << 4) + (unsigned int) *iname++; 74 hash = (hash << [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
H A D | Murmur3Hash32Test.java | 17 package com.google.common.hash; 19 import static com.google.common.hash.Hashing.murmur3_32; 21 import com.google.common.hash.Funnels; 22 import com.google.common.hash.HashTestUtils.HashFn; 32 @Override public byte[] hash(byte[] input, int seed) { 35 return hasher.hash().asBytes();
|
H A D | MessageDigestHashFunctionTest.java | 3 package com.google.common.hash;
|
/external/chromium/base/ |
H A D | sha1_win.cc | 26 ScopedHCRYPTHASH hash; local 27 if (!CryptCreateHash(provider, CALG_SHA1, 0, 0, hash.receive())) { 32 if (!CryptHashData(hash, reinterpret_cast<CONST BYTE*>(str.data()), 40 if (!CryptGetHashParam(hash, HP_HASHSIZE, 48 if (!CryptGetHashParam(hash, HP_HASHVAL, 58 LOG(ERROR) << "Returned hash value is wrong length: " << hash_len
|
/external/chromium/net/disk_cache/ |
H A D | hash.cc | 1 // From http://www.azillionmonkeys.com/qed/hash.html 3 #include "net/disk_cache/hash.h" 22 uint32_t hash = len, tmp; local 33 hash += get16bits(data); 34 tmp = (get16bits(data + 2) << 11) ^ hash; 35 hash = (hash << 16) ^ tmp; 37 hash += hash >> 11; 42 case 3: hash [all...] |
/external/e2fsprogs/lib/e2p/ |
H A D | hashstr.c | 19 struct hash { struct 24 static struct hash hash_list[] = { 33 struct hash *p; 45 * Returns the hash algorithm, or -1 on error 49 struct hash *p;
|
/external/skia/include/gpu/ |
H A D | GrKey.h | 20 explicit GrKey(Hash hash) : fHash(hash) {} argument
|
/external/stlport/stlport/stl/ |
H A D | _string_hash.h | 46 struct hash<basic_string<_CharT,_Traits,_Alloc> > { struct 54 struct _STLP_CLASS_DECLSPEC hash<string> { struct 61 struct _STLP_CLASS_DECLSPEC hash<wstring> { struct
|
/external/webkit/Source/WebCore/page/ |
H A D | SecurityOriginHash.h | 39 static unsigned hash(SecurityOrigin* origin) function in struct:WebCore::SecurityOriginHash 42 origin->protocol().impl() ? origin->protocol().impl()->hash() : 0, 43 origin->host().impl() ? origin->host().impl()->hash() : 0, 48 static unsigned hash(const RefPtr<SecurityOrigin>& origin) function in struct:WebCore::SecurityOriginHash 50 return hash(origin.get()); 55 // FIXME: The hash function above compares three specific fields. 58 // equal without changing hash to match it.
|
/external/webkit/Source/WebCore/workers/ |
H A D | WorkerLocation.cpp | 72 String WorkerLocation::hash() const function in class:WebCore::WorkerLocation
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
H A D | test_md4.c | 24 u8 *hash; member in struct:__anon13966 65 u8 hash[16]; local 75 md4_vector(1, addr, len, hash); 76 if (memcmp(hash, tests[i].hash, 16) != 0) { 87 md4_vector(1, addr, len, hash); 88 if (memcmp(hash, tests[i].hash, 16) != 0) {
|
H A D | test_md5.c | 24 u8 *hash; member in struct:__anon13967 65 u8 hash[16]; local 75 md5_vector(1, addr, len, hash); 76 if (memcmp(hash, tests[i].hash, 16) != 0) { 87 md5_vector(1, addr, len, hash); 88 if (memcmp(hash, tests[i].hash, 16) != 0) {
|