Lines Matching refs:f_name
99 return ((PyFileObject *)f)->f_name; in PyFile_Name()
135 EISDIR, msg, f->f_name); in dircheck()
154 Py_DECREF(f->f_name); in fill_file_fields()
160 f->f_name = name; in fill_file_fields()
331 assert(f->f_name != NULL); in open_the_file()
363 if (PyUnicode_Check(f->f_name)) { in open_the_file()
366 if (f->f_name && wmode) { in open_the_file()
370 f->f_fp = _wfopen(PyUnicode_AS_UNICODE(f->f_name), in open_the_file()
406 v = Py_BuildValue("(isO)", errno, message, f->f_name); in open_the_file()
413 PyErr_SetFromErrnoWithFilenameObject(PyExc_IOError, f->f_name); in open_the_file()
636 Py_XDECREF(f->f_name); in file_dealloc()
649 if (PyUnicode_Check(f->f_name)) { in file_repr()
652 name = PyUnicode_AsUnicodeEscapeString(f->f_name); in file_repr()
663 name = PyObject_Repr(f->f_name); in file_repr()
2164 {"name", T_OBJECT, OFF(f_name), RO,
2404 ((PyFileObject *)self)->f_name = not_yet_string; in file_new()