Lines Matching refs:file_action
6166 PyObject *file_action = NULL;
6183 file_action = PySequence_Fast_GET_ITEM(seq, i);
6184 Py_INCREF(file_action);
6185 if (!PyTuple_Check(file_action) || !PyTuple_GET_SIZE(file_action)) {
6190 long tag = PyLong_AsLong(PyTuple_GET_ITEM(file_action, 0));
6201 if (!PyArg_ParseTuple(file_action, "OiO&ik"
6202 ";A open file_action tuple must have 5 elements",
6223 if (!PyArg_ParseTuple(file_action, "Oi"
6224 ";A close file_action tuple must have 2 elements",
6238 if (!PyArg_ParseTuple(file_action, "Oii"
6239 ";A dup2 file_action tuple must have 3 elements",
6258 Py_DECREF(file_action);
6266 Py_DECREF(file_action);