Home
last modified time | relevance | path

Searched refs:Py_hash_t (Results 1 - 25 of 60) sorted by relevance

123

/third_party/python/Include/
H A Dpyhash.h10 PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
11 PyAPI_FUNC(Py_hash_t) _Py_HashPointer(const void*);
13 PyAPI_FUNC(Py_hash_t) _Py_HashPointerRaw(const void*);
14 PyAPI_FUNC(Py_hash_t) _Py_HashBytes(const void*, Py_ssize_t);
39 * pppppppp ssssssss ........ fnv -- two Py_hash_t
41 * ........ ........ ssssssss djbx33a -- 16 bytes padding + one Py_hash_t
46 * ppppssss ........ ........ fnv -- two Py_hash_t
48 * ........ ........ ssss.... djbx33a -- 16 bytes padding + one Py_hash_t
58 /* two Py_hash_t for FNV */
60 Py_hash_t prefi
[all...]
H A Ddatetime.h37 Py_hash_t hashcode; /* -1 when unknown */
54 Py_hash_t hashcode; \
H A Dmemoryobject.h60 Py_hash_t hash; /* hash value for read-only views */
H A Dobject.h219 typedef Py_hash_t (*hashfunc)(PyObject *);
301 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
302 PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
H A Dpyport.h143 /* Py_hash_t is the same size as a pointer. */
145 typedef Py_ssize_t Py_hash_t; typedef
/third_party/python/Python/
H A Dpyhash.c89 Py_hash_t _Py_HashPointer(const void *);
91 Py_hash_t
134 return (Py_hash_t)x; in _Py_HashDouble()
137 Py_hash_t
144 return (Py_hash_t)y; in _Py_HashPointerRaw()
147 Py_hash_t
150 Py_hash_t x = _Py_HashPointerRaw(p); in _Py_HashPointer()
157 Py_hash_t
160 Py_hash_t x; in _Py_HashBytes()
194 x = (Py_hash_t)has in _Py_HashBytes()
[all...]
H A Dcontext.c786 static Py_hash_t
805 Py_hash_t name_hash = PyObject_Hash(name); in contextvar_generate_hash()
810 Py_hash_t res = _Py_HashPointer(addr) ^ name_hash; in contextvar_generate_hash()
902 static Py_hash_t
/third_party/python/Include/cpython/
H A Ddictobject.h32 Py_hash_t hash);
40 PyObject *item, Py_hash_t hash);
42 Py_hash_t hash);
46 PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, Py_hash_t *hash);
50 PyAPI_FUNC(int) _PyDict_Contains_KnownHash(PyObject *, PyObject *, Py_hash_t);
H A Dsetobject.h22 Py_hash_t hash; /* Cached hash code of the key */
54 Py_hash_t hash; /* Only used by frozenset objects */
66 PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, Py_hash_t *hash);
H A Dweakrefobject.h23 Py_hash_t hash;
H A Dbytesobject.h7 Py_DEPRECATED(3.11) Py_hash_t ob_shash;
/third_party/python/Modules/_ssl/
H A Dcert.c178 static Py_hash_t
181 if (self->hash == (Py_hash_t)-1) { in certificate_hash()
184 if ((Py_hash_t)hash == (Py_hash_t)-1) { in certificate_hash()
187 self->hash = (Py_hash_t)hash; in certificate_hash()
/third_party/python/Include/internal/
H A Dpycore_dict.h41 Py_hash_t me_hash;
63 extern Py_ssize_t _Py_dict_lookup(PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value_addr);
73 extern PyObject *_PyDict_Pop_KnownHash(PyObject *, PyObject *, Py_hash_t, PyObject *);
H A Dpycore_context.h54 Py_hash_t var_hash;
/third_party/python/Objects/
H A Dodictobject.c507 Py_hash_t hash;
530 _odict_get_index_raw(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index_raw()
586 _odict_get_index(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index()
606 _odict_find_node_hash(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_find_node_hash()
623 Py_hash_t hash; in _odict_find_node()
665 _odict_add_new_node(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_add_new_node()
744 Py_hash_t hash) in _odict_clear_node()
1039 Py_hash_t hash) in _odict_popkey_hash()
1087 Py_hash_t hash = PyObject_Hash(key); in OrderedDict_pop_impl()
1180 Py_hash_t);
[all...]
H A Ddictobject.c285 static inline Py_hash_t
548 Py_hash_t hash = unicode_get_hash(key); in _PyDict_CheckConsistency()
562 Py_hash_t hash = unicode_get_hash(key); in _PyDict_CheckConsistency()
846 lookdict_index(PyDictKeysObject *k, Py_hash_t hash, Py_ssize_t index) in lookdict_index()
868 unicodekeys_lookup_generic(PyDictObject *mp, PyDictKeysObject* dk, PyObject *key, Py_hash_t hash) in unicodekeys_lookup_generic()
914 unicodekeys_lookup_unicode(PyDictKeysObject* dk, PyObject *key, Py_hash_t hash) in unicodekeys_lookup_unicode()
958 dictkeys_generic_lookup(PyDictObject *mp, PyDictKeysObject* dk, PyObject *key, Py_hash_t hash) in dictkeys_generic_lookup()
1014 Py_hash_t hash = unicode_get_hash(key); in _PyDictKeys_StringLookup()
1041 _Py_dict_lookup(PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value_addr) in _Py_dict_lookup()
1165 find_empty_slot(PyDictKeysObject *keys, Py_hash_t has
[all...]
H A Dsetobject.c56 set_lookkey(PySetObject *so, PyObject *key, Py_hash_t hash) in set_lookkey()
103 set_add_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_add_entry()
197 set_insert_clean(setentry *table, size_t mask, PyObject *key, Py_hash_t hash) in set_insert_clean()
311 set_contains_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_contains_entry()
325 set_discard_entry(PySetObject *so, PyObject *key, Py_hash_t hash) in set_discard_entry()
346 Py_hash_t hash; in set_add_key()
360 Py_hash_t hash; in set_contains_key()
374 Py_hash_t hash; in set_discard_key()
685 static Py_hash_t
891 Py_hash_t has in set_update_internal()
[all...]
H A Dunionobject.c38 static Py_hash_t
44 return (Py_hash_t)-1; in union_hash()
46 Py_hash_t hash = PyObject_Hash(args); in union_hash()
H A Dinterpreteridobject.c166 static Py_hash_t
174 Py_hash_t hash = PyObject_Hash(obj); in interpid_hash()
H A Dmethodobject.c321 static Py_hash_t
324 Py_hash_t x, y; in meth_hash()
H A Dclassobject.c302 static Py_hash_t
305 Py_hash_t x, y; in method_hash()
H A Dgenericaliasobject.c546 static Py_hash_t
551 Py_hash_t h0 = PyObject_Hash(alias->origin); in ga_hash()
555 Py_hash_t h1 = PyObject_Hash(alias->args); in ga_hash()
H A Dcodeobject.c1759 static Py_hash_t
1762 Py_hash_t h, h0, h1, h2, h3; in code_hash()
1771 Py_hash_t h4 = PyObject_Hash(co->co_linetable); in code_hash()
1775 Py_hash_t h5 = PyObject_Hash(co->co_exceptiontable); in code_hash()
2155 Py_hash_t hash; in _PyCode_ConstantKey()
/third_party/python/Modules/
H A D_ssl.h70 Py_hash_t hash;
/third_party/python/Modules/_sqlite/
H A Drow.c212 static Py_hash_t pysqlite_row_hash(pysqlite_Row *self) in pysqlite_row_hash()

Completed in 23 milliseconds

123