Home
last modified time | relevance | path

Searched refs:PyIter_Next (Results 1 – 25 of 67) sorted by relevance

123

/external/python/cpython3/Doc/c-api/
Diter.rst15 .. c:function:: PyObject* PyIter_Next(PyObject *o)
32 while (item = PyIter_Next(iterator)) {
/external/python/cpython2/Doc/c-api/
Diter.rst22 .. c:function:: PyObject* PyIter_Next(PyObject *o)
39 while (item = PyIter_Next(iterator)) {
/external/python/cpython2/Modules/
D_heapqmodule.c314 elem = PyIter_Next(it); in nlargest()
336 elem = PyIter_Next(it); in nlargest()
483 elem = PyIter_Next(it); in nsmallest()
506 elem = PyIter_Next(it); in nsmallest()
D_collectionsmodule.c284 while ((item = PyIter_Next(it)) != NULL) { in consume_iterator()
316 while ((item = PyIter_Next(it)) != NULL) { in deque_extend()
368 while ((item = PyIter_Next(it)) != NULL) { in deque_extendleft()
961 while ((item = PyIter_Next(it)) != NULL) { in deque_tp_print()
1025 x = PyIter_Next(it1); in deque_richcompare()
1028 y = PyIter_Next(it2); in deque_richcompare()
Ditertoolsmodule.c96 newvalue = PyIter_Next(gbo->it); in groupby_next()
236 newvalue = PyIter_Next(gbo->it); in _grouper_next()
381 value = PyIter_Next(tdo->it); in teedataobject_getitem()
762 item = PyIter_Next(lz->it); in cycle_next()
1568 val = PyIter_Next(PyTuple_GET_ITEM(lz->iters, i)); in imap_next()
1715 PyObject *iterable = PyIter_Next(lz->source); in chain_next()
1727 item = PyIter_Next(lz->active); in chain_next()
3947 item = PyIter_Next(it); in izip_longest_next()
3976 item = PyIter_Next(it); in izip_longest_next()
D_functoolsmodule.c44 op2 = PyIter_Next(it); in functools_reduce()
DcPickle.c1633 obj = PyIter_Next(iter); in batch_list()
1652 firstitem = PyIter_Next(iter); in batch_list()
1662 obj = PyIter_Next(iter); in batch_list()
1697 obj = PyIter_Next(iter); in batch_list()
1801 p = PyIter_Next(iter); in batch_dict()
1827 firstitem = PyIter_Next(iter); in batch_dict()
1842 p = PyIter_Next(iter); in batch_dict()
1888 p = PyIter_Next(iter); in batch_dict()
D_csv.c792 lineobj = PyIter_Next(self->input_iter); in Reader_iternext()
1257 while ((row_obj = PyIter_Next(row_iter))) { in csv_writerows()
/external/tensorflow/tensorflow/python/util/
Dutil.cc92 while ((item = PyIter_Next(iterator)) != nullptr) { in FlattenHelper()
/external/python/cpython3/Objects/
Dodictobject.c2287 while ((pair = PyIter_Next(iterator)) != NULL) { in mutablemapping_add_pairs()
2294 key = PyIter_Next(pair_iterator); in mutablemapping_add_pairs()
2302 value = PyIter_Next(pair_iterator); in mutablemapping_add_pairs()
2310 unexpected = PyIter_Next(pair_iterator); in mutablemapping_add_pairs()
2386 while (res == 0 && (key = PyIter_Next(iterator))) { in mutablemapping_update()
Dnamespaceobject.c103 while ((key = PyIter_Next(keys_iter)) != NULL) { in namespace_repr()
Ddictobject.c1973 while ((key = PyIter_Next(it)) != NULL) { in _PyDict_FromKeys()
1980 while ((key = PyIter_Next(it)) != NULL) { in _PyDict_FromKeys()
2406 item = PyIter_Next(it); in PyDict_MergeFromSeq2()
2560 for (key = PyIter_Next(iter); key; key = PyIter_Next(iter)) { in dict_merge()
3851 PyObject *next = PyIter_Next(iter); in all_contained_in()
4102 while ((item = PyIter_Next(it)) != NULL) { in dictviews_isdisjoint()
Dsetobject.c1007 while ((key = PyIter_Next(it)) != NULL) { in set_update_internal()
1306 while ((key = PyIter_Next(it)) != NULL) { in set_intersection()
1448 while ((key = PyIter_Next(it)) != NULL) { in set_isdisjoint()
1499 while ((key = PyIter_Next(it)) != NULL) { in set_difference_update_internal()
/external/python/cpython3/Modules/_io/
Diobase.c675 PyObject *line = PyIter_Next(self); in _io__IOBase_readlines_impl()
719 PyObject *line = PyIter_Next(iter); in _io__IOBase_writelines()
/external/python/cpython2/Python/
Dbltinmodule.c296 item = PyIter_Next(it); in builtin_filter()
1030 item = PyIter_Next(sqp->it); in builtin_map()
1385 while (( item = PyIter_Next(it) )) { in min_max()
2347 item = PyIter_Next(iter); in builtin_sum()
2381 item = PyIter_Next(iter); in builtin_sum()
2416 item = PyIter_Next(iter); in builtin_sum()
2566 PyObject *item = PyIter_Next(it); in builtin_zip()
/external/python/cpython2/Modules/_io/
Diobase.c617 PyObject *line = PyIter_Next(self); in iobase_readlines()
658 PyObject *line = PyIter_Next(iter); in iobase_writelines()
/external/tensorflow/tensorflow/python/platform/
Dbase.i85 while ((item = PyIter_Next(it))) { in tf_vector_input_helper()
/external/python/cpython2/Objects/
Ddictobject.c1439 while ((key = PyIter_Next(it)) != NULL) { in dict_fromkeys()
1446 while ((key = PyIter_Next(it)) != NULL) { in dict_fromkeys()
1524 item = PyIter_Next(it); in PyDict_MergeFromSeq2()
1649 for (key = PyIter_Next(iter); key; key = PyIter_Next(iter)) { in PyDict_Merge()
2863 PyObject *next = PyIter_Next(iter); in all_contained_in()
Dsetobject.c966 while ((key = PyIter_Next(it)) != NULL) { in set_update_internal()
1282 while ((key = PyIter_Next(it)) != NULL) { in set_intersection()
1439 while ((key = PyIter_Next(it)) != NULL) { in set_isdisjoint()
1490 while ((key = PyIter_Next(it)) != NULL) { in set_difference_update_internal()
/external/python/cpython3/Modules/
D_csv.c806 lineobj = PyIter_Next(self->input_iter); in Reader_iternext()
1203 while ((field = PyIter_Next(iter))) { in csv_writerow()
1290 while ((row_obj = PyIter_Next(row_iter))) { in csv_writerows()
Ditertoolsmodule.c96 newvalue = PyIter_Next(gbo->it); in groupby_next()
288 newvalue = PyIter_Next(gbo->it); in _grouper_next()
444 value = PyIter_Next(tdo->it); in teedataobject_getitem()
930 item = PyIter_Next(lz->it); in cycle_next()
1871 PyObject *iterable = PyIter_Next(lz->source); in chain_next()
4432 item = PyIter_Next(it); in zip_longest_next()
4461 item = PyIter_Next(it); in zip_longest_next()
D_collectionsmodule.c1428 x = PyIter_Next(it1); in deque_richcompare()
1431 y = PyIter_Next(it2); in deque_richcompare()
2289 key = PyIter_Next(it); in _count_elements()
2327 key = PyIter_Next(it); in _count_elements()
D_pickle.c2429 obj = PyIter_Next(iter); in batch_list()
2448 firstitem = PyIter_Next(iter); in batch_list()
2458 obj = PyIter_Next(iter); in batch_list()
2493 obj = PyIter_Next(iter); in batch_list()
2659 obj = PyIter_Next(iter); in batch_dict()
2685 firstitem = PyIter_Next(iter); in batch_dict()
2700 obj = PyIter_Next(iter); in batch_dict()
2745 obj = PyIter_Next(iter); in batch_dict()
3008 item = PyIter_Next(iter); in save_frozenset()
/external/python/cpython3/Python/
Dbltinmodule.c1549 while (( item = PyIter_Next(it) )) { in min_max()
2260 item = PyIter_Next(iter); in builtin_sum_impl()
2299 item = PyIter_Next(iter); in builtin_sum_impl()
2339 item = PyIter_Next(iter); in builtin_sum_impl()
/external/python/cpython2/Include/
Dabstract.h642 PyAPI_FUNC(PyObject *) PyIter_Next(PyObject *);

123