Searched refs:PyFileObject (Results 1 – 8 of 8) sorted by relevance
79 return ((PyFileObject *)f)->f_fp; in PyFile_AsFile()82 void PyFile_IncUseCount(PyFileObject *fobj) in PyFile_IncUseCount()87 void PyFile_DecUseCount(PyFileObject *fobj) in PyFile_DecUseCount()99 return ((PyFileObject *)f)->f_name; in PyFile_Name()106 file_PyObject_Print(PyObject *op, PyFileObject *f, int flags) in file_PyObject_Print()119 static PyFileObject*120 dircheck(PyFileObject* f) in dircheck()146 fill_file_fields(PyFileObject *f, FILE *fp, PyObject *name, char *mode, in fill_file_fields()324 open_the_file(PyFileObject *f, char *name, char *mode) in open_the_file()426 close_the_file(PyFileObject *f) in close_the_file()[all …]
15 .. c:type:: PyFileObject30 Return true if its argument is a :c:type:`PyFileObject` or a subtype of31 :c:type:`PyFileObject`.39 Return true if its argument is a :c:type:`PyFileObject`, but not a subtype of40 :c:type:`PyFileObject`.56 Create a new :c:type:`PyFileObject` from the already-open standard C file71 .. c:function:: void PyFile_IncUseCount(PyFileObject \*p)73 Increments the PyFileObject's internal use count to indicate97 .. c:function:: void PyFile_DecUseCount(PyFileObject \*p)99 Decrements the PyFileObject's internal unlocked_count member to[all …]
33 } PyFileObject; typedef47 PyAPI_FUNC(void) PyFile_IncUseCount(PyFileObject *);48 PyAPI_FUNC(void) PyFile_DecUseCount(PyFileObject *);
1094 PyFile_DecUseCount((PyFileObject *)self->file); in BZ2File_seek()1110 PyFile_IncUseCount((PyFileObject *)self->file); in BZ2File_seek()1212 PyFile_DecUseCount((PyFileObject *)self->file); in BZ2File_close()1373 PyFile_DecUseCount((PyFileObject *)self->file); in BZ2File_clear()1481 PyFile_IncUseCount((PyFileObject *)self->file); in BZ2File_init()
434 PyFile_IncUseCount((PyFileObject *)self->file); in write_file()438 PyFile_DecUseCount((PyFileObject *)self->file); in write_file()551 PyFile_IncUseCount((PyFileObject *)self->file); in read_file()555 PyFile_DecUseCount((PyFileObject *)self->file); in read_file()
6968 ((PyFileObject *)f)->f_fp = fp; in posix_fdopen()
384 PyFile_AsFile:PyFileObject*:p:0:407 PyFile_SetBufSize:PyFileObject*:p:0:411 PyFile_SoftSpace:PyFileObject*:p:0:416 PyFile_WriteObject:PyFileObject*:p:0:421 PyFile_WriteString:PyFileObject*:p:0:
804 enc = ((PyFileObject *)sysstdin)->f_encoding; in tok_stdin_decode()