/external/apache-http/src/org/apache/http/auth/ |
H A D | NTCredentials.java | 149 int hash = LangUtils.HASH_SEED; 150 hash = LangUtils.hashCode(hash, this.principal); 151 hash = LangUtils.hashCode(hash, this.workstation); 152 return hash;
|
/external/chromium_org/courgette/ |
H A D | difference_estimator.cc | 26 size_t hash = ((hash1 * 17 + hash2 * 37) + (hash1 >> 17)) ^ (hash2 >> 23); local 27 return hash; 46 size_t hash = HashTuple(p); local 47 hashes_.insert(hash); 103 size_t hash = HashTuple(p); local 104 if (base->hashes_.find(hash) == base->hashes_.end()) {
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
H A D | dsa_encrypt_key.c | 28 @param hash The index of the hash you want to use 34 prng_state *prng, int wprng, int hash, 47 /* check that wprng/cipher/hash are not invalid */ 52 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 56 if (inlen > hash_descriptor[hash].hashsize) { 102 if ((err = hash_memory(hash, expt, x, skey, &y)) != CRYPT_OK) { 112 LTC_ASN1_OBJECT_IDENTIFIER, hash_descriptor[hash].OIDlen, hash_descriptor[hash].OID, 32 dsa_encrypt_key(const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen, prng_state *prng, int wprng, int hash, dsa_key *key) argument
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
H A D | ecc_encrypt_key.c | 34 @param hash The index of the hash you want to use 40 prng_state *prng, int wprng, int hash, 53 /* check that wprng/cipher/hash are not invalid */ 58 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 62 if (inlen > hash_descriptor[hash].hashsize) { 102 if ((err = hash_memory(hash, ecc_shared, x, skey, &y)) != CRYPT_OK) { 112 LTC_ASN1_OBJECT_IDENTIFIER, hash_descriptor[hash].OIDlen, hash_descriptor[hash].OID, 38 ecc_encrypt_key(const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen, prng_state *prng, int wprng, int hash, ecc_key *key) argument
|
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | feedback_unittest.cc | 31 void AddMisspelling(int renderer_process_id, uint32 hash) { argument 33 misspelling.hash = hash; 46 EXPECT_EQ(kMisspellingHash, result->hash); 91 EXPECT_EQ(kMisspellingHash, renderer_with_misspellings[0].hash); 166 EXPECT_NE(result[0].hash, result[1].hash); 167 EXPECT_TRUE(result[0].hash == kMisspellingHash || 168 result[0].hash == kMisspellingHash + 1); 169 EXPECT_TRUE(result[1].hash 192 uint32 hash = kMisspellingHash; local [all...] |
/external/chromium_org/v8/src/ |
H A D | hashmap.h | 48 // initial_capacity is the size of the initial hash map; 56 // HashMap entries are (key, value, hash) triplets. 62 uint32_t hash; // The full hash value for key member in struct:v8::internal::TemplateHashMapImpl::Entry 69 // corresponding key, key hash, and NULL value. 71 Entry* Lookup(void* key, uint32_t hash, bool insert, 77 void* Remove(void* key, uint32_t hash); 79 // Empties the hash map (occupancy() == 0). 108 Entry* Probe(void* key, uint32_t hash); 132 void* key, uint32_t hash, boo 131 Lookup( void* key, uint32_t hash, bool insert, AllocationPolicy allocator) argument 162 Remove(void* key, uint32_t hash) argument 257 Probe(void* key, uint32_t hash) argument [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
H A D | ExpandedNameTable.java | 31 * a simple hash algorithm directly into this class, instead of using the 33 * are combined in getExpandedTypeID() method to share the same hash calculation 35 * expand the hash table. 80 * The initial capacity of the hash table. Use a bigger number 86 * The capacity of the hash table, i.e. the size of the 92 * The threshold of the hash table, which is equal to capacity * loadFactor. 93 * If the number of entries in the hash table is bigger than the threshold, 94 * the hash table needs to be expanded. 99 * The internal array to store the hash entries. 100 * Each array member is a slot for a hash bucke 379 int hash; field in class:ExpandedNameTable.HashEntry 382 HashEntry(ExtendedType key, int value, int hash, HashEntry next) argument [all...] |
/external/chromium/chrome/browser/sync/util/ |
H A D | nigori.cc | 150 std::vector<unsigned char> hash(kHashSize); 151 if (!hmac.Sign(ciphertext, &hash[0], hash.size())) 156 output.append(hash.begin(), hash.end()); 191 std::vector<unsigned char> hash(kHashSize); 192 if (!hmac.Sign(ciphertext, &hash[0], hash.size())) 198 output.append(hash.begin(), hash [all...] |
/external/chromium_org/sync/util/ |
H A D | nigori.cc | 145 std::vector<unsigned char> hash(kHashSize); 146 if (!hmac.Sign(ciphertext, &hash[0], hash.size())) 151 output.append(hash.begin(), hash.end()); 181 std::vector<unsigned char> hash(kHashSize); 182 if (!hmac.Sign(ciphertext, &hash[0], hash.size())) 188 output.append(hash.begin(), hash [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/lhash/ |
H A D | lhash.c | 59 /* Code for dynamic hash table routines 114 /* The field 'iteration_state' is used to hold data to ensure that a hash 135 /* Returns 1 if the hash table is currently being iterated on, 0 otherwise. */ 158 /* This macro returns 1 if the hash table should be expanded due to its current 184 /* This macro returns 1 if the hash table should be contracted due to its 234 ret->hash=((h == NULL)?(LHASH_HASH_FN_TYPE)lh_strhash:h); 290 unsigned long hash; local 301 rn=getrn(lh,data,&hash); 313 nn->hash=hash; 331 unsigned long hash; local 364 unsigned long hash; local 439 unsigned long hash,nni; local 533 unsigned long hash,nn; local [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
H A D | LocalCacheTest.java | 424 int hash = map.hash(key); 427 ReferenceEntry<Object, Object> entry = segment.getEntry(key, hash); 480 int hash = map.hash(key); 482 int index = hash & (table.length() - 1); 484 DummyEntry<Object, Object> entry = DummyEntry.create(key, hash, null); 509 int hash = map.hash(key); 511 int index = hash 1774 assertNotificationEnqueued( LocalCache<K, V> map, K key, V value, int hash) argument 2471 createDummyEntry( K key, int hash, V value, ReferenceEntry<K, V> next) argument 2481 private final int hash; field in class:LocalCacheTest.DummyEntry 2484 DummyEntry(K key, int hash, ReferenceEntry<K, V> next) argument 2490 create(K key, int hash, ReferenceEntry<K, V> next) argument [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | cloud_external_data_store.h | 22 // Stores external data referenced by policies. Data is keyed by (policy, hash), 23 // the name of the policy referencing it and its SHA1 hash. Outdated entries are 24 // removed by calling Prune() with the list of (policy, hash) entries that are 39 // Removes all entries from the store whose (policy, hash) pair is not found 43 // Stores |data| under (policy, hash). Returns true if the store succeeded. 45 const std::string& hash, 48 // Loads the entry at (policy, hash) into |data|, verifies that it does not 49 // exceed |max_size| and matches the expected |hash|, then returns true. 50 // Returns false if no entry is found at (policy, hash), there is a problem 51 // during the load, the entry exceeds |max_size| or does not match |hash| [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
H A D | cloud_external_data_manager.h | 32 MetadataEntry(const std::string& url, const std::string& hash); 37 std::string hash; member in struct:policy::CloudExternalDataManager::MetadataEntry
|
/external/chromium_org/content/test/data/indexeddb/ |
H A D | version_change_blocked.js | 7 if (document.location.hash === '#tab1') { 9 } else if (document.location.hash === '#tab2') { 12 result('fail - unexpected hash');
|
/external/chromium_org/net/dns/ |
H A D | dns_hosts.h | 28 struct hash<net::DnsHostsKey> { struct in namespace:BASE_HASH_NAMESPACE 30 hash<base::StringPiece> string_piece_hash;
|
/external/chromium_org/net/quic/ |
H A D | quic_ack_notifier_manager.h | 16 struct hash<net::QuicAckNotifier*> { struct in namespace:BASE_HASH_NAMESPACE 18 return hash<size_t>()(reinterpret_cast<size_t>(ptr));
|
/external/chromium_org/net/third_party/nss/ssl/ |
H A D | sslplatf.c | 204 ssl3_CngPlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, argument 229 switch (hash->hashAlg) { 250 hashItem.data = hash->u.raw; 251 hashItem.len = hash->len; 262 if (hash->hashAlg == SEC_OID_UNKNOWN) { 263 hashItem.data = hash->u.s.sha; 264 hashItem.len = sizeof(hash->u.s.sha); 266 hashItem.data = hash->u.raw; 267 hashItem.len = hash->len; 274 PRINT_BUF(60, (NULL, "hash(e 328 ssl3_CAPIPlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, PRBool isTLS, KeyType keyType) argument 460 ssl3_PlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, PRBool isTLS, KeyType keyType) argument 554 ssl3_PlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, PRBool isTLS, KeyType keyType) argument 724 ssl3_PlatformSignHashes(SSL3Hashes *hash, PlatformKey key, SECItem *buf, PRBool isTLS, KeyType keyType) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | MatchedPropertiesCache.h | 53 const CachedMatchedProperties* find(unsigned hash, const StyleResolverState&, const MatchResult&); 54 void add(const RenderStyle*, const RenderStyle* parentStyle, unsigned hash, const MatchResult&);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | FontDataCache.h | 44 static unsigned hash(const FontPlatformData& platformData) function in struct:WebCore::FontDataCacheKeyHash 46 return platformData.hash();
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
H A D | draw_pt_vsplit.c | 89 unsigned hash; local 93 hash = fetch % MAP_SIZE; 95 if (vsplit->cache.fetches[hash] != fetch) { 97 vsplit->cache.fetches[hash] = fetch; 98 vsplit->cache.draws[hash] = vsplit->cache.num_fetch_elts; 105 vsplit->draw_elts[vsplit->cache.num_draw_elts++] = vsplit->cache.draws[hash]; 118 unsigned hash = fetch % MAP_SIZE; local 119 vsplit->cache.fetches[hash] = fetch - 1; /* force update */
|
/external/guava/guava/src/com/google/common/hash/ |
H A D | Hasher.java | 15 package com.google.common.hash; 22 * A {@link Sink} that can compute a hash code after reading the input. Each hasher should 65 * Computes a hash code based on the data that have been provided to this hasher. The result is 68 HashCode hash(); method in interface:Hasher
|
/external/ipsec-tools/src/racoon/ |
H A D | isakmp_newg.c | 75 struct isakmp_pl_hash *hash = NULL; 101 if (hash) { 109 hash = (struct isakmp_pl_hash *)pa->ptr; 137 if (!hash || !sa) { 163 plog(LLV_DEBUG, LOCATION, NULL, "hash source\n"); 171 plog(LLV_DEBUG, LOCATION, NULL, "hash result\n"); 174 r_hash = (char *)hash + sizeof(*hash); 176 plog(LLV_DEBUG, LOCATION, NULL, "original hash\n")); 177 plogdump(LLV_DEBUG, r_hash, ntohs(hash [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/texture/ |
H A D | TextureCubeMap.java | 182 int hash = super.hashCode(); 183 hash = 53 * hash + (this.wrapS != null ? this.wrapS.hashCode() : 0); 184 hash = 53 * hash + (this.wrapT != null ? this.wrapT.hashCode() : 0); 185 hash = 53 * hash + (this.wrapR != null ? this.wrapR.hashCode() : 0); 186 return hash;
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pt_vsplit.c | 89 unsigned hash; local 93 hash = fetch % MAP_SIZE; 95 if (vsplit->cache.fetches[hash] != fetch) { 97 vsplit->cache.fetches[hash] = fetch; 98 vsplit->cache.draws[hash] = vsplit->cache.num_fetch_elts; 105 vsplit->draw_elts[vsplit->cache.num_draw_elts++] = vsplit->cache.draws[hash]; 118 unsigned hash = fetch % MAP_SIZE; local 119 vsplit->cache.fetches[hash] = fetch - 1; /* force update */
|
/external/oprofile/daemon/ |
H A D | opd_cookie.c | 135 unsigned long hash = hash_cookie(cookie); local 142 list_for_each(pos, &hashes[hash]) { 150 list_add(&entry->list, &hashes[hash]); 158 unsigned long hash = hash_cookie(cookie); local 165 list_for_each(pos, &hashes[hash]) { 172 list_add(&entry->list, &hashes[hash]); 180 unsigned long hash = hash_cookie(cookie); local 190 list_for_each(pos, &hashes[hash]) {
|