Home
last modified time | relevance | path

Searched refs:T_BOOL (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_structmembers.py19 ts.T_BOOL = True
20 self.assertEqual(ts.T_BOOL, True)
21 ts.T_BOOL = False
22 self.assertEqual(ts.T_BOOL, False)
/external/python/cpython3/Lib/test/
Dtest_structmembers.py32 ts.T_BOOL = True
33 self.assertEqual(ts.T_BOOL, True)
34 ts.T_BOOL = False
35 self.assertEqual(ts.T_BOOL, False)
/external/python/cpython3/Python/
Dstructmember.c15 case T_BOOL: in PyMember_GetOne()
127 case T_BOOL:{ in PyMember_SetOne()
/external/python/cpython3/Include/
Dstructmember.h47 #define T_BOOL 14 macro
/external/python/cpython2/Python/
Dstructmember.c64 case T_BOOL: in PyMember_GetOne()
199 case T_BOOL:{ in PyMember_SetOne()
/external/python/cpython2/Include/
Dstructmember.h66 #define T_BOOL 14 macro
/external/python/cpython3/Modules/
D_bz2module.c715 {"eof", T_BOOL, offsetof(BZ2Decompressor, eof),
719 {"needs_input", T_BOOL, offsetof(BZ2Decompressor, needs_input), READONLY,
D_lzmamodule.c1276 {"eof", T_BOOL, offsetof(Decompressor, eof), READONLY,
1278 {"needs_input", T_BOOL, offsetof(Decompressor, needs_input), READONLY,
Dzlibmodule.c1172 {"eof", T_BOOL, COMP_OFF(eof), READONLY},
D_testcapimodule.c4262 {"T_BOOL", T_BOOL, offsetof(test_structmembers, structmembers.bool_member), 0, NULL},
/external/python/cpython3/Objects/
Dgenobject.c733 {"gi_running", T_BOOL, offsetof(PyGenObject, gi_running), READONLY},
968 {"cr_running", T_BOOL, offsetof(PyCoroObject, cr_running), READONLY},
1407 {"ag_running", T_BOOL, offsetof(PyAsyncGenObject, ag_running), READONLY},
Dexceptions.c349 {"__suppress_context__", T_BOOL,
/external/python/cpython3/Modules/_io/
Dbufferedio.c2421 {"_finalizing", T_BOOL, offsetof(buffered, finalizing), 0},
2508 {"_finalizing", T_BOOL, offsetof(buffered, finalizing), 0},
2682 {"_finalizing", T_BOOL, offsetof(buffered, finalizing), 0},
Dfileio.c1174 {"_finalizing", T_BOOL, offsetof(fileio, finalizing), 0},
Dwinconsoleio.c1135 {"_finalizing", T_BOOL, offsetof(winconsoleio, finalizing), 0},
Dtextio.c2852 {"line_buffering", T_BOOL, offsetof(textio, line_buffering), READONLY},
2853 {"_finalizing", T_BOOL, offsetof(textio, finalizing), 0},
/external/python/cpython3/Doc/c-api/
Dstructures.rst280 T_BOOL char
/external/python/cpython2/Doc/c-api/
Dstructures.rst304 T_BOOL char
/external/python/cpython2/Modules/_io/
Dtextio.c2618 {"line_buffering", T_BOOL, offsetof(textio, line_buffering), READONLY},
/external/python/cpython2/Modules/
D_testcapimodule.c2626 {"T_BOOL", T_BOOL, offsetof(test_structmembers, structmembers.bool_member), 0, NULL},
/external/python/cpython2/Misc/
DNEWS12136 - Patch #1720595: add T_BOOL to the range of structmember types.