/external/chromium_org/third_party/WebKit/public/platform/ |
H A D | WebCryptoAlgorithmParams.h | 76 explicit WebCryptoAlgorithmParamsWithHash(const WebCryptoAlgorithm& hash) argument 77 : m_hash(hash) 79 BLINK_ASSERT(!hash.isNull()); 82 const WebCryptoAlgorithm& hash() const { return m_hash; } function in class:blink::WebCryptoAlgorithmParamsWithHash 124 explicit WebCryptoHmacImportParams(const WebCryptoAlgorithm& hash) argument 125 : WebCryptoAlgorithmParamsWithHash(hash) 134 WebCryptoHmacKeyGenParams(const WebCryptoAlgorithm& hash, bool hasLengthBits, unsigned lengthBits) argument 135 : WebCryptoAlgorithmParamsWithHash(hash) 186 explicit WebCryptoRsaHashedImportParams(const WebCryptoAlgorithm& hash) argument 187 : WebCryptoAlgorithmParamsWithHash(hash) 196 WebCryptoRsaHashedKeyGenParams(const WebCryptoAlgorithm& hash, unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publicExponentSize) argument 208 const WebCryptoAlgorithm& hash() const { return m_hash; } function in class:blink::WebCryptoRsaHashedKeyGenParams [all...] |
/external/chromium_org/third_party/icu/source/test/perf/unisetperf/draft/ |
H A D | bitset.cpp | 17 * Uses a simple hash table for compaction. 47 int32_t hash=(int32_t)(key>>55)&0x1ff; local 48 hash^=(int32_t)(key>>44)&0x7ff; 49 hash^=(int32_t)(key>>33)&0x7ff; 50 hash^=(int32_t)(key>>22)&0x7ff; 51 hash^=(int32_t)(key>>11)&0x7ff; 52 hash^=(int32_t)key&0x7ff; 54 if(values[hash]==0xffff) { 56 keys[hash]=key; 57 reverse[count]=hash; [all...] |
/external/icu/icu4c/source/test/perf/unisetperf/draft/ |
H A D | bitset.cpp | 17 * Uses a simple hash table for compaction. 47 int32_t hash=(int32_t)(key>>55)&0x1ff; local 48 hash^=(int32_t)(key>>44)&0x7ff; 49 hash^=(int32_t)(key>>33)&0x7ff; 50 hash^=(int32_t)(key>>22)&0x7ff; 51 hash^=(int32_t)(key>>11)&0x7ff; 52 hash^=(int32_t)key&0x7ff; 54 if(values[hash]==0xffff) { 56 keys[hash]=key; 57 reverse[count]=hash; [all...] |
/external/oprofile/libdb/tests/ |
H A D | db_test.c | 3 * Tests for DB hash 22 #define TEST_FILENAME "test-hash-db.dat" 50 odb_t hash; local 53 rc = odb_open(&hash, TEST_FILENAME, ODB_RDWR, sizeof(struct opd_header)); 60 rc = odb_update_node(&hash, i); 68 odb_close(&hash); 91 odb_t hash; local 95 rc = odb_open(&hash, TEST_FILENAME, ODB_RDWR, sizeof(struct opd_header)); 104 rc = odb_update_node(&hash, key); 111 ret = odb_check_hash(&hash); 141 odb_t hash; local [all...] |
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | storage_block_unittest.cc | 23 entry1.Data()->hash = 0xaa5555aa; 27 entry1.Data()->hash = 0x88118811; 31 EXPECT_EQ(0xaa5555aa, entry1.Data()->hash); 42 entry1.Data()->hash = 0xaa5555aa; 47 EXPECT_TRUE(0 == entry2.Data()->hash); 51 EXPECT_EQ(0xaa5555aa, entry2.Data()->hash); 64 EXPECT_TRUE(0 == entry1->Data()->hash); 65 entry1->Data()->hash = 0x45687912; 71 EXPECT_TRUE(0x45687912 == entry2.Data()->hash);
|
/external/chromium_org/net/quic/crypto/ |
H A D | common_cert_set.cc | 30 // hash contains the 64-bit, FNV-1a hash of this set. 31 uint64 hash; member in struct:net::__anon9429::CertSet 77 virtual StringPiece GetCert(uint64 hash, uint32 index) const OVERRIDE { 79 if (kSets[i].hash == hash) { 99 uint64 hash; variable 100 memcpy(&hash, common_set_hashes.data() + i * sizeof(uint64), 104 if (kSets[j].hash != hash) { [all...] |
/external/chromium_org/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 DLOG(ERROR) << "Returned hash value is wrong length: " << hash_len
|
/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/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/third_party/WebKit/Source/platform/weborigin/ |
H A D | SecurityOriginHash.h | 39 static unsigned hash(SecurityOrigin* origin) function in struct:blink::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:blink::SecurityOriginHash 50 return hash(origin.get());
|
/external/guava/guava/src/com/google/common/base/ |
H A D | PairwiseEquivalence.java | 52 int hash = 78721; 54 hash = hash * 24943 + elementEquivalence.hash(element); 56 return hash;
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
H A D | Phonenumber.java | 248 int hash = 41; 249 hash = (53 * hash) + getCountryCode(); 250 hash = (53 * hash) + Long.valueOf(getNationalNumber()).hashCode(); 251 hash = (53 * hash) + getExtension().hashCode(); 252 hash = (53 * hash) + (isItalianLeadingZero() ? 1231 : 1237); 253 hash [all...] |
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | sha1-tprf.c | 34 u8 hash[SHA1_MAC_LEN]; local 40 addr[0] = hash; 57 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash)) 60 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 63 os_memcpy(&buf[pos], hash, plen);
|
H A D | sha1-prf.c | 35 u8 hash[SHA1_MAC_LEN]; local 57 hash)) 59 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_peap_common.c | 21 u8 hash[SHA1_MAC_LEN]; local 27 addr[0] = hash; 72 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0) 75 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 78 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | sha1-tprf.c | 34 u8 hash[SHA1_MAC_LEN]; local 40 addr[0] = hash; 57 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash)) 60 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 63 os_memcpy(&buf[pos], hash, plen);
|
H A D | sha1-prf.c | 35 u8 hash[SHA1_MAC_LEN]; local 57 hash)) 59 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_peap_common.c | 21 u8 hash[SHA1_MAC_LEN]; local 27 addr[0] = hash; 72 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0) 75 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 78 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | sha1-tprf.c | 34 u8 hash[SHA1_MAC_LEN]; local 40 addr[0] = hash; 57 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash)) 60 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 63 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_peap_common.c | 21 u8 hash[SHA1_MAC_LEN]; local 27 addr[0] = hash; 72 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash) < 0) 75 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 78 os_memcpy(&buf[pos], hash, plen);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | brw_state_cache.c | 35 * consumers can query the hash table of state using a cache_id, 40 * The inner workings are a simple hash table based on a CRC of the 57 GLuint hash = item->cache_id, i; local 64 hash ^= ikey[i]; 65 hash = (hash << 5) | (hash >> 27); 68 return hash; 76 a->hash == b->hash 82 search_cache(struct brw_cache *cache, GLuint hash, struct brw_cache_item *lookup) argument 141 GLuint hash; local 274 GLuint hash; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_state_cache.c | 35 * consumers can query the hash table of state using a cache_id, 40 * The inner workings are a simple hash table based on a CRC of the 57 GLuint hash = item->cache_id, i; local 64 hash ^= ikey[i]; 65 hash = (hash << 5) | (hash >> 27); 68 return hash; 76 a->hash == b->hash 82 search_cache(struct brw_cache *cache, GLuint hash, struct brw_cache_item *lookup) argument 141 GLuint hash; local 274 GLuint hash; local [all...] |
/external/chromium_org/cc/surfaces/ |
H A D | surface_id.h | 43 struct hash<cc::SurfaceId> { 45 return hash<uint64_t>()(key.id); 49 #error define a hash function for your compiler
|
/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));
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowEditTextTest.java | 19 HashMap<String, String> hash = new HashMap<String, String>(); 20 hash.put("android:maxLength", "5"); 21 TestAttributeSet attributeSet = new TestAttributeSet(hash);
|