Searched refs:hash (Results 1 - 25 of 1525) 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/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/net/disk_cache/
H A Dhash.cc1 // From http://www.azillionmonkeys.com/qed/hash.html
3 #include "net/disk_cache/hash.h"
22 uint32_t hash = len, tmp; local
33 hash += get16bits(data);
34 tmp = (get16bits(data + 2) << 11) ^ hash;
35 hash = (hash << 16) ^ tmp;
37 hash += hash >> 11;
42 case 3: hash
[all...]
/external/chromium_org/base/
H A Dhash.cc1 // From http://www.azillionmonkeys.com/qed/hash.html
3 #include "base/hash.h"
22 uint32_t hash = len, tmp; local
33 hash += get16bits(data);
34 tmp = (get16bits(data + 2) << 11) ^ hash;
35 hash = (hash << 16) ^ tmp;
37 hash += hash >> 11;
43 hash
[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/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/skia/tests/
H A DDynamicHashTest.cpp47 Hash hash(4);
48 ASSERT(hash.capacity() == 4);
50 hash.add(&a);
51 ASSERT(hash.capacity() == 4);
53 hash.add(&b);
54 ASSERT(hash.capacity() == 4);
56 hash.add(&c);
57 ASSERT(hash.capacity() == 4);
59 hash.add(&d);
60 ASSERT(hash
69 Hash hash; local
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
H A DHmacParams.idl34 readonly attribute Algorithm hash;
H A DRsaSsaParams.idl34 readonly attribute Algorithm 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/icu4c/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/linux-tools-perf/util/include/linux/added/
H A Dhash.h40 u64 hash = val; local
43 u64 n = hash;
45 hash -= n;
47 hash -= n;
49 hash += n;
51 hash -= n;
53 hash += n;
55 hash += n;
58 return hash >> (64 - bits);
64 u32 hash local
[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/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 7062 milliseconds

1234567891011>>