/external/skia/src/sksl/ |
D | SkSLParser.h | 31 struct ASTExpression; 181 std::unique_ptr<ASTExpression> expression(); 183 std::unique_ptr<ASTExpression> commaExpression(); 185 std::unique_ptr<ASTExpression> assignmentExpression(); 187 std::unique_ptr<ASTExpression> ternaryExpression(); 189 std::unique_ptr<ASTExpression> logicalOrExpression(); 191 std::unique_ptr<ASTExpression> logicalXorExpression(); 193 std::unique_ptr<ASTExpression> logicalAndExpression(); 195 std::unique_ptr<ASTExpression> bitwiseOrExpression(); 197 std::unique_ptr<ASTExpression> bitwiseXorExpression(); [all …]
|
D | SkSLParser.cpp | 438 if (!var.fSizes[i] || var.fSizes[i]->fKind != ASTExpression::kInt_Kind) { in structDeclaration() 492 std::vector<std::unique_ptr<ASTExpression>> currentVarSizes; in varDeclarationEnd() 497 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd() 507 std::unique_ptr<ASTExpression> value; in varDeclarationEnd() 526 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd() 962 std::vector<std::unique_ptr<ASTExpression>> sizes; in interfaceBlock() 967 std::unique_ptr<ASTExpression> size = this->expression(); in interfaceBlock() 995 std::unique_ptr<ASTExpression> test(this->expression()); in ifStatement() 1036 std::unique_ptr<ASTExpression> test(this->expression()); in doStatement() 1060 std::unique_ptr<ASTExpression> test(this->expression()); in whileStatement() [all …]
|
D | SkSLIRGenerator.h | 101 std::unique_ptr<Expression> convertExpression(const ASTExpression& expression); 139 const ASTExpression& index);
|
D | SkSLIRGenerator.cpp | 812 std::unique_ptr<Expression> IRGenerator::convertExpression(const ASTExpression& expr) { in convertExpression() 814 case ASTExpression::kIdentifier_Kind: in convertExpression() 816 case ASTExpression::kBool_Kind: in convertExpression() 819 case ASTExpression::kInt_Kind: in convertExpression() 822 case ASTExpression::kFloat_Kind: in convertExpression() 825 case ASTExpression::kBinary_Kind: in convertExpression() 827 case ASTExpression::kPrefix_Kind: in convertExpression() 829 case ASTExpression::kSuffix_Kind: in convertExpression() 831 case ASTExpression::kTernary_Kind: in convertExpression() 1667 const ASTExpression& index) { in convertIndex() [all …]
|
/external/skia/src/sksl/ast/ |
D | SkSLASTTernaryExpression.h | 18 struct ASTTernaryExpression : public ASTExpression { 19 ASTTernaryExpression(std::unique_ptr<ASTExpression> test, in ASTTernaryExpression() 20 std::unique_ptr<ASTExpression> ifTrue, in ASTTernaryExpression() 21 std::unique_ptr<ASTExpression> ifFalse) in ASTTernaryExpression() 32 const std::unique_ptr<ASTExpression> fTest; 33 const std::unique_ptr<ASTExpression> fIfTrue; 34 const std::unique_ptr<ASTExpression> fIfFalse; 36 typedef ASTExpression INHERITED;
|
D | SkSLASTBinaryExpression.h | 19 struct ASTBinaryExpression : public ASTExpression { 20 ASTBinaryExpression(std::unique_ptr<ASTExpression> left, Token op, in ASTBinaryExpression() 21 std::unique_ptr<ASTExpression> right) in ASTBinaryExpression() 32 const std::unique_ptr<ASTExpression> fLeft; 34 const std::unique_ptr<ASTExpression> fRight; 36 typedef ASTExpression INHERITED;
|
D | SkSLASTPrefixExpression.h | 19 struct ASTPrefixExpression : public ASTExpression { 20 ASTPrefixExpression(Token op, std::unique_ptr<ASTExpression> operand) in ASTPrefixExpression() 30 const std::unique_ptr<ASTExpression> fOperand; 32 typedef ASTExpression INHERITED;
|
D | SkSLASTSuffixExpression.h | 19 struct ASTSuffixExpression : public ASTExpression { 20 ASTSuffixExpression(std::unique_ptr<ASTExpression> base, std::unique_ptr<ASTSuffix> suffix) in ASTSuffixExpression() 29 const std::unique_ptr<ASTExpression> fBase; 32 typedef ASTExpression INHERITED;
|
D | SkSLASTForStatement.h | 20 std::unique_ptr<ASTExpression> test, std::unique_ptr<ASTExpression> next, in ASTForStatement() 47 const std::unique_ptr<ASTExpression> fTest; 48 const std::unique_ptr<ASTExpression> fNext;
|
D | SkSLASTVarDeclaration.h | 26 std::vector<std::unique_ptr<ASTExpression>> sizes, in ASTVarDeclaration() 27 std::unique_ptr<ASTExpression> value) in ASTVarDeclaration() 50 std::vector<std::unique_ptr<ASTExpression>> fSizes; 53 std::unique_ptr<ASTExpression> fValue;
|
D | SkSLASTBoolLiteral.h | 18 struct ASTBoolLiteral : public ASTExpression { 29 typedef ASTExpression INHERITED;
|
D | SkSLASTFloatLiteral.h | 18 struct ASTFloatLiteral : public ASTExpression { 29 typedef ASTExpression INHERITED;
|
D | SkSLASTIntLiteral.h | 19 struct ASTIntLiteral : public ASTExpression { 30 typedef ASTExpression INHERITED;
|
D | SkSLASTIdentifier.h | 18 struct ASTIdentifier : public ASTExpression { 29 typedef ASTExpression INHERITED;
|
D | SkSLASTExpression.h | 18 struct ASTExpression : public ASTPositionNode { struct 30 ASTExpression(Position position, Kind kind) in ASTExpression() argument
|
D | SkSLASTExpressionStatement.h | 19 ASTExpressionStatement(std::unique_ptr<ASTExpression> expression) in ASTExpressionStatement() 27 const std::unique_ptr<ASTExpression> fExpression;
|
D | SkSLASTReturnStatement.h | 20 ASTReturnStatement(Position position, std::unique_ptr<ASTExpression> expression) in ASTReturnStatement() 32 const std::unique_ptr<ASTExpression> fExpression;
|
D | SkSLASTIndexSuffix.h | 25 ASTIndexSuffix(std::unique_ptr<ASTExpression> expression) in ASTIndexSuffix() 38 std::unique_ptr<ASTExpression> fExpression;
|
D | SkSLASTDoStatement.h | 20 std::unique_ptr<ASTExpression> test) in ASTDoStatement() 30 const std::unique_ptr<ASTExpression> fTest;
|
D | SkSLASTWhileStatement.h | 19 ASTWhileStatement(Position position, std::unique_ptr<ASTExpression> test, in ASTWhileStatement() 29 const std::unique_ptr<ASTExpression> fTest;
|
D | SkSLASTCallSuffix.h | 20 ASTCallSuffix(Position position, std::vector<std::unique_ptr<ASTExpression>> arguments) in ASTCallSuffix() 36 std::vector<std::unique_ptr<ASTExpression>> fArguments;
|
D | SkSLASTSwitchCase.h | 20 ASTSwitchCase(Position position, std::unique_ptr<ASTExpression> value, in ASTSwitchCase() 40 const std::unique_ptr<ASTExpression> fValue;
|
D | SkSLASTSwitchStatement.h | 20 ASTSwitchStatement(Position position, bool isStatic, std::unique_ptr<ASTExpression> value, in ASTSwitchStatement() 41 const std::unique_ptr<ASTExpression> fValue;
|
D | SkSLASTIfStatement.h | 19 ASTIfStatement(Position position, bool isStatic, std::unique_ptr<ASTExpression> test, in ASTIfStatement() 44 const std::unique_ptr<ASTExpression> fTest;
|
D | SkSLASTInterfaceBlock.h | 31 std::vector<std::unique_ptr<ASTExpression>> sizes) in ASTInterfaceBlock() 62 const std::vector<std::unique_ptr<ASTExpression>> fSizes;
|