Lines Matching refs:filename_bytes
230 PyObject *filename_bytes; in readline_read_init_file_impl() local
232 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in readline_read_init_file_impl()
234 errno = rl_read_init_file(PyBytes_AS_STRING(filename_bytes)); in readline_read_init_file_impl()
235 Py_DECREF(filename_bytes); in readline_read_init_file_impl()
261 PyObject *filename_bytes; in readline_read_history_file_impl() local
263 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in readline_read_history_file_impl()
265 errno = read_history(PyBytes_AS_STRING(filename_bytes)); in readline_read_history_file_impl()
266 Py_DECREF(filename_bytes); in readline_read_history_file_impl()
293 PyObject *filename_bytes; in readline_write_history_file_impl() local
297 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in readline_write_history_file_impl()
299 filename = PyBytes_AS_STRING(filename_bytes); in readline_write_history_file_impl()
301 filename_bytes = NULL; in readline_write_history_file_impl()
307 Py_XDECREF(filename_bytes); in readline_write_history_file_impl()
334 PyObject *filename_bytes; in readline_append_history_file_impl() local
338 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in readline_append_history_file_impl()
340 filename = PyBytes_AS_STRING(filename_bytes); in readline_append_history_file_impl()
342 filename_bytes = NULL; in readline_append_history_file_impl()
349 Py_XDECREF(filename_bytes); in readline_append_history_file_impl()