/external/skia/src/sksl/ |
D | SkSLOperator.cpp | 247 *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()
|
D | SkSLBuiltinTypes.cpp | 49 , 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(),
|
D | SkSLUtil.cpp | 51 if (type.matches(*context.fTypes.fBool )) { *outType = SkSLType::kBool; return true; } in type_to_sksltype()
|
D | SkSLBuiltinTypes.h | 54 const std::unique_ptr<Type> fBool; variable
|
/external/skia/src/sksl/lex/ |
D | RegexNode.h | 43 fPayload.fBool = false; in RegexNode() 73 bool fBool; member
|
D | RegexNode.cpp | 42 result.push_back(nfa->addState(NFAState(fPayload.fBool, chars, accept))); in createStates() 96 if (fPayload.fBool) { in description()
|
D | RegexParser.cpp | 142 set.fPayload.fBool = true; in set() 145 set.fPayload.fBool = false; in set()
|
/external/skia/src/sksl/ir/ |
D | SkSLDoStatement.cpp | 28 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert() 43 SkASSERT(test->type().matches(*context.fTypes.fBool)); in Make()
|
D | SkSLIfStatement.cpp | 42 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert() 67 SkASSERT(test->type().matches(*context.fTypes.fBool)); in Make()
|
D | SkSLForStatement.cpp | 104 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert() 179 SkASSERT(!test || test->type().matches(*context.fTypes.fBool)); in Make()
|
D | SkSLSetting.cpp | 85 return std::make_unique<Setting>(pos, capsPtr, context.fTypes.fBool.get()); in Make()
|
D | SkSLLiteral.h | 72 return std::make_unique<Literal>(pos, value, context.fTypes.fBool.get()); in MakeBool()
|
D | SkSLTernaryExpression.cpp | 27 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert()
|
D | SkSLType.cpp | 994 } else if (this->matches(*context.fTypes.fBool)) { in toCompound() 998 case 1: return *context.fTypes.fBool; in toCompound()
|
D | SkSLFunctionCall.cpp | 215 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/ |
D | BindingsVersioningTest.java | 50 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/ |
D | SkSLMemoryLayoutTest.cpp | 40 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/ |
D | SkSLSPIRVCodeGenerator.cpp | 2592 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 …]
|
D | SkSLGLSLCodeGenerator.cpp | 143 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/ |
D | DSLType.cpp | 84 return context.fTypes.fBool.get(); in get_type_from_type_constant()
|