Home
last modified time | relevance | path

Searched refs:fobj (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_tarfile.py55 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 …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dfileobject.c53 #define FILE_BEGIN_ALLOW_THREADS(fobj) \ argument
55 fobj->unlocked_count++; \
58 #define FILE_END_ALLOW_THREADS(fobj) \ argument
60 fobj->unlocked_count--; \
61 assert(fobj->unlocked_count >= 0); \
64 #define FILE_ABORT_ALLOW_THREADS(fobj) \ argument
66 fobj->unlocked_count--; \
67 assert(fobj->unlocked_count >= 0);
82 void PyFile_IncUseCount(PyFileObject *fobj) in PyFile_IncUseCount() argument
84 fobj->unlocked_count++; in PyFile_IncUseCount()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dfileobject.c53 #define FILE_BEGIN_ALLOW_THREADS(fobj) \ argument
55 fobj->unlocked_count++; \
58 #define FILE_END_ALLOW_THREADS(fobj) \ argument
60 fobj->unlocked_count--; \
61 assert(fobj->unlocked_count >= 0); \
64 #define FILE_ABORT_ALLOW_THREADS(fobj) \ argument
66 fobj->unlocked_count--; \
67 assert(fobj->unlocked_count >= 0);
82 void PyFile_IncUseCount(PyFileObject *fobj) in PyFile_IncUseCount() argument
84 fobj->unlocked_count++; in PyFile_IncUseCount()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dpgenmain.c157 Py_UniversalNewlineFgets(char *buf, int n, FILE *stream, PyObject *fobj) in Py_UniversalNewlineFgets() argument