Home
last modified time | relevance | path

Searched refs:fast_seq (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
Dselectmodule.c89 PyObject* fast_seq = NULL; in seq2set() local
95 fast_seq = PySequence_Fast(seq, "arguments 1-3 must be sequences"); in seq2set()
96 if (!fast_seq) in seq2set()
99 for (i = 0; i < PySequence_Fast_GET_SIZE(fast_seq); i++) { in seq2set()
103 if (!(o = PySequence_Fast_GET_ITEM(fast_seq, i))) in seq2set()
134 Py_DECREF(fast_seq); in seq2set()
139 Py_DECREF(fast_seq); in seq2set()
/external/python/cpython3/Modules/
Dselectmodule.c118 PyObject* fast_seq = NULL; in seq2set() local
124 fast_seq = PySequence_Fast(seq, "arguments 1-3 must be sequences"); in seq2set()
125 if (!fast_seq) in seq2set()
128 for (i = 0; i < PySequence_Fast_GET_SIZE(fast_seq); i++) { in seq2set()
132 if (!(o = PySequence_Fast_GET_ITEM(fast_seq, i))) in seq2set()
163 Py_DECREF(fast_seq); in seq2set()
168 Py_DECREF(fast_seq); in seq2set()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc3206 tensorflow::Safe_PyObjectPtr fast_seq( local
3208 int len = PySequence_Fast_GET_SIZE(fast_seq.get());
3209 PyObject** fast_seq_array = PySequence_Fast_ITEMS(fast_seq.get());