Searched refs:hash (Results 101 - 125 of 965) sorted by relevance

1234567891011>>

/external/skia/include/gpu/
H A DGrKey.h20 explicit GrKey(Hash hash) : fHash(hash) {} argument
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
H A Dpage-reload-cancel-permission-requests.js9 if ("#reload" == location.hash)
34 location.hash = '#reload';
/external/webkit/Source/WebKit/mac/WebCoreSupport/
H A DWebPlatformStrategies.mm84 bool WebPlatformStrategies::isLinkVisited(Page* page, LinkHash hash)
86 return page->group().isLinkVisited(hash);
89 void WebPlatformStrategies::addVisitedLink(Page* page, LinkHash hash)
91 return page->group().addVisitedLinkHash(hash);
/external/openssl/crypto/lhash/
H A Dlhash.c59 /* Code for dynamic hash table routines
126 ret->hash=((h == NULL)?(LHASH_HASH_FN_TYPE)lh_strhash:h);
181 unsigned long hash; local
189 rn=getrn(lh,data,&hash);
201 nn->hash=hash;
219 unsigned long hash; local
224 rn=getrn(lh,data,&hash);
250 unsigned long hash; local
255 rn=getrn(lh,data,&hash);
314 unsigned long hash,nni; local
408 unsigned long hash,nn; local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
H A DRSADigestSigner.java150 byte[] hash = new byte[digest.getDigestSize()];
151 digest.doFinal(hash, 0);
155 byte[] data = derEncode(hash);
176 byte[] hash = new byte[digest.getDigestSize()];
178 digest.doFinal(hash, 0);
186 expected = derEncode(hash);
199 int sigOffset = sig.length - hash.length - 2;
200 int expectedOffset = expected.length - hash.length - 2;
207 for (int i = 0; i < hash.length; i++)
231 byte[] hash)
230 derEncode( byte[] hash) argument
[all...]
/external/v8/src/
H A Dhashmap.h43 // initial_capacity is the size of the initial hash map;
49 // HashMap entries are (key, value, hash) triplets.
55 uint32_t hash; // the full hash value for key member in struct:v8::internal::TemplateHashMapImpl::Entry
61 // corresponding key, key hash, and NULL value.
63 Entry* Lookup(void* key, uint32_t hash, bool insert);
66 void Remove(void* key, uint32_t hash);
68 // Empties the hash map (occupancy() == 0).
97 Entry* Probe(void* key, uint32_t hash);
120 void* key, uint32_t hash, boo
119 Lookup( void* key, uint32_t hash, bool insert) argument
149 Remove(void* key, uint32_t hash) argument
240 Probe(void* key, uint32_t hash) argument
[all...]
/external/dropbear/libtomcrypt/src/prngs/
H A Dyarrow.c44 /* these are the default hash/cipher combo used */
91 prng->yarrow.hash = register_hash(&sha256_desc);
93 prng->yarrow.hash = register_hash(&sha512_desc);
95 prng->yarrow.hash = register_hash(&tiger_desc);
97 prng->yarrow.hash = register_hash(&sha1_desc);
99 prng->yarrow.hash = register_hash(&rmd320_desc);
101 prng->yarrow.hash = register_hash(&rmd256_desc);
103 prng->yarrow.hash = register_hash(&rmd160_desc);
105 prng->yarrow.hash = register_hash(&rmd128_desc);
107 prng->yarrow.hash
[all...]
/external/valgrind/main/callgrind/
H A Dcontext.c113 new_idx = (UInt) (curr->hash % new_size);
142 UWord hash = 0; local
145 hash = (hash<<7) + (hash>>25) + (UWord)(*fn);
150 return hash;
154 static Bool is_cxt(UWord hash, fn_node** fn, Context* cxt) argument
159 if (hash != cxt->hash) return False;
179 UWord hash; local
239 UWord hash; local
[all...]
/external/elfutils/libelf/
H A Delf_gnu_hash.c58 #include <dl-hash.h>
/external/guava/guava/src/com/google/common/hash/
H A DHashCode.java15 package com.google.common.hash;
24 * An immutable hash code of arbitrary bit length.
48 * Returns the value of this hash code as a byte array. The caller may modify the byte array;
56 * Copies bytes from this hash code into {@code dest}.
58 * @param dest the byte array into which the hash code will be written
65 byte[] hash = asBytes();
66 maxLength = Ints.min(maxLength, hash.length);
68 System.arraycopy(hash, 0, dest, offset, maxLength);
73 * Returns the number of bits in this hash code; a positive multiple of 32.
81 // hash cod
[all...]
/external/oprofile/module/
H A Dop_dcache.h36 uint hash=0; local
39 hash = (hash + (name[len] << 4) + (name[len] >> 4)) * 11;
41 return (hash ^ parent) % OP_HASH_MAP_NR;
/external/webkit/Source/WebCore/platform/
H A DCookie.h63 static unsigned hash(Cookie key) function in struct:WebCore::CookieHash
65 return StringHash::hash(key.name) + StringHash::hash(key.domain) + StringHash::hash(key.path) + key.secure;
/external/apache-http/src/org/apache/http/auth/
H A DAuthScope.java285 int hash = LangUtils.HASH_SEED;
286 hash = LangUtils.hashCode(hash, this.host);
287 hash = LangUtils.hashCode(hash, this.port);
288 hash = LangUtils.hashCode(hash, this.realm);
289 hash = LangUtils.hashCode(hash, this.scheme);
290 return hash;
[all...]
/external/chromium/net/http/
H A Ddes.cc92 void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) { argument
100 reinterpret_cast<DES_cblock*>(hash), &ks, DES_ENCRYPT);
105 void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) { argument
139 rv = PK11_CipherOp(ctxt, hash, reinterpret_cast<int*>(&n), 8,
145 rv = PK11_DigestFinal(ctxt, hash+8, &n, 0);
162 void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) { argument
166 key, 8, NULL, src, 8, hash, 8, &data_out_moved);
173 void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) { argument
210 CopyMemory(hash, src, 8);
214 CryptEncrypt(key, 0, FALSE, 0, hash,
[all...]
/external/dropbear/libtomcrypt/src/pk/pkcs1/
H A Dpkcs_1_pss_decode.c22 @param msghash The hash to verify
23 @param msghashlen The length of the hash (octets)
27 @param hash_idx The index of the hash desired
37 unsigned char *DB, *mask, *salt, *hash; local
48 /* ensure hash is valid */
62 /* allocate ram for DB/mask/salt/hash of size modulus_len */
66 hash = XMALLOC(modulus_len);
67 if (DB == NULL || mask == NULL || salt == NULL || hash == NULL) {
77 if (hash != NULL) {
78 XFREE(hash);
[all...]
H A Dpkcs_1_pss_encode.c22 @param msghash The hash to encode
23 @param msghashlen The length of the hash (octets)
27 @param hash_idx The index of the hash desired
39 unsigned char *DB, *mask, *salt, *hash; local
48 /* ensure hash and PRNG are valid */
64 /* allocate ram for DB/mask/salt/hash of size modulus_len */
68 hash = XMALLOC(modulus_len);
69 if (DB == NULL || mask == NULL || salt == NULL || hash == NULL) {
79 if (hash != NULL) {
80 XFREE(hash);
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DMapMakerInternalMapTest.java394 int hash = map.hash(one);
395 ReferenceEntry<Object, Object> entry = segment.getEntry(one, hash);
441 int hashOne = map.hash(keyOne);
454 int hashTwo = map.hash(keyTwo);
473 int hashOne = map.hash(keyOne);
479 int hashTwo = map.hash(keyTwo);
523 int hash = map.hash(key);
526 int index = hash
1206 assertNotificationEnqueued( MapMakerInternalMap<K, V> map, K key, V value, int hash) argument
1720 createDummyEntry( K key, int hash, V value, ReferenceEntry<K, V> next) argument
1730 private final int hash; field in class:MapMakerInternalMapTest.DummyEntry
1733 DummyEntry(K key, int hash, ReferenceEntry<K, V> next) argument
1739 create(K key, int hash, ReferenceEntry<K, V> next) argument
[all...]
/external/iproute2/tc/
H A Df_tcindex.c20 fprintf(stderr," Usage: ... tcindex [ hash SIZE ] [ mask MASK ]"
45 if (!strcmp(*argv,"hash")) {
46 int hash; local
49 hash = strtoul(*argv,&end,0);
50 if (*end || !hash || hash > 0x10000) {
54 addattr_l(n,4096,TCA_TCINDEX_HASH,&hash,sizeof(hash));
133 __u16 hash; local
135 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash))
[all...]
/external/webkit/Source/JavaScriptCore/profiler/
H A DCallIdentifier.h59 static unsigned hash(const CallIdentifier& key) function in struct:JSC::CallIdentifier::Hash
62 key.m_name.impl()->hash(),
63 key.m_url.impl()->hash(),
73 unsigned hash() const { return Hash::hash(*this); } function in struct:JSC::CallIdentifier
/external/chromium/chrome/browser/download/
H A Dbase_file_unittest.cc109 // Write data to the file and detach it, and calculate its sha256 hash.
115 std::string hash; local
116 base_file_->GetSha256Hash(&hash);
118 base::HexEncode(hash.data(), hash.size()));
157 std::string hash; local
158 EXPECT_FALSE(base_file_->GetSha256Hash(&hash));
162 // Write data to the file once and calculate its sha256 hash.
168 std::string hash; local
169 base_file_->GetSha256Hash(&hash);
176 std::string hash; local
[all...]
/external/freetype/src/cache/
H A Dftccache.h63 FT_PtrDist hash; /* used for hashing too */ member in struct:FTC_NodeRec_
77 #define FTC_NODE__TOP_FOR_HASH( cache, hash ) \
79 ( ( ( ( hash ) & ( cache )->mask ) < ( cache )->p ) \
80 ? ( ( hash ) & ( ( cache )->mask * 2 + 1 ) ) \
81 : ( ( hash ) & ( cache )->mask ) ) )
85 FT_PtrDist hash );
86 #define FTC_NODE__TOP_FOR_HASH( cache, hash ) \
87 ftc_get_top_node_for_hash( ( cache ), ( hash ) )
149 /* each cache really implements a dynamic hash table to manage its nodes */
189 FT_PtrDist hash,
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/input/
H A DInputManager.java154 private void invokeActions(int hash, boolean pressed) { argument
155 ArrayList<Mapping> maps = bindings.get(hash);
182 private void invokeTimedActions(int hash, long time, boolean pressed) { argument
183 if (!bindings.containsKey(hash)) {
188 pressedButtons.put(hash, time);
190 Long pressTimeObj = pressedButtons.remove(hash);
201 invokeAnalogs(hash, computeAnalogValue(timeDelta), false);
208 int hash = pressedButton.getKey();
214 invokeAnalogs(hash, computeAnalogValue(timeDelta), false);
219 int hash
225 invokeAnalogs(int hash, float value, boolean isAxis) argument
250 invokeAnalogsAndActions(int hash, float value, boolean applyTpf) argument
[all...]
/external/webkit/Source/JavaScriptCore/wtf/text/
H A DAtomicString.cpp88 static unsigned hash(const char* c) function in struct:WTF::CStringTranslator
105 static void translate(StringImpl*& location, const char* const& c, unsigned hash) argument
108 location->setHash(hash);
177 static unsigned hash(const UCharBuffer& buf) function in struct:WTF::UCharBufferTranslator
187 static void translate(StringImpl*& location, const UCharBuffer& buf, unsigned hash) argument
190 location->setHash(hash);
196 unsigned hash; member in struct:WTF::HashAndCharacters
202 static unsigned hash(const HashAndCharacters& buffer) function in struct:WTF::HashAndCharactersTranslator
204 ASSERT(buffer.hash == StringHasher::computeHash(buffer.characters, buffer.length));
205 return buffer.hash;
213 translate(StringImpl*& location, const HashAndCharacters& buffer, unsigned hash) argument
222 unsigned hash; member in struct:WTF::HashAndUTF8Characters
229 static unsigned hash(const HashAndUTF8Characters& buffer) function in struct:WTF::HashAndUTF8CharactersTranslator
254 translate(StringImpl*& location, const HashAndUTF8Characters& buffer, unsigned hash) argument
[all...]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DServerKeyExchangeTest.java37 byte[] hash = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5,
40 null, hash);
44 assertTrue("incorrect ServerKeyExchange", Arrays.equals(message.hash,
45 hash));
61 assertTrue("incorrect message decoding", Arrays.equals(message.hash,
62 message_2.hash));
91 byte[] hash = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5,
94 hash);
98 assertTrue("incorrect ServerKeyExchange", Arrays.equals(message.hash,
99 hash));
[all...]
/external/chromium-trace/trace-viewer/src/
H A Dtimeline_color_scheme.js91 * @param {string} name The string to hash.
94 var hash = 0;
96 hash = (hash + 37 * hash + 11 * name.charCodeAt(i)) % 0xFFFFFFFF;
97 return hash;
132 // Previously computed string color IDs. They are based on a stable hash, so
143 var hash = getStringHash(string);
144 stringColorIdCache[string] = hash % numRegularColorIds;

Completed in 2538 milliseconds

1234567891011>>