Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dsetobject.c717 hash ^= ((Py_uhash_t)PySet_GET_SIZE(self) + 1) * 1927868237UL; in frozenset_hash()
1198 if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) { in set_intersection()
1341 if (PySet_GET_SIZE(so) == 0) in set_isdisjoint()
1351 if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) { in set_isdisjoint()
1412 if ((PySet_GET_SIZE(other) >> 3) > PySet_GET_SIZE(so)) { in set_difference_update_internal()
1492 other_size = PySet_GET_SIZE(other); in set_difference()
1503 if ((PySet_GET_SIZE(so) >> 2) > other_size) { in set_difference()
1722 if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other)) in set_issubset()
1766 if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w)) in set_richcompare()
1787 if (PySet_GET_SIZE(v) >= PySet_GET_SIZE(w)) in set_richcompare()
[all …]
Dcodeobject.c872 len = PySet_GET_SIZE(op); in _PyCode_ConstantKey()
Ddictobject.c2005 if (dictresize(mp, estimate_keysize(PySet_GET_SIZE(iterable)))) { in _PyDict_FromKeys()
/third_party/python/Include/
Dsetobject.h67 #define PySet_GET_SIZE(so) (assert(PyAnySet_Check(so)),(((PySetObject *)(so))->used)) macro
/third_party/python/Python/
Dast_opt.c124 limit -= PySet_GET_SIZE(obj); in check_complexity()
152 PySet_GET_SIZE(w); in safe_multiply()
Dmarshal.c503 n = PySet_GET_SIZE(v); in w_complex_object()
Dcompile.c1359 Py_ssize_t len = PySet_GET_SIZE(o); in merge_consts_recursive()
/third_party/python/Doc/c-api/
Dset.rst117 .. c:function:: Py_ssize_t PySet_GET_SIZE(PyObject *anyset)
/third_party/python/Modules/
D_abc.c136 if (set == NULL || PySet_GET_SIZE(set) == 0) { in _in_weak_set()
D_asynciomodule.c151 if (PySet_GET_SIZE(iscoroutine_typecache) < 100) { in _is_coroutine()
D_pickle.c3403 set_size = PySet_GET_SIZE(obj); in save_set()
3420 if (PySet_GET_SIZE(obj) != set_size) { in save_set()
/third_party/python/Doc/data/
Drefcounts.dat2032 PySet_GET_SIZE:Py_ssize_t:::
2033 PySet_GET_SIZE:PyObject*:anyset:0: