Searched refs:fast_seq (Results 1 – 3 of 3) sorted by relevance
89 PyObject* fast_seq = NULL; in seq2set() local95 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()
118 PyObject* fast_seq = NULL; in seq2set() local124 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()
3206 tensorflow::Safe_PyObjectPtr fast_seq( local3208 int len = PySequence_Fast_GET_SIZE(fast_seq.get());3209 PyObject** fast_seq_array = PySequence_Fast_ITEMS(fast_seq.get());