Searched refs:hash (Results 1 - 25 of 1779) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DObjectExtensions.cs55 int hash = 23;
56 hash = ( ( hash << 5 ) * 37 ) ^ a;
57 hash = ( ( hash << 5 ) * 37 ) ^ b;
58 return hash;
63 int hash = 23;
64 hash = ( ( hash << 5 ) * 37 ) ^ a;
65 hash
[all...]
/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/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/third_party/smhasher/src/
H A DSuperFastHash.cpp8 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...]
H A DSpeedTest.h5 void BulkSpeedTest ( pfHash hash, uint32_t seed );
6 void TinySpeedTest ( pfHash hash, int hashsize, int keysize, uint32_t seed, bool verbose, double & outCycles );
/external/libcxx/test/extensions/hash/
H A Dspecializations.pass.cpp17 assert(__gnu_cxx::hash<const char *>()("test") ==
18 std::hash<std::string>()("test"));
19 assert(__gnu_cxx::hash<char *>()(str) == std::hash<std::string>()("test"));
20 assert(__gnu_cxx::hash<char>()(42) == 42);
21 assert(__gnu_cxx::hash<signed char>()(42) == 42);
22 assert(__gnu_cxx::hash<unsigned char>()(42) == 42);
23 assert(__gnu_cxx::hash<short>()(42) == 42);
24 assert(__gnu_cxx::hash<unsigned short>()(42) == 42);
25 assert(__gnu_cxx::hash<in
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DHashCodes.java15 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...]
H A Dpackage-info.java20 package com.google.common.hash;
/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/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/third_party/skia/tests/
H A DDynamicHashTest.cpp45 Hash hash; local
46 ASSERT(hash.capacity() == 0);
48 hash.add(&a);
49 ASSERT(hash.capacity() == 4);
51 hash.add(&b);
52 ASSERT(hash.capacity() == 4);
54 hash.add(&c);
55 ASSERT(hash.capacity() == 4);
57 hash.add(&d);
58 ASSERT(hash
67 Hash hash; local
79 Hash hash; local
114 Hash hash; local
140 Hash hash; local
[all...]
/external/skia/tests/
H A DDynamicHashTest.cpp45 Hash hash; local
46 ASSERT(hash.capacity() == 0);
48 hash.add(&a);
49 ASSERT(hash.capacity() == 4);
51 hash.add(&b);
52 ASSERT(hash.capacity() == 4);
54 hash.add(&c);
55 ASSERT(hash.capacity() == 4);
57 hash.add(&d);
58 ASSERT(hash
67 Hash hash; local
79 Hash hash; local
114 Hash hash; local
140 Hash hash; local
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
H A DRsaHashedKeyAlgorithm.idl34 readonly attribute KeyAlgorithm hash;
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dchashtst.c30 static void _put(UHashtable* hash,
35 static void _get(UHashtable* hash,
39 static void _remove(UHashtable* hash,
104 UHashtable *hash; local
106 hash = uhash_open(hashChars, isEqualChars, NULL, &status);
109 u_errorName(status), hash);
112 if (hash == NULL) {
116 log_verbose("Ok: uhash_open returned 0x%08X\n", hash);
118 _put(hash, one, 1, 0);
119 _put(hash, omeg
154 UHashtable *hash; local
288 UHashtable *hash; local
336 _put(UHashtable* hash, const char* key, int32_t value, int32_t expectedOldValue) argument
355 _get(UHashtable* hash, const char* key, int32_t expectedValue) argument
372 _remove(UHashtable* hash, const char* key, int32_t expectedValue) argument
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dchashtst.c30 static void _put(UHashtable* hash,
35 static void _get(UHashtable* hash,
39 static void _remove(UHashtable* hash,
104 UHashtable *hash; local
106 hash = uhash_open(hashChars, isEqualChars, NULL, &status);
109 u_errorName(status), hash);
112 if (hash == NULL) {
116 log_verbose("Ok: uhash_open returned 0x%08X\n", hash);
118 _put(hash, one, 1, 0);
119 _put(hash, omeg
154 UHashtable *hash; local
288 UHashtable *hash; local
336 _put(UHashtable* hash, const char* key, int32_t value, int32_t expectedOldValue) argument
355 _get(UHashtable* hash, const char* key, int32_t expectedValue) argument
372 _remove(UHashtable* hash, const char* key, int32_t expectedValue) argument
[all...]
/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/tools/page_cycler/startup_test_common/
H A Dhead.js6 console.log("PAGE_ONLOAD_EVENT" + location.hash);
/external/protobuf/src/google/protobuf/stubs/
H A Dhash.cc33 #include <google/protobuf/stubs/hash.h>
/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...]
H A Dcso_hash.c97 static void *cso_data_allocate_node(struct cso_hash_data *hash) argument
99 return MALLOC(hash->nodeSize);
108 cso_hash_create_node(struct cso_hash *hash, argument
112 struct cso_node *node = cso_data_allocate_node(hash->data.d);
122 ++hash->data.d->size;
126 static void cso_data_rehash(struct cso_hash_data *hash, int hint) argument
132 hash->userNumBits = (short)hint;
133 while (primeForNumBits(hint) < (hash->size >> 1))
139 if (hash->numBits != hint) {
140 struct cso_node *e = (struct cso_node *)(hash);
175 cso_data_might_grow(struct cso_hash_data *hash) argument
181 cso_data_has_shrunk(struct cso_hash_data *hash) argument
190 cso_data_first_node(struct cso_hash_data *hash) argument
203 cso_hash_find_node(struct cso_hash *hash, unsigned akey) argument
218 cso_hash_insert(struct cso_hash *hash, unsigned key, void *data) argument
240 struct cso_hash *hash = MALLOC_STRUCT(cso_hash); local
261 cso_hash_delete(struct cso_hash *hash) argument
279 cso_hash_find(struct cso_hash *hash, unsigned key) argument
382 cso_hash_take(struct cso_hash *hash, unsigned akey) argument
405 cso_hash_first_node(struct cso_hash *hash) argument
411 cso_hash_size(struct cso_hash *hash) argument
416 cso_hash_erase(struct cso_hash *hash, struct cso_hash_iter iter) argument
435 cso_hash_contains(struct cso_hash *hash, unsigned key) argument
[all...]
/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/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/libcxx/test/utilities/optional/optional.hash/
H A Dhash.pass.cpp12 // template <class T> struct hash<optional<T>>;
28 assert(std::hash<optional<T>>{}(opt) == 0);
30 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt));
35 assert(std::hash<optional<T>>{}(opt) == 0);
37 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt));
42 assert(std::hash<optional<T>>{}(opt) == 0);
44 assert(std::hash<optional<T>>{}(opt) == std::hash<
[all...]
/external/smack/src/org/jivesoftware/smackx/entitycaps/packet/
H A DCapsExtension.java25 private String node, ver, hash; field in class:CapsExtension
30 public CapsExtension(String node, String version, String hash) { argument
33 this.hash = hash;
61 return hash;
64 public void setHash(String hash) { argument
65 this.hash = hash;
70 * hash='sha-1'
77 "hash
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringHash.h36 // The hash() functions on StringHash and CaseFoldingHash do not support
42 // closer to having all the nearly-identical hash functions in one place.
45 static unsigned hash(StringImpl* key) { return key->hash(); } function in struct:WTF::StringHash
51 static unsigned hash(const RefPtr<StringImpl>& key) { return key->hash(); } function in struct:WTF::StringHash
57 static unsigned hash(const String& key) { return key.impl()->hash(); } function in struct:WTF::StringHash
73 static unsigned hash(const UChar* data, unsigned length) function in class:WTF::CaseFoldingHash
78 static unsigned hash(StringImp function in class:WTF::CaseFoldingHash
85 static unsigned hash(const LChar* data, unsigned length) function in class:WTF::CaseFoldingHash
90 static inline unsigned hash(const char* data, unsigned length) function in class:WTF::CaseFoldingHash
100 static unsigned hash(const RefPtr<StringImpl>& key) function in class:WTF::CaseFoldingHash
110 static unsigned hash(const String& key) function in class:WTF::CaseFoldingHash
114 static unsigned hash(const AtomicString& key) function in class:WTF::CaseFoldingHash
134 static unsigned hash(unsigned key) { return key; } function in struct:WTF::AlreadyHashed
140 avoidDeletedValue(unsigned hash) argument
[all...]

Completed in 780 milliseconds

1234567891011>>