Home
last modified time | relevance | path

Searched refs:maybeBool (Results 1 – 13 of 13) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DnullishCoalescingOperator1.js47 const maybeBool = false;
49 if (!(maybeBool ?? true)) {
53 if (maybeBool ?? true) {
86 var maybeBool = false; variable
87 if (!(maybeBool !== null && maybeBool !== void 0 ? maybeBool : true)) {
90 if (maybeBool !== null && maybeBool !== void 0 ? maybeBool : true) {
DnullishCoalescingOperator1.types178 const maybeBool = false;
179 >maybeBool : false
182 if (!(maybeBool ?? true)) {
183 >!(maybeBool ?? true) : true
184 >(maybeBool ?? true) : false
185 >maybeBool ?? true : false
186 >maybeBool : false
194 if (maybeBool ?? true) {
195 >maybeBool ?? true : false
196 >maybeBool : false
DnullishCoalescingOperator1.symbols131 const maybeBool = false;
132 >maybeBool : Symbol(maybeBool, Decl(nullishCoalescingOperator1.ts, 45, 5))
134 if (!(maybeBool ?? true)) {
135 >maybeBool : Symbol(maybeBool, Decl(nullishCoalescingOperator1.ts, 45, 5))
141 if (maybeBool ?? true) {
142 >maybeBool : Symbol(maybeBool, Decl(nullishCoalescingOperator1.ts, 45, 5))
/third_party/typescript/tests/cases/conformance/expressions/nullishCoalescingOperator/
DnullishCoalescingOperator1.ts49 const maybeBool = false;
51 if (!(maybeBool ?? true)) {
55 if (maybeBool ?? true) {
/third_party/flatbuffers/tests/optional_scalars/
Dscalar-stuff.js148 maybeBool() { method in ScalarStuff
264 static addMaybeBool(builder, maybeBool) { argument
265 builder.addFieldInt8(31, +maybeBool, 0);
289 …justF32, maybeF32, defaultF32, justF64, maybeF64, defaultF64, justBool, maybeBool, defaultBool, ju… argument
332 if (maybeBool !== null)
333 ScalarStuff.addMaybeBool(builder, maybeBool);
DScalarStuff.kt175 val maybeBool : Boolean? constant
208 …tF64: Double, maybeF64: Double?, defaultF64: Double, justBool: Boolean, maybeBool: Boolean?, defau… in ScalarStuffBufferHasIdentifier()
238 maybeBool?.run { addMaybeBool(builder, maybeBool) } in ScalarStuffBufferHasIdentifier()
280 …fun addMaybeBool(builder: FlatBufferBuilder, maybeBool: Boolean) = builder.addBoolean(31, maybeBoo… in startScalarStuff()
Dscalar-stuff.ts185 maybeBool():boolean|null { method in ScalarStuff
338 static addMaybeBool(builder:flatbuffers.Builder, maybeBool:boolean) {
339 builder.addFieldInt8(31, +maybeBool, 0);
371 …tF64:number, maybeF64:number|null, defaultF64:number, justBool:boolean, maybeBool:boolean|null, de…
414 if (maybeBool !== null)
415 ScalarStuff.addMaybeBool(builder, maybeBool);
DScalarStuff.java61 …public boolean maybeBool() { int o = __offset(66); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } in maybeBool() method in ScalarStuff
177 … void addMaybeBool(FlatBufferBuilder builder, boolean maybeBool) { builder.addBoolean(31, maybeBoo… in addMaybeBool() argument
DScalarStuff.cs169 …tic void AddMaybeBool(FlatBufferBuilder builder, bool? maybeBool) { builder.AddBool(31, maybeBool)… in AddMaybeBool()
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
Doptional_scalars_generated.swift64 case maybeBool = 66
104 …public var maybeBool: Bool? { let o = _accessor.offset(VTOFFSET.maybeBool.v); return o == 0 ? true… variable
142 …public static func add(maybeBool: Bool?, _ fbb: inout FlatBufferBuilder) { fbb.add(element: maybeB… in add()
182 maybeBool: Bool? = nil,
220 optional_scalars_ScalarStuff.add(maybeBool: maybeBool, &fbb)
DFlatBuffersTests.swift93 maybeBool: true, in testWriteOptionalValues()
100 XCTAssertEqual(scalarTable.maybeBool, true) in testWriteOptionalValues()
/third_party/flatbuffers/tests/
DKotlinTest.kt511 assert(scalarStuff.maybeBool == null) in TestScalarOptional()
594 assert(scalarStuff.maybeBool == true) in TestScalarOptional()
DJavaTest.java1267 TestEq(scalarStuff.maybeBool(), false); in TestScalarOptional()
1363 TestEq(scalarStuff.maybeBool(), true); in TestScalarOptional()