/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.c | 26 void eap_pwd_h_update(struct crypto_hash *hash, const u8 *data, size_t len) 28 crypto_hash_update(hash, data, len); 32 void eap_pwd_h_final(struct crypto_hash *hash, u8 *digest) 35 crypto_hash_finish(hash, digest, &len); 43 struct crypto_hash *hash; local 54 hash = crypto_hash_init(CRYPTO_HASH_ALG_HMAC_SHA256, 56 if (hash == NULL) 59 crypto_hash_update(hash, digest, SHA256_MAC_LEN); 60 crypto_hash_update(hash, (u8 *) &i, sizeof(u16)); 61 crypto_hash_update(hash, label, labellen) 95 struct crypto_hash *hash; local 312 struct crypto_hash *hash; local [all...] |
/external/icu/icu4c/source/common/ |
uhash.h | 32 * functions. These functions hash keys, compare keys, delete keys, 57 * UHashElement pointer. A hash element contains a key, value, and 92 * This is a single hash element. 105 * @return A NON-NEGATIVE hash code for parm. 143 UHashFunction *keyHasher; /* Computes hash from key. 203 * @param size The initial capacity of this hash table. 226 uhash_init(UHashtable *hash, 234 * @param hash The UHashtable to close. If hash is NULL no operation is performed. 237 uhash_close(UHashtable *hash); [all...] |
/external/apache-http/src/org/apache/http/auth/ |
BasicUserPrincipal.java | 67 int hash = LangUtils.HASH_SEED; local 68 hash = LangUtils.hashCode(hash, this.username); 69 return hash;
|
NTUserPrincipal.java | 93 int hash = LangUtils.HASH_SEED; local 94 hash = LangUtils.hashCode(hash, this.username); 95 hash = LangUtils.hashCode(hash, this.domain); 96 return hash;
|
/external/e2fsprogs/lib/e2p/ |
hashstr.c | 20 struct hash { struct 25 static struct hash hash_list[] = { 34 struct hash *p; 46 * Returns the hash algorithm, or -1 on error 50 struct hash *p;
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
CaseInsensitiveString.java | 22 private int hash = 0; field in class:CaseInsensitiveString 79 if (hash == 0) { 80 hash = folded.hashCode(); 83 return hash;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CaseInsensitiveString.java | 21 private int hash = 0; field in class:CaseInsensitiveString 82 if (hash == 0) { 83 hash = folded.hashCode(); 86 return hash;
|
/external/libchrome/base/ |
hash.h | 14 // Deprecated: just use std::hash directly 16 // Computes a hash of a string |str|. 17 // WARNING: This hash function should not be used for any cryptographic purpose. 18 inline uint32_t Hash(const std::string& str) { 19 std::hash<std::string> hash_fn;
|
/external/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/ |
hash.pass.cpp | 14 // long hash(const charT* low, const charT* high) const; 29 assert(f.hash(x1.data(), x1.data() + x1.size()) 30 != f.hash(x2.data(), x2.data() + x2.size())); 36 assert(f.hash(x1.data(), x1.data() + x1.size()) 37 != f.hash(x2.data(), x2.data() + x2.size()));
|
/external/libcxx/test/std/localization/locale.categories/category.collate/locale.collate.byname/ |
hash.pass.cpp | 14 // long hash(const charT* low, const charT* high) const; 31 assert(f.hash(x1.data(), x1.data() + x1.size()) 32 != f.hash(x2.data(), x2.data() + x2.size())); 38 assert(f.hash(x1.data(), x1.data() + x1.size()) 39 != f.hash(x2.data(), x2.data() + x2.size()));
|
/frameworks/base/core/java/android/content/res/ |
ResourcesKey.java | 65 int hash = 17; local 66 hash = 31 * hash + Objects.hashCode(mResDir); 67 hash = 31 * hash + Arrays.hashCode(mSplitResDirs); 68 hash = 31 * hash + Arrays.hashCode(mOverlayDirs); 69 hash = 31 * hash + Arrays.hashCode(mLibDirs); 70 hash = 31 * hash + mDisplayId [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/ |
hash.pass.cpp | 14 // long hash(const charT* low, const charT* high) const; 29 assert(f.hash(x1.data(), x1.data() + x1.size()) 30 != f.hash(x2.data(), x2.data() + x2.size())); 36 assert(f.hash(x1.data(), x1.data() + x1.size()) 37 != f.hash(x2.data(), x2.data() + x2.size()));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/ |
hash.pass.cpp | 14 // long hash(const charT* low, const charT* high) const; 31 assert(f.hash(x1.data(), x1.data() + x1.size()) 32 != f.hash(x2.data(), x2.data() + x2.size())); 38 assert(f.hash(x1.data(), x1.data() + x1.size()) 39 != f.hash(x2.data(), x2.data() + x2.size()));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/type.index/type.index.hash/ |
hash.pass.cpp | 15 // struct hash<type_index> 27 assert(std::hash<std::type_index>()(t1) == t1.hash_code());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/type.index/type.index.synopsis/ |
hash_type_index.pass.cpp | 12 // struct hash<type_index> 24 std::hash<std::type_index> >::value), "");
|
/device/google/contexthub/lib/include/nanohub/ |
nanoapp.h | 27 void printHash(FILE *out, const char *pfx, const uint32_t *hash, size_t size); 28 void printHashRev(FILE *out, const char *pfx, const uint32_t *hash, size_t size);
|
/external/libchrome/base/metrics/ |
metrics_hashes_unittest.cc | 29 uint64_t hash = HashMetricName(cases[i].input); local 30 std::string hash_hex = base::StringPrintf("0x%016" PRIx64, hash);
|
/external/libcxx/test/std/utilities/type.index/type.index.hash/ |
hash.pass.cpp | 15 // struct hash<type_index> 26 typedef std::hash<std::type_index> H; 31 assert(std::hash<std::type_index>()(t1) == t1.hash_code());
|
/external/libnl/lib/route/ |
pktloc.c | 50 unsigned long hash = 5381; local 54 hash = ((hash << 5) + hash) + c; /* hash * 33 + c */ 56 return hash % PKTLOC_NAME_HT_SIZ; 144 int hash, err; local 149 hash = pktloc_hash(name); 150 nl_list_for_each_entry(loc, &pktloc_name_ht[hash], list) {
|
/frameworks/base/libs/hwui/utils/ |
Macros.h | 28 hash_t hash() const; \ 30 friend inline hash_t hash_type(const Type& entry) { return entry.hash(); }
|
/frameworks/compile/mclinker/include/mcld/LD/ |
ObjectReader.h | 27 typedef HashTable<ResolveInfo, hash::StringHash<hash::DJB> >
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/unord.hash/ |
pointer.pass.cpp | 13 // struct hash 31 std::hash<T> >::value), ""); 32 std::hash<T> h;
|
/external/apache-http/src/org/apache/http/message/ |
BasicNameValuePair.java | 184 int hash = LangUtils.HASH_SEED; local 185 hash = LangUtils.hashCode(hash, this.name); 186 hash = LangUtils.hashCode(hash, this.value); 187 return hash;
|
/external/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/ |
size_hash.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<NotConstructible> >, 36 test_hash<std::hash<NotConstructible> >(8) 39 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 51 test_hash<std::hash<NotConstructible> >, 56 test_hash<std::hash<NotConstructible> >(8) 59 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|
/external/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/ |
size_hash.pass.cpp | 12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>, 31 test_hash<std::hash<NotConstructible> >, 36 test_hash<std::hash<NotConstructible> >(8) 39 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8)); 51 test_hash<std::hash<NotConstructible> >, 56 test_hash<std::hash<NotConstructible> >(8) 59 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
|