Home
last modified time | relevance | path

Searched refs:PyObject_Hash (Results 1 – 25 of 56) 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()
Dclassobject.c2479 x = PyObject_Hash(Py_None); in instancemethod_hash()
2481 x = PyObject_Hash(a->im_self); in instancemethod_hash()
2484 y = PyObject_Hash(a->im_func); in instancemethod_hash()
Dweakrefobject.c152 self->hash = PyObject_Hash(PyWeakref_GET_OBJECT(self)); in weakref_hash()
/external/python/cpython3/Objects/
Dcodeobject.c699 h0 = PyObject_Hash(co->co_name); in code_hash()
701 h1 = PyObject_Hash(co->co_code); in code_hash()
703 h2 = PyObject_Hash(co->co_consts); in code_hash()
705 h3 = PyObject_Hash(co->co_names); in code_hash()
707 h4 = PyObject_Hash(co->co_varnames); in code_hash()
709 h5 = PyObject_Hash(co->co_freevars); in code_hash()
711 h6 = PyObject_Hash(co->co_cellvars); in code_hash()
Dclassobject.c274 x = PyObject_Hash(Py_None); in method_hash()
276 x = PyObject_Hash(a->im_self); in method_hash()
279 y = PyObject_Hash(a->im_func); in method_hash()
Ddictobject.c1303 hash = PyObject_Hash(key); in PyDict_GetItem()
1378 hash = PyObject_Hash(key); in PyDict_GetItemWithError()
1417 hash = PyObject_Hash(key); in _PyDict_LoadGlobal()
1457 hash = PyObject_Hash(key); in PyDict_SetItem()
1517 hash = PyObject_Hash(key); in PyDict_DelItem()
1578 hash = PyObject_Hash(key); in _PyDict_DelItemIf()
1795 hash = PyObject_Hash(key); in _PyDict_Pop()
2021 hash = PyObject_Hash(key); in dict_subscript()
2733 hash = PyObject_Hash(key); in dict___contains__()
2765 hash = PyObject_Hash(key); in dict_get_impl()
[all …]
Dodictobject.c625 hash = PyObject_Hash(key); in _odict_find_node()
1088 Py_hash_t hash = PyObject_Hash(key); in _odict_popkey()
1632 Py_hash_t hash = PyObject_Hash(key); in PyODict_SetItem()
1642 Py_hash_t hash = PyObject_Hash(key); in PyODict_DelItem()
Dmethodobject.c254 x = PyObject_Hash(a->m_self); in meth_hash()
Dsetobject.c421 hash = PyObject_Hash(key); in set_add_key()
435 hash = PyObject_Hash(key); in set_contains_key()
449 hash = PyObject_Hash(key); in set_discard_key()
1309 hash = PyObject_Hash(key); in set_intersection()
1451 Py_hash_t hash = PyObject_Hash(key); in set_isdisjoint()
/external/python/cpython3/Modules/_sqlite/
Drow.c192 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/python/cpython2/PC/os2vacpp/
Dpython.def317 PyObject_Hash
/external/python/cpython3/Modules/
D_randommodule.c268 Py_hash_t hash = PyObject_Hash(arg); in random_seed()
D_tracemalloc.c232 return PyObject_Hash(obj); in hashtable_hash_pyobject()
431 y = (Py_uhash_t)PyObject_Hash(frame->filename); in traceback_hash()
D_functoolsmodule.c836 hash = PyObject_Hash(key); in infinite_lru_cache_wrapper()
937 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/cpython3/PC/
Dpython3.def475 PyObject_Hash=python37.PyObject_Hash
/external/python/cpython3/Include/
Dobject.h566 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
/external/python/cpython2/Include/
Dobject.h483 PyAPI_FUNC(long) PyObject_Hash(PyObject *);

123