Home
last modified time | relevance | path

Searched refs:PyObject_Hash (Results 1 – 25 of 60) sorted by relevance

123

/external/python/cpython2/Objects/
Dcodeobject.c631 h0 = PyObject_Hash(co->co_name); in code_hash()
633 h1 = PyObject_Hash(co->co_code); in code_hash()
635 h2 = PyObject_Hash(co->co_consts); in code_hash()
637 h3 = PyObject_Hash(co->co_names); in code_hash()
639 h4 = PyObject_Hash(co->co_varnames); in code_hash()
641 h5 = PyObject_Hash(co->co_freevars); in code_hash()
643 h6 = PyObject_Hash(co->co_cellvars); in code_hash()
Ddictobject.c719 hash = PyObject_Hash(key); in PyDict_GetItem()
769 hash = PyObject_Hash(key); in _PyDict_GetItemWithError()
841 hash = PyObject_Hash(key); in PyDict_SetItem()
844 hash = PyObject_Hash(key); in PyDict_SetItem()
881 hash = PyObject_Hash(key); in PyDict_DelItem()
913 hash = PyObject_Hash(key); in _PyDict_DelItemIf()
1248 hash = PyObject_Hash(key); in dict_subscript()
1999 hash = PyObject_Hash(key); in dict_contains()
2032 hash = PyObject_Hash(key); in dict_get()
2061 hash = PyObject_Hash(key); in dict_setdefault()
[all …]
Dsetobject.c384 hash = PyObject_Hash(key); in set_add_key()
431 hash = PyObject_Hash(key); in set_discard_key()
693 hash = PyObject_Hash(key); in set_contains_key()
1288 long hash = PyObject_Hash(key); in set_intersection()
1445 long hash = PyObject_Hash(key); in set_isdisjoint()
Dmethodobject.c267 x = PyObject_Hash(a->m_self); in meth_hash()
Dstructseq.c356 result = PyObject_Hash(tup); in structseq_hash()
/external/python/cpython3/Objects/
Dcodeobject.c908 h0 = PyObject_Hash(co->co_name); in code_hash()
910 h1 = PyObject_Hash(co->co_code); in code_hash()
912 h2 = PyObject_Hash(co->co_consts); in code_hash()
914 h3 = PyObject_Hash(co->co_names); in code_hash()
916 h4 = PyObject_Hash(co->co_varnames); in code_hash()
918 h5 = PyObject_Hash(co->co_freevars); in code_hash()
920 h6 = PyObject_Hash(co->co_cellvars); in code_hash()
Dinterpreteridobject.c168 Py_hash_t hash = PyObject_Hash(obj); in interpid_hash()
Ddictobject.c1395 hash = PyObject_Hash(key); in PyDict_GetItem()
1470 hash = PyObject_Hash(key); in PyDict_GetItemWithError()
1524 hash = PyObject_Hash(key); in _PyDict_LoadGlobal()
1564 hash = PyObject_Hash(key); in PyDict_SetItem()
1630 hash = PyObject_Hash(key); in PyDict_DelItem()
1691 hash = PyObject_Hash(key); in _PyDict_DelItemIf()
1908 hash = PyObject_Hash(key); in _PyDict_Pop()
2139 hash = PyObject_Hash(key); in dict_subscript()
2871 hash = PyObject_Hash(key); in dict___contains__()
2903 hash = PyObject_Hash(key); in dict_get_impl()
[all …]
Dgenericaliasobject.c371 Py_hash_t h0 = PyObject_Hash(alias->origin); in ga_hash()
375 Py_hash_t h1 = PyObject_Hash(alias->args); in ga_hash()
Dodictobject.c627 hash = PyObject_Hash(key); in _odict_find_node()
1140 Py_hash_t hash = PyObject_Hash(key); in _odict_popkey()
1671 Py_hash_t hash = PyObject_Hash(key); in PyODict_SetItem()
1681 Py_hash_t hash = PyObject_Hash(key); in PyODict_DelItem()
Dsetobject.c336 hash = PyObject_Hash(key); in set_add_key()
350 hash = PyObject_Hash(key); in set_contains_key()
364 hash = PyObject_Hash(key); in set_discard_key()
1232 hash = PyObject_Hash(key); in set_intersection()
1374 Py_hash_t hash = PyObject_Hash(key); in set_isdisjoint()
Dweakrefobject.c155 self->hash = PyObject_Hash(obj); in weakref_hash()
744 Py_hash_t res = PyObject_Hash(obj); in proxy_hash()
Dclassobject.c307 y = PyObject_Hash(a->im_func); in method_hash()
/external/python/cpython3/Modules/_sqlite/
Drow.c187 return PyObject_Hash(self->description) ^ PyObject_Hash(self->data); in pysqlite_row_hash()
/external/python/cpython2/Modules/_sqlite/
Drow.c193 return PyObject_Hash(self->description) ^ PyObject_Hash(self->data); in pysqlite_row_hash()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor_conversion.h44 return H::combine(std::move(h), PyObject_Hash(obj.ptr)); in AbslHashValue()
/external/python/cpython2/PC/os2vacpp/
Dpython.def317 PyObject_Hash
/external/python/cpython3/Include/
Dobject.h259 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
/external/python/cpython3/Modules/
D_randommodule.c297 Py_hash_t hash = PyObject_Hash(arg); in random_seed()
D_tracemalloc.c212 return PyObject_Hash(obj); in hashtable_hash_pyobject()
373 y = (Py_uhash_t)PyObject_Hash(frame->filename); in traceback_hash()
D_functoolsmodule.c879 hash = PyObject_Hash(key); in infinite_lru_cache_wrapper()
980 hash = PyObject_Hash(key); in bounded_lru_cache_wrapper()
/external/python/cpython2/Modules/
D_randommodule.c243 long hash = PyObject_Hash(arg); in random_seed()
/external/python/cpython3/Doc/c-api/
Dset.rst18 :c:func:`PyObject_RichCompareBool`, :c:func:`PyObject_Hash`,
/external/python/cpython2/Doc/c-api/
Dset.rst20 :c:func:`PyObject_RichCompareBool`, :c:func:`PyObject_Hash`,
/external/python/cpython2/Include/
Dobject.h483 PyAPI_FUNC(long) PyObject_Hash(PyObject *);

123