Searched refs:PySet_GET_SIZE (Results 1 – 15 of 15) sorted by relevance
790 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 …]
580 len = PySet_GET_SIZE(op); in _PyCode_ConstantKey()
1842 if (dictresize(mp, ESTIMATE_SIZE(PySet_GET_SIZE(iterable)))) { in _PyDict_FromKeys()
785 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 …]
505 len = PySet_GET_SIZE(op); in _PyCode_ConstantKey()
1461 if (dictresize(mp, PySet_GET_SIZE(seq) / 2 * 3)) { in dict_fromkeys()
67 #define PySet_GET_SIZE(so) (assert(PyAnySet_Check(so)),(((PySetObject *)(so))->used)) macro
86 #define PySet_GET_SIZE(so) (((PySetObject *)(so))->used) macro
151 limit -= PySet_GET_SIZE(obj); in check_complexity()179 PySet_GET_SIZE(w); in safe_multiply()
110 .. c:function:: Py_ssize_t PySet_GET_SIZE(PyObject *anyset)
124 .. c:function:: Py_ssize_t PySet_GET_SIZE(PyObject *anyset)
96 if (set == NULL || PySet_GET_SIZE(set) == 0) { in _in_weak_set()
153 if (PySet_GET_SIZE(iscoroutine_typecache) < 100) { in _is_coroutine()
3117 set_size = PySet_GET_SIZE(obj); in save_set()3134 if (PySet_GET_SIZE(obj) != set_size) { in save_set()
2023 PySet_GET_SIZE:Py_ssize_t:::2024 PySet_GET_SIZE:PyObject*:anyset:0: