Searched refs:fobj (Results 1 – 4 of 4) sorted by relevance
55 fobj = self.tar.extractfile(tarinfo)56 data = fobj.read()88 fobj = open(os.path.join(TEMPDIR, "ustar/regtype"), "rb")89 data = fobj.read()90 fobj.close()93 fobj = self.tar.extractfile(tarinfo)95 text = fobj.read()96 fobj.seek(0)97 self.assertTrue(0 == fobj.tell(),99 fobj.seek(2048, 0)[all …]
53 #define FILE_BEGIN_ALLOW_THREADS(fobj) \ argument55 fobj->unlocked_count++; \58 #define FILE_END_ALLOW_THREADS(fobj) \ argument60 fobj->unlocked_count--; \61 assert(fobj->unlocked_count >= 0); \64 #define FILE_ABORT_ALLOW_THREADS(fobj) \ argument66 fobj->unlocked_count--; \67 assert(fobj->unlocked_count >= 0);82 void PyFile_IncUseCount(PyFileObject *fobj) in PyFile_IncUseCount() argument84 fobj->unlocked_count++; in PyFile_IncUseCount()[all …]
157 Py_UniversalNewlineFgets(char *buf, int n, FILE *stream, PyObject *fobj) in Py_UniversalNewlineFgets() argument