Searched refs:hash (Results 1 - 25 of 965) 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/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/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/protobuf/src/google/protobuf/stubs/
H A Dhash.cc33 #include <google/protobuf/stubs/hash.h>
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/
H A Dset-href-attribute-hash.js1 description('Test setting the hash attribute of the URL in HTMLAnchorElement.');
7 a.hash = "hash-value";
8 shouldBe("a.href", "'https://www.mydomain.com:8080/path/testurl.html#hash-value'");
12 a.hash = "#hash_value";
15 debug("'?' in hash value");
17 a.hash = "#hash?value";
18 shouldBe("a.href", "'http://www.mydomain.com/path/testurl.html#hash?value'");
22 debug("'#' in hash valu
[all...]
/external/webkit/Tools/DumpRenderTree/cairo/
H A DPixelDumpSupportCairo.cpp81 Vector<uint8_t, 16> hash; local
82 md5Context.checksum(hash);
85 hash[0], hash[1], hash[2], hash[3], hash[4], hash[5], hash[6], hash[
[all...]
/external/guava/guava-tests/test/com/google/common/hash/
H A DMurmur3Hash32Test.java17 package com.google.common.hash;
19 import static com.google.common.hash.Hashing.murmur3_32;
21 import com.google.common.hash.Funnels;
22 import com.google.common.hash.HashTestUtils.HashFn;
32 @Override public byte[] hash(byte[] input, int seed) {
35 return hasher.hash().asBytes();
/external/dropbear/libtomcrypt/src/hashes/helper/
H A Dhash_filehandle.c20 @param hash The index of the hash you want to use
21 @param in The FILE* handle of the file you want to hash
26 int hash_filehandle(int hash, FILE *in, unsigned char *out, unsigned long *outlen) argument
40 if ((err = hash_is_valid(hash)) != CRYPT_OK) {
44 if (*outlen < hash_descriptor[hash].hashsize) {
45 *outlen = hash_descriptor[hash].hashsize;
48 if ((err = hash_descriptor[hash].init(&md)) != CRYPT_OK) {
52 *outlen = hash_descriptor[hash].hashsize;
55 if ((err = hash_descriptor[hash]
[all...]
H A Dhash_memory.c20 @param hash The index of the hash you wish to use
21 @param in The data you wish to hash
22 @param inlen The length of the data to hash (octets)
27 int hash_memory(int hash, const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen) argument
36 if ((err = hash_is_valid(hash)) != CRYPT_OK) {
40 if (*outlen < hash_descriptor[hash].hashsize) {
41 *outlen = hash_descriptor[hash].hashsize;
50 if ((err = hash_descriptor[hash].init(md)) != CRYPT_OK) {
53 if ((err = hash_descriptor[hash]
[all...]
/external/wpa_supplicant_6/wpa_supplicant/tests/
H A Dtest_md4.c24 u8 *hash; member in struct:__anon15357
65 u8 hash[16]; local
75 md4_vector(1, addr, len, hash);
76 if (memcmp(hash, tests[i].hash, 16) != 0) {
87 md4_vector(1, addr, len, hash);
88 if (memcmp(hash, tests[i].hash, 16) != 0) {
H A Dtest_md5.c24 u8 *hash; member in struct:__anon15358
65 u8 hash[16]; local
75 md5_vector(1, addr, len, hash);
76 if (memcmp(hash, tests[i].hash, 16) != 0) {
87 md5_vector(1, addr, len, hash);
88 if (memcmp(hash, tests[i].hash, 16) != 0) {
/external/webkit/Source/JavaScriptCore/wtf/
H A DBloomFilter.h48 void add(unsigned hash);
49 void remove(unsigned hash);
53 bool mayContain(unsigned hash) const { return firstSlot(hash) && secondSlot(hash); }
60 void add(const String& string) { add(string.impl()->hash()); }
62 void remove(const String& string) { remove(string.impl()->hash()); }
65 bool mayContain(const String& string) const { return mayContain(string.impl()->hash()); }
74 uint8_t& firstSlot(unsigned hash) { return m_table[hash argument
75 secondSlot(unsigned hash) argument
83 add(unsigned hash) argument
94 remove(unsigned hash) argument
[all...]
/external/doclava/res/assets/templates/assets/
H A Djquery-history.js15 return msie.getDoc().location.hash;
17 setHash: function(hash) {
21 d.location.hash = hash;
26 var hash = msie.iframe ? msie.getHash() : location.hash;
27 if (hash != currentHash) {
28 currentHash = hash;
30 location.hash = currentHash;
39 add: function(hash) {
[all...]
/external/dropbear/libtomcrypt/src/misc/crypt/
H A Dcrypt_register_hash.c19 Register a hash with the descriptor table
20 @param hash The hash you wish to register
23 int register_hash(const struct ltc_hash_descriptor *hash) argument
27 LTC_ARGCHK(hash != NULL);
32 if (XMEMCMP(&hash_descriptor[x], hash, sizeof(struct ltc_hash_descriptor)) == 0) {
41 XMEMCPY(&hash_descriptor[x], hash, sizeof(struct ltc_hash_descriptor));
H A Dcrypt_unregister_hash.c15 Unregister a hash, Tom St Denis
19 Unregister a hash from the descriptor table
20 @param hash The hash descriptor to remove
23 int unregister_hash(const struct ltc_hash_descriptor *hash) argument
27 LTC_ARGCHK(hash != NULL);
32 if (XMEMCMP(&hash_descriptor[x], hash, sizeof(struct ltc_hash_descriptor)) == 0) {
/external/stlport/stlport/stl/
H A D_hash_fun.h40 template <class _Key> struct hash { }; struct
56 struct hash<char*> { struct
64 struct hash<const char*> { struct
71 _STLP_TEMPLATE_NULL struct hash<char> { struct
74 _STLP_TEMPLATE_NULL struct hash<unsigned char> { struct
78 _STLP_TEMPLATE_NULL struct hash<signed char> { struct
82 _STLP_TEMPLATE_NULL struct hash<short> { struct
85 _STLP_TEMPLATE_NULL struct hash<unsigned short> { struct
88 _STLP_TEMPLATE_NULL struct hash<int> { struct
93 _STLP_TEMPLATE_NULL struct hash<unsigne struct
103 _STLP_TEMPLATE_NULL struct hash<size_t> { struct
108 _STLP_TEMPLATE_NULL struct hash<long> { struct
111 _STLP_TEMPLATE_NULL struct hash<unsigned long> { struct
116 _STLP_TEMPLATE_NULL struct hash<_STLP_LONG_LONG> { struct
119 _STLP_TEMPLATE_NULL struct hash<unsigned _STLP_LONG_LONG> { struct
125 struct hash<void *> struct
[all...]
/external/chromium/android/ext/
H A Dfake_hash.h11 template <class _Key> struct hash { }; struct in namespace:__gnu_cxx
15 struct hash<_type> { \
17 return std::hash<_type>(val); \
/external/srec/srec/crec/
H A Dastar_pphash.c32 /* initialize the hash with no elements defined */
34 void hash_init(FixedSizeHash* hash, srec* rec_debug) argument
37 hash->hashsize = FSH_HASHSIZE;
38 for (i = 0; i < hash->hashsize; i++)
39 hash->items[i] = FSH_NULL;
40 hash->rec = rec_debug;
94 int hash_get(FixedSizeHash* hash, partial_path* parp, void** hval) argument
99 hkey_index = hkey_index % hash->hashsize;
100 p_return = hash->items[hkey_index];
105 if (compare_parp(p_return, parp, hash
116 hash_set(FixedSizeHash* hash, partial_path* parp) argument
151 hash_del(FixedSizeHash* hash, partial_path* parp) argument
[all...]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/dh/
H A DDhGroupExchange.java95 HashForSSH2Types hash = new HashForSSH2Types("SHA1");
97 hash.updateByteString(clientversion);
98 hash.updateByteString(serverversion);
99 hash.updateByteString(clientKexPayload);
100 hash.updateByteString(serverKexPayload);
101 hash.updateByteString(hostKey);
103 hash.updateUINT32(para.getMin_group_len());
104 hash.updateUINT32(para.getPref_group_len());
106 hash.updateUINT32(para.getMax_group_len());
107 hash
[all...]
/external/oprofile/libutil/
H A Dop_string.c24 size_t hash = 0; local
26 hash ^= (hash << 16) ^ (hash >> 8) ^ *str;
27 return hash;
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
H A Deap_psk_common.c43 u8 hash[aes_block_size]; local
47 if (aes_128_encrypt_block(kdk, rand_p, hash))
50 hash[aes_block_size - 1] ^= counter;
51 if (aes_128_encrypt_block(kdk, hash, tek))
53 hash[aes_block_size - 1] ^= counter;
57 hash[aes_block_size - 1] ^= counter;
58 if (aes_128_encrypt_block(kdk, hash, &msk[i * aes_block_size]))
60 hash[aes_block_size - 1] ^= counter;
65 hash[aes_block_size - 1] ^= counter;
66 if (aes_128_encrypt_block(kdk, hash,
[all...]

Completed in 1934 milliseconds

1234567891011>>