Home
last modified time | relevance | path

Searched refs:unlocked_count (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Include/
Dfileobject.h29 int unlocked_count; /* Num. currently running sections of code member
/external/python/cpython2/Objects/
Dfileobject.c55 fobj->unlocked_count++; \
60 fobj->unlocked_count--; \
61 assert(fobj->unlocked_count >= 0); \
66 fobj->unlocked_count--; \
67 assert(fobj->unlocked_count >= 0);
84 fobj->unlocked_count++; in PyFile_IncUseCount()
89 fobj->unlocked_count--; in PyFile_DecUseCount()
90 assert(fobj->unlocked_count >= 0); in PyFile_DecUseCount()
434 if (local_close != NULL && f->unlocked_count > 0) { in close_the_file()
2412 ((PyFileObject *)self)->unlocked_count = 0; in file_new()
/external/python/cpython2/Doc/c-api/
Dfile.rst99 Decrements the PyFileObject's internal unlocked_count member to