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

1234567891011>>

/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/chrome_elf/dll_hash/
H A Ddll_hash_main.cc24 int hash = DllNameToHash(std::string(argv[i])); local
25 printf("<int value=\"%d\" label=\"%s\"/>\n", hash, argv[i]);
/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/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/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/chromium_org/ppapi/tools/
H A Dpepper_hash_for_uma.cc16 #include "base/hash.h"
33 int hash = static_cast<int>(data & 0x7fffffff); local
34 printf("<int value=\"%d\" label=\"%s\"/>\n", hash, argv[i]);
/external/chromium_org/base/third_party/superfasthash/
H A Dsuperfasthash.c42 uint32_t hash = len, tmp; local
52 hash += get16bits (data);
53 tmp = (get16bits (data+2) << 11) ^ hash;
54 hash = (hash << 16) ^ tmp;
56 hash += hash >> 11;
61 case 3: hash += get16bits (data);
62 hash ^= hash << 1
[all...]
/external/chromium_org/components/metrics/
H A Dmetrics_hashes_unittest.cc25 uint64 hash = HashMetricName(cases[i].input); local
26 std::string hash_hex = base::StringPrintf("0x%016" PRIx64, hash);
H A Dmetrics_hashes.cc15 // Converts the 8-byte prefix of an MD5 hash into a uint64 value.
16 inline uint64 HashToUInt64(const std::string& hash) { argument
18 DCHECK_GE(hash.size(), sizeof(value));
19 memcpy(&value, hash.data(), sizeof(value));
26 // Create an MD5 hash of the given |name|, represented as a byte buffer
/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.py20 # We've modified Victor's version to output hash values that match WTFString,
37 def hash(string): function
40 http://www.azillionmonkeys.com/qed/hash.html
78 # This avoids ever returning a hash code of 0, since that is used to
79 # signal "hash not computed yet".
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
H A DRsaHashedKeyAlgorithm.cpp44 KeyAlgorithm* RsaHashedKeyAlgorithm::hash() function in class:WebCore::RsaHashedKeyAlgorithm
47 m_hash = KeyAlgorithm::createHash(m_algorithm.rsaHashedParams()->hash());
/external/elfutils/0.153/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/libcxx/test/containers/
H A DNotConstructible.h31 struct hash<NotConstructible> struct in namespace:std
/external/chromium_org/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 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
/external/chromium_org/chrome/common/
H A Dspellcheck_marker.h23 SpellCheckMarker() : hash(-1), offset(-1) {}
25 SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {} argument
27 uint32 hash; member in class:SpellCheckMarker
/external/chromium_org/components/policy/core/common/cloud/
H A Dcloud_external_data_manager.h32 MetadataEntry(const std::string& url, const std::string& hash);
37 std::string hash; member in struct:policy::CloudExternalDataManager::MetadataEntry
/external/chromium_org/net/dns/
H A Ddns_hosts.h28 struct hash<net::DnsHostsKey> { struct in namespace:BASE_HASH_NAMESPACE
30 hash<base::StringPiece> string_piece_hash;
/external/chromium_org/net/quic/crypto/
H A Dcert_compressor_test.cc57 "2A00000000000000" /* set hash 42 */
73 uint64 hash = QuicUtils::FNV1a_64_Hash(chain[0].data(), chain[0].size()); local
74 StringPiece hash_bytes(reinterpret_cast<char*>(&hash), sizeof(hash));
106 /* hash truncated */
112 /* hash and index truncated */
130 /* incorrect hash and index */
H A Dcommon_cert_set_test.cc82 uint64 hash; local
87 &hash, &index));
88 EXPECT_EQ(in_hash, hash);
90 StringPiece gia_copy = sets->GetCert(hash, index);
100 uint64 hash; local
105 &hash, &index));
/external/chromium_org/net/quic/
H A Dquic_sent_entropy_manager_test.cc40 QuicPacketEntropyHash hash = 0; local
42 hash ^= entropies[i].second;
43 EXPECT_EQ(hash, entropy_manager_.EntropyHash(i + 1));

Completed in 1751 milliseconds

1234567891011>>