Lines Matching refs:filename_obj
179 PyObject *filename_obj = Py_None, *filename_bytes; in read_init_file() local
180 if (!PyArg_ParseTuple(args, "|O:read_init_file", &filename_obj)) in read_init_file()
182 if (filename_obj != Py_None) { in read_init_file()
183 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in read_init_file()
205 PyObject *filename_obj = Py_None, *filename_bytes; in read_history_file() local
206 if (!PyArg_ParseTuple(args, "|O:read_history_file", &filename_obj)) in read_history_file()
208 if (filename_obj != Py_None) { in read_history_file()
209 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in read_history_file()
232 PyObject *filename_obj = Py_None, *filename_bytes; in write_history_file() local
235 if (!PyArg_ParseTuple(args, "|O:write_history_file", &filename_obj)) in write_history_file()
237 if (filename_obj != Py_None) { in write_history_file()
238 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in write_history_file()
268 PyObject *filename_obj = Py_None, *filename_bytes; in append_history_file() local
271 if (!PyArg_ParseTuple(args, "i|O:append_history_file", &nelements, &filename_obj)) in append_history_file()
273 if (filename_obj != Py_None) { in append_history_file()
274 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in append_history_file()