Searched defs:hash (Results 1 - 25 of 901) sorted by relevance

1234567891011>>

/external/chromium/android/ext/
H A Dfake_hash.h11 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 Dsha1_adapter.cc9 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 Dpin_hash_unittest.cc17 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 DHmacParams.cpp38 Algorithm* HmacParams::hash() function in class:WebCore::HmacParams
41 m_hash = Algorithm::create(m_algorithm.hmacParams()->hash());
H A DRsaSsaParams.cpp38 Algorithm* RsaSsaParams::hash() function in class:WebCore::RsaSsaParams
41 m_hash = Algorithm::create(m_algorithm.rsaSsaParams()->hash());
H A DHmacKeyParams.cpp38 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 Dcso_hash.h32 * 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 Dubsan-blacklist.c2 // 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 Dcrypt_register_hash.c19 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 Dcrypt_unregister_hash.c15 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 Dpackage-info.java20 package com.google.common.hash;
/external/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_hash.h32 * 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 Dhash_file.c19 @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 Dhash_filehandle.c20 @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 Dbluetooth_out_of_band_pairing_data.h19 uint8 hash[kBluetoothOutOfBandPairingDataSize]; member in struct:device::BluetoothOutOfBandPairingData
/external/chromium_org/media/base/
H A Ddjb2.cc9 uint32 hash = seed; local
11 hash = hash * 33 + src[i];
13 return hash;
/external/chromium_org/third_party/WebKit/Source/build/scripts/
H A Dhasher.py21 # 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 Dhmac_file.c22 @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 Ddl-hash.h1 /* 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 DMurmur3Hash32Test.java17 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 Dsha1_win.cc26 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 Dhash.cc1 // 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 Dhash.cc1 // 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 Dsha1_win.cc26 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 Dmisspelling.h7 // 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

Completed in 1649 milliseconds

1234567891011>>