Searched refs:filename_obj (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Modules/clinic/ |
D | readline.c.h | 26 readline_read_init_file_impl(PyObject *module, PyObject *filename_obj); 32 PyObject *filename_obj = Py_None; in readline_read_init_file() local 40 filename_obj = args[0]; in readline_read_init_file() 42 return_value = readline_read_init_file_impl(module, filename_obj); in readline_read_init_file() 60 readline_read_history_file_impl(PyObject *module, PyObject *filename_obj); 66 PyObject *filename_obj = Py_None; in readline_read_history_file() local 74 filename_obj = args[0]; in readline_read_history_file() 76 return_value = readline_read_history_file_impl(module, filename_obj); in readline_read_history_file() 94 readline_write_history_file_impl(PyObject *module, PyObject *filename_obj); 100 PyObject *filename_obj = Py_None; in readline_write_history_file() local [all …]
|
/third_party/python/Python/ |
D | pythonrun.c | 105 PyObject *filename_obj; in PyRun_AnyFileExFlags() local 107 filename_obj = PyUnicode_DecodeFSDefault(filename); in PyRun_AnyFileExFlags() 108 if (filename_obj == NULL) { in PyRun_AnyFileExFlags() 114 filename_obj = NULL; in PyRun_AnyFileExFlags() 116 int res = _PyRun_AnyFileObject(fp, filename_obj, closeit, flags); in PyRun_AnyFileExFlags() 117 Py_XDECREF(filename_obj); in PyRun_AnyFileExFlags() 180 PyObject *filename_obj = PyUnicode_DecodeFSDefault(filename); in PyRun_InteractiveLoopFlags() local 181 if (filename_obj == NULL) { in PyRun_InteractiveLoopFlags() 186 int err = _PyRun_InteractiveLoopObject(fp, filename_obj, flags); in PyRun_InteractiveLoopFlags() 187 Py_DECREF(filename_obj); in PyRun_InteractiveLoopFlags() [all …]
|
D | errors.c | 1774 PyObject *filename_obj = PyUnicode_DecodeFSDefault(filename); in PyErr_ProgramText() local 1775 if (filename_obj == NULL) { in PyErr_ProgramText() 1779 PyObject *res = PyErr_ProgramTextObject(filename_obj, lineno); in PyErr_ProgramText() 1780 Py_DECREF(filename_obj); in PyErr_ProgramText()
|
/third_party/python/Modules/ |
D | readline.c | 227 readline_read_init_file_impl(PyObject *module, PyObject *filename_obj) in readline_read_init_file_impl() argument 231 if (filename_obj != Py_None) { in readline_read_init_file_impl() 232 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in readline_read_init_file_impl() 258 readline_read_history_file_impl(PyObject *module, PyObject *filename_obj) in readline_read_history_file_impl() argument 262 if (filename_obj != Py_None) { in readline_read_history_file_impl() 263 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in readline_read_history_file_impl() 290 readline_write_history_file_impl(PyObject *module, PyObject *filename_obj) in readline_write_history_file_impl() argument 296 if (filename_obj != Py_None) { in readline_write_history_file_impl() 297 if (!PyUnicode_FSConverter(filename_obj, &filename_bytes)) in readline_write_history_file_impl() 331 PyObject *filename_obj) in readline_append_history_file_impl() argument [all …]
|