Home
last modified time | relevance | path

Searched refs:fParameters (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/sksl/ir/
DSkSLFunctionDeclaration.h30 , fParameters(std::move(parameters)) in FunctionDeclaration()
36 for (auto p : fParameters) { in description()
49 if (fParameters.size() != f.fParameters.size()) { in matches()
52 for (size_t i = 0; i < fParameters.size(); i++) { in matches()
53 if (fParameters[i]->fType != f.fParameters[i]->fType) { in matches()
74 SkASSERT(arguments.size() == fParameters.size()); in determineFinalTypes()
77 if (fParameters[i]->fType.kind() == Type::kGeneric_Kind) { in determineFinalTypes()
78 std::vector<const Type*> types = fParameters[i]->fType.coercibleTypes(); in determineFinalTypes()
92 outParameterTypes->push_back(&fParameters[i]->fType); in determineFinalTypes()
107 const std::vector<const Variable*> fParameters; member
/external/skqp/src/sksl/ir/
DSkSLFunctionDeclaration.h30 , fParameters(std::move(parameters)) in FunctionDeclaration()
36 for (auto p : fParameters) { in description()
49 if (fParameters.size() != f.fParameters.size()) { in matches()
52 for (size_t i = 0; i < fParameters.size(); i++) { in matches()
53 if (fParameters[i]->fType != f.fParameters[i]->fType) { in matches()
74 SkASSERT(arguments.size() == fParameters.size()); in determineFinalTypes()
77 if (fParameters[i]->fType.kind() == Type::kGeneric_Kind) { in determineFinalTypes()
78 std::vector<const Type*> types = fParameters[i]->fType.coercibleTypes(); in determineFinalTypes()
92 outParameterTypes->push_back(&fParameters[i]->fType); in determineFinalTypes()
107 const std::vector<const Variable*> fParameters; member
/external/skqp/src/sksl/ast/
DSkSLASTFunction.h29 , fParameters(std::move(parameters)) in ASTFunction()
34 for (size_t i = 0; i < fParameters.size(); i++) { in description()
38 result += fParameters[i]->description(); in description()
51 const std::vector<std::unique_ptr<ASTParameter>> fParameters; member
/external/skia/src/sksl/ast/
DSkSLASTFunction.h29 , fParameters(std::move(parameters)) in ASTFunction()
34 for (size_t i = 0; i < fParameters.size(); i++) { in description()
38 result += fParameters[i]->description(); in description()
51 const std::vector<std::unique_ptr<ASTParameter>> fParameters; member
/external/icu/icu4c/source/i18n/
Dnumber_modifiers.cpp123 fParameters(parameters) { in SimpleModifier()
190 output = fParameters; in getParameters()
198 if (fParameters.obj != nullptr) { in semanticallyEquivalent()
199 return fParameters.obj == _other->fParameters.obj; in semanticallyEquivalent()
320 output = fParameters; in getParameters()
328 if (fParameters.obj != nullptr) { in semanticallyEquivalent()
329 return fParameters.obj == _other->fParameters.obj; in semanticallyEquivalent()
Dnumber_modifiers.h129 Modifier::Parameters fParameters; variable
148 fParameters(parameters) {} in ConstantMultiFieldModifier()
182 Modifier::Parameters fParameters; variable
/external/skqp/src/sksl/
DSkSLSectionAndParameterHelper.h49 fParameters.push_back(decl.fVar); in SectionAndParameterHelper()
103 return fParameters; in getParameters()
151 std::vector<const Variable*> fParameters;
DSkSLJIT.cpp135 parameters.size() != f.fParameters.size()) { in addBuiltinFunction()
139 if (parameters[i] != this->getType(f.fParameters[i]->fType)) { in addBuiltinFunction()
153 parameters.size() != f->fParameters.size()) { in addBuiltinFunction()
157 if (parameters[i] != this->getType(f->fParameters[i]->fType)) { in addBuiltinFunction()
1277 fVariables[f.fDeclaration.fParameters[1]] = LLVMBuildTrunc(builder, params.get()[3], fInt32Type, in compileStageFunctionLoop()
1279 fVariables[f.fDeclaration.fParameters[2]] = color; in compileStageFunctionLoop()
1285 fVariables[f.fDeclaration.fParameters[0]] = LLVMBuildAdd(builder, in compileStageFunctionLoop()
1737 fColorParam = f.fDeclaration.fParameters[2]; in compileStageFunction()
1747 f.fParameters.size() == 3 && in hasStageSignature()
1748 f.fParameters[0]->fType == *fProgram->fContext->fInt_Type && in hasStageSignature()
[all …]
DSkSLInterpreter.cpp50 for (int i = f.fDeclaration.fParameters.size() - 1; i >= 0; --i) { in run()
51 current -= SizeOf(f.fDeclaration.fParameters[i]->fType); in run()
52 fVars.back()[f.fDeclaration.fParameters[i]] = current; in run()
DSkSLIRGenerator.cpp673 for (const auto& param : f.fParameters) { in convertFunction()
730 if (parameters.size() == other->fParameters.size()) { in convertFunction()
733 if (parameters[i]->fType != other->fParameters[i]->fType) { in convertFunction()
749 if (parameters[i]->fModifiers != other->fParameters[i]->fModifiers) { in convertFunction()
788 fSymbolTable->addWithoutOwnership(parameters[i]->fName, decl->fParameters[i]); in convertFunction()
1560 if (function.fParameters.size() != arguments.size()) { in call()
1562 to_string((uint64_t) function.fParameters.size()) + in call()
1564 if (function.fParameters.size() != 1) { in call()
1590 if (arguments[i] && (function.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag)) { in call()
1592 function.fParameters[i]->fModifiers.fFlags & Modifiers::kIn_Flag ? in call()
[all …]
DSkSLSPIRVCodeGenerator.cpp563 for (size_t i = 0; i < function.fParameters.size(); i++) { in getFunctionType()
566 key += function.fParameters[i]->fType.description(); in getFunctionType()
572 int32_t length = 3 + (int32_t) function.fParameters.size(); in getFunctionType()
575 for (size_t i = 0; i < function.fParameters.size(); i++) { in getFunctionType()
599 parameterTypes.push_back(this->getPointerType(function.fParameters[i]->fType, in getFunctionType()
695 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
715 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
975 if (is_out(*c.fFunction.fParameters[i])) { in writeFunctionCall()
2512 for (size_t i = 0; i < f.fParameters.size(); i++) { in writeFunctionStart()
2514 fVariableMap[f.fParameters[i]] = id; in writeFunctionStart()
[all …]
DSkSLMetalCodeGenerator.cpp242 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
732 for (const auto& param : f.fDeclaration.fParameters) { in writeFunction()
DSkSLCompiler.cpp327 for (size_t i = 0; i < c.fFunction.fParameters.size(); ++i) { in addDefinitions()
328 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in addDefinitions()
DSkSLGLSLCodeGenerator.cpp1024 for (const auto& param : f.fDeclaration.fParameters) { in writeFunctionCall()
/external/skia/src/sksl/
DSkSLSectionAndParameterHelper.h49 fParameters.push_back(decl.fVar); in SectionAndParameterHelper()
103 return fParameters; in getParameters()
151 std::vector<const Variable*> fParameters;
DSkSLJIT.cpp135 parameters.size() != f.fParameters.size()) { in addBuiltinFunction()
139 if (parameters[i] != this->getType(f.fParameters[i]->fType)) { in addBuiltinFunction()
153 parameters.size() != f->fParameters.size()) { in addBuiltinFunction()
157 if (parameters[i] != this->getType(f->fParameters[i]->fType)) { in addBuiltinFunction()
1277 fVariables[f.fDeclaration.fParameters[1]] = LLVMBuildTrunc(builder, params.get()[3], fInt32Type, in compileStageFunctionLoop()
1279 fVariables[f.fDeclaration.fParameters[2]] = color; in compileStageFunctionLoop()
1285 fVariables[f.fDeclaration.fParameters[0]] = LLVMBuildAdd(builder, in compileStageFunctionLoop()
1737 fColorParam = f.fDeclaration.fParameters[2]; in compileStageFunction()
1747 f.fParameters.size() == 3 && in hasStageSignature()
1748 f.fParameters[0]->fType == *fProgram->fContext->fInt_Type && in hasStageSignature()
[all …]
DSkSLInterpreter.cpp50 for (int i = f.fDeclaration.fParameters.size() - 1; i >= 0; --i) { in run()
51 current -= SizeOf(f.fDeclaration.fParameters[i]->fType); in run()
52 fVars.back()[f.fDeclaration.fParameters[i]] = current; in run()
DSkSLIRGenerator.cpp679 for (const auto& param : f.fParameters) { in convertFunction()
747 if (parameters.size() == other->fParameters.size()) { in convertFunction()
750 if (parameters[i]->fType != other->fParameters[i]->fType) { in convertFunction()
766 if (parameters[i]->fModifiers != other->fParameters[i]->fModifiers) { in convertFunction()
810 fSymbolTable->addWithoutOwnership(parameters[i]->fName, decl->fParameters[i]); in convertFunction()
1609 if (function.fParameters.size() != arguments.size()) { in call()
1611 to_string((uint64_t) function.fParameters.size()) + in call()
1613 if (function.fParameters.size() != 1) { in call()
1639 if (arguments[i] && (function.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag)) { in call()
1641 function.fParameters[i]->fModifiers.fFlags & Modifiers::kIn_Flag ? in call()
[all …]
DSkSLSPIRVCodeGenerator.cpp569 for (size_t i = 0; i < function.fParameters.size(); i++) { in getFunctionType()
572 key += function.fParameters[i]->fType.description(); in getFunctionType()
578 int32_t length = 3 + (int32_t) function.fParameters.size(); in getFunctionType()
581 for (size_t i = 0; i < function.fParameters.size(); i++) { in getFunctionType()
605 parameterTypes.push_back(this->getPointerType(function.fParameters[i]->fType, in getFunctionType()
701 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
721 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
997 if (is_out(*c.fFunction.fParameters[i])) { in writeFunctionCall()
2500 for (size_t i = 0; i < f.fParameters.size(); i++) { in writeFunctionStart()
2502 fVariableMap[f.fParameters[i]] = id; in writeFunctionStart()
[all …]
DSkSLMetalCodeGenerator.cpp251 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
876 for (const auto& param : f.fDeclaration.fParameters) { in writeFunction()
DSkSLCompiler.cpp327 for (size_t i = 0; i < c.fFunction.fParameters.size(); ++i) { in addDefinitions()
328 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in addDefinitions()
DSkSLGLSLCodeGenerator.cpp1043 for (const auto& param : f.fDeclaration.fParameters) { in writeFunctionCall()