Home
last modified time | relevance | path

Searched refs:tp_iternext (Results 1 – 24 of 24) sorted by relevance

/third_party/python/Doc/includes/
Dtypestruct.h54 iternextfunc tp_iternext; member
/third_party/python/Python/
Dbltinmodule.c332 iternext = *Py_TYPE(it)->tp_iternext; in builtin_all()
381 iternext = *Py_TYPE(it)->tp_iternext; in builtin_any()
592 iternext = *Py_TYPE(it)->tp_iternext; in filter_next()
1339 PyObject *val = Py_TYPE(it)->tp_iternext(it); in map_next()
1453 res = (*Py_TYPE(it)->tp_iternext)(it); in builtin_next()
2745 item = (*Py_TYPE(it)->tp_iternext)(it); in zip_next()
2768 item = (*Py_TYPE(it)->tp_iternext)(it); in zip_next()
2798 item = (*Py_TYPE(it)->tp_iternext)(it); in zip_next()
Dhamt.c2608 .tp_iternext = (iternextfunc)hamt_baseiter_tp_iternext,
Dceval.c2590 retval = Py_TYPE(receiver)->tp_iternext(receiver); in _PyEval_EvalFrameDefault()
4001 PyObject *next = (*Py_TYPE(iter)->tp_iternext)(iter); in _PyEval_EvalFrameDefault()
/third_party/python/Objects/
Diterobject.c324 if (Py_TYPE(awaitable)->tp_iternext == NULL) { in anextawaitable_getiter()
373 PyObject *result = (*Py_TYPE(awaitable)->tp_iternext)(awaitable); in anextawaitable_iternext()
Dtypeslots.inc64 {-1, offsetof(PyTypeObject, tp_iternext)},
Denumobject.c163 next_item = (*Py_TYPE(it)->tp_iternext)(it); in enum_next()
Dabstract.c2850 return (tp->tp_iternext != NULL && in PyIter_Check()
2851 tp->tp_iternext != &_PyObject_NextNotImplemented); in PyIter_Check()
2874 result = (*Py_TYPE(iter)->tp_iternext)(iter); in PyIter_Next()
2898 *result = Py_TYPE(iter)->tp_iternext(iter); in PyIter_Send()
Ddictobject.c4123 .tp_iternext = (iternextfunc)dictreviter_iternext,
4166 .tp_iternext = (iternextfunc)dictreviter_iternext,
4178 .tp_iternext = (iternextfunc)dictreviter_iternext,
Dbytearrayobject.c859 iternext = *Py_TYPE(it)->tp_iternext; in bytearray___init___impl()
Dtypeobject.c5910 COPYSLOT(tp_iternext); in inherit_slots()
7942 TPSLOT("__next__", tp_iternext, slot_tp_iternext, wrap_next,
8260 if (ptr == (void**)&type->tp_iternext) { in update_one_slot()
Dmemoryobject.c3267 .tp_iternext = (iternextfunc)memoryiter_next,
Dlistobject.c914 iternext = *Py_TYPE(it)->tp_iternext; in list_extend()
/third_party/python/Doc/extending/
Dnewtypes.rst527 iternextfunc tp_iternext;
533 to the Python :meth:`__iter__` method, while :c:member:`~PyTypeObject.tp_iternext`
546 implement the :c:member:`~PyTypeObject.tp_iternext` handler.
549 and :c:member:`~PyTypeObject.tp_iternext`. An iterator's
551 to the iterator. Its :c:member:`~PyTypeObject.tp_iternext` handler should
553 If the iteration has reached the end, :c:member:`~PyTypeObject.tp_iternext`
557 occurs, :c:member:`~PyTypeObject.tp_iternext` should always set an exception
/third_party/python/Modules/
Ditertoolsmodule.c123 po->old = old = (*Py_TYPE(it)->tp_iternext)(it); in pairwise_next()
129 new = (*Py_TYPE(it)->tp_iternext)(it); in pairwise_next()
1341 iternext = *Py_TYPE(it)->tp_iternext; in dropwhile_next()
1506 item = (*Py_TYPE(it)->tp_iternext)(it); in takewhile_next()
1719 iternext = *Py_TYPE(it)->tp_iternext; in islice_next()
1920 args = (*Py_TYPE(it)->tp_iternext)(it); in starmap_next()
2094 item = (*Py_TYPE(lz->active)->tp_iternext)(lz->active); in chain_next()
3688 val = (*Py_TYPE(lz->it)->tp_iternext)(lz->it); in accumulate_next()
3886 PyObject *(*datanext)(PyObject *) = *Py_TYPE(data)->tp_iternext; in compress_next()
3887 PyObject *(*selectornext)(PyObject *) = *Py_TYPE(selectors)->tp_iternext; in compress_next()
[all …]
D_collectionsmodule.c374 iternext = *Py_TYPE(it)->tp_iternext; in consume_iterator()
414 iternext = *Py_TYPE(it)->tp_iternext; in deque_extend()
461 iternext = *Py_TYPE(it)->tp_iternext; in deque_extendleft()
D_asynciomodule.c1770 .tp_iternext = (iternextfunc)FutureIter_iternext,
/third_party/python/Include/cpython/
Dobject.h244 iternextfunc tp_iternext; member
/third_party/python/Misc/NEWS.d/
D3.10.0a6.rst517 :c:member:`PyTypeObject.tp_iternext` directly. Patch by Erlend E. Aasland.
D3.10.0rc1.rst256 rather than dereferencing the null ``tp_iternext`` slot and crashing.
/third_party/python/Doc/c-api/
Dtypeobj.rst103 …| :c:member:`~PyTypeObject.tp_iternext` | :c:type:`iternextfunc` | __next__ …
1536 .. c:member:: iternextfunc PyTypeObject.tp_iternext
1541 PyObject *tp_iternext(PyObject *self);
2550 See :c:member:`~PyTypeObject.tp_iternext`.
2634 0, /* tp_iternext */
/third_party/python/Doc/whatsnew/
D2.2.rst455 as iterators can define a :c:member:`~PyTypeObject.tp_iternext` function.
/third_party/python/Doc/library/
Dstdtypes.rst816 the :c:member:`~PyTypeObject.tp_iternext` slot of the type structure for
/third_party/python/Misc/
DHISTORY24712 tp_iternext slot (in C). There's a new protocol to get iterators