Home
last modified time | relevance | path

Searched refs:PyIter_Next (Results 1 – 25 of 68) 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()
971 while ((item = PyIter_Next(it)) != NULL) { in deque_tp_print()
1035 x = PyIter_Next(it1); in deque_richcompare()
1038 y = PyIter_Next(it2); in deque_richcompare()
Ditertoolsmodule.c79 newvalue = PyIter_Next(gbo->it); in groupby_step()
367 value = PyIter_Next(tdo->it); in teedataobject_getitem()
748 item = PyIter_Next(lz->it); in cycle_next()
1554 val = PyIter_Next(PyTuple_GET_ITEM(lz->iters, i)); in imap_next()
1702 PyObject *iterable = PyIter_Next(lz->source); in chain_next()
1714 item = PyIter_Next(lz->active); in chain_next()
3937 item = PyIter_Next(it); in izip_longest_next()
3966 item = PyIter_Next(it); in izip_longest_next()
D_functoolsmodule.c44 op2 = PyIter_Next(it); in functools_reduce()
DcPickle.c1649 obj = PyIter_Next(iter); in batch_list()
1668 firstitem = PyIter_Next(iter); in batch_list()
1678 obj = PyIter_Next(iter); in batch_list()
1713 obj = PyIter_Next(iter); in batch_list()
1817 p = PyIter_Next(iter); in batch_dict()
1843 firstitem = PyIter_Next(iter); in batch_dict()
1858 p = PyIter_Next(iter); in batch_dict()
1904 p = PyIter_Next(iter); in batch_dict()
D_csv.c795 lineobj = PyIter_Next(self->input_iter); in Reader_iternext()
1253 while ((row_obj = PyIter_Next(row_iter))) { in csv_writerows()
/external/tensorflow/tensorflow/python/util/
Dutil.cc363 Safe_PyObjectPtr key(PyIter_Next(iter_.get())); in next()
398 Safe_PyObjectPtr key(PyIter_Next(iter_.get())); in next()
482 Safe_PyObjectPtr item(PyIter_Next(iter_.get())); in next()
744 while ((key = PyIter_Next(iter.get())) != nullptr) { in AssertSameStructureHelper()
/external/python/cpython3/Objects/
Dodictobject.c2151 while ((pair = PyIter_Next(iterator)) != NULL) { in mutablemapping_add_pairs()
2158 key = PyIter_Next(pair_iterator); in mutablemapping_add_pairs()
2166 value = PyIter_Next(pair_iterator); in mutablemapping_add_pairs()
2174 unexpected = PyIter_Next(pair_iterator); in mutablemapping_add_pairs()
2254 while (res == 0 && (key = PyIter_Next(iterator))) { in mutablemapping_update()
Dnamespaceobject.c101 while ((key = PyIter_Next(keys_iter)) != NULL) { in namespace_repr()
Ddictobject.c1864 while ((key = PyIter_Next(it)) != NULL) { in _PyDict_FromKeys()
1871 while ((key = PyIter_Next(it)) != NULL) { in _PyDict_FromKeys()
2308 item = PyIter_Next(it); in PyDict_MergeFromSeq2()
2469 for (key = PyIter_Next(iter); key; key = PyIter_Next(iter)) { in dict_merge()
3783 PyObject *next = PyIter_Next(iter); in all_contained_in()
4042 while ((item = PyIter_Next(it)) != NULL) { in dictviews_isdisjoint()
Dsetobject.c1010 while ((key = PyIter_Next(it)) != NULL) { in set_update_internal()
1308 while ((key = PyIter_Next(it)) != NULL) { in set_intersection()
1450 while ((key = PyIter_Next(it)) != NULL) { in set_isdisjoint()
1501 while ((key = PyIter_Next(it)) != NULL) { in set_difference_update_internal()
/external/python/cpython2/Python/
Dbltinmodule.c295 item = PyIter_Next(it); in builtin_filter()
1031 item = PyIter_Next(sqp->it); in builtin_map()
1386 while (( item = PyIter_Next(it) )) { in min_max()
2348 item = PyIter_Next(iter); in builtin_sum()
2387 item = PyIter_Next(iter); in builtin_sum()
2427 item = PyIter_Next(iter); in builtin_sum()
2577 PyObject *item = PyIter_Next(it); in builtin_zip()
/external/python/cpython2/Modules/_io/
Diobase.c631 PyObject *line = PyIter_Next(it); in iobase_readlines()
680 PyObject *line = PyIter_Next(iter); in iobase_writelines()
/external/python/cpython3/Modules/_io/
Diobase.c705 PyObject *line = PyIter_Next(it); in _io__IOBase_readlines_impl()
757 PyObject *line = PyIter_Next(iter); in _io__IOBase_writelines()
/external/tensorflow/tensorflow/python/platform/
Dbase.i85 while ((item = PyIter_Next(it))) { in tf_vector_input_helper()
/external/python/cpython2/Objects/
Ddictobject.c1485 while ((key = PyIter_Next(it)) != NULL) { in dict_fromkeys()
1492 while ((key = PyIter_Next(it)) != NULL) { in dict_fromkeys()
1570 item = PyIter_Next(it); in PyDict_MergeFromSeq2()
1702 for (key = PyIter_Next(iter); key; key = PyIter_Next(iter)) { in PyDict_Merge()
2926 PyObject *next = PyIter_Next(iter); in all_contained_in()
Dsetobject.c969 while ((key = PyIter_Next(it)) != NULL) { in set_update_internal()
1285 while ((key = PyIter_Next(it)) != NULL) { in set_intersection()
1442 while ((key = PyIter_Next(it)) != NULL) { in set_isdisjoint()
1493 while ((key = PyIter_Next(it)) != NULL) { in set_difference_update_internal()
/external/python/cpython3/Modules/
D_csv.c791 lineobj = PyIter_Next(self->input_iter); in Reader_iternext()
1175 while ((field = PyIter_Next(iter))) { in csv_writerow()
1262 while ((row_obj = PyIter_Next(row_iter))) { in csv_writerows()
D_pickle.c1797 while ((module_name = PyIter_Next(iterator))) { in whichmodule()
2611 obj = PyIter_Next(iter); in batch_list()
2630 firstitem = PyIter_Next(iter); in batch_list()
2640 obj = PyIter_Next(iter); in batch_list()
2675 obj = PyIter_Next(iter); in batch_list()
2841 obj = PyIter_Next(iter); in batch_dict()
2867 firstitem = PyIter_Next(iter); in batch_dict()
2882 obj = PyIter_Next(iter); in batch_dict()
2927 obj = PyIter_Next(iter); in batch_dict()
3187 item = PyIter_Next(iter); in save_frozenset()
D_collectionsmodule.c1442 x = PyIter_Next(it1); in deque_richcompare()
1445 y = PyIter_Next(it2); in deque_richcompare()
2304 key = PyIter_Next(it); in _count_elements()
2338 key = PyIter_Next(it); in _count_elements()
Ditertoolsmodule.c81 newvalue = PyIter_Next(gbo->it); in groupby_step()
448 value = PyIter_Next(tdo->it); in teedataobject_getitem()
950 item = PyIter_Next(lz->it); in cycle_next()
1892 PyObject *iterable = PyIter_Next(lz->source); in chain_next()
4456 item = PyIter_Next(it); in zip_longest_next()
4485 item = PyIter_Next(it); in zip_longest_next()
/external/python/cpython3/Python/
Dbltinmodule.c1655 while (( item = PyIter_Next(it) )) { in min_max()
2368 item = PyIter_Next(iter); in builtin_sum_impl()
2407 item = PyIter_Next(iter); in builtin_sum_impl()
2452 item = PyIter_Next(iter); in builtin_sum_impl()
/external/python/cpython2/Include/
Dabstract.h642 PyAPI_FUNC(PyObject *) PyIter_Next(PyObject *);

123