Home
last modified time | relevance | path

Searched refs:PyObject_GetIter (Results 1 – 25 of 82) sorted by relevance

1234

/external/python/cpython2/Modules/
Ditertoolsmodule.c43 gbo->it = PyObject_GetIter(it); in groupby_new()
522 it = PyObject_GetIter(iterable); in tee_fromiterable()
643 it = PyObject_GetIter(iterable); in tee()
699 it = PyObject_GetIter(iterable); in cycle_new()
764 it = PyObject_GetIter(lz->saved); in cycle_next()
850 it = PyObject_GetIter(seq); in dropwhile_new()
994 it = PyObject_GetIter(seq); in takewhile_new()
1184 it = PyObject_GetIter(seq); in islice_new()
1336 it = PyObject_GetIter(seq); in starmap_new()
1476 it = PyObject_GetIter(PyTuple_GET_ITEM(args, i)); in imap_new()
[all …]
D_heapqmodule.c305 it = PyObject_GetIter(iterable); in nlargest()
474 it = PyObject_GetIter(iterable); in nsmallest()
D_collectionsmodule.c309 it = PyObject_GetIter(iterable); in deque_extend()
361 it = PyObject_GetIter(iterable); in deque_extendleft()
964 it = PyObject_GetIter(deque); in deque_tp_print()
1028 it1 = PyObject_GetIter(v); in deque_richcompare()
1031 it2 = PyObject_GetIter(w); in deque_richcompare()
D_functoolsmodule.c24 it = PyObject_GetIter(seq); in functools_reduce()
/external/python/cpython3/Modules/
Ditertoolsmodule.c45 gbo->it = PyObject_GetIter(it); in groupby_new()
675 it = PyObject_GetIter(iterable); in tee_fromiterable()
827 it = PyObject_GetIter(iterable); in tee()
901 it = PyObject_GetIter(iterable); in cycle_new()
980 PyObject *it = PyObject_GetIter(lz->saved); in cycle_reduce()
1102 it = PyObject_GetIter(seq); in dropwhile_new()
1270 it = PyObject_GetIter(seq); in takewhile_new()
1487 it = PyObject_GetIter(seq); in islice_new()
1574 empty_it = PyObject_GetIter(empty_list); in islice_reduce()
1692 it = PyObject_GetIter(seq); in starmap_new()
[all …]
D_collectionsmodule.c389 it = PyObject_GetIter(iterable); in deque_extend()
454 it = PyObject_GetIter(iterable); in deque_extendleft()
1360 it = PyObject_GetIter((PyObject *)deque); in deque_reduce()
1435 it1 = PyObject_GetIter(v); in deque_richcompare()
1438 it2 = PyObject_GetIter(w); in deque_richcompare()
2069 iter = PyObject_GetIter(items); in defdict_reduce()
2275 it = PyObject_GetIter(iterable); in _count_elements()
D_csv.c958 self->input_iter = PyObject_GetIter(iterator); in csv_reader()
1166 iter = PyObject_GetIter(seq); in csv_writerow()
1256 row_iter = PyObject_GetIter(seqseq); in csv_writerows()
/external/tensorflow/tensorflow/python/util/
Dutil.cc357 iter_.reset(PyObject_GetIter(keys_.get())); in DictValueIterator()
392 iter_.reset(PyObject_GetIter(keys_.get())); in MappingValueIterator()
474 iter_.reset(PyObject_GetIter(attrs_.get())); in AttrsValueIterator()
742 Safe_PyObjectPtr iter(PyObject_GetIter(o1)); in AssertSameStructureHelper()
/external/python/cpython3/Doc/c-api/
Diter.rst25 PyObject *iterator = PyObject_GetIter(obj);
/external/python/cpython2/Doc/c-api/
Diter.rst32 PyObject *iterator = PyObject_GetIter(obj);
/external/python/cpython3/Python/
Dbltinmodule.c369 it = PyObject_GetIter(iterable); in builtin_all()
418 it = PyObject_GetIter(iterable); in builtin_any()
552 it = PyObject_GetIter(seq); in filter_new()
1251 it = PyObject_GetIter(PyTuple_GET_ITEM(args, i)); in map_new()
1552 return PyObject_GetIter(v); in builtin_iter()
1648 it = PyObject_GetIter(v); in min_max()
2321 iter = PyObject_GetIter(iterable); in builtin_sum_impl()
2567 PyObject *it = PyObject_GetIter(item); in zip_new()
/external/python/cpython2/Python/
Dbltinmodule.c89 it = PyObject_GetIter(v); in builtin_all()
132 it = PyObject_GetIter(v); in builtin_any()
268 it = PyObject_GetIter(seq); in builtin_filter()
995 sqp->it = PyObject_GetIter(curseq); in builtin_map()
1306 return PyObject_GetIter(v); in builtin_iter()
1378 it = PyObject_GetIter(v); in min_max()
2317 iter = PyObject_GetIter(seq); in builtin_sum()
2557 PyObject *it = PyObject_GetIter(item); in builtin_zip()
/external/python/cpython3/Objects/
Dnamespaceobject.c97 keys_iter = PyObject_GetIter(keys); in namespace_repr()
Dodictobject.c926 items_iter = PyObject_GetIter(items); in odict_reduce()
2146 iterator = PyObject_GetIter(pairs); in mutablemapping_add_pairs()
2154 PyObject *pair_iterator = PyObject_GetIter(pair); in mutablemapping_add_pairs()
2248 iterator = PyObject_GetIter(keys); in mutablemapping_update()
Dabstract.c1832 it = PyObject_GetIter(v); in PySequence_Tuple()
1928 it = PyObject_GetIter(v); in PySequence_Fast()
1959 it = PyObject_GetIter(seq); in _PySequence_IterSearch()
2179 it = PyObject_GetIter(meth_output); in method_output_as_list()
2516 PyObject_GetIter(PyObject *o) in PyObject_GetIter() function
Denumobject.c68 en->en_sit = PyObject_GetIter(iterable); in enum_new_impl()
Dsetobject.c1006 it = PyObject_GetIter(other); in set_update_internal()
1302 it = PyObject_GetIter(other); in set_intersection()
1446 it = PyObject_GetIter(other); in set_isdisjoint()
1497 it = PyObject_GetIter(other); in set_difference_update_internal()
/external/python/cpython2/Modules/_io/
Diobase.c624 it = PyObject_GetIter(self); in iobase_readlines()
675 iter = PyObject_GetIter(lines); in iobase_writelines()
/external/python/cpython3/Modules/_io/
Diobase.c698 it = PyObject_GetIter(self); in _io__IOBase_readlines_impl()
752 iter = PyObject_GetIter(lines); in _io__IOBase_writelines()
/external/python/cpython3/Modules/_sqlite/
Drow.c187 return PyObject_GetIter(self->data); in pysqlite_iter()
Dcursor.c421 parameters_iter = PyObject_GetIter(second_argument); in _pysqlite_query_execute()
456 parameters_iter = PyObject_GetIter(parameters_list); in _pysqlite_query_execute()
/external/python/cpython2/Modules/_sqlite/
Drow.c188 return PyObject_GetIter(self->data); in pysqlite_iter()
Dcursor.c485 parameters_iter = PyObject_GetIter(second_argument); in _pysqlite_query_execute()
520 parameters_iter = PyObject_GetIter(parameters_list); in _pysqlite_query_execute()
/external/tensorflow/tensorflow/python/platform/
Dbase.i83 PyObject *item, *it = PyObject_GetIter(seq); in tf_vector_input_helper()
/external/python/cpython2/Objects/
Denumobject.c48 en->en_sit = PyObject_GetIter(seq); in enum_new()

1234