/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/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
H A D | sha1_adapter.cc | 9 void SHA1(const unsigned char* data, size_t len, unsigned char* hash) { argument 10 base::SHA1HashBytes(data, len, hash);
|
/external/chromium_org/remoting/host/ |
H A D | pin_hash_unittest.cc | 17 std::string hash = MakeHostPinHash("Host ID", "1234"); local 18 ASSERT_EQ("hmac:bk6RVRFLpLO89mr4QPHSg8CemUUtI90r2F0VfvTmWLI=", hash);
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
H A D | HmacParams.cpp | 38 Algorithm* HmacParams::hash() function in class:WebCore::HmacParams 41 m_hash = Algorithm::create(m_algorithm.hmacParams()->hash());
|
H A D | RsaSsaParams.cpp | 38 Algorithm* RsaSsaParams::hash() function in class:WebCore::RsaSsaParams 41 m_hash = Algorithm::create(m_algorithm.rsaSsaParams()->hash());
|
H A D | HmacKeyParams.cpp | 38 Algorithm* HmacKeyParams::hash() function in class:WebCore::HmacKeyParams 41 m_hash = Algorithm::create(m_algorithm.hmacKeyParams()->hash());
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/ |
H A D | cso_hash.h | 32 * This file provides a hash implementation that is capable of dealing 34 * functions operating on the hash return an iterator. The iterator 59 struct cso_hash *hash; member in struct:cso_hash_iter 65 void cso_hash_delete(struct cso_hash *hash); 68 int cso_hash_size(struct cso_hash *hash); 72 * Adds a data with the given key to the hash. If entry with the given 73 * key is already in the hash, this current entry is instered before it 75 * Function returns iterator pointing to the inserted item in the hash. 77 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, unsigned key, 80 * Removes the item pointed to by the current iterator from the hash [all...] |
/external/clang/test/CodeGen/ |
H A D | ubsan-blacklist.c | 2 // RUN: echo "fun:hash" > %t-func.blacklist 13 // DEFAULT: @hash 14 // FUNC: @hash 15 // FILE: @hash 16 unsigned hash() { function
|
/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;
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
H A D | cso_hash.h | 32 * This file provides a hash implementation that is capable of dealing 34 * functions operating on the hash return an iterator. The iterator 59 struct cso_hash *hash; member in struct:cso_hash_iter 65 void cso_hash_delete(struct cso_hash *hash); 68 int cso_hash_size(struct cso_hash *hash); 72 * Adds a data with the given key to the hash. If entry with the given 73 * key is already in the hash, this current entry is instered before it 75 * Function returns iterator pointing to the inserted item in the hash. 77 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, unsigned key, 80 * Removes the item pointed to by the current iterator from the hash [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...] |
/external/chromium_org/device/bluetooth/ |
H A D | bluetooth_out_of_band_pairing_data.h | 19 uint8 hash[kBluetoothOutOfBandPairingDataSize]; member in struct:device::BluetoothOutOfBandPairingData
|
/external/chromium_org/media/base/ |
H A D | djb2.cc | 9 uint32 hash = seed; local 11 hash = hash * 33 + src[i]; 13 return hash;
|
/external/chromium_org/third_party/WebKit/Source/build/scripts/ |
H A D | hasher.py | 21 # We've modified Victor's version to output hash values that match WTFString, 38 def hash(string): function 41 http://www.azillionmonkeys.com/qed/hash.html 79 # This avoids ever returning a hash code of 0, since that is used to 80 # signal "hash not computed yet".
|
/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) {
|
/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();
|
/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/chromium_org/base/ |
H A D | hash.cc | 1 // From http://www.azillionmonkeys.com/qed/hash.html 3 #include "base/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; 43 hash [all...] |
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 DLOG(ERROR) << "Returned hash value is wrong length: " << hash_len
|
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | misspelling.h | 7 // Stores the spellcheck suggestion, its uint32 hash identifier, and user's 27 // misspelling.hash = GenerateRandomHash(); 38 uint32 hash); 62 // The hash that identifies the misspelling. 63 uint32 hash; member in class:Misspelling
|