/third_party/python/Include/ |
D | pyhash.h | 10 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); 60 Py_hash_t prefix; 61 Py_hash_t suffix; 71 Py_hash_t suffix; 75 Py_hash_t hashsalt; 87 Py_hash_t (*const hash)(const void *, Py_ssize_t);
|
D | setobject.h | 28 Py_hash_t hash; /* Cached hash code of the key */ 60 Py_hash_t hash; /* Only used by frozenset objects */ 71 PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, Py_hash_t *hash);
|
D | object.h | 207 typedef Py_hash_t (*hashfunc)(PyObject *); 283 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *); 284 PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
|
D | datetime.h | 37 Py_hash_t hashcode; /* -1 when unknown */ 54 Py_hash_t hashcode; \
|
D | memoryobject.h | 60 Py_hash_t hash; /* hash value for read-only views */
|
D | weakrefobject.h | 31 Py_hash_t hash;
|
/third_party/python/Python/ |
D | pyhash.c | 89 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)hash; in _Py_HashBytes() [all …]
|
D | context.c | 778 static Py_hash_t 797 Py_hash_t name_hash = PyObject_Hash(name); in contextvar_generate_hash() 802 Py_hash_t res = _Py_HashPointer(addr) ^ name_hash; in contextvar_generate_hash() 894 static Py_hash_t
|
/third_party/python/Include/cpython/ |
D | dictobject.h | 31 Py_hash_t hash); 38 PyObject *item, Py_hash_t hash); 40 Py_hash_t hash); 45 PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, Py_hash_t *hash); 49 PyAPI_FUNC(int) _PyDict_Contains_KnownHash(PyObject *, PyObject *, Py_hash_t); 57 PyObject *_PyDict_Pop_KnownHash(PyObject *, PyObject *, Py_hash_t, PyObject *);
|
D | bytesobject.h | 7 Py_hash_t ob_shash;
|
/third_party/python/Modules/_ssl/ |
D | cert.c | 178 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/Objects/ |
D | dict-common.h | 6 Py_hash_t me_hash; 15 (PyDictObject *mp, PyObject *key, Py_hash_t hash, PyObject **value_addr);
|
D | dictobject.c | 231 Py_hash_t hash, PyObject **value_addr); 233 Py_hash_t hash, PyObject **value_addr); 236 Py_hash_t hash, PyObject **value_addr); 238 Py_hash_t hash, PyObject **value_addr); 534 Py_hash_t hash = ((PyASCIIObject *)key)->hash; in _PyDict_CheckConsistency() 750 lookdict_index(PyDictKeysObject *k, Py_hash_t hash, Py_ssize_t index) in lookdict_index() 796 Py_hash_t hash, PyObject **value_addr) in lookdict() 852 Py_hash_t hash, PyObject **value_addr) in lookdict_unicode() 894 Py_hash_t hash, PyObject **value_addr) in lookdict_unicode_nodummy() 938 Py_hash_t hash, PyObject **value_addr) in lookdict_split() [all …]
|
D | odictobject.c | 507 Py_hash_t hash; 532 _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() 1074 Py_hash_t hash) in _odict_popkey_hash() 1138 Py_hash_t hash = PyObject_Hash(key); in _odict_popkey() 1232 Py_hash_t); [all …]
|
D | setobject.c | 56 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 892 Py_hash_t hash; in set_update_internal() [all …]
|
D | interpreteridobject.c | 166 static Py_hash_t 174 Py_hash_t hash = PyObject_Hash(obj); in interpid_hash()
|
D | unionobject.c | 38 static Py_hash_t 44 return (Py_hash_t)-1; in union_hash() 46 Py_hash_t hash = PyObject_Hash(args); in union_hash()
|
D | genericaliasobject.c | 379 static Py_hash_t 384 Py_hash_t h0 = PyObject_Hash(alias->origin); in ga_hash() 388 Py_hash_t h1 = PyObject_Hash(alias->args); in ga_hash()
|
D | classobject.c | 302 static Py_hash_t 305 Py_hash_t x, y; in method_hash()
|
D | methodobject.c | 324 static Py_hash_t 327 Py_hash_t x, y; in meth_hash()
|
D | codeobject.c | 868 Py_hash_t hash; in _PyCode_ConstantKey() 989 static Py_hash_t 992 Py_hash_t h, h0, h1, h2, h3, h4, h5, h6; in code_hash()
|
/third_party/python/Include/internal/ |
D | pycore_context.h | 26 Py_hash_t var_hash;
|
/third_party/python/Modules/ |
D | _ssl.h | 65 Py_hash_t hash;
|
/third_party/python/Modules/_sqlite/ |
D | row.c | 209 static Py_hash_t pysqlite_row_hash(pysqlite_Row *self) in pysqlite_row_hash()
|
/third_party/python/Doc/c-api/ |
D | object.rst | 251 .. c:function:: Py_hash_t PyObject_Hash(PyObject *o) 259 The return type is now Py_hash_t. This is a signed integer the same size 263 .. c:function:: Py_hash_t PyObject_HashNotImplemented(PyObject *o)
|