/third_party/skia/src/sksl/ir/ |
D | SkSLLiteral.h | 42 static std::unique_ptr<Literal> MakeInt(const Context& context, int line, SKSL_INT value) { in MakeInt() 47 static std::unique_ptr<Literal> MakeInt(int line, SKSL_INT value, const Type* type) { in MakeInt() 85 SKSL_INT intValue() const { in intValue() 87 return (SKSL_INT)fValue; in intValue() 90 SKSL_INT boolValue() const { in boolValue()
|
D | SkSLIndexExpression.cpp | 21 static bool index_out_of_range(const Context& context, SKSL_INT index, const Expression& base) { in index_out_of_range() 59 SKSL_INT arraySize = baseType.convertArraySize(context, std::move(index)); in Convert() 82 SKSL_INT indexValue = indexExpr->as<Literal>().intValue(); in Convert() 99 SKSL_INT indexValue = indexExpr->as<Literal>().intValue(); in Make()
|
D | SkSLSwitchStatement.cpp | 53 SkTHashSet<SKSL_INT> intValues; in find_duplicate_case_values() 72 SKSL_INT intValue = 0; in find_duplicate_case_values() 194 SKSL_INT intValue; in Convert() 249 SKSL_INT switchValue; in Make() 260 SKSL_INT caseValue; in Make()
|
D | SkSLFunctionCall.cpp | 52 void type_check_expression<SKSL_INT>(const Expression& expr) { in type_check_expression() 273 return evaluate_intrinsic<SKSL_INT>(context, arguments, returnType, eval); in evaluate_intrinsic_numeric() 293 type_check_expression<SKSL_INT>(*arguments[0]); in evaluate_pairwise_intrinsic() 294 type_check_expression<SKSL_INT>(*arguments[1]); in evaluate_pairwise_intrinsic() 318 type_check_expression<SKSL_INT>(*arguments[0]); in evaluate_3_way_intrinsic() 319 type_check_expression<SKSL_INT>(*arguments[1]); in evaluate_3_way_intrinsic() 320 type_check_expression<SKSL_INT>(*arguments[2]); in evaluate_3_way_intrinsic() 560 type_check_expression<SKSL_INT>(*arguments[0]); in optimize_intrinsic_call() 561 type_check_expression<SKSL_INT>(*arguments[1]); in optimize_intrinsic_call() 595 return evaluate_intrinsic<SKSL_INT>(context, arguments, returnType, in optimize_intrinsic_call() [all …]
|
D | SkSLType.cpp | 844 "': " + to_string((SKSL_INT)value)); in checkForOutOfRangeLiteral() 851 SKSL_INT Type::convertArraySize(const Context& context, std::unique_ptr<Expression> size) const { in convertArraySize() 869 SKSL_INT count; in convertArraySize()
|
D | SkSLType.h | 522 SKSL_INT convertArraySize(const Context& context, std::unique_ptr<Expression> size) const;
|
/third_party/skia/src/sksl/ |
D | SkSLConstantFolder.cpp | 139 bool ConstantFolder::GetConstantInt(const Expression& value, SKSL_INT* out) { in GetConstantInt() 427 SKSL_INT leftVal = left->as<Literal>().intValue(); in Simplify() 428 SKSL_INT rightVal = right->as<Literal>().intValue(); in Simplify() 431 (SKSL_INT)(leftVal) Op (SKSL_INT)(rightVal), &resultType) in Simplify() 433 (SKSL_INT)((SKSL_UINT)(leftVal) Op (SKSL_UINT)(rightVal)), &resultType) in Simplify() 439 if (leftVal == std::numeric_limits<SKSL_INT>::min() && rightVal == -1) { in Simplify() 445 if (leftVal == std::numeric_limits<SKSL_INT>::min() && rightVal == -1) { in Simplify()
|
D | SkSLString.cpp | 156 bool stoi(const skstd::string_view& s, SKSL_INT* value) { in stoi() 160 *value = static_cast<SKSL_INT>(result); in stoi()
|
D | SkSLConstantFolder.h | 31 static bool GetConstantInt(const Expression& value, SKSL_INT* out);
|
D | SkSLDSLParser.h | 140 SKSL_INT arraySize(); 257 bool intLiteral(SKSL_INT* dest);
|
D | SkSLDSLParser.cpp | 396 SKSL_INT DSLParser::arraySize() { in arraySize() 402 SKSL_INT size; in arraySize() 669 SKSL_INT resultValue; in layoutInt() 888 SKSL_INT arraySize = 0; in interfaceBlock() 1709 SKSL_INT i; in term() 1751 bool DSLParser::intLiteral(SKSL_INT* dest) { in intLiteral()
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLASTNode.h | 271 Max(sizeof(SKSL_INT), 313 NodeData(SKSL_INT data) in NodeData() 449 ASTNode(std::vector<ASTNode>* nodes, int offset, Kind kind, SKSL_INT i) in ASTNode() 497 SKSL_INT getInt() const { in getInt() 499 SKSL_INT result; in getInt()
|
D | SkSLDefines.h | 48 using SKSL_INT = int32_t; variable
|
D | SkSLString.h | 115 SKSL_INT stoi(const String& s);
|
D | SkSLParser.h | 261 bool intLiteral(SKSL_INT* dest);
|
D | SkSLString.cpp | 246 SKSL_INT stoi(const String& s) { in stoi()
|
D | SkSLParser.cpp | 1075 SKSL_INT i; in type() 1972 SKSL_INT i; in term() 2017 bool Parser::intLiteral(SKSL_INT* dest) { in intLiteral()
|
D | SkSLIRGenerator.cpp | 2106 SKSL_INT size = index.getInt(); in convertIndex()
|
/third_party/skia/include/private/ |
D | SkSLDefines.h | 16 using SKSL_INT = int64_t; variable
|
D | SkSLString.h | 68 bool stoi(const skstd::string_view& s, SKSL_INT* value);
|
/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLConstructor.h | 170 SKSL_INT getIVecComponent(int n) const override { in getIVecComponent() 171 return this->getVecComponent<SKSL_INT>(n); in getIVecComponent()
|
D | SkSLExpression.h | 125 virtual SKSL_INT getIVecComponent(int n) const { in getIVecComponent()
|
D | SkSLPrefixExpression.h | 54 SKSL_INT getIVecComponent(int index) const override { in getIVecComponent()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLSPIRVCodeGenerator.cpp | 2888 SKSL_INT iValue = value; in writeLiteral()
|