/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 54 iternextfunc tp_iternext; member
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 52 iternextfunc tp_iternext; member
|
/external/python/cpython3/Include/cpython/ |
D | abstract.h | 335 (Py_TYPE(obj)->tp_iternext != NULL && \ 336 Py_TYPE(obj)->tp_iternext != &_PyObject_NextNotImplemented)
|
D | object.h | 246 iternextfunc tp_iternext; member
|
/external/python/cpython2/Doc/c-api/ |
D | iter.rst | 18 classes because those classes always define a :c:member:`tp_iternext`
|
/external/python/cpython3/Python/ |
D | bltinmodule.c | 340 iternext = *Py_TYPE(it)->tp_iternext; in builtin_all() 389 iternext = *Py_TYPE(it)->tp_iternext; in builtin_any() 568 iternext = *Py_TYPE(it)->tp_iternext; in filter_next() 1278 PyObject *val = Py_TYPE(it)->tp_iternext(it); in map_next() 1391 res = (*Py_TYPE(it)->tp_iternext)(it); in builtin_next() 2613 item = (*Py_TYPE(it)->tp_iternext)(it); in zip_next() 2628 item = (*Py_TYPE(it)->tp_iternext)(it); in zip_next()
|
D | hamt.c | 2627 .tp_iternext = (iternextfunc)hamt_baseiter_tp_iternext,
|
/external/python/cpython2/Modules/ |
D | itertoolsmodule.c | 893 iternext = *Py_TYPE(it)->tp_iternext; in dropwhile_next() 1039 item = (*Py_TYPE(it)->tp_iternext)(it); in takewhile_next() 1230 iternext = *Py_TYPE(it)->tp_iternext; in islice_next() 1377 args = (*Py_TYPE(it)->tp_iternext)(it); in starmap_next() 2860 PyObject *(*datanext)(PyObject *) = *Py_TYPE(data)->tp_iternext; in compress_next() 2861 PyObject *(*selectornext)(PyObject *) = *Py_TYPE(selectors)->tp_iternext; in compress_next() 3009 iternext = *Py_TYPE(it)->tp_iternext; in ifilter_next() 3154 iternext = *Py_TYPE(it)->tp_iternext; in ifilterfalse_next() 3585 item = (*Py_TYPE(it)->tp_iternext)(it); in izip_next() 3600 item = (*Py_TYPE(it)->tp_iternext)(it); in izip_next()
|
/external/python/cpython2/Include/ |
D | abstract.h | 639 (obj)->ob_type->tp_iternext != NULL && \ 640 (obj)->ob_type->tp_iternext != &_PyObject_NextNotImplemented)
|
D | object.h | 377 iternextfunc tp_iternext; member
|
/external/python/cpython3/Doc/extending/ |
D | newtypes.rst | 510 iternextfunc tp_iternext; 516 to the Python :meth:`__iter__` method, while :c:member:`~PyTypeObject.tp_iternext` 529 implement the :c:member:`~PyTypeObject.tp_iternext` handler. 532 and :c:member:`~PyTypeObject.tp_iternext`. An iterator's 534 to the iterator. Its :c:member:`~PyTypeObject.tp_iternext` handler should 536 If the iteration has reached the end, :c:member:`~PyTypeObject.tp_iternext` 540 occurs, :c:member:`~PyTypeObject.tp_iternext` should always set an exception
|
/external/python/cpython3/Objects/ |
D | typeslots.inc | 64 offsetof(PyHeapTypeObject, ht_type.tp_iternext),
|
D | enumobject.c | 156 next_item = (*Py_TYPE(it)->tp_iternext)(it); in enum_next()
|
D | abstract.c | 2679 return Py_TYPE(obj)->tp_iternext != NULL && in PyIter_Check() 2680 Py_TYPE(obj)->tp_iternext != &_PyObject_NextNotImplemented; in PyIter_Check() 2694 result = (*Py_TYPE(iter)->tp_iternext)(iter); in PyIter_Next()
|
D | dictobject.c | 4008 .tp_iternext = (iternextfunc)dictreviter_iternext, 4051 .tp_iternext = (iternextfunc)dictreviter_iternext, 4063 .tp_iternext = (iternextfunc)dictreviter_iternext,
|
D | bytearrayobject.c | 863 iternext = *Py_TYPE(it)->tp_iternext; in bytearray_init()
|
D | typeobject.c | 5325 COPYSLOT(tp_iternext); in inherit_slots() 7159 TPSLOT("__next__", tp_iternext, slot_tp_iternext, wrap_next, 7477 if (ptr == (void**)&type->tp_iternext) { in update_one_slot()
|
/external/python/cpython3/Modules/ |
D | itertoolsmodule.c | 1206 iternext = *Py_TYPE(it)->tp_iternext; in dropwhile_next() 1371 item = (*Py_TYPE(it)->tp_iternext)(it); in takewhile_next() 1584 iternext = *Py_TYPE(it)->tp_iternext; in islice_next() 1785 args = (*Py_TYPE(it)->tp_iternext)(it); in starmap_next() 1959 item = (*Py_TYPE(lz->active)->tp_iternext)(lz->active); in chain_next() 3533 val = (*Py_TYPE(lz->it)->tp_iternext)(lz->it); in accumulate_next() 3731 PyObject *(*datanext)(PyObject *) = *Py_TYPE(data)->tp_iternext; in compress_next() 3732 PyObject *(*selectornext)(PyObject *) = *Py_TYPE(selectors)->tp_iternext; in compress_next() 3889 iternext = *Py_TYPE(it)->tp_iternext; in filterfalse_next()
|
D | _collectionsmodule.c | 373 iternext = *Py_TYPE(it)->tp_iternext; in consume_iterator() 413 iternext = *Py_TYPE(it)->tp_iternext; in deque_extend() 460 iternext = *Py_TYPE(it)->tp_iternext; in deque_extendleft()
|
D | _asynciomodule.c | 1734 .tp_iternext = (iternextfunc)FutureIter_iternext,
|
/external/python/cpython2/Objects/ |
D | enumobject.c | 136 next_item = (*Py_TYPE(it)->tp_iternext)(it); in enum_next()
|
D | typeobject.c | 4090 COPYSLOT(tp_iternext); 6075 TPSLOT("next", tp_iternext, slot_tp_iternext, wrap_next, 6333 if (ptr == (void**)&type->tp_iternext) {
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 92 iternext = *Py_TYPE(it)->tp_iternext; in builtin_all() 135 iternext = *Py_TYPE(it)->tp_iternext; in builtin_any() 1119 res = (*it->ob_type->tp_iternext)(it); in builtin_next()
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 1449 iternextfunc tp_iternext; 1454 by a ``tp_iter`` handler must implement both the ``tp_iter`` and ``tp_iternext`` 1466 implement the ``tp_iternext`` handler. File objects are an example of such an 1472 ``tp_iternext`` handler should return a new reference to the next object in the
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 103 …| :c:member:`~PyTypeObject.tp_iternext` | :c:type:`iternextfunc` | __next__ … 1432 .. c:member:: iternextfunc PyTypeObject.tp_iternext 1437 PyObject *tp_iternext(PyObject *self); 2422 See :c:member:`~PyTypeObject.tp_iternext`. 2502 0, /* tp_iternext */
|