Searched refs:PyObject_Size (Results 1 – 25 of 38) sorted by relevance
12
277 PyAPI_FUNC(Py_ssize_t) PyObject_Size(PyObject *o);283 #define PyObject_Length PyObject_Size
421 PyAPI_FUNC(Py_ssize_t) PyObject_Size(PyObject *o);434 #define PyObject_Length PyObject_Size
582 if (PyObject_Size(line) <= 0) { in iobase_iternext()644 line_length = PyObject_Size(line); in iobase_readlines()
657 if (PyObject_Size(line) <= 0) { in iobase_iternext()722 line_length = PyObject_Size(line); in _io__IOBase_readlines_impl()
61 PyObject_Size(PyObject *o) in PyObject_Size() function81 return PyObject_Size(o); in PyObject_Length()83 #define PyObject_Length PyObject_Size100 rv = PyObject_Size(o); in _PyObject_LengthHint()
2957 len_self = PyObject_Size(self); in dictview_richcompare()2960 len_other = PyObject_Size(other); in dictview_richcompare()
703 return PyObject_Size(pp->dict); in proxy_len()
1509 if ((args != NULL && PyObject_Size(args)) || in kqueue_queue_new()1510 (kwds != NULL && PyObject_Size(kwds))) { in kqueue_queue_new()
739 Py_ssize_t len = PyObject_Size(tuple); in build_node_children()775 Py_ssize_t len = PyObject_Size(elem); in build_node_children()
53 PyObject_Size(PyObject *o) in PyObject_Size() function74 return PyObject_Size(o); in PyObject_Length()76 #define PyObject_Length PyObject_Size
4660 len_self = PyObject_Size(self); in dictview_richcompare()4663 len_other = PyObject_Size(other); in dictview_richcompare()4820 if (PySet_CheckExact(other) && len_self <= PyObject_Size(other)) { in _PyDictView_Intersect()5042 Py_ssize_t len_other = PyObject_Size(other); in dictviews_isdisjoint()
1035 return PyObject_Size(pp->mapping); in mappingproxy_len()
166 size = PyObject_Size(newconst); in fold_binops_on_constants()
404 n = PyObject_Size(v); in w_object()
123 "PyObject_Size"
485 EXPORT_FUNC(PyObject_Size)
536 function,PyObject_Size,3.2,,
332 .. c:function:: Py_ssize_t PyObject_Size(PyObject *o)
525 errors caused by not checking results of PyObject_Size(), PySequence_Size(),
591 errors caused by not checking results of PyObject_Size(), PySequence_Size(),
359 Py_ssize_t PyObject_Size(PyObject *o)