Home
last modified time | relevance | path

Searched refs:parameterType (Results 1 – 12 of 12) sorted by relevance

/third_party/typescript/src/services/codefixes/
DfixAddVoidToPromise.ts52 …const parameterType = parameter && checker.getTypeOfSymbolAtLocation(parameter, decl.parent.parent… constant
54 if (!parameterType || parameterType.flags & TypeFlags.AnyOrUnknown) {
61 if (!parameterType || parameterType.flags & TypeFlags.Unknown) {
/third_party/skia/src/sksl/ir/
DSkSLFunctionDeclaration.cpp410 const Type& parameterType = parameters[i]->type(); in determineFinalTypes() local
411 if (parameterType.typeKind() != Type::TypeKind::kGeneric) { in determineFinalTypes()
412 outParameterTypes->push_back(&parameterType); in determineFinalTypes()
417 const std::vector<const Type*>& types = parameterType.coercibleTypes(); in determineFinalTypes()
/third_party/typescript/src/services/refactors/
DconvertParamsToDestructuredObject.ts527 let parameterType = parameterDeclaration.type;
528 …if (!parameterType && (parameterDeclaration.initializer || isRestParameter(parameterDeclaration)))…
529 parameterType = getTypeNode(parameterDeclaration);
536 parameterType);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputSPIRV.cpp268 spirv::IdRef createConstructorVectorFromScalar(const TType &parameterType,
1472 const TType &parameterType, in createConstructorVectorFromScalar() argument
1481 castBasicType(parameters[0], parameterType, expectedType, nullptr); in createConstructorVectorFromScalar()
1485 const spirv::IdRef result = mBuilder.getNewId(mBuilder.getDecorations(parameterType)); in createConstructorVectorFromScalar()
1714 const TType &parameterType = (*node->getSequence())[0]->getAsTyped()->getType(); in createConstructorMatrixFromMatrix() local
1724 if (parameterType.getCols() >= type.getCols() && parameterType.getRows() >= type.getRows()) in createConstructorMatrixFromMatrix()
1728 TType paramColumnType(parameterType); in createConstructorMatrixFromMatrix()
1732 const bool needsSwizzle = parameterType.getRows() > type.getRows(); in createConstructorMatrixFromMatrix()
1762 TType paramComponentType(parameterType); in createConstructorMatrixFromMatrix()
1774 if (componentIndex < parameterType.getRows() && in createConstructorMatrixFromMatrix()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_id.cpp1588 auto parameterType = module_.FindDef(functionType->words()[paramIndex]); in isValid() local
1589 assert(parameterType); in isValid()
1590 if (argumentType->id() != parameterType->id()) { in isValid()
1594 << parameterType->id() << "'s parameter type."; in isValid()
/third_party/typescript/src/compiler/
Dchecker.ts5409 let parameterType = getTypeOfSymbol(parameterSymbol);
5411 parameterType = getOptionalType(parameterType);
5414 parameterType = getTypeWithFacts(parameterType, TypeFacts.NEUndefined);
5416 …const parameterTypeNode = serializeTypeForDeclaration(context, parameterType, parameterSymbol, con…
/third_party/typescript/lib/
Dtsserverlibrary.js48956 var parameterType = getTypeOfSymbol(parameterSymbol);
48958 parameterType = getOptionalType(parameterType);
48961 parameterType = getTypeWithFacts(parameterType, 524288 /* NEUndefined */);
48963 …var parameterTypeNode = serializeTypeForDeclaration(context, parameterType, parameterSymbol, conte…
144335 … var parameterType = parameter && checker.getTypeOfSymbolAtLocation(parameter, decl.parent.parent);
144337 if (!parameterType || parameterType.flags & 3 /* AnyOrUnknown */) {
144344 if (!parameterType || parameterType.flags & 2 /* Unknown */) {
148447 var parameterType = parameterDeclaration.type;
148448 …if (!parameterType && (parameterDeclaration.initializer || ts.isRestParameter(parameterDeclaration…
148449 parameterType = getTypeNode(parameterDeclaration);
[all …]
Dtypescript.js48956 var parameterType = getTypeOfSymbol(parameterSymbol);
48958 parameterType = getOptionalType(parameterType);
48961 parameterType = getTypeWithFacts(parameterType, 524288 /* NEUndefined */);
48963 …var parameterTypeNode = serializeTypeForDeclaration(context, parameterType, parameterSymbol, conte…
144335 … var parameterType = parameter && checker.getTypeOfSymbolAtLocation(parameter, decl.parent.parent);
144337 if (!parameterType || parameterType.flags & 3 /* AnyOrUnknown */) {
144344 if (!parameterType || parameterType.flags & 2 /* Unknown */) {
148447 var parameterType = parameterDeclaration.type;
148448 …if (!parameterType && (parameterDeclaration.initializer || ts.isRestParameter(parameterDeclaration…
148449 parameterType = getTypeNode(parameterDeclaration);
[all …]
Dtsserver.js48762 var parameterType = getTypeOfSymbol(parameterSymbol);
48764 parameterType = getOptionalType(parameterType);
48767 parameterType = getTypeWithFacts(parameterType, 524288 /* NEUndefined */);
48769 …var parameterTypeNode = serializeTypeForDeclaration(context, parameterType, parameterSymbol, conte…
143766 … var parameterType = parameter && checker.getTypeOfSymbolAtLocation(parameter, decl.parent.parent);
143768 if (!parameterType || parameterType.flags & 3 /* AnyOrUnknown */) {
143775 if (!parameterType || parameterType.flags & 2 /* Unknown */) {
147878 var parameterType = parameterDeclaration.type;
147879 …if (!parameterType && (parameterDeclaration.initializer || ts.isRestParameter(parameterDeclaration…
147880 parameterType = getTypeNode(parameterDeclaration);
[all …]
DtypescriptServices.js48956 var parameterType = getTypeOfSymbol(parameterSymbol);
48958 parameterType = getOptionalType(parameterType);
48961 parameterType = getTypeWithFacts(parameterType, 524288 /* NEUndefined */);
48963 …var parameterTypeNode = serializeTypeForDeclaration(context, parameterType, parameterSymbol, conte…
144335 … var parameterType = parameter && checker.getTypeOfSymbolAtLocation(parameter, decl.parent.parent);
144337 if (!parameterType || parameterType.flags & 3 /* AnyOrUnknown */) {
144344 if (!parameterType || parameterType.flags & 2 /* Unknown */) {
148447 var parameterType = parameterDeclaration.type;
148448 …if (!parameterType && (parameterDeclaration.initializer || ts.isRestParameter(parameterDeclaration…
148449 parameterType = getTypeNode(parameterDeclaration);
[all …]
Dtsc.js40106 var parameterType = getTypeOfSymbol(parameterSymbol);
40108 parameterType = getOptionalType(parameterType);
40111 parameterType = getTypeWithFacts(parameterType, 524288);
40113 …var parameterTypeNode = serializeTypeForDeclaration(context, parameterType, parameterSymbol, conte…
DtypingsInstaller.js48751 var parameterType = getTypeOfSymbol(parameterSymbol);
48753 parameterType = getOptionalType(parameterType);
48756 parameterType = getTypeWithFacts(parameterType, 524288 /* NEUndefined */);
48758 …var parameterTypeNode = serializeTypeForDeclaration(context, parameterType, parameterSymbol, conte…