Searched refs:PyObject_LengthHint (Results 1 – 11 of 11) sorted by relevance
428 PyAPI_FUNC(Py_ssize_t) PyObject_LengthHint(PyObject *o, Py_ssize_t);
86 PyObject_LengthHint(PyObject *o, Py_ssize_t defaultvalue) in PyObject_LengthHint() function1837 n = PyObject_LengthHint(v, 10); in PySequence_Tuple()
1632 buf_size = PyObject_LengthHint(iterable_of_ints, 32); in bytearray_extend()
2736 size = PyObject_LengthHint(x, 64); in _PyBytes_FromIterator()
874 n = PyObject_LengthHint(iterable, 8); in list_extend()
785 return PyObject_LengthHint(obj, default_value); in _operator_length_hint_impl()
1706 PyObject_LengthHint:Py_ssize_t:::1707 PyObject_LengthHint:PyObject*:o:0:1708 PyObject_LengthHint:Py_ssize_t:default::
401 .. c:function:: Py_ssize_t PyObject_LengthHint(PyObject *o, Py_ssize_t default)
2707 size = PyObject_LengthHint(x, 64); in _PyBytes_FromIterator()
1924 * New function :c:func:`PyObject_LengthHint` is the C API equivalent
4680 PyObject_LengthHint.