Home
last modified time | relevance | path

Searched refs:T_BOOL (Results 1 – 24 of 24) 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/Include/
Dstructmember.h47 #define T_BOOL 14 macro
/external/python/cpython3/Python/
Dstructmember.c15 case T_BOOL: in PyMember_GetOne()
127 case T_BOOL:{ in PyMember_SetOne()
/external/python/cpython2/Include/
Dstructmember.h66 #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/cpython3/Modules/
D_bz2module.c678 {"eof", T_BOOL, offsetof(BZ2Decompressor, eof),
682 {"needs_input", T_BOOL, offsetof(BZ2Decompressor, needs_input), READONLY,
D_csv.c296 { "skipinitialspace", T_BOOL, D_OFF(skipinitialspace), READONLY },
297 { "doublequote", T_BOOL, D_OFF(doublequote), READONLY },
298 { "strict", T_BOOL, D_OFF(strict), READONLY },
D_lzmamodule.c1255 {"eof", T_BOOL, offsetof(Decompressor, eof), READONLY,
1257 {"needs_input", T_BOOL, offsetof(Decompressor, needs_input), READONLY,
D_json.c41 {"strict", T_BOOL, offsetof(PyScannerObject, strict), READONLY, "strict"},
71 {"sort_keys", T_BOOL, offsetof(PyEncoderObject, sort_keys), READONLY, "sort_keys"},
72 {"skipkeys", T_BOOL, offsetof(PyEncoderObject, skipkeys), READONLY, "skipkeys"},
Dzlibmodule.c1216 {"eof", T_BOOL, COMP_OFF(eof), READONLY},
D_testcapimodule.c5338 {"T_BOOL", T_BOOL, offsetof(test_structmembers, structmembers.bool_member), 0, NULL},
/external/python/cpython3/Objects/
Dframeobject.c20 {"f_trace_lines", T_BOOL, OFF(f_trace_lines), 0},
21 {"f_trace_opcodes", T_BOOL, OFF(f_trace_opcodes), 0},
Dgenobject.c712 {"gi_running", T_BOOL, offsetof(PyGenObject, gi_running), READONLY},
948 {"cr_running", T_BOOL, offsetof(PyCoroObject, cr_running), READONLY},
1345 {"ag_running", T_BOOL, offsetof(PyAsyncGenObject, ag_running_async),
Dexceptions.c360 {"__suppress_context__", T_BOOL,
/external/python/cpython3/Modules/_io/
Dbufferedio.c2405 {"_finalizing", T_BOOL, offsetof(buffered, finalizing), 0},
2491 {"_finalizing", T_BOOL, offsetof(buffered, finalizing), 0},
2662 {"_finalizing", T_BOOL, offsetof(buffered, finalizing), 0},
Dfileio.c1184 {"_finalizing", T_BOOL, offsetof(fileio, finalizing), 0},
Dtextio.c3217 {"line_buffering", T_BOOL, offsetof(textio, line_buffering), READONLY},
3218 {"write_through", T_BOOL, offsetof(textio, write_through), READONLY},
3219 {"_finalizing", T_BOOL, offsetof(textio, finalizing), 0},
Dwinconsoleio.c1111 {"_finalizing", T_BOOL, offsetof(winconsoleio, finalizing), 0},
/external/python/cpython2/Doc/c-api/
Dstructures.rst304 T_BOOL char
/external/python/cpython3/Doc/c-api/
Dstructures.rst319 T_BOOL char
/external/python/cpython2/Modules/_io/
Dtextio.c2623 {"line_buffering", T_BOOL, offsetof(textio, line_buffering), READONLY},
/external/python/cpython2/Modules/
D_testcapimodule.c2821 {"T_BOOL", T_BOOL, offsetof(test_structmembers, structmembers.bool_member), 0, NULL},
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst5310 add T_BOOL to the range of structmember types.