Home
last modified time | relevance | path

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

1234

/aosp_15_r20/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_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_heapqmodule.c305 it = PyObject_GetIter(iterable); in nlargest()
474 it = PyObject_GetIter(iterable); in nsmallest()
D_functoolsmodule.c24 it = PyObject_GetIter(seq); in functools_reduce()
/aosp_15_r20/external/python/cpython3/Modules/
Ditertoolsmodule.c80 it = PyObject_GetIter(iterable); in pairwise_new_impl()
227 gbo->it = PyObject_GetIter(it); in itertools_groupby_impl()
866 it = PyObject_GetIter(iterable); in tee_fromiterable()
1027 it = PyObject_GetIter(iterable); in itertools_tee_impl()
1098 it = PyObject_GetIter(iterable); in itertools_cycle_impl()
1176 PyObject *it = PyObject_GetIter(lz->saved); in cycle_reduce()
1295 it = PyObject_GetIter(seq); in itertools_dropwhile_impl()
1458 it = PyObject_GetIter(seq); in itertools_takewhile_impl()
1671 it = PyObject_GetIter(seq); in islice_new()
1758 empty_it = PyObject_GetIter(empty_list); in islice_reduce()
[all …]
D_collectionsmodule.c395 it = PyObject_GetIter(iterable); in deque_extend()
442 it = PyObject_GetIter(iterable); in deque_extendleft()
1357 it = PyObject_GetIter((PyObject *)deque); in deque_reduce()
1432 it1 = PyObject_GetIter(v); in deque_richcompare()
1435 it2 = PyObject_GetIter(w); in deque_richcompare()
2055 iter = PyObject_GetIter(items); in defdict_reduce()
2298 it = PyObject_GetIter(iterable); in _collections__count_elements_impl()
D_csv.c1036 self->input_iter = PyObject_GetIter(iterator); in csv_reader()
1246 iter = PyObject_GetIter(seq); in csv_writerow()
1342 row_iter = PyObject_GetIter(seqseq); in csv_writerows()
/aosp_15_r20/external/python/cpython3/Python/
Dbltinmodule.c317 it = PyObject_GetIter(iterable); in builtin_all()
366 it = PyObject_GetIter(iterable); in builtin_any()
506 it = PyObject_GetIter(seq); in filter_new()
537 PyObject *it = PyObject_GetIter(args[1]); in filter_vectorcall()
1261 it = PyObject_GetIter(PyTuple_GET_ITEM(args, i)); in map_new()
1304 PyObject *it = PyObject_GetIter(args[i]); in map_vectorcall()
1605 return PyObject_GetIter(v); in builtin_iter()
1766 it = PyObject_GetIter(v); in min_max()
2454 iter = PyObject_GetIter(iterable); in builtin_sum_impl()
2723 PyObject *it = PyObject_GetIter(item); in zip_new()
/aosp_15_r20/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()
/aosp_15_r20/external/tensorflow/tensorflow/python/util/
H A Dutil.cc416 iter_.reset(PyObject_GetIter(keys_.get())); in DictValueIterator()
451 iter_.reset(PyObject_GetIter(keys_.get())); in MappingValueIterator()
533 iter_.reset(PyObject_GetIter(attrs_.get())); in AttrsValueIterator()
846 Safe_PyObjectPtr iter(PyObject_GetIter(o1)); in AssertSameStructureHelper()
/aosp_15_r20/external/python/cpython3/Objects/
Dodictobject.c967 items_iter = PyObject_GetIter(items); in odict_reduce()
2137 iterator = PyObject_GetIter(pairs); in mutablemapping_add_pairs()
2145 PyObject *pair_iterator = PyObject_GetIter(pair); in mutablemapping_add_pairs()
2216 PyObject *iterator = PyObject_GetIter(keys); in mutablemapping_update_arg()
Dsetobject.c911 it = PyObject_GetIter(other); in set_update_internal()
1227 it = PyObject_GetIter(other); in set_intersection()
1380 it = PyObject_GetIter(other); in set_isdisjoint()
1441 it = PyObject_GetIter(other); in set_difference_update_internal()
1773 PyObject *key, *it = PyObject_GetIter(other); in set_issuperset()
Dabstract.c2062 it = PyObject_GetIter(v); in PySequence_Tuple()
2158 it = PyObject_GetIter(v); in PySequence_Fast()
2191 it = PyObject_GetIter(seq); in _PySequence_IterSearch()
2418 it = PyObject_GetIter(meth_output); in method_output_as_list()
2791 PyObject_GetIter(PyObject *o) in PyObject_GetIter() function
Dnamespaceobject.c96 keys_iter = PyObject_GetIter(keys); in namespace_repr()
/aosp_15_r20/external/python/cpython2/Modules/_io/
Diobase.c624 it = PyObject_GetIter(self); in iobase_readlines()
675 iter = PyObject_GetIter(lines); in iobase_writelines()
/aosp_15_r20/external/python/cpython3/Modules/_io/
Diobase.c702 it = PyObject_GetIter(self); in _io__IOBase_readlines_impl()
761 iter = PyObject_GetIter(lines); in _io__IOBase_writelines()
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Diter.rst32 PyObject *iterator = PyObject_GetIter(obj);
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Diter.rst33 PyObject *iterator = PyObject_GetIter(obj);
/aosp_15_r20/external/python/cpython2/Modules/_sqlite/
Dcursor.c485 parameters_iter = PyObject_GetIter(second_argument); in _pysqlite_query_execute()
520 parameters_iter = PyObject_GetIter(parameters_list); in _pysqlite_query_execute()
Drow.c188 return PyObject_GetIter(self->data); in pysqlite_iter()
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/
Drow.c209 return PyObject_GetIter(self->data); in pysqlite_iter()
/aosp_15_r20/external/python/cpython2/Objects/
Dsetobject.c965 it = PyObject_GetIter(other); in set_update_internal()
1279 it = PyObject_GetIter(other); in set_intersection()
1438 it = PyObject_GetIter(other); in set_isdisjoint()
1489 it = PyObject_GetIter(other); in set_difference_update_internal()
Denumobject.c48 en->en_sit = PyObject_GetIter(seq); in enum_new()
Dabstract.c2190 it = PyObject_GetIter(v);
2284 it = PyObject_GetIter(v);
2315 it = PyObject_GetIter(seq);
3082 PyObject_GetIter(PyObject *o) function
Ddictobject.c1478 it = PyObject_GetIter(seq); in dict_fromkeys()
1561 it = PyObject_GetIter(seq2); in PyDict_MergeFromSeq2()
1697 iter = PyObject_GetIter(keys); in PyDict_Merge()
2920 PyObject *iter = PyObject_GetIter(self); in all_contained_in()

1234