/external/chromium_org/net/quic/ |
H A D | quic_sent_entropy_manager_test.cc | 34 QuicPacketEntropyHash hash = 0; local 36 hash ^= entropies[i]; 37 EXPECT_EQ(hash, entropy_manager_.GetCumulativeEntropy(i + 1));
|
/external/chromium_org/remoting/host/ |
H A D | pin_hash.cc | 16 std::string hash = protocol::AuthenticationMethod::ApplyHashFunction( local 19 base::Base64Encode(hash, &hash_base64); 23 bool VerifyHostPinHash(const std::string& hash, argument 27 if (!hash_parsed.Parse(hash)) { 28 LOG(FATAL) << "Invalid hash.";
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | DOMURLUtilsReadOnly.cpp | 73 String DOMURLUtilsReadOnly::hash(const KURL& kurl) function in class:blink::DOMURLUtilsReadOnly
|
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebTextCheckingResult.h | 48 , hash(0) 52 WebTextCheckingResult(WebTextDecorationType decoration, int location, int length, const WebString& replacement = WebString(), uint32_t hash = 0) 57 , hash(hash) 69 uint32_t hash; member in struct:blink::WebTextCheckingResult
|
/external/chromium_org/third_party/smhasher/src/ |
H A D | SuperFastHash.cpp | 8 http://www.azillionmonkeys.com/qed/hash.html */ 29 uint32_t hash = 0, tmp; local 39 hash += get16bits (data); 40 tmp = (get16bits (data+2) << 11) ^ hash; 41 hash = (hash << 16) ^ tmp; 43 hash += hash >> 11; 48 case 3: hash += get16bits (data); 49 hash [all...] |
/external/e2fsprogs/lib/e2p/ |
H A D | hashstr.c | 20 struct hash { struct 25 static struct hash hash_list[] = { 34 struct hash *p; 46 * Returns the hash algorithm, or -1 on error 50 struct hash *p;
|
/external/guava/guava/src/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/guava/guava-tests/test/com/google/common/hash/ |
H A D | MessageDigestHashFunctionTest.java | 3 package com.google.common.hash;
|
H A D | HashCodesTest.java | 3 package com.google.common.hash; 46 // expectedHashCodes must contain at least one hash code with 4 bytes 56 // expectedHashCodes must contain at least one hash code with 8 bytes 73 private void assertExpectedHashCode(ExpectedHashCode expected, HashCode hash) { argument 74 assertTrue(Arrays.equals(expected.bytes, hash.asBytes())); 75 byte[] bb = new byte[hash.bits() / 8]; 76 hash.writeBytesTo(bb, 0, bb.length); 78 assertEquals(expected.asInt, hash.asInt()); 81 hash.asLong(); 85 assertEquals(expected.asLong.longValue(), hash 92 assertSideEffectFree(HashCode hash) argument [all...] |
/external/libcxx/test/containers/unord/unord.map/ |
H A D | compare.pass.cpp | 12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>, 29 struct hash<Key> struct in namespace:std
|
/external/skia/include/gpu/ |
H A D | GrKey.h | 17 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/chromium_org/chrome/browser/chromeos/policy/ |
H A D | cloud_external_data_manager_base_test_util.cc | 33 const std::string hash = crypto::SHA256HashString(data); local 36 metadata->SetStringWithoutPathExpansion("hash", base::HexEncode(hash.c_str(), 37 hash.size()));
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
H A D | profile_helper_browsertest.cc | 32 const std::string& hash) { 33 profile_helper->ActiveUserHashChanged(hash); 31 ActiveUserChanged(ProfileHelper* profile_helper, const std::string& hash) argument
|
/external/chromium_org/chrome/browser/component_updater/test/ |
H A D | cld_component_installer_unittest.cc | 105 std::vector<uint8_t> hash; local 106 traits_.GetHash(&hash); 107 ASSERT_EQ(static_cast<size_t>(32), hash.size());
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
H A D | hashed_ad_network_database.cc | 52 shorthash hash; local 53 crypto::SHA256HashString(url.host(), hash, sizeof(shorthash)); 54 std::string hex_encoded = base::HexEncode(hash, sizeof(shorthash));
|
H A D | hashed_ad_network_database_unittest.cc | 59 char hash[8u]; local 60 crypto::SHA256HashString(kAdNetworkHosts[i], hash, 8u); 61 ad_networks_data_.push_back(base::HexEncode(hash, 8u));
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | external_component_loader.cc | 35 std::string hash = base::SHA1HashString(extension->id()); local 36 hash = base::HexEncode(hash.c_str(), hash.length()); 38 if (hash == enhanced_extension_hashes[i])
|
/external/chromium_org/chrome/browser/prefs/ |
H A D | pref_hash_store_impl_unittest.cc | 33 // 32 NULL bytes is the seed that was used to generate the legacy hash. 38 // Only NULL should be trusted in the absence of a hash. 113 // Storing a hash will stamp the super MAC. 123 // Make a copy of the stored hash for future use. 124 const base::Value* hash = NULL; local 125 ASSERT_TRUE(CreateHashStoreContents()->GetContents()->Get("path1", &hash)); 126 scoped_ptr<base::Value> path_1_string_1_hash_copy(hash->DeepCopy()); 127 hash = NULL; 137 // Clearing the hash should preserve validity. 172 // The imported hash shoul [all...] |
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | misspelling.cc | 35 : location(0), length(0), hash(0), timestamp(base::Time::Now()) { 42 uint32 hash) 47 hash(hash), 62 result->SetString("suggestionId", base::UintToString(hash)); 38 Misspelling(const base::string16& context, size_t location, size_t length, const std::vector<base::string16>& suggestions, uint32 hash) argument
|
/external/chromium_org/chrome/common/ |
H A D | spellcheck_result.h | 33 : decoration(d), location(loc), length(len), replacement(rep), hash(h) { 40 uint32 hash; member in struct:SpellCheckResult
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
H A D | x_privet_token.cc | 63 std::string hash = base::SHA1HashString(secret_ + local 66 base::Base64Encode(hash, &result);
|
/external/chromium_org/components/policy/core/common/cloud/ |
H A D | cloud_external_data_manager.cc | 16 const std::string& hash) 18 hash(hash) { 23 return url != other.url || hash != other.hash; 15 MetadataEntry(const std::string& url, const std::string& hash) argument
|