Searched refs:Py_uhash_t (Results 1 – 10 of 10) sorted by relevance
90 Py_uhash_t x, y; in _Py_HashDouble()114 y = (Py_uhash_t)m; /* pull out integer part */ in _Py_HashDouble()126 if (x == (Py_uhash_t)-1) in _Py_HashDouble()127 x = (Py_uhash_t)-2; in _Py_HashDouble()164 Py_uhash_t hash; in _Py_HashBytes()181 hash ^= (Py_uhash_t) _Py_HashSecret.djbx33a.suffix; in _Py_HashBytes()245 Py_uhash_t x; in fnv()248 Py_uhash_t value; in fnv()263 x = (Py_uhash_t) _Py_HashSecret.fnv.prefix; in fnv()264 x ^= (Py_uhash_t) *p << 7; in fnv()[all …]
100 Py_uhash_t hash;226 static Py_uhash_t252 static Py_uhash_t256 Py_uhash_t hash; in hashtable_hash_pointer_t()260 hash = (Py_uhash_t)_Py_HashPointer((void*)ptr.ptr); in hashtable_hash_pointer_t()307 static Py_uhash_t419 static Py_uhash_t423 Py_uhash_t x, y; /* Unsigned for defined overflow behavior. */ in traceback_hash()425 Py_uhash_t mult = _PyHASH_MULTIPLIER; in traceback_hash()431 y = (Py_uhash_t)PyObject_Hash(frame->filename); in traceback_hash()[all …]
27 Py_uhash_t key_hash;75 typedef Py_uhash_t (*_Py_hashtable_hash_func) (struct _Py_hashtable_t *ht,105 PyAPI_FUNC(Py_uhash_t) _Py_hashtable_hash_ptr(
107 Py_uhash_t113 return (Py_uhash_t)_Py_HashPointer(key); in _Py_hashtable_hash_ptr()256 Py_uhash_t key_hash; in _Py_hashtable_get_entry()278 Py_uhash_t key_hash; in _Py_hashtable_pop_entry()315 Py_uhash_t key_hash; in _Py_hashtable_set()
411 Py_uhash_t hashreal, hashimag, combined; in complex_hash()412 hashreal = (Py_uhash_t)_Py_HashDouble(v->cval.real); in complex_hash()413 if (hashreal == (Py_uhash_t)-1) in complex_hash()415 hashimag = (Py_uhash_t)_Py_HashDouble(v->cval.imag); in complex_hash()416 if (hashimag == (Py_uhash_t)-1) in complex_hash()425 if (combined == (Py_uhash_t)-1) in complex_hash()426 combined = (Py_uhash_t)-2; in complex_hash()
350 Py_uhash_t x; /* Unsigned for defined overflow behavior. */ in tuplehash()354 Py_uhash_t mult = _PyHASH_MULTIPLIER; in tuplehash()366 if (x == (Py_uhash_t)-1) in tuplehash()
746 static Py_uhash_t747 _shuffle_bits(Py_uhash_t h) in _shuffle_bits()762 Py_uhash_t hash = 0; in frozenset_hash()790 hash ^= ((Py_uhash_t)PySet_GET_SIZE(self) + 1) * 1927868237UL; in frozenset_hash()797 if (hash == (Py_uhash_t)-1) in frozenset_hash()
2937 Py_uhash_t x; in long_hash()2986 if (x == (Py_uhash_t)-1) in long_hash()2987 x = (Py_uhash_t)-2; in long_hash()
11641 Py_uhash_t x; /* Unsigned for defined overflow behavior. */ in unicode_hash()
96 typedef size_t Py_uhash_t; typedef