/external/skia/src/sksl/ |
D | SkSLOperators.cpp | 269 *outResultType = context.fTypes.fBool.get(); in determineBinaryType() 276 *outResultType = context.fTypes.fBool.get(); in determineBinaryType() 285 *outLeftType = context.fTypes.fBool.get(); in determineBinaryType() 286 *outRightType = context.fTypes.fBool.get(); in determineBinaryType() 287 *outResultType = context.fTypes.fBool.get(); in determineBinaryType() 288 return left.canCoerceTo(*context.fTypes.fBool, allowNarrowing) && in determineBinaryType() 289 right.canCoerceTo(*context.fTypes.fBool, allowNarrowing); in determineBinaryType() 396 *outResultType = context.fTypes.fBool.get(); in determineBinaryType()
|
D | SkSLBuiltinTypes.cpp | 116 , fBool(MakeScalarType("bool", "b", Type::NumberKind::kBoolean, /*priority=*/0)) in BuiltinTypes() 117 , fBool2(MakeVectorType("bool2", "b2", *fBool, /*columns=*/2)) in BuiltinTypes() 118 , fBool3(MakeVectorType("bool3", "b3", *fBool, /*columns=*/3)) in BuiltinTypes() 119 , fBool4(MakeVectorType("bool4", "b4", *fBool, /*columns=*/4)) in BuiltinTypes() 216 {fBool.get(), fBool2.get(), fBool3.get(), fBool4.get()}))
|
D | SkSLUtil.cpp | 42 if (type == *context.fTypes.fBool ) { *outType = kBool_GrSLType; return true; } in type_to_grsltype()
|
D | SkSLBuiltinTypes.h | 54 const std::unique_ptr<Type> fBool; variable
|
/external/skia/src/sksl/lex/ |
D | RegexNode.h | 42 fPayload.fBool = false; in RegexNode() 72 bool fBool; member
|
D | RegexNode.cpp | 38 result.push_back(nfa->addState(NFAState(fPayload.fBool, chars, accept))); in createStates() 92 if (fPayload.fBool) { in description()
|
D | RegexParser.cpp | 136 set.fPayload.fBool = true; in set() 139 set.fPayload.fBool = false; in set()
|
/external/skqp/src/sksl/lex/ |
D | RegexNode.h | 42 fPayload.fBool = false; in RegexNode() 72 bool fBool; member
|
D | RegexParser.cpp | 136 set.fPayload.fBool = true; in set() 139 set.fPayload.fBool = false; in set()
|
D | RegexNode.cpp | 38 result.push_back(nfa->addState(NFAState(fPayload.fBool, chars, accept))); in createStates() 91 if (fPayload.fBool) { in description()
|
/external/skia/src/sksl/ir/ |
D | SkSLDoStatement.cpp | 21 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert() 32 SkASSERT(test->type() == *context.fTypes.fBool); in Make()
|
D | SkSLIfStatement.cpp | 41 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert() 59 SkASSERT(test->type() == *context.fTypes.fBool); in Make()
|
D | SkSLForStatement.cpp | 89 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert() 142 SkASSERT(!test || test->type() == *context.fTypes.fBool); in Make()
|
D | SkSLType.cpp | 175 } else if (*this == *context.fTypes.fBool) { in toCompound() 179 case 1: return *context.fTypes.fBool; in toCompound()
|
D | SkSLBoolLiteral.h | 34 return std::make_unique<BoolLiteral>(offset, value, context.fTypes.fBool.get()); in Make()
|
D | SkSLTernaryExpression.cpp | 21 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert()
|
D | SkSLSetting.cpp | 31 return context.fTypes.fBool.get(); in type()
|
D | SkSLFunctionCall.cpp | 73 const Type& bvecType = context.fTypes.fBool->toCompound(context, type.columns(), /*rows=*/1); in optimize_comparison_of_type()
|
/external/skqp/src/sksl/ |
D | SkSLInterpreter.cpp | 123 if (f.fTest && !evaluate(*f.fTest).fBool) { in runStatement() 146 if (evaluate(*i.fTest).fBool) { in runStatement() 205 return this->getLValue(this->evaluate(*t.fTest).fBool ? *t.fIfTrue : *t.fIfFalse); in getLValue() 353 if (result.fBool) { in evaluate() 360 if (!result.fBool) { in evaluate() 417 return Value(!base.fBool); in evaluate() 460 return this->evaluate(this->evaluate(*t.fTest).fBool ? *t.fIfTrue : *t.fIfFalse); in evaluate()
|
D | SkSLInterpreter.h | 41 : fBool(b) {} in Value() 45 bool fBool; member
|
/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 | 29 REPORTER_ASSERT(r, 1 == layout.size(*context.fTypes.fBool)); in DEF_TEST() 46 REPORTER_ASSERT(r, 1 == layout.alignment(*context.fTypes.fBool)); in DEF_TEST() 69 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fTypes.fBool.get()); in DEF_TEST() 116 REPORTER_ASSERT(r, 1 == layout.size(*context.fTypes.fBool)); in DEF_TEST() 133 REPORTER_ASSERT(r, 1 == layout.alignment(*context.fTypes.fBool)); in DEF_TEST() 156 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fTypes.fBool.get()); in DEF_TEST()
|
/external/skia/src/sksl/dsl/ |
D | DSLType.cpp | 69 return *context.fTypes.fBool; in skslType()
|
/external/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.cpp | 106 else if (component == *fContext.fTypes.fBool) { in getTypeName() 888 BoolLiteral boolTrue(/*offset=*/-1, /*value=*/true, fContext.fTypes.fBool.get()); in writeShortCircuitWorkaroundExpression() 893 BoolLiteral boolFalse(/*offset=*/-1, /*value=*/false, fContext.fTypes.fBool.get()); in writeShortCircuitWorkaroundExpression() 1272 fContext.fTypes.fBool.get())); in writeForStatement()
|
D | SkSLSPIRVCodeGenerator.cpp | 2153 this->writeInstruction(SpvOpLogicalNot, this->getType(*fContext.fTypes.fBool), inverse, in writeVariableReference() 2221 this->writeInstruction(op, this->getType(*fContext.fTypes.fBool), result, id, out); in foldToBool() 2236 SpvId bvecType = this->getType(fContext.fTypes.fBool->toCompound(fContext, in writeMatrixComparison() 2239 SpvId boolType = this->getType(*fContext.fTypes.fBool); in writeMatrixComparison() 2416 tmpType = &fContext.fTypes.fBool->toCompound(fContext, in writeBinaryExpression() 2443 tmpType = &fContext.fTypes.fBool->toCompound(fContext, in writeBinaryExpression() 2539 const Type& boolType = *fContext.fTypes.fBool; in writeArrayComparison() 2565 const Type& boolType = *fContext.fTypes.fBool; in writeStructComparison() 2592 const Type& boolType = *fContext.fTypes.fBool; in mergeComparisons() 2680 BoolLiteral falseLiteral(/*offset=*/-1, /*value=*/false, fContext.fTypes.fBool.get()); in writeLogicalAnd() [all …]
|