Home
last modified time | relevance | path

Searched refs:PySet_GET_SIZE (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Objects/
Dsetobject.c790 hash ^= ((Py_uhash_t)PySet_GET_SIZE(self) + 1) * 1927868237UL; in frozenset_hash()
1109 if (result == NULL || PySet_GET_SIZE(result)) in frozenset_new()
1278 if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) { in set_intersection()
1421 if (PySet_GET_SIZE(so) == 0) in set_isdisjoint()
1431 if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) { in set_isdisjoint()
1481 if (PySet_GET_SIZE(so) == 0) { in set_difference_update_internal()
1559 if (PySet_GET_SIZE(so) == 0) { in set_difference()
1564 other_size = PySet_GET_SIZE(other); in set_difference()
1575 if ((PySet_GET_SIZE(so) >> 2) > other_size) { in set_difference()
1794 if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other)) in set_issubset()
[all …]
Dcodeobject.c580 len = PySet_GET_SIZE(op); in _PyCode_ConstantKey()
Ddictobject.c1842 if (dictresize(mp, ESTIMATE_SIZE(PySet_GET_SIZE(iterable)))) { in _PyDict_FromKeys()
/external/python/cpython2/Objects/
Dsetobject.c785 hash *= PySet_GET_SIZE(self) + 1; in frozenset_hash()
1065 if (result == NULL || PySet_GET_SIZE(result)) in frozenset_new()
1257 if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) { in set_intersection()
1413 if (PySet_GET_SIZE(so) == 0) in set_isdisjoint()
1423 if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) { in set_isdisjoint()
1768 if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other)) in set_issubset()
1813 if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w)) in set_richcompare()
1834 if (PySet_GET_SIZE(v) >= PySet_GET_SIZE(w)) in set_richcompare()
1838 if (PySet_GET_SIZE(v) <= PySet_GET_SIZE(w)) in set_richcompare()
2291 return PySet_GET_SIZE(anyset); in PySet_Size()
[all …]
Dcodeobject.c505 len = PySet_GET_SIZE(op); in _PyCode_ConstantKey()
Ddictobject.c1461 if (dictresize(mp, PySet_GET_SIZE(seq) / 2 * 3)) { in dict_fromkeys()
/external/python/cpython3/Include/
Dsetobject.h67 #define PySet_GET_SIZE(so) (assert(PyAnySet_Check(so)),(((PySetObject *)(so))->used)) macro
/external/python/cpython2/Include/
Dsetobject.h86 #define PySet_GET_SIZE(so) (((PySetObject *)(so))->used) macro
/external/python/cpython3/Python/
Dast_opt.c151 limit -= PySet_GET_SIZE(obj); in check_complexity()
179 PySet_GET_SIZE(w); in safe_multiply()
/external/python/cpython3/Doc/c-api/
Dset.rst110 .. c:function:: Py_ssize_t PySet_GET_SIZE(PyObject *anyset)
/external/python/cpython2/Doc/c-api/
Dset.rst124 .. c:function:: Py_ssize_t PySet_GET_SIZE(PyObject *anyset)
/external/python/cpython3/Modules/
D_abc.c96 if (set == NULL || PySet_GET_SIZE(set) == 0) { in _in_weak_set()
D_asynciomodule.c153 if (PySet_GET_SIZE(iscoroutine_typecache) < 100) { in _is_coroutine()
D_pickle.c3117 set_size = PySet_GET_SIZE(obj); in save_set()
3134 if (PySet_GET_SIZE(obj) != set_size) { in save_set()
/external/python/cpython3/Doc/data/
Drefcounts.dat2023 PySet_GET_SIZE:Py_ssize_t:::
2024 PySet_GET_SIZE:PyObject*:anyset:0: