Home
last modified time | relevance | path

Searched refs:fBool (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/sksl/
DSkSLOperator.cpp247 *outResultType = context.fTypes.fBool.get(); in determineBinaryType()
254 *outResultType = context.fTypes.fBool.get(); in determineBinaryType()
263 *outLeftType = context.fTypes.fBool.get(); in determineBinaryType()
264 *outRightType = context.fTypes.fBool.get(); in determineBinaryType()
265 *outResultType = context.fTypes.fBool.get(); in determineBinaryType()
266 return left.canCoerceTo(*context.fTypes.fBool, allowNarrowing) && in determineBinaryType()
267 right.canCoerceTo(*context.fTypes.fBool, allowNarrowing); in determineBinaryType()
377 *outResultType = context.fTypes.fBool.get(); in determineBinaryType()
DSkSLBuiltinTypes.cpp49 , fBool(Type::MakeScalarType( in BuiltinTypes()
51 , fBool2(Type::MakeVectorType("bool2", "b2", *fBool, /*columns=*/2)) in BuiltinTypes()
52 , fBool3(Type::MakeVectorType("bool3", "b3", *fBool, /*columns=*/3)) in BuiltinTypes()
53 , fBool4(Type::MakeVectorType("bool4", "b4", *fBool, /*columns=*/4)) in BuiltinTypes()
172 , fGenBType(Type::MakeGenericType("$genBType", {fBool.get(), fBool2.get(), fBool3.get(),
DSkSLUtil.cpp51 if (type.matches(*context.fTypes.fBool )) { *outType = SkSLType::kBool; return true; } in type_to_sksltype()
DSkSLBuiltinTypes.h54 const std::unique_ptr<Type> fBool; variable
/external/skia/src/sksl/lex/
DRegexNode.h43 fPayload.fBool = false; in RegexNode()
73 bool fBool; member
DRegexNode.cpp42 result.push_back(nfa->addState(NFAState(fPayload.fBool, chars, accept))); in createStates()
96 if (fPayload.fBool) { in description()
DRegexParser.cpp142 set.fPayload.fBool = true; in set()
145 set.fPayload.fBool = false; in set()
/external/skia/src/sksl/ir/
DSkSLDoStatement.cpp28 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert()
43 SkASSERT(test->type().matches(*context.fTypes.fBool)); in Make()
DSkSLIfStatement.cpp42 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert()
67 SkASSERT(test->type().matches(*context.fTypes.fBool)); in Make()
DSkSLForStatement.cpp104 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert()
179 SkASSERT(!test || test->type().matches(*context.fTypes.fBool)); in Make()
DSkSLSetting.cpp85 return std::make_unique<Setting>(pos, capsPtr, context.fTypes.fBool.get()); in Make()
DSkSLLiteral.h72 return std::make_unique<Literal>(pos, value, context.fTypes.fBool.get()); in MakeBool()
DSkSLTernaryExpression.cpp27 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert()
DSkSLType.cpp994 } else if (this->matches(*context.fTypes.fBool)) { in toCompound()
998 case 1: return *context.fTypes.fBool; in toCompound()
DSkSLFunctionCall.cpp215 const Type& bvecType = context.fTypes.fBool->toCompound(context, type.columns(), /*rows=*/1); in optimize_comparison()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DBindingsVersioningTest.java50 struct.fBool = true; in newStruct()
131 v7.fBool = true; in testOldToNew()
137 expected.fBool = true; in testOldToNew()
207 expected.fBool = true; in testNewToOld()
/external/skia/tests/
DSkSLMemoryLayoutTest.cpp40 REPORTER_ASSERT(r, 1 == layout.size(*context.fTypes.fBool)); in DEF_TEST()
58 REPORTER_ASSERT(r, 1 == layout.alignment(*context.fTypes.fBool)); in DEF_TEST()
86 context.fTypes.fBool.get()); in DEF_TEST()
138 REPORTER_ASSERT(r, 1 == layout.size(*context.fTypes.fBool)); in DEF_TEST()
156 REPORTER_ASSERT(r, 1 == layout.alignment(*context.fTypes.fBool)); in DEF_TEST()
184 context.fTypes.fBool.get()); in DEF_TEST()
347 REPORTER_ASSERT(r, 0 == layout.size(*context.fTypes.fBool)); in DEF_TEST()
601 REPORTER_ASSERT(r, 0 == layout.size(*context.fTypes.fBool)); in DEF_TEST()
733 auto testArray = SkSL::Type::MakeArrayType("bool[3]", *context.fTypes.fBool, 3); in DEF_TEST()
742 REPORTER_ASSERT(r, !layout.isSupported(*context.fTypes.fBool)); in DEF_TEST()
/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp2592 fContext.fTypes.fBool.get(), in writeVariableReference()
2703 this->writeInstruction(op, this->getType(*fContext.fTypes.fBool), result, id, out); in foldToBool()
2718 SpvId bvecType = this->getType(fContext.fTypes.fBool->toCompound(fContext, in writeMatrixComparison()
2721 SpvId boolType = this->getType(*fContext.fTypes.fBool); in writeMatrixComparison()
2938 tmpType = &fContext.fTypes.fBool->toCompound(fContext, in writeBinaryExpression()
2946 return this->writeOpConstantTrue(*fContext.fTypes.fBool); in writeBinaryExpression()
2969 tmpType = &fContext.fTypes.fBool->toCompound(fContext, in writeBinaryExpression()
2977 return this->writeOpConstantFalse(*fContext.fTypes.fBool); in writeBinaryExpression()
3070 const Type& boolType = *fContext.fTypes.fBool; in writeArrayComparison()
3094 const Type& boolType = *fContext.fTypes.fBool; in writeStructComparison()
[all …]
DSkSLGLSLCodeGenerator.cpp143 else if (component.matches(*fContext.fTypes.fBool)) { in getTypeName()
1044 Literal boolTrue(Position(), /*value=*/1, fContext.fTypes.fBool.get()); in writeShortCircuitWorkaroundExpression()
1049 Literal boolFalse(Position(), /*value=*/0, fContext.fTypes.fBool.get()); in writeShortCircuitWorkaroundExpression()
1440 fContext.fTypes.fBool.get())); in writeForStatement()
/external/skia/src/sksl/dsl/
DDSLType.cpp84 return context.fTypes.fBool.get(); in get_type_from_type_constant()