Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_structmembers.py33 ts.T_BOOL = True
34 self.assertEqual(ts.T_BOOL, True)
35 ts.T_BOOL = False
36 self.assertEqual(ts.T_BOOL, False)
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DFlexBuffersInternals.kt96 …ernal inline fun FlexBufferType.isInline(): Boolean = this.value <= T_FLOAT.value || this == T_BOOL in paddingBytes()
99 T_INT, T_UINT, T_FLOAT, T_BOOL -> true in paddingBytes()
111 …pe.isTypedVectorElementType(): Boolean = (this.value in T_INT.value..T_KEY.value) || this == T_BOOL in isTypedVector()
196 T_BOOL -> "BoolVector" in typeToString()
250 internal val T_BOOL = FlexBufferType(26) constant
DFlexBuffers.kt62 public val isBoolean: Boolean get() = type == T_BOOL
228 T_INDIRECT_INT, T_INDIRECT_UINT, T_INT, T_BOOL, T_UINT -> buffer.readULong(pos, width) in get()
247 T_UINT, T_BOOL -> buffer.readUInt(end, parentWidth).toFloat() in pos()
267 T_UINT, T_BOOL -> buffer.readUInt(pos, width).toDouble() in toDouble()
DJSON.kt57 T_BOOL -> out.put(toBoolean().toString()) in toJson()
148 TOK_TRUE -> T_BOOL.also { output[key] = true } in parseValue()
149 TOK_FALSE -> T_BOOL.also { output[key] = false } in parseValue()
DFlexBuffersBuilder.kt84 run { stack.add(Value(T_BOOL, putKey(key), W_8, if (value) 1UL else 0UL)) } in set()
507 T_NULL, T_BOOL, T_INT, T_UINT -> writeInt(toWrite.iValue, byteWidth) in writeAny()
/third_party/python/Python/
Dstructmember.c14 case T_BOOL: in PyMember_GetOne()
131 case T_BOOL:{ in PyMember_SetOne()
/third_party/python/Include/
Dstructmember.h47 #define T_BOOL 14 macro
/third_party/python/Modules/
D_bz2module.c742 {"eof", T_BOOL, offsetof(BZ2Decompressor, eof),
746 {"needs_input", T_BOOL, offsetof(BZ2Decompressor, needs_input), READONLY,
D_csv.c336 { "skipinitialspace", T_BOOL, D_OFF(skipinitialspace), READONLY },
337 { "doublequote", T_BOOL, D_OFF(doublequote), READONLY },
338 { "strict", T_BOOL, D_OFF(strict), 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"},
D_lzmamodule.c1335 {"eof", T_BOOL, offsetof(Decompressor, eof), READONLY,
1337 {"needs_input", T_BOOL, offsetof(Decompressor, needs_input), READONLY,
Dzlibmodule.c1376 {"eof", T_BOOL, COMP_OFF(eof), READONLY},
D_testcapimodule.c5931 {"T_BOOL", T_BOOL, offsetof(test_structmembers, structmembers.bool_member), 0, NULL},
/third_party/python/Objects/
Dframeobject.c19 {"f_trace_lines", T_BOOL, OFF(f_trace_lines), 0},
20 {"f_trace_opcodes", T_BOOL, OFF(f_trace_opcodes), 0},
Dgenobject.c1375 {"ag_running", T_BOOL, offsetof(PyAsyncGenObject, ag_running_async),
Dexceptions.c375 {"__suppress_context__", T_BOOL,
/third_party/python/Modules/_io/
Dbufferedio.c2418 {"_finalizing", T_BOOL, offsetof(buffered, finalizing), 0},
2504 {"_finalizing", T_BOOL, offsetof(buffered, finalizing), 0},
2675 {"_finalizing", T_BOOL, offsetof(buffered, finalizing), 0},
Dfileio.c1186 {"_finalizing", T_BOOL, offsetof(fileio, finalizing), 0},
Dtextio.c3270 {"line_buffering", T_BOOL, offsetof(textio, line_buffering), READONLY},
3271 {"write_through", T_BOOL, offsetof(textio, write_through), READONLY},
3272 {"_finalizing", T_BOOL, offsetof(textio, finalizing), 0},
Dwinconsoleio.c1108 {"_finalizing", T_BOOL, offsetof(winconsoleio, finalizing), 0},
/third_party/python/Doc/c-api/
Dstructures.rst437 T_BOOL char