Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dsetobject.c789 hash ^= ((Py_uhash_t)PySet_GET_SIZE(self) + 1) * 1927868237UL; in frozenset_hash()
1087 if (result == NULL || PySet_GET_SIZE(result)) in frozenset_new()
1256 if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) { in set_intersection()
1399 if (PySet_GET_SIZE(so) == 0) in set_isdisjoint()
1409 if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) { in set_isdisjoint()
1534 other_size = PySet_GET_SIZE(other); in set_difference()
1545 if ((PySet_GET_SIZE(so) >> 2) > other_size) { in set_difference()
1764 if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other)) in set_issubset()
1808 if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w)) in set_richcompare()
1829 if (PySet_GET_SIZE(v) >= PySet_GET_SIZE(w)) in set_richcompare()
[all …]
Dcodeobject.c766 len = PySet_GET_SIZE(op); in _PyCode_ConstantKey()
Ddictobject.c1927 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.c111 limit -= PySet_GET_SIZE(obj); in check_complexity()
139 PySet_GET_SIZE(w); in safe_multiply()
Dcompile.c1266 Py_ssize_t len = PySet_GET_SIZE(o); in merge_consts_recursive()
/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.c157 if (PySet_GET_SIZE(iscoroutine_typecache) < 100) { in _is_coroutine()
D_pickle.c3375 set_size = PySet_GET_SIZE(obj); in save_set()
3392 if (PySet_GET_SIZE(obj) != set_size) { in save_set()
/external/python/cpython3/Doc/data/
Drefcounts.dat2051 PySet_GET_SIZE:Py_ssize_t:::
2052 PySet_GET_SIZE:PyObject*:anyset:0: