Home
last modified time | relevance | path

Searched refs:PyObject_GetIter (Results 1 – 25 of 84) 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.c93 gbo->it = PyObject_GetIter(it); in itertools_groupby_impl()
733 it = PyObject_GetIter(iterable); in tee_fromiterable()
894 it = PyObject_GetIter(iterable); in itertools_tee_impl()
965 it = PyObject_GetIter(iterable); in itertools_cycle_impl()
1044 PyObject *it = PyObject_GetIter(lz->saved); in cycle_reduce()
1163 it = PyObject_GetIter(seq); in itertools_dropwhile_impl()
1326 it = PyObject_GetIter(seq); in itertools_takewhile_impl()
1538 it = PyObject_GetIter(seq); in islice_new()
1625 empty_it = PyObject_GetIter(empty_list); in islice_reduce()
1744 it = PyObject_GetIter(seq); in itertools_starmap_impl()
[all …]
D_collectionsmodule.c398 it = PyObject_GetIter(iterable); in deque_extend()
445 it = PyObject_GetIter(iterable); in deque_extendleft()
1338 it = PyObject_GetIter((PyObject *)deque); in deque_reduce()
1413 it1 = PyObject_GetIter(v); in deque_richcompare()
1416 it2 = PyObject_GetIter(w); in deque_richcompare()
2056 iter = PyObject_GetIter(items); in defdict_reduce()
2300 it = PyObject_GetIter(iterable); in _collections__count_elements_impl()
D_csv.c965 self->input_iter = PyObject_GetIter(iterator); in csv_reader()
1171 iter = PyObject_GetIter(seq); in csv_writerow()
1267 row_iter = PyObject_GetIter(seqseq); in csv_writerows()
/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.c337 it = PyObject_GetIter(iterable); in builtin_all()
386 it = PyObject_GetIter(iterable); in builtin_any()
525 it = PyObject_GetIter(seq); in filter_new()
1216 it = PyObject_GetIter(PyTuple_GET_ITEM(args, i)); in map_new()
1519 return PyObject_GetIter(v); in builtin_iter()
1621 it = PyObject_GetIter(v); in min_max()
2299 iter = PyObject_GetIter(iterable); in builtin_sum_impl()
2547 PyObject *it = PyObject_GetIter(item); in zip_new()
/external/tensorflow/tensorflow/python/util/
Dutil.cc403 iter_.reset(PyObject_GetIter(keys_.get())); in DictValueIterator()
438 iter_.reset(PyObject_GetIter(keys_.get())); in MappingValueIterator()
520 iter_.reset(PyObject_GetIter(attrs_.get())); in AttrsValueIterator()
833 Safe_PyObjectPtr iter(PyObject_GetIter(o1)); in AssertSameStructureHelper()
/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.c95 keys_iter = PyObject_GetIter(keys); in namespace_repr()
Dodictobject.c978 items_iter = PyObject_GetIter(items); in odict_reduce()
2186 iterator = PyObject_GetIter(pairs); in mutablemapping_add_pairs()
2194 PyObject *pair_iterator = PyObject_GetIter(pair); in mutablemapping_add_pairs()
2266 PyObject *iterator = PyObject_GetIter(keys); in mutablemapping_update_arg()
Denumobject.c68 en->en_sit = PyObject_GetIter(iterable); in enum_new_impl()
Dabstract.c1932 it = PyObject_GetIter(v); in PySequence_Tuple()
2028 it = PyObject_GetIter(v); in PySequence_Fast()
2059 it = PyObject_GetIter(seq); in _PySequence_IterSearch()
2286 it = PyObject_GetIter(meth_output); in method_output_as_list()
2650 PyObject_GetIter(PyObject *o) in PyObject_GetIter() function
Dsetobject.c898 it = PyObject_GetIter(other); in set_update_internal()
1225 it = PyObject_GetIter(other); in set_intersection()
1369 it = PyObject_GetIter(other); in set_isdisjoint()
1432 it = PyObject_GetIter(other); in set_difference_update_internal()
/external/python/cpython3/Modules/_sqlite/
Drow.c182 return PyObject_GetIter(self->data); in pysqlite_iter()
Dcursor.c406 parameters_iter = PyObject_GetIter(second_argument); in _pysqlite_query_execute()
436 parameters_iter = PyObject_GetIter(parameters_list); in _pysqlite_query_execute()
/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.c709 it = PyObject_GetIter(self); in _io__IOBase_readlines_impl()
768 iter = PyObject_GetIter(lines); in _io__IOBase_writelines()
/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/python/cpython2/Objects/
Denumobject.c48 en->en_sit = PyObject_GetIter(seq); in enum_new()
/external/python/cpython3/Include/
Dabstract.h372 PyAPI_FUNC(PyObject *) PyObject_GetIter(PyObject *);

1234