/third_party/rust/crates/syn/src/gen/ |
H A D | hash.rs | 7 use std::hash::{Hash, Hasher}; 11 fn hash<H>(&self, state: &mut H) in hash() functions 15 self.name.hash(state); in hash() 21 fn hash<H>(&self, state: &mut H) in hash() functions 25 self.colon2_token.hash(state); in hash() 26 self.args.hash(state); in hash() 32 fn hash<H>(&self, state: &mut H) in hash() functions 36 self.attrs.hash(state); in hash() 37 self.pat.hash(state); in hash() 38 self.guard.hash(stat in hash() 46 fn hash<H>(&self, state: &mut H) hash() functions 58 fn hash<H>(&self, state: &mut H) hash() functions 70 fn hash<H>(&self, state: &mut H) hash() functions 87 fn hash<H>(&self, state: &mut H) hash() functions 98 fn hash<H>(&self, state: &mut H) hash() functions 110 fn hash<H>(&self, state: &mut H) hash() functions 122 fn hash<H>(&self, state: &mut H) hash() functions 217 fn hash<H>(&self, state: &mut H) hash() functions 227 fn hash<H>(&self, state: &mut H) hash() functions 237 fn hash<H>(&self, state: &mut H) hash() functions 251 fn hash<H>(&self, state: &mut H) hash() functions 263 fn hash<H>(&self, state: &mut H) hash() functions 286 fn hash<H>(&self, state: &mut H) hash() functions 296 fn hash<H>(&self, state: &mut H) hash() functions 307 fn hash<H>(&self, state: &mut H) hash() functions 317 fn hash<H>(&self, state: &mut H) hash() functions 331 fn hash<H>(&self, state: &mut H) hash() functions 524 fn hash<H>(&self, state: &mut H) hash() functions 535 fn hash<H>(&self, state: &mut H) hash() functions 547 fn hash<H>(&self, state: &mut H) hash() functions 559 fn hash<H>(&self, state: &mut H) hash() functions 570 fn hash<H>(&self, state: &mut H) hash() functions 583 fn hash<H>(&self, state: &mut H) hash() functions 595 fn hash<H>(&self, state: &mut H) hash() functions 607 fn hash<H>(&self, state: &mut H) hash() functions 619 fn hash<H>(&self, state: &mut H) hash() functions 631 fn hash<H>(&self, state: &mut H) hash() functions 649 fn hash<H>(&self, state: &mut H) hash() functions 660 fn hash<H>(&self, state: &mut H) hash() functions 671 fn hash<H>(&self, state: &mut H) hash() functions 683 fn hash<H>(&self, state: &mut H) hash() functions 697 fn hash<H>(&self, state: &mut H) hash() functions 708 fn hash<H>(&self, state: &mut H) hash() functions 721 fn hash<H>(&self, state: &mut H) hash() functions 733 fn hash<H>(&self, state: &mut H) hash() functions 743 fn hash<H>(&self, state: &mut H) hash() functions 755 fn hash<H>(&self, state: &mut H) hash() functions 766 fn hash<H>(&self, state: &mut H) hash() functions 778 fn hash<H>(&self, state: &mut H) hash() functions 789 fn hash<H>(&self, state: &mut H) hash() functions 801 fn hash<H>(&self, state: &mut H) hash() functions 815 fn hash<H>(&self, state: &mut H) hash() functions 826 fn hash<H>(&self, state: &mut H) hash() functions 838 fn hash<H>(&self, state: &mut H) hash() functions 851 fn hash<H>(&self, state: &mut H) hash() functions 863 fn hash<H>(&self, state: &mut H) hash() functions 875 fn hash<H>(&self, state: &mut H) hash() functions 886 fn hash<H>(&self, state: &mut H) hash() functions 901 fn hash<H>(&self, state: &mut H) hash() functions 912 fn hash<H>(&self, state: &mut H) hash() functions 923 fn hash<H>(&self, state: &mut H) hash() functions 934 fn hash<H>(&self, state: &mut H) hash() functions 946 fn hash<H>(&self, state: &mut H) hash() functions 957 fn hash<H>(&self, state: &mut H) hash() functions 970 fn hash<H>(&self, state: &mut H) hash() functions 981 fn hash<H>(&self, state: &mut H) hash() functions 996 fn hash<H>(&self, state: &mut H) hash() functions 1010 fn hash<H>(&self, state: &mut H) hash() functions 1023 fn hash<H>(&self, state: &mut H) hash() functions 1036 fn hash<H>(&self, state: &mut H) hash() functions 1058 fn hash<H>(&self, state: &mut H) hash() functions 1068 fn hash<H>(&self, state: &mut H) hash() functions 1078 fn hash<H>(&self, state: &mut H) hash() functions 1090 fn hash<H>(&self, state: &mut H) hash() functions 1109 fn hash<H>(&self, state: &mut H) hash() functions 1140 fn hash<H>(&self, state: &mut H) hash() functions 1152 fn hash<H>(&self, state: &mut H) hash() functions 1164 fn hash<H>(&self, state: &mut H) hash() functions 1178 fn hash<H>(&self, state: &mut H) hash() functions 1191 fn hash<H>(&self, state: &mut H) hash() functions 1226 fn hash<H>(&self, state: &mut H) hash() functions 1249 fn hash<H>(&self, state: &mut H) hash() functions 1262 fn hash<H>(&self, state: &mut H) hash() functions 1293 fn hash<H>(&self, state: &mut H) hash() functions 1309 fn hash<H>(&self, state: &mut H) hash() functions 1323 fn hash<H>(&self, state: &mut H) hash() functions 1335 fn hash<H>(&self, state: &mut H) hash() functions 1350 fn hash<H>(&self, _state: &mut H) hash() functions 1360 fn hash<H>(&self, state: &mut H) hash() functions 1435 fn hash<H>(&self, state: &mut H) hash() functions 1450 fn hash<H>(&self, state: &mut H) hash() functions 1464 fn hash<H>(&self, state: &mut H) hash() functions 1477 fn hash<H>(&self, state: &mut H) hash() functions 1490 fn hash<H>(&self, state: &mut H) hash() functions 1503 fn hash<H>(&self, state: &mut H) hash() functions 1519 fn hash<H>(&self, state: &mut H) hash() functions 1532 fn hash<H>(&self, state: &mut H) hash() functions 1547 fn hash<H>(&self, state: &mut H) hash() functions 1562 fn hash<H>(&self, state: &mut H) hash() functions 1577 fn hash<H>(&self, state: &mut H) hash() functions 1596 fn hash<H>(&self, state: &mut H) hash() functions 1610 fn hash<H>(&self, state: &mut H) hash() functions 1624 fn hash<H>(&self, state: &mut H) hash() functions 1638 fn hash<H>(&self, state: &mut H) hash() functions 1651 fn hash<H>(&self, state: &mut H) hash() functions 1661 fn hash<H>(&self, state: &mut H) hash() functions 1673 fn hash<H>(&self, state: &mut H) hash() functions 1715 fn hash<H>(&self, state: &mut H) hash() functions 1725 fn hash<H>(&self, state: &mut H) hash() functions 1737 fn hash<H>(&self, state: &mut H) hash() functions 1748 fn hash<H>(&self, state: &mut H) hash() functions 1760 fn hash<H>(&self, state: &mut H) hash() functions 1780 fn hash<H>(&self, state: &mut H) hash() functions 1803 fn hash<H>(&self, state: &mut H) hash() functions 1815 fn hash<H>(&self, state: &mut H) hash() functions 1826 fn hash<H>(&self, state: &mut H) hash() functions 1837 fn hash<H>(&self, state: &mut H) hash() functions 1916 fn hash<H>(&self, state: &mut H) hash() functions 1930 fn hash<H>(&self, state: &mut H) hash() functions 1942 fn hash<H>(&self, state: &mut H) hash() functions 1953 fn hash<H>(&self, state: &mut H) hash() functions 1965 fn hash<H>(&self, state: &mut H) hash() functions 1975 fn hash<H>(&self, state: &mut H) hash() functions 1986 fn hash<H>(&self, state: &mut H) hash() functions 2000 fn hash<H>(&self, state: &mut H) hash() functions 2011 fn hash<H>(&self, state: &mut H) hash() functions 2024 fn hash<H>(&self, state: &mut H) hash() functions 2036 fn hash<H>(&self, state: &mut H) hash() functions 2046 fn hash<H>(&self, state: &mut H) hash() functions 2057 fn hash<H>(&self, state: &mut H) hash() functions 2079 fn hash<H>(&self, state: &mut H) hash() functions 2090 fn hash<H>(&self, state: &mut H) hash() functions 2101 fn hash<H>(&self, state: &mut H) hash() functions 2113 fn hash<H>(&self, state: &mut H) hash() functions 2125 fn hash<H>(&self, state: &mut H) hash() functions 2142 fn hash<H>(&self, state: &mut H) hash() functions 2156 fn hash<H>(&self, state: &mut H) hash() functions 2174 fn hash<H>(&self, state: &mut H) hash() functions 2192 fn hash<H>(&self, state: &mut H) hash() functions 2209 fn hash<H>(&self, state: &mut H) hash() functions 2237 fn hash<H>(&self, state: &mut H) hash() functions 2249 fn hash<H>(&self, state: &mut H) hash() functions 2262 fn hash<H>(&self, state: &mut H) hash() functions 2279 fn hash<H>(&self, state: &mut H) hash() functions 2310 fn hash<H>(&self, state: &mut H) hash() functions 2324 fn hash<H>(&self, state: &mut H) hash() functions 2337 fn hash<H>(&self, state: &mut H) hash() functions 2349 fn hash<H>(&self, state: &mut H) hash() functions 2364 fn hash<H>(&self, state: &mut H) hash() functions 2435 fn hash<H>(&self, state: &mut H) hash() functions 2446 fn hash<H>(&self, state: &mut H) hash() functions 2461 fn hash<H>(&self, state: &mut H) hash() functions 2471 fn hash<H>(&self, state: &mut H) hash() functions 2481 fn hash<H>(&self, _state: &mut H) hash() functions 2489 fn hash<H>(&self, state: &mut H) hash() functions 2499 fn hash<H>(&self, _state: &mut H) hash() functions 2507 fn hash<H>(&self, state: &mut H) hash() functions 2522 fn hash<H>(&self, state: &mut H) hash() functions 2545 fn hash<H>(&self, state: &mut H) hash() functions 2555 fn hash<H>(&self, state: &mut H) hash() functions 2566 fn hash<H>(&self, state: &mut H) hash() functions 2578 fn hash<H>(&self, state: &mut H) hash() functions 2590 fn hash<H>(&self, state: &mut H) hash() functions 2600 fn hash<H>(&self, state: &mut H) hash() functions 2611 fn hash<H>(&self, state: &mut H) hash() functions 2621 fn hash<H>(&self, state: &mut H) hash() functions 2641 fn hash<H>(&self, _state: &mut H) hash() functions 2649 fn hash<H>(&self, state: &mut H) hash() functions 2659 fn hash<H>(&self, state: &mut H) hash() functions 2669 fn hash<H>(&self, state: &mut H) hash() functions 2680 fn hash<H>(&self, state: &mut H) hash() functions 2691 fn hash<H>(&self, state: &mut H) hash() functions 2722 fn hash<H>(&self, state: &mut H) hash() functions 2734 fn hash<H>(&self, state: &mut H) hash() functions 2747 fn hash<H>(&self, state: &mut H) hash() functions 2758 fn hash<H>(&self, state: &mut H) hash() functions 2779 fn hash<H>(&self, state: &mut H) hash() functions 2789 fn hash<H>(&self, state: &mut H) hash() functions [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | chashtst.c | 34 static void _put(UHashtable* hash, 39 static void _get(UHashtable* hash, 43 static void _remove(UHashtable* hash, 109 UHashtable *hash; in TestBasic() local 111 hash = uhash_open(hashChars, isEqualChars, NULL, &status); in TestBasic() 114 u_errorName(status), hash); in TestBasic() 117 if (hash == NULL) { in TestBasic() 121 log_verbose("Ok: uhash_open returned 0x%08X\n", hash); in TestBasic() 123 _put(hash, one, 1, 0); in TestBasic() 124 _put(hash, omeg in TestBasic() 160 UHashtable *hash = uhash_open(hashChars, isEqualChars, NULL, &status); TestAllowZero() local 209 UHashtable *hash; TestOtherAPI() local 343 UHashtable *hash; hashIChars() local 391 _put(UHashtable* hash, const char* key, int32_t value, int32_t expectedOldValue) _put() argument 430 _get(UHashtable* hash, const char* key, int32_t expectedValue) _get() argument 443 _remove(UHashtable* hash, const char* key, int32_t expectedValue) _remove() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | uhash.cpp | 22 /* This hashtable is implemented as a double hash. All elements are 24 * resolution (no linked list, etc.). When there is a hash collision 26 * using a secondary hash. The secondary hash is an increment 27 * computed as a hash function (a different one) of the primary 28 * hashcode. This increment is added to the initial hash value to 29 * obtain further slots assigned to the same hash code. For this to 122 #define HASH_DELETE_KEY_VALUE(hash, keypointer, valuepointer) UPRV_BLOCK_MACRO_BEGIN { \ 123 if (hash->keyDeleter != NULL && keypointer != NULL) { \ 124 (*hash 146 _uhash_setElement(UHashtable *hash, UHashElement* e, int32_t hashcode, UHashTok key, UHashTok value, int8_t hint) _uhash_setElement() argument 186 _uhash_internalRemoveElement(UHashtable *hash, UHashElement* e) _uhash_internalRemoveElement() argument 195 _uhash_internalSetResizePolicy(UHashtable *hash, enum UHashResizePolicy policy) _uhash_internalSetResizePolicy() argument 213 _uhash_allocate(UHashtable *hash, int32_t primeIndex, UErrorCode *status) _uhash_allocate() argument 336 _uhash_find(const UHashtable *hash, UHashTok key, int32_t hashcode) _uhash_find() argument 397 _uhash_rehash(UHashtable *hash, UErrorCode *status) _uhash_rehash() argument 440 _uhash_remove(UHashtable *hash, UHashTok key) _uhash_remove() argument 465 _uhash_put(UHashtable *hash, UHashTok key, UHashTok value, int8_t hint, UErrorCode *status) _uhash_put() argument 593 uhash_close(UHashtable *hash) uhash_close() argument 614 uhash_setKeyHasher(UHashtable *hash, UHashFunction *fn) uhash_setKeyHasher() argument 621 uhash_setKeyComparator(UHashtable *hash, UKeyComparator *fn) uhash_setKeyComparator() argument 627 uhash_setValueComparator(UHashtable *hash, UValueComparator *fn) uhash_setValueComparator() argument 634 uhash_setKeyDeleter(UHashtable *hash, UObjectDeleter *fn) uhash_setKeyDeleter() argument 641 uhash_setValueDeleter(UHashtable *hash, UObjectDeleter *fn) uhash_setValueDeleter() argument 648 uhash_setResizePolicy(UHashtable *hash, enum UHashResizePolicy policy) uhash_setResizePolicy() argument 657 uhash_count(const UHashtable *hash) uhash_count() argument 662 uhash_get(const UHashtable *hash, const void* key) uhash_get() argument 670 uhash_iget(const UHashtable *hash, int32_t key) uhash_iget() argument 678 uhash_geti(const UHashtable *hash, const void* key) uhash_geti() argument 686 uhash_igeti(const UHashtable *hash, int32_t key) uhash_igeti() argument 694 uhash_getiAndFound(const UHashtable *hash, const void *key, UBool *found) uhash_getiAndFound() argument 705 uhash_igetiAndFound(const UHashtable *hash, int32_t key, UBool *found) uhash_igetiAndFound() argument 716 uhash_put(UHashtable *hash, void* key, void* value, UErrorCode *status) uhash_put() argument 729 uhash_iput(UHashtable *hash, int32_t key, void* value, UErrorCode *status) uhash_iput() argument 742 uhash_puti(UHashtable *hash, void* key, int32_t value, UErrorCode *status) uhash_puti() argument 756 uhash_iputi(UHashtable *hash, int32_t key, int32_t value, UErrorCode *status) uhash_iputi() argument 769 uhash_putiAllowZero(UHashtable *hash, void *key, int32_t value, UErrorCode *status) uhash_putiAllowZero() argument 783 uhash_iputiAllowZero(UHashtable *hash, int32_t key, int32_t value, UErrorCode *status) uhash_iputiAllowZero() argument 796 uhash_remove(UHashtable *hash, const void* key) uhash_remove() argument 804 uhash_iremove(UHashtable *hash, int32_t key) uhash_iremove() argument 812 uhash_removei(UHashtable *hash, const void* key) uhash_removei() argument 820 uhash_iremovei(UHashtable *hash, int32_t key) uhash_iremovei() argument 828 uhash_removeAll(UHashtable *hash) uhash_removeAll() argument 841 uhash_containsKey(const UHashtable *hash, const void *key) uhash_containsKey() argument 856 uhash_icontainsKey(const UHashtable *hash, int32_t key) uhash_icontainsKey() argument 864 uhash_find(const UHashtable *hash, const void* key) uhash_find() argument 873 uhash_nextElement(const UHashtable *hash, int32_t *pos) uhash_nextElement() argument 891 uhash_removeElement(UHashtable *hash, const UHashElement* e) uhash_removeElement() argument [all...] |
H A D | uhash.h | 34 * functions. These functions hash keys, compare keys, delete keys, 66 * UHashElement pointer. A hash element contains a key, value, and 101 * This is a single hash element. 114 * @return A NON-NEGATIVE hash code for parm. 152 UHashFunction *keyHasher; /* Computes hash from key. 235 uhash_init(UHashtable *hash, 253 uhash_initSize(UHashtable *hash, 262 * @param hash The UHashtable to close. If hash is NULL no operation is performed. 265 uhash_close(UHashtable *hash); [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | uhash.cpp | 22 /* This hashtable is implemented as a double hash. All elements are 24 * resolution (no linked list, etc.). When there is a hash collision 26 * using a secondary hash. The secondary hash is an increment 27 * computed as a hash function (a different one) of the primary 28 * hashcode. This increment is added to the initial hash value to 29 * obtain further slots assigned to the same hash code. For this to 122 #define HASH_DELETE_KEY_VALUE(hash, keypointer, valuepointer) UPRV_BLOCK_MACRO_BEGIN { \ 123 if (hash->keyDeleter != nullptr && keypointer != nullptr) { \ 124 (*hash 146 _uhash_setElement(UHashtable *hash, UHashElement* e, int32_t hashcode, UHashTok key, UHashTok value, int8_t hint) _uhash_setElement() argument 186 _uhash_internalRemoveElement(UHashtable *hash, UHashElement* e) _uhash_internalRemoveElement() argument 195 _uhash_internalSetResizePolicy(UHashtable *hash, enum UHashResizePolicy policy) _uhash_internalSetResizePolicy() argument 213 _uhash_allocate(UHashtable *hash, int32_t primeIndex, UErrorCode *status) _uhash_allocate() argument 336 _uhash_find(const UHashtable *hash, UHashTok key, int32_t hashcode) _uhash_find() argument 397 _uhash_rehash(UHashtable *hash, UErrorCode *status) _uhash_rehash() argument 440 _uhash_remove(UHashtable *hash, UHashTok key) _uhash_remove() argument 465 _uhash_put(UHashtable *hash, UHashTok key, UHashTok value, int8_t hint, UErrorCode *status) _uhash_put() argument 593 uhash_close(UHashtable *hash) uhash_close() argument 614 uhash_setKeyHasher(UHashtable *hash, UHashFunction *fn) uhash_setKeyHasher() argument 621 uhash_setKeyComparator(UHashtable *hash, UKeyComparator *fn) uhash_setKeyComparator() argument 627 uhash_setValueComparator(UHashtable *hash, UValueComparator *fn) uhash_setValueComparator() argument 634 uhash_setKeyDeleter(UHashtable *hash, UObjectDeleter *fn) uhash_setKeyDeleter() argument 641 uhash_setValueDeleter(UHashtable *hash, UObjectDeleter *fn) uhash_setValueDeleter() argument 648 uhash_setResizePolicy(UHashtable *hash, enum UHashResizePolicy policy) uhash_setResizePolicy() argument 657 uhash_count(const UHashtable *hash) uhash_count() argument 662 uhash_get(const UHashtable *hash, const void* key) uhash_get() argument 670 uhash_iget(const UHashtable *hash, int32_t key) uhash_iget() argument 678 uhash_geti(const UHashtable *hash, const void* key) uhash_geti() argument 686 uhash_igeti(const UHashtable *hash, int32_t key) uhash_igeti() argument 694 uhash_getiAndFound(const UHashtable *hash, const void *key, UBool *found) uhash_getiAndFound() argument 705 uhash_igetiAndFound(const UHashtable *hash, int32_t key, UBool *found) uhash_igetiAndFound() argument 716 uhash_put(UHashtable *hash, void* key, void* value, UErrorCode *status) uhash_put() argument 729 uhash_iput(UHashtable *hash, int32_t key, void* value, UErrorCode *status) uhash_iput() argument 742 uhash_puti(UHashtable *hash, void* key, int32_t value, UErrorCode *status) uhash_puti() argument 756 uhash_iputi(UHashtable *hash, int32_t key, int32_t value, UErrorCode *status) uhash_iputi() argument 769 uhash_putiAllowZero(UHashtable *hash, void *key, int32_t value, UErrorCode *status) uhash_putiAllowZero() argument 783 uhash_iputiAllowZero(UHashtable *hash, int32_t key, int32_t value, UErrorCode *status) uhash_iputiAllowZero() argument 796 uhash_remove(UHashtable *hash, const void* key) uhash_remove() argument 804 uhash_iremove(UHashtable *hash, int32_t key) uhash_iremove() argument 812 uhash_removei(UHashtable *hash, const void* key) uhash_removei() argument 820 uhash_iremovei(UHashtable *hash, int32_t key) uhash_iremovei() argument 828 uhash_removeAll(UHashtable *hash) uhash_removeAll() argument 841 uhash_containsKey(const UHashtable *hash, const void *key) uhash_containsKey() argument 856 uhash_icontainsKey(const UHashtable *hash, int32_t key) uhash_icontainsKey() argument 864 uhash_find(const UHashtable *hash, const void* key) uhash_find() argument 873 uhash_nextElement(const UHashtable *hash, int32_t *pos) uhash_nextElement() argument 891 uhash_removeElement(UHashtable *hash, const UHashElement* e) uhash_removeElement() argument [all...] |
H A D | uhash.h | 34 * functions. These functions hash keys, compare keys, delete keys, 66 * UHashElement pointer. A hash element contains a key, value, and 101 * This is a single hash element. 114 * @return A NON-NEGATIVE hash code for parm. 152 UHashFunction *keyHasher; /* Computes hash from key. 235 uhash_init(UHashtable *hash, 253 uhash_initSize(UHashtable *hash, 262 * @param hash The UHashtable to close. If hash is NULL no operation is performed. 265 uhash_close(UHashtable *hash); [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | uhash.cpp | 22 /* This hashtable is implemented as a double hash. All elements are 24 * resolution (no linked list, etc.). When there is a hash collision 26 * using a secondary hash. The secondary hash is an increment 27 * computed as a hash function (a different one) of the primary 28 * hashcode. This increment is added to the initial hash value to 29 * obtain further slots assigned to the same hash code. For this to 122 #define HASH_DELETE_KEY_VALUE(hash, keypointer, valuepointer) UPRV_BLOCK_MACRO_BEGIN { \ 123 if (hash->keyDeleter != NULL && keypointer != NULL) { \ 124 (*hash 146 _uhash_setElement(UHashtable *hash, UHashElement* e, int32_t hashcode, UHashTok key, UHashTok value, int8_t hint) _uhash_setElement() argument 186 _uhash_internalRemoveElement(UHashtable *hash, UHashElement* e) _uhash_internalRemoveElement() argument 195 _uhash_internalSetResizePolicy(UHashtable *hash, enum UHashResizePolicy policy) _uhash_internalSetResizePolicy() argument 213 _uhash_allocate(UHashtable *hash, int32_t primeIndex, UErrorCode *status) _uhash_allocate() argument 336 _uhash_find(const UHashtable *hash, UHashTok key, int32_t hashcode) _uhash_find() argument 397 _uhash_rehash(UHashtable *hash, UErrorCode *status) _uhash_rehash() argument 440 _uhash_remove(UHashtable *hash, UHashTok key) _uhash_remove() argument 465 _uhash_put(UHashtable *hash, UHashTok key, UHashTok value, int8_t hint, UErrorCode *status) _uhash_put() argument 593 uhash_close(UHashtable *hash) uhash_close() argument 614 uhash_setKeyHasher(UHashtable *hash, UHashFunction *fn) uhash_setKeyHasher() argument 621 uhash_setKeyComparator(UHashtable *hash, UKeyComparator *fn) uhash_setKeyComparator() argument 627 uhash_setValueComparator(UHashtable *hash, UValueComparator *fn) uhash_setValueComparator() argument 634 uhash_setKeyDeleter(UHashtable *hash, UObjectDeleter *fn) uhash_setKeyDeleter() argument 641 uhash_setValueDeleter(UHashtable *hash, UObjectDeleter *fn) uhash_setValueDeleter() argument 648 uhash_setResizePolicy(UHashtable *hash, enum UHashResizePolicy policy) uhash_setResizePolicy() argument 657 uhash_count(const UHashtable *hash) uhash_count() argument 662 uhash_get(const UHashtable *hash, const void* key) uhash_get() argument 670 uhash_iget(const UHashtable *hash, int32_t key) uhash_iget() argument 678 uhash_geti(const UHashtable *hash, const void* key) uhash_geti() argument 686 uhash_igeti(const UHashtable *hash, int32_t key) uhash_igeti() argument 694 uhash_getiAndFound(const UHashtable *hash, const void *key, UBool *found) uhash_getiAndFound() argument 705 uhash_igetiAndFound(const UHashtable *hash, int32_t key, UBool *found) uhash_igetiAndFound() argument 716 uhash_put(UHashtable *hash, void* key, void* value, UErrorCode *status) uhash_put() argument 729 uhash_iput(UHashtable *hash, int32_t key, void* value, UErrorCode *status) uhash_iput() argument 742 uhash_puti(UHashtable *hash, void* key, int32_t value, UErrorCode *status) uhash_puti() argument 756 uhash_iputi(UHashtable *hash, int32_t key, int32_t value, UErrorCode *status) uhash_iputi() argument 769 uhash_putiAllowZero(UHashtable *hash, void *key, int32_t value, UErrorCode *status) uhash_putiAllowZero() argument 783 uhash_iputiAllowZero(UHashtable *hash, int32_t key, int32_t value, UErrorCode *status) uhash_iputiAllowZero() argument 796 uhash_remove(UHashtable *hash, const void* key) uhash_remove() argument 804 uhash_iremove(UHashtable *hash, int32_t key) uhash_iremove() argument 812 uhash_removei(UHashtable *hash, const void* key) uhash_removei() argument 820 uhash_iremovei(UHashtable *hash, int32_t key) uhash_iremovei() argument 828 uhash_removeAll(UHashtable *hash) uhash_removeAll() argument 841 uhash_containsKey(const UHashtable *hash, const void *key) uhash_containsKey() argument 856 uhash_icontainsKey(const UHashtable *hash, int32_t key) uhash_icontainsKey() argument 864 uhash_find(const UHashtable *hash, const void* key) uhash_find() argument 873 uhash_nextElement(const UHashtable *hash, int32_t *pos) uhash_nextElement() argument 891 uhash_removeElement(UHashtable *hash, const UHashElement* e) uhash_removeElement() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/ |
H A D | cso_hash.c | 77 cso_hash_create_node(struct cso_hash *hash, in cso_hash_create_node() argument 91 ++hash->size; in cso_hash_create_node() 95 static void cso_data_rehash(struct cso_hash *hash, int hint) in cso_data_rehash() argument 101 hash->userNumBits = (short)hint; in cso_data_rehash() 102 while (primeForNumBits(hint) < (hash->size >> 1)) in cso_data_rehash() 108 if (hash->numBits != hint) { in cso_data_rehash() 109 struct cso_node *e = (struct cso_node *)hash; in cso_data_rehash() 110 struct cso_node **oldBuckets = hash->buckets; in cso_data_rehash() 111 int oldNumBuckets = hash->numBuckets; in cso_data_rehash() 114 hash in cso_data_rehash() 144 cso_data_might_grow(struct cso_hash *hash) cso_data_might_grow() argument 150 cso_data_has_shrunk(struct cso_hash *hash) cso_data_has_shrunk() argument 159 cso_data_first_node(struct cso_hash *hash) cso_data_first_node() argument 173 cso_hash_insert(struct cso_hash *hash, unsigned key, void *data) cso_hash_insert() argument 189 cso_hash_init(struct cso_hash *hash) cso_hash_init() argument 200 cso_hash_deinit(struct cso_hash *hash) cso_hash_deinit() argument 254 cso_hash_take(struct cso_hash *hash, unsigned akey) cso_hash_take() argument 270 cso_hash_first_node(struct cso_hash *hash) cso_hash_first_node() argument 276 cso_hash_size(struct cso_hash *hash) cso_hash_size() argument 281 cso_hash_erase(struct cso_hash *hash, struct cso_hash_iter iter) cso_hash_erase() argument 300 cso_hash_contains(struct cso_hash *hash, unsigned key) cso_hash_contains() argument [all...] |
H A D | cso_hash.h | 32 * This file provides a hash implementation that is capable of dealing 34 * functions operating on the hash return an iterator. The iterator 61 struct cso_hash *hash; member 75 void cso_hash_init(struct cso_hash *hash); 76 void cso_hash_deinit(struct cso_hash *hash); 79 int cso_hash_size(struct cso_hash *hash); 83 * Adds a data with the given key to the hash. If entry with the given 84 * key is already in the hash, this current entry is instered before it 86 * Function returns iterator pointing to the inserted item in the hash. 88 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, unsigne 141 cso_hash_find_node(struct cso_hash *hash, unsigned akey) cso_hash_find_node() argument 160 cso_hash_find(struct cso_hash *hash, unsigned key) cso_hash_find() argument [all...] |
/third_party/json/tests/src/ |
H A D | unit-hash.cpp | 17 TEST_CASE("hash<nlohmann::json>") 21 // std::hash may differ between compilers. 26 hashes.insert(std::hash<json> {}(json(nullptr))); 29 hashes.insert(std::hash<json> {}(json(true))); 30 hashes.insert(std::hash<json> {}(json(false))); 33 hashes.insert(std::hash<json> {}(json(""))); 34 hashes.insert(std::hash<json> {}(json("foo"))); 37 hashes.insert(std::hash<json> {}(json(0))); 38 hashes.insert(std::hash<json> {}(json(static_cast<unsigned>(0)))); 40 hashes.insert(std::hash<jso [all...] |
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | fthash.c | 56 /* Mocklisp hash function. */ in hash_str_lookup() 71 /* Mocklisp hash function. */ in hash_num_lookup() 106 FT_Hash hash ) in hash_bucket() 109 FT_Hashnode* bp = hash->table; in hash_bucket() 113 res = (hash->lookup)( &key ); in hash_bucket() 115 ndp = bp + ( res % hash->size ); in hash_bucket() 118 if ( (hash->compare)( &(*ndp)->key, &key ) ) in hash_bucket() 123 ndp = bp + ( hash->size - 1 ); in hash_bucket() 131 hash_rehash( FT_Hash hash, in hash_rehash() argument 134 FT_Hashnode* obp = hash in hash_rehash() 165 hash_init( FT_Hash hash, FT_Bool is_num, FT_Memory memory ) hash_init() argument 195 ft_hash_str_init( FT_Hash hash, FT_Memory memory ) ft_hash_str_init() argument 203 ft_hash_num_init( FT_Hash hash, FT_Memory memory ) ft_hash_num_init() argument 211 ft_hash_str_free( FT_Hash hash, FT_Memory memory ) ft_hash_str_free() argument 233 hash_insert( FT_Hashkey key, size_t data, FT_Hash hash, FT_Memory memory ) hash_insert() argument 271 ft_hash_str_insert( const char* key, size_t data, FT_Hash hash, FT_Memory memory ) ft_hash_str_insert() argument 286 ft_hash_num_insert( FT_Int num, size_t data, FT_Hash hash, FT_Memory memory ) ft_hash_num_insert() argument [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_instr_set.c | 86 #define HASH(hash, data) XXH32(&(data), sizeof(data), hash) 89 hash_src(uint32_t hash, const nir_src *src) in hash_src() argument 92 hash = HASH(hash, src->ssa); in hash_src() 93 return hash; in hash_src() 97 hash_alu_src(uint32_t hash, const nir_alu_src *src, unsigned num_components) in hash_alu_src() argument 99 hash = HASH(hash, src->abs); in hash_alu_src() 100 hash in hash_alu_src() 110 hash_alu(uint32_t hash, const nir_alu_instr *instr) hash_alu() argument 152 hash_deref(uint32_t hash, const nir_deref_instr *instr) hash_deref() argument 193 hash_load_const(uint32_t hash, const nir_load_const_instr *instr) hash_load_const() argument 219 hash_phi(uint32_t hash, const nir_phi_instr *instr) hash_phi() argument 242 hash_intrinsic(uint32_t hash, const nir_intrinsic_instr *instr) hash_intrinsic() argument 261 hash_tex(uint32_t hash, const nir_tex_instr *instr) hash_tex() argument 300 uint32_t hash = 0; hash_instr() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/rands/ |
H A D | drbg_hash.c | 73 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; in hash_df() local 74 EVP_MD_CTX *ctx = hash->ctx; in hash_df() 75 unsigned char *vtmp = hash->vtmp; in hash_df() 103 if (!(EVP_DigestInit_ex(ctx, ossl_prov_digest_md(&hash->digest), NULL) in hash_df() 110 if (outlen < hash->blocklen) { in hash_df() 114 OPENSSL_cleanse(vtmp, hash->blocklen); in hash_df() 120 outlen -= hash->blocklen; in hash_df() 125 out += hash->blocklen; in hash_df() 178 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; in add_hash_to_v() local 179 EVP_MD_CTX *ctx = hash in add_hash_to_v() 209 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; hash_gen() local 253 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_instantiate() local 292 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_reseed() local 327 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_generate() local 364 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_uninstantiate() local 380 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_verify_zeroization() local 390 PROV_DRBG_HASH *hash; drbg_hash_new() local 421 PROV_DRBG_HASH *hash; drbg_hash_free() local 434 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_get_ctx_params() local 462 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)ctx->data; drbg_hash_set_ctx_params() local [all...] |
/third_party/openssl/providers/implementations/rands/ |
H A D | drbg_hash.c | 73 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; in hash_df() local 74 EVP_MD_CTX *ctx = hash->ctx; in hash_df() 75 unsigned char *vtmp = hash->vtmp; in hash_df() 103 if (!(EVP_DigestInit_ex(ctx, ossl_prov_digest_md(&hash->digest), NULL) in hash_df() 110 if (outlen < hash->blocklen) { in hash_df() 114 OPENSSL_cleanse(vtmp, hash->blocklen); in hash_df() 120 outlen -= hash->blocklen; in hash_df() 125 out += hash->blocklen; in hash_df() 178 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; in add_hash_to_v() local 179 EVP_MD_CTX *ctx = hash in add_hash_to_v() 209 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; hash_gen() local 253 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_instantiate() local 292 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_reseed() local 327 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_generate() local 364 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_uninstantiate() local 380 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_verify_zeroization() local 390 PROV_DRBG_HASH *hash; drbg_hash_new() local 421 PROV_DRBG_HASH *hash; drbg_hash_free() local 434 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; drbg_hash_get_ctx_params() local 462 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)ctx->data; drbg_hash_set_ctx_params() local [all...] |
/third_party/vk-gl-cts/framework/delibs/depool/ |
H A D | dePoolHash.h | 23 * \brief Memory pool hash class. 45 * \brief Declare a template pool hash class interface. 46 * \param TYPENAME Type name of the declared hash. 50 * This macro declares the interface for a hash. For the implementation of 51 * the hash, see DE_IMPLEMENT_POOL_HASH. Usually this macro is put into the 56 * The functions for operating the hash are: 61 * int Hash_getNumElements (const Hash* hash); 62 * Value* Hash_find (Hash* hash, Key key); 63 * deBool Hash_insert (Hash* hash, Key key, Value value); 64 * void Hash_delete (Hash* hash, Ke [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | hash_function_defaults_test.cc | 47 hash_default_hash<int32_t> hash; in TEST() local 48 auto h = hash(1); in TEST() 49 EXPECT_EQ(h, hash(1u)); in TEST() 50 EXPECT_EQ(h, hash(char{1})); in TEST() 51 EXPECT_EQ(h, hash(true)); in TEST() 52 EXPECT_EQ(h, hash(double{1.1})); in TEST() 53 EXPECT_NE(h, hash(2u)); in TEST() 54 EXPECT_NE(h, hash(char{2})); in TEST() 55 EXPECT_NE(h, hash(false)); in TEST() 56 EXPECT_NE(h, hash( in TEST() 68 hash_default_hash<MyEnum> hash; TEST() local 104 auto hash = this->hasher; TYPED_TEST() local 189 auto hash = this->hasher; TYPED_TEST() local 225 hash_default_hash<absl::Cord> hash; TEST() local 247 hash_default_hash<absl::Cord> hash; TEST() local 254 hash_default_hash<absl::Cord> hash; TEST() local 264 hash_default_hash<absl::Cord> hash; TEST() local 310 hash_default_hash<typename T::first_type> hash; global() member 357 struct hash<Hashable<H>> { global() struct [all...] |
/third_party/rust/crates/libc/src/unix/haiku/ |
H A D | x86_64.rs | 96 impl ::hash::Hash for fpu_state { 97 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() functions 98 self.control.hash(state); in hash() 99 self.status.hash(state); in hash() 100 self.tag.hash(state); in hash() 101 self.opcode.hash(state); in hash() 102 self.rip.hash(state); in hash() 103 self.rdp.hash(state); in hash() 104 self.mxcsr.hash(stat in hash() 130 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { hash() functions 155 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { hash() functions 213 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { hash() functions 256 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { hash() functions [all...] |
/third_party/libabigail/src/ |
H A D | abg-hash.cc | 13 #include "abg-hash.h" 48 /// Compute a stable string hash. 50 /// std::hash has no portability or stability guarantees so is 60 /// @param str the string to hash. 62 /// @return an unsigned 32 bit hash value. 68 uint32_t hash = offset_basis; in fnv_hash() local 72 hash = hash ^ byte; in fnv_hash() 73 hash = hash * prim in fnv_hash() 125 struct decl_base::hash global() struct in abigail::decl_base 146 struct type_decl::hash global() struct in abigail::type_decl 191 struct scope_type_decl::hash global() struct in abigail::scope_type_decl 208 struct qualified_type_def::hash global() struct in abigail::qualified_type_def 225 struct pointer_type_def::hash global() struct in abigail::pointer_type_def 243 struct reference_type_def::hash global() struct in abigail::reference_type_def 264 struct array_type_def::subrange_type::hash global() struct in abigail::array_type_def::subrange_type 276 struct array_type_def::hash global() struct in abigail::array_type_def 303 struct enum_type_decl::hash global() struct in abigail::enum_type_decl 328 struct typedef_decl::hash global() struct in abigail::typedef_decl 462 struct method_type::hash global() struct in abigail::method_type 743 struct template_parameter::hash global() struct in abigail::template_parameter 805 struct type_tparameter::hash global() struct in abigail::type_tparameter 851 struct template_tparameter::hash global() struct in abigail::template_tparameter [all...] |
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/x86_64/ |
H A D | align.rs | 143 impl ::hash::Hash for mcontext_t { 144 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() functions 145 self.mc_onstack.hash(state); in hash() 146 self.mc_rdi.hash(state); in hash() 147 self.mc_rsi.hash(state); in hash() 148 self.mc_rdx.hash(state); in hash() 149 self.mc_rcx.hash(state); in hash() 150 self.mc_r8.hash(state); in hash() 151 self.mc_r9.hash(stat in hash() [all...] |
/third_party/skia/modules/skparagraph/src/ |
H A D | ParagraphCache.cpp | 54 explicit ParagraphCacheKey(uint32_t hash) : fHash(hash) {} in ParagraphCacheKey() argument 58 uint32_t hash() const { return fHash; } in hash() function in skia::textlayout::ParagraphCacheKey 63 static uint32_t mix(uint32_t hash, uint32_t data); 113 // criteria to apply the layout cache, should presumably hash it, same 114 // hash could be used to check if the entry has cached layout available 125 uint32_t ParagraphCacheKey::mix(uint32_t hash, uint32_t data) { in mix() argument 126 hash += data; in mix() 127 hash += (hash << 1 in mix() 133 uint32_t hash = 0; computeHash() local [all...] |
/third_party/skia/tests/ |
H A D | ChecksumTest.cpp | 24 REPORTER_ASSERT(r, SkOpts::hash(nullptr, 0) == 0); in DEF_TEST() 26 const uint32_t hash = SkOpts::hash(data, kBytes); in DEF_TEST() local 28 REPORTER_ASSERT(r, hash == SkOpts::hash(data, kBytes)); in DEF_TEST() 30 // Changing any single element should change the hash. in DEF_TEST() 34 const uint32_t tweakedHash = SkOpts::hash(tweaked, kBytes); in DEF_TEST() 35 REPORTER_ASSERT(r, tweakedHash != hash); in DEF_TEST() 36 REPORTER_ASSERT(r, tweakedHash == SkOpts::hash(tweaked, kBytes)); in DEF_TEST() 48 // We noticed a few workloads that would cause hash collision in DEF_TEST() [all...] |
/third_party/vk-gl-cts/framework/delibs/debase/ |
H A D | deSha1.c | 21 * \brief SHA1 hash functions. 50 stream->hash[0] = 0x67452301u; in deSha1Stream_init() 51 stream->hash[1] = 0xEFCDAB89u; in deSha1Stream_init() 52 stream->hash[2] = 0x98BADCFEu; in deSha1Stream_init() 53 stream->hash[3] = 0x10325476u; in deSha1Stream_init() 54 stream->hash[4] = 0xC3D2E1F0u; in deSha1Stream_init() 75 deUint32 a = stream->hash[0]; in deSha1Stream_flushChunk() 76 deUint32 b = stream->hash[1]; in deSha1Stream_flushChunk() 77 deUint32 c = stream->hash[2]; in deSha1Stream_flushChunk() 78 deUint32 d = stream->hash[ in deSha1Stream_flushChunk() 155 deSha1Stream_finalize(deSha1Stream* stream, deSha1* hash) deSha1Stream_finalize() argument 195 deSha1_compute(deSha1* hash, size_t size, const void* data) deSha1_compute() argument 204 deSha1_render(const deSha1* hash, char* buffer) deSha1_render() argument 220 deSha1_parse(deSha1* hash, const char* buffer) deSha1_parse() argument 278 const char* const hash; deSha1_selfTest() member 301 deSha1 hash; deSha1_selfTest() local 313 deSha1 hash; deSha1_selfTest() local 372 deSha1 hash; deSha1_selfTest() local [all...] |
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_opt_cse.c | 37 HASH(uint32_t hash, unsigned data) in HASH() argument 39 return XXH32(&data, sizeof(data), hash); in HASH() 43 hash_index(uint32_t hash, bi_index index) in hash_index() argument 45 hash = HASH(hash, index.value); in hash_index() 46 hash = HASH(hash, index.abs); in hash_index() 47 hash = HASH(hash, index.neg); in hash_index() 48 hash in hash_index() 60 uint32_t hash = 0; hash_instr() local [all...] |
/third_party/skia/include/private/ |
H A D | SkChecksum.h | 20 * uint32_t -> uint32_t hash, useful for when you're about to trucate this hash but you 25 static uint32_t Mix(uint32_t hash) { in Mix() argument 26 hash ^= hash >> 16; in Mix() 27 hash *= 0x85ebca6b; in Mix() 28 hash ^= hash >> 13; in Mix() 29 hash *= 0xc2b2ae35; in Mix() 30 hash in Mix() 40 CheapMix(uint32_t hash) CheapMix() argument [all...] |
/third_party/elfutils/libelf/ |
H A D | dl-hash.h | 1 /* Compute hash value for given string according to ELF standard. 31 unsigned long int hash = *name; in _dl_elf_hash() local 32 if (hash != 0 && name[1] != '\0') in _dl_elf_hash() 34 hash = (hash << 4) + name[1]; in _dl_elf_hash() 37 hash = (hash << 4) + name[2]; in _dl_elf_hash() 40 hash = (hash << 4) + name[3]; in _dl_elf_hash() 43 hash in _dl_elf_hash() [all...] |