| /src/sys/sys/ |
| hash.h | 1 /* $NetBSD: hash.h,v 1.8 2014/09/05 05:46:15 matt Exp $ */ 38 #include <machine/hash.h> 41 #ifndef __HAVE_HASH32_BUF /* not overridden by MD hash */ 47 * hash32_buf(const void *bf, size_t len, uint32_t hash) 48 * return a 32 bit hash of the binary buffer buf (size len), 49 * seeded with an initial hash value of hash (usually HASH32_BUF_INIT). 52 hash32_buf(const void *bf, size_t len, uint32_t hash) 57 hash = hash * 257 + *s++ [all...] |
| /src/lib/libintl/ |
| strhash.c | 40 * string hash function by P.J.Weinberger. 48 uint32_t hash = 0, tmp; local 51 hash <<= 4; 52 hash += *p; 53 tmp = hash & 0xF0000000; 55 hash ^= tmp; 56 hash ^= tmp >> 24; 59 return hash;
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/ |
| hash_tr1.cc | 1 // std::tr1::hash definitions -*- C++ -*- 29 #include "hash-long-double-tr1-aux.cc" 38 hash<string>::operator()(string __s) const 39 { return _Fnv_hash::hash(__s.data(), __s.length()); } 43 hash<const string&>::operator()(const string& __s) const 44 { return _Fnv_hash::hash(__s.data(), __s.length()); } 49 hash<wstring>::operator()(wstring __s) const 50 { return _Fnv_hash::hash(__s.data(), __s.length() * sizeof(wchar_t)); } 54 hash<const wstring&>::operator()(const wstring& __s) const 55 { return _Fnv_hash::hash(__s.data(), __s.length() * sizeof(wchar_t)); [all...] |
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/ |
| hash_tr1.cc | 1 // std::tr1::hash definitions -*- C++ -*- 29 #include "hash-long-double-tr1-aux.cc" 38 hash<string>::operator()(string __s) const 39 { return _Fnv_hash::hash(__s.data(), __s.length()); } 43 hash<const string&>::operator()(const string& __s) const 44 { return _Fnv_hash::hash(__s.data(), __s.length()); } 49 hash<wstring>::operator()(wstring __s) const 50 { return _Fnv_hash::hash(__s.data(), __s.length() * sizeof(wchar_t)); } 54 hash<const wstring&>::operator()(const wstring& __s) const 55 { return _Fnv_hash::hash(__s.data(), __s.length() * sizeof(wchar_t)); [all...] |
| /src/external/gpl3/gdb/dist/gdb/dwarf2/ |
| index-common.c | 51 uint32_t hash = 5381; local 53 hash = hash * 33 + tolower (c); 54 return hash; 65 uint32_t hash = 5381; local 67 hash = hash * 33 + tolower (c & 0xff); 68 return hash;
|
| /src/external/gpl3/gdb.old/dist/gdb/dwarf2/ |
| index-common.c | 51 uint32_t hash = 5381; local 53 hash = hash * 33 + tolower (c); 54 return hash; 65 uint32_t hash = 5381; local 67 hash = hash * 33 + tolower (c & 0xff); 68 return hash;
|
| /src/tests/lib/libcrypt/ |
| t_crypt.c | 73 const char *hash; member in struct:__anon7875 143 for (size_t i = 0; tests[i].hash; i++) { 144 char *hash = crypt(tests[i].pw, tests[i].hash); local 145 if (!hash) { 149 if (strcmp(hash, "*0") == 0 && strlen(tests[i].hash) < 13) 151 if (strcmp(hash, tests[i].hash)) 153 i, hash, tests[i].hash) [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/hashtable/ |
| hashfunc.c | 15 uint64_t hash = 0xcbf29ce484222325ULL; local 19 hash ^= key[i]; 20 hash *= 0x00000100000001B3ULL; 22 return hash;
|
| /src/external/gpl3/gcc/dist/gcc/ |
| rtlhash.h | 1 /* Register Transfer Language (RTL) hash functions. 27 extern void add_rtx (const_rtx, hash &);
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| rtlhash.h | 1 /* Register Transfer Language (RTL) hash functions. 27 extern void add_rtx (const_rtx, hash &);
|
| /src/lib/libc/citrus/ |
| citrus_db_hash.c | 57 uint32_t hash = 0, tmp; local 61 hash <<= 4; 62 hash += _bcs_tolower(*p); 63 tmp = hash & 0xF0000000; 65 hash ^= tmp; 66 hash ^= tmp >> 24; 70 return hash;
|
| /src/external/mit/isl/dist/ |
| isl_multi_hash.c | 10 #include <isl/hash.h> 12 /* Return a hash value that digests "multi". 17 uint32_t hash; local 22 hash = isl_hash_init(); 26 isl_hash_hash(hash, el_hash); 29 return hash;
|
| isl_pw_hash.c | 10 #include <isl/hash.h> 12 /* Return a hash value that digests "pw". 17 uint32_t hash; local 22 hash = isl_hash_init(); 27 isl_hash_hash(hash, set_hash); 29 isl_hash_hash(hash, el_hash); 32 return hash;
|
| isl_gmp.c | 12 uint32_t isl_gmp_hash(mpz_t v, uint32_t hash) 20 isl_hash_byte(hash, 0xFF); 22 isl_hash_byte(hash, *data); 23 return hash;
|
| isl_hash_private.h | 4 #include <isl/hash.h>
|
| /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| digest.c | 102 /* initialise the hash structure */ 104 digest_init(digest_t *hash, const uint32_t hashalg) 106 if (hash == NULL) { 109 switch(hash->alg = hashalg) { 111 netpgpv_MD5Init(&hash->u.md5ctx); 112 hash->size = 16; 113 hash->prefix = prefix_md5; 114 hash->len = sizeof(prefix_md5); 115 hash->ctx = &hash->u.md5ctx [all...] |
| /src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/ |
| hash_bytes.cc | 25 // This file defines Hash_bytes, a primitive used for defining hash 30 // exactly the same interface but using a different hash algorithm, 31 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a). The Murmur hash 32 // function apears to be better in both speed and hash quality, and 72 // Implementation of Murmur hash for 32-bit size_t. 77 size_t hash = seed ^ len; local 80 // Mix 4 bytes at a time into the hash. 87 hash *= m; 88 hash ^= k [all...] |
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/ |
| hash_bytes.cc | 25 // This file defines Hash_bytes, a primitive used for defining hash 30 // exactly the same interface but using a different hash algorithm, 31 // Fowler / Noll / Vo (FNV) Hash (type FNV-1a). The Murmur hash 32 // function apears to be better in both speed and hash quality, and 72 // Implementation of Murmur hash for 32-bit size_t. 77 size_t hash = seed ^ len; local 80 // Mix 4 bytes at a time into the hash. 87 hash *= m; 88 hash ^= k [all...] |
| /src/crypto/external/bsd/netpgp/dist/src/libdigest/ |
| digest.c | 186 /* initialise the hash structure */ 188 digest_init(digest_t *hash, const uint32_t hashalg) 190 if (hash == NULL) { 193 switch(hash->alg = hashalg) { 195 MD5Init(&hash->u.md5ctx); 196 hash->size = 16; 197 hash->prefix = prefix_md5; 198 hash->len = sizeof(prefix_md5); 199 hash->ctx = &hash->u.md5ctx [all...] |
| /src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| hash.c | 35 * Routines for manipulating hash tables 44 #include "hash.h" 48 struct hash { struct 100 hash_t *hash; local 102 hash = xmalloc(sizeof (hash_t)); 103 hash->h_buckets = xcalloc(sizeof (list_t *) * nbuckets); 104 hash->h_nbuckets = nbuckets; 105 hash->h_hashfn = hashfn ? hashfn : hash_def_hash; 106 hash->h_cmp = cmp ? cmp : hash_def_cmp; 108 return (hash); 135 hash_t *hash = arg; local [all...] |
| /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
| cxx11-hash_tr1.cc | 1 // std::tr1::hash definitions with new string -*- C++ -*- 39 hash<string>::operator()(string __s) const 40 { return _Fnv_hash::hash(__s.data(), __s.length()); } 44 hash<const string&>::operator()(const string& __s) const 45 { return _Fnv_hash::hash(__s.data(), __s.length()); } 50 hash<wstring>::operator()(wstring __s) const 51 { return _Fnv_hash::hash(__s.data(), __s.length() * sizeof(wchar_t)); } 55 hash<const wstring&>::operator()(const wstring& __s) const 56 { return _Fnv_hash::hash(__s.data(), __s.length() * sizeof(wchar_t)); }
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
| cxx11-hash_tr1.cc | 1 // std::tr1::hash definitions with new string -*- C++ -*- 39 hash<string>::operator()(string __s) const 40 { return _Fnv_hash::hash(__s.data(), __s.length()); } 44 hash<const string&>::operator()(const string& __s) const 45 { return _Fnv_hash::hash(__s.data(), __s.length()); } 50 hash<wstring>::operator()(wstring __s) const 51 { return _Fnv_hash::hash(__s.data(), __s.length() * sizeof(wchar_t)); } 55 hash<const wstring&>::operator()(const wstring& __s) const 56 { return _Fnv_hash::hash(__s.data(), __s.length() * sizeof(wchar_t)); }
|
| /src/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
| extends_type_of.c | 32 GFC_INTEGER_4 hash; member in struct:vtype 61 if (v1->hash == v2->hash) return 1;
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/include/backward/ |
| hash_fun.h | 1 // 'struct hash' from SGI -*- C++ -*- 68 struct hash { }; struct 80 struct hash<char*> struct 88 struct hash<const char*> struct 96 struct hash<char> struct 104 struct hash<unsigned char> struct 112 struct hash<signed char> struct 120 struct hash<short> struct 128 struct hash<unsigned short> struct 136 struct hash<int struct 144 struct hash<unsigned int> struct 152 struct hash<long> struct 160 struct hash<unsigned long> struct [all...] |
| /src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
| extends_type_of.c | 32 GFC_INTEGER_4 hash; member in struct:vtype 61 if (v1->hash == v2->hash) return 1;
|