Home
last modified time | relevance | path

Searched refs:ifFalse (Results 1 – 25 of 55) sorted by relevance

123

/third_party/skia/src/sksl/ir/
DSkSLIfStatement.cpp23 this->ifFalse() ? this->ifFalse()->clone() : nullptr); in clone()
32 if (this->ifFalse()) { in description()
33 result += " else " + this->ifFalse()->description(); in description()
41 std::unique_ptr<Statement> ifFalse) { in Convert() argument
50 if (ifFalse && Analysis::DetectVarDeclarationWithoutScope(*ifFalse, context.fErrors)) { in Convert()
54 std::move(ifTrue), std::move(ifFalse)); in Convert()
66 std::unique_ptr<Statement> ifFalse) { in Make() argument
69 SkASSERT(!ifFalse || !Analysis::DetectVarDeclarationWithoutScope(*ifFalse)); in Make()
78 falseIsEmpty = !ifFalse || ifFalse->isEmpty(); in Make()
91 return replace_empty_with_nop(std::move(ifFalse), falseIsEmpty); in Make()
[all …]
DSkSLTernaryExpression.cpp22 std::unique_ptr<Expression> ifFalse) { in Convert() argument
24 if (!test || !ifTrue || !ifFalse) { in Convert()
32 if (!equalityOp.determineBinaryType(context, ifTrue->type(), ifFalse->type(), in Convert()
37 ifFalse->type().displayName() + "'"); in Convert()
54 ifFalse = falseType->coerceExpression(std::move(ifFalse), context); in Convert()
55 if (!ifFalse) { in Convert()
58 return TernaryExpression::Make(context, std::move(test), std::move(ifTrue), std::move(ifFalse)); in Convert()
64 std::unique_ptr<Expression> ifFalse) { in Make() argument
65 SkASSERT(ifTrue->type() == ifFalse->type()); in Make()
73 : std::move(ifFalse); in Make()
[all …]
DSkSLTernaryExpression.h23 std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse) in TernaryExpression() argument
27 , fIfFalse(std::move(ifFalse)) { in TernaryExpression()
28 SkASSERT(this->ifTrue()->type() == this->ifFalse()->type()); in TernaryExpression()
36 std::unique_ptr<Expression> ifFalse);
42 std::unique_ptr<Expression> ifFalse);
60 std::unique_ptr<Expression>& ifFalse() { in ifFalse() function
64 const std::unique_ptr<Expression>& ifFalse() const { in ifFalse() function
70 this->ifFalse()->hasProperty(property); in hasProperty()
75 this->ifFalse()->isConstantOrUniform(); in isConstantOrUniform()
81 this->ifFalse()->clone()); in clone()
[all …]
DSkSLIfStatement.h26 std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse) in IfStatement() argument
30 , fIfFalse(std::move(ifFalse)) in IfStatement()
38 std::unique_ptr<Statement> ifFalse);
44 std::unique_ptr<Statement> ifFalse);
66 std::unique_ptr<Statement>& ifFalse() { in ifFalse() function
70 const std::unique_ptr<Statement>& ifFalse() const { in ifFalse() function
/third_party/flutter/skia/src/sksl/ir/
DSkSLTernaryExpression.h21 std::unique_ptr<Expression> ifTrue, std::unique_ptr<Expression> ifFalse) in TernaryExpression()
25 , fIfFalse(std::move(ifFalse)) { in TernaryExpression()
DSkSLIfStatement.h21 std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse) in IfStatement()
26 , fIfFalse(std::move(ifFalse)) {} in IfStatement()
/third_party/skia/src/sksl/dsl/
DDSLCore.cpp210 static DSLPossibleStatement If(DSLExpression test, DSLStatement ifTrue, DSLStatement ifFalse, in If() argument
213 ifTrue.release(), ifFalse.releaseIfPossible()); in If()
331 DSLExpression ifFalse) { in Select() argument
333 ifTrue.release(), ifFalse.release()); in Select()
443 DSLStatement If(DSLExpression test, DSLStatement ifTrue, DSLStatement ifFalse, PositionInfo pos) { in If() argument
444 return DSLStatement(DSLCore::If(std::move(test), std::move(ifTrue), std::move(ifFalse), in If()
465 DSLExpression Select(DSLExpression test, DSLExpression ifTrue, DSLExpression ifFalse, in Select() argument
467 return DSLExpression(DSLCore::Select(std::move(test), std::move(ifTrue), std::move(ifFalse)), in Select()
471 DSLStatement StaticIf(DSLExpression test, DSLStatement ifTrue, DSLStatement ifFalse, in StaticIf() argument
473 return DSLStatement(DSLCore::If(std::move(test), std::move(ifTrue), std::move(ifFalse), in StaticIf()
/third_party/skia/src/sksl/analysis/
DSkSLCanExitWithoutReturningValue.cpp48 if (i.ifFalse()) { in visitStatement()
49 falseVisitor.visitStatement(*i.ifFalse()); in visitStatement()
/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp321 std::unique_ptr<LValue> ifFalse) in getLValue() argument
325 , fIfFalse(std::move(ifFalse)) {} in getLValue()
344 LLVMValueRef ifFalse = fIfTrue->load(builder); in getLValue() local
349 LLVMValueRef incomingValues[2] = { ifTrue, ifFalse }; in getLValue()
694 LLVMBasicBlockRef ifFalse = fCurrentBlock; in compileBinary() local
706 LLVMBasicBlockRef incomingBlocks[2] = { ifTrue, ifFalse }; in compileBinary()
713 LLVMBasicBlockRef ifFalse = LLVMAppendBasicBlockInContext(fContext, fCurrentFunction, in compileBinary() local
717 LLVMBuildCondBr(builder, left, merge, ifFalse); in compileBinary()
718 this->setBlock(builder, ifFalse); in compileBinary()
724 LLVMBasicBlockRef incomingBlocks[2] = { ifFalse, ifTrue }; in compileBinary()
[all …]
DSkSLIRGenerator.cpp407 std::unique_ptr<Statement> ifFalse; in convertIf() local
409 ifFalse = this->convertStatement(*(iter++)); in convertIf()
410 if (!ifFalse) { in convertIf()
418 } else if (ifFalse) { in convertIf()
419 return ifFalse; in convertIf()
428 std::move(ifTrue), std::move(ifFalse))); in convertIf()
1717 std::unique_ptr<Expression> ifFalse = this->convertExpression(*(iter++)); in convertTernaryExpression() local
1718 if (!ifFalse) { in convertTernaryExpression()
1724 if (!determine_binary_type(fContext, Token::EQEQ, ifTrue->fType, ifFalse->fType, &trueType, in convertTernaryExpression()
1728 ifFalse->fType.description() + "'"); in convertTernaryExpression()
[all …]
/third_party/skia/src/sksl/transform/
DSkSLEliminateUnreachableCode.cpp107 result |= (ifStmt.ifFalse() && this->visitStatementPtr(ifStmt.ifFalse())); in EliminateUnreachableCode()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dvisibility.dart238 properties.add(FlagProperty('visible', value: visible, ifFalse: 'hidden', ifTrue: 'visible'));
239 properties.add(FlagProperty('maintainState', value: maintainState, ifFalse: 'maintainState'));
240 …properties.add(FlagProperty('maintainAnimation', value: maintainAnimation, ifFalse: 'maintainAnima…
241 properties.add(FlagProperty('maintainSize', value: maintainSize, ifFalse: 'maintainSize'));
242 …properties.add(FlagProperty('maintainSemantics', value: maintainSemantics, ifFalse: 'maintainSeman…
243 …properties.add(FlagProperty('maintainInteractivity', value: maintainInteractivity, ifFalse: 'maint…
/third_party/skia/include/sksl/
DDSLCore.h143 DSLStatement If(DSLExpression test, DSLStatement ifTrue, DSLStatement ifFalse = DSLStatement(),
159 DSLExpression Select(DSLExpression test, DSLExpression ifTrue, DSLExpression ifFalse,
163 DSLStatement ifFalse = DSLStatement(),
/third_party/skia/src/sksl/
DSkSLRehydrator.cpp355 std::unique_ptr<Statement> ifFalse = this->statement(); in statement() local
357 std::move(ifTrue), std::move(ifFalse)); in statement()
524 std::unique_ptr<Expression> ifFalse = this->expression(); in expression() local
526 std::move(ifTrue), std::move(ifFalse)); in expression()
DSkSLAnalysis.cpp697 (t.ifFalse() && this->visitExpressionPtr(t.ifFalse())); in visitExpression()
747 (i.ifFalse() && this->visitStatementPtr(i.ifFalse())); in visitStatement()
DSkSLDSLParser.cpp928 DSLStatement ifFalse; in ifStatement() local
930 ifFalse = this->statement(); in ifStatement()
931 if (!ifFalse.hasValue()) { in ifStatement()
937 ifFalse.hasValue() ? std::move(ifFalse) : DSLStatement(), this->position(start)); in ifStatement()
940 ifFalse.hasValue() ? std::move(ifFalse) : DSLStatement(), this->position(start)); in ifStatement()
DSkSLDehydrator.cpp420 this->write(t.ifFalse().get()); in write()
494 this->write(i.ifFalse().get()); in write()
DSkSLInliner.cpp435 expr(t.ifTrue()), expr(t.ifFalse())); in inlineExpression()
526 stmt(i.ifTrue()), stmt(i.ifFalse())); in inlineStatement()
895 this->visitStatement(&ifStmt.ifFalse()); in visitStatement()
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dswitch.dart131 … properties.add(FlagProperty('value', value: value, ifTrue: 'on', ifFalse: 'off', showName: true));
519 …description.add(FlagProperty('value', value: value, ifTrue: 'checked', ifFalse: 'unchecked', showN…
520 …description.add(FlagProperty('isInteractive', value: isInteractive, ifTrue: 'enabled', ifFalse: 'd…
/third_party/skia/src/sksl/codegen/
DSkSLPipelineStageCodeGenerator.cpp263 if (stmt.ifFalse()) { in writeIfStatement()
265 this->writeStatement(*stmt.ifFalse()); in writeIfStatement()
582 this->writeExpression(*t.ifFalse(), Precedence::kTernary); in writeTernaryExpression()
DSkSLVMCodeGenerator.cpp1485 Value ifTrue, ifFalse; in writeTernaryExpression() local
1493 ifFalse = this->writeExpression(*t.ifFalse()); in writeTernaryExpression()
1497 SkASSERT(nslots == ifFalse.slots()); in writeTernaryExpression()
1501 result[i] = skvm::select(test, i32(ifTrue[i]), i32(ifFalse[i])); in writeTernaryExpression()
1688 if (i.ifFalse()) { in writeIfStatement()
1689 ScopedCondition ifFalse(this, ~i32(test)); in writeIfStatement() local
1690 this->writeStatement(*i.ifFalse()); in writeIfStatement()
DSkSLSPIRVCodeGenerator.cpp2769 t.ifFalse()->isCompileTimeConstant()) { in writeTernaryExpression()
2773 SpvId falseId = this->writeExpression(*t.ifFalse(), out); in writeTernaryExpression()
2792 this->writeInstruction(SpvOpStore, var, this->writeExpression(*t.ifFalse(), out), out); in writeTernaryExpression()
3211 SpvId ifFalse = this->nextId(nullptr); in writeIfStatement() local
3212 if (stmt.ifFalse()) { in writeIfStatement()
3215 this->writeInstruction(SpvOpBranchConditional, test, ifTrue, ifFalse, out); in writeIfStatement()
3221 this->writeLabel(ifFalse, out); in writeIfStatement()
3222 this->writeStatement(*stmt.ifFalse(), out); in writeIfStatement()
3228 this->writeInstruction(SpvOpSelectionMerge, ifFalse, SpvSelectionControlMaskNone, out); in writeIfStatement()
3229 this->writeInstruction(SpvOpBranchConditional, test, ifTrue, ifFalse, out); in writeIfStatement()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DNucleus.hpp213 static void createCondBr(Value *cond, BasicBlock *ifTrue, BasicBlock *ifFalse);
308 static Value *createSelect(Value *C, Value *ifTrue, Value *ifFalse);
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dtoggleable.dart347 …properties.add(FlagProperty('value', value: value, ifTrue: 'checked', ifFalse: 'unchecked', showNa…
348 …properties.add(FlagProperty('isInteractive', value: isInteractive, ifTrue: 'enabled', ifFalse: 'di…
/third_party/flutter/flutter/packages/flutter/test/foundation/
Ddiagnostics_test.dart94 if (property.ifFalse != null) {
95 expect(json['ifFalse'], property.ifFalse);
1197 ifFalse: 'NO',
1204 ifFalse: 'NO',
1221 ifFalse: 'NO',
1231 ifFalse: 'NO',
1241 ifFalse: 'NO',
1572 ifFalse: 'no layout computed',

123