Home
last modified time | relevance | path

Searched refs:filename_obj (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
Dreadline.c179 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()
[all …]
/external/python/cpython3/Python/
Dpythonrun.c341 PyObject *filename_obj, *bootstrap, *loader_type = NULL, *loader; in set_main_loader() local
344 filename_obj = PyUnicode_DecodeFSDefault(filename); in set_main_loader()
345 if (filename_obj == NULL) in set_main_loader()
357 Py_DECREF(filename_obj); in set_main_loader()
360 loader = PyObject_CallFunction(loader_type, "sN", "__main__", filename_obj); in set_main_loader()