/third_party/typescript/tests/baselines/reference/ |
D | baseConstraintOfDecorator.types | 2 …rt function classExtender<TFunction>(superClass: TFunction, _instanceModifier: (instance: any, arg… 3 >classExtender : <TFunction>(superClass: TFunction, _instanceModifier: (instance: any, args: any[])… 4 >superClass : TFunction 12 >superClass : TFunction 36 …er2<TFunction extends new (...args: string[]) => MyClass>(superClass: TFunction, _instanceModifier… 37 …: <TFunction extends new (...args: string[]) => MyClass>(superClass: TFunction, _instanceModifier:… 39 >superClass : TFunction 45 … { new (...args: any[]): decoratorFunc; prototype: classExtender2<any>.decoratorFunc; } & TFunction 46 … { new (...args: any[]): decoratorFunc; prototype: classExtender2<any>.decoratorFunc; } & TFunction 54 >super : TFunction
|
D | baseConstraintOfDecorator.symbols | 2 …rt function classExtender<TFunction>(superClass: TFunction, _instanceModifier: (instance: any, arg… 4 >TFunction : Symbol(TFunction, Decl(baseConstraintOfDecorator.ts, 0, 30)) 6 >TFunction : Symbol(TFunction, Decl(baseConstraintOfDecorator.ts, 0, 30)) 10 >TFunction : Symbol(TFunction, Decl(baseConstraintOfDecorator.ts, 0, 30)) 34 …er2<TFunction extends new (...args: string[]) => MyClass>(superClass: TFunction, _instanceModifier… 36 >TFunction : Symbol(TFunction, Decl(baseConstraintOfDecorator.ts, 10, 31)) 40 >TFunction : Symbol(TFunction, Decl(baseConstraintOfDecorator.ts, 10, 31)) 44 >TFunction : Symbol(TFunction, Decl(baseConstraintOfDecorator.ts, 10, 31)) 54 >super : Symbol(TFunction, Decl(baseConstraintOfDecorator.ts, 10, 31))
|
D | baseConstraintOfDecorator.errors.txt | 1 …Decorator.ts(2,5): error TS2322: Type 'typeof decoratorFunc' is not assignable to type 'TFunction'. 2 …'TFunction' could be instantiated with an arbitrary type which could be unrelated to 'typeof decor… 3 tests/cases/compiler/baseConstraintOfDecorator.ts(2,40): error TS2507: Type 'TFunction' is not a co… 8 …rt function classExtender<TFunction>(superClass: TFunction, _instanceModifier: (instance: any, arg… 12 !!! error TS2507: Type 'TFunction' is not a constructor function type. 13 …sts/cases/compiler/baseConstraintOfDecorator.ts:1:31: Did you mean for 'TFunction' to be constrain… 24 !!! error TS2322: Type 'typeof decoratorFunc' is not assignable to type 'TFunction'. 25 !!! error TS2322: 'TFunction' could be instantiated with an arbitrary type which could be unrelat… 29 …er2<TFunction extends new (...args: string[]) => MyClass>(superClass: TFunction, _instanceModifier…
|
D | baseConstraintOfDecorator.js | 2 …rt function classExtender<TFunction>(superClass: TFunction, _instanceModifier: (instance: any, arg… 12 …er2<TFunction extends new (...args: string[]) => MyClass>(superClass: TFunction, _instanceModifier…
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | SymbolTable_autogen.cpp | 3516 constexpr const TFunction kFunction_radians_00B( 3525 constexpr const TFunction kFunction_radians_10B( 3534 constexpr const TFunction kFunction_radians_20B( 3543 constexpr const TFunction kFunction_radians_30B( 3552 constexpr const TFunction kFunction_degrees_00B( 3561 constexpr const TFunction kFunction_degrees_10B( 3570 constexpr const TFunction kFunction_degrees_20B( 3579 constexpr const TFunction kFunction_degrees_30B( 3588 constexpr const TFunction kFunction_sin_00B( 3597 constexpr const TFunction kFunction_sin_10B( [all …]
|
D | ParseContext_autogen.h | 21 bool isTextureOffsetNoBias(const TFunction *func) in isTextureOffsetNoBias() 26 bool isTextureOffsetBias(const TFunction *func) in isTextureOffsetBias() 31 bool isTextureGatherOffset(const TFunction *func) in isTextureGatherOffset() 36 bool isTextureGather(const TFunction *func) in isTextureGather() 41 bool isAtomicMemory(const TFunction *func) in isAtomicMemory() 46 bool isImageLoad(const TFunction *func) in isImageLoad() 51 bool isImageStore(const TFunction *func) in isImageStore() 56 bool isImage(const TFunction *func) in isImage()
|
D | Symbol.cpp | 72 return static_cast<const TFunction *>(this)->getFunctionMangledName(); in getMangledName() 158 TFunction::TFunction(TSymbolTable *symbolTable, in TFunction() function in sh::TFunction 179 void TFunction::addParameter(const TVariable *p) in addParameter() 188 void TFunction::shareParameters(const TFunction ¶metersSource) in shareParameters() 197 ImmutableString TFunction::buildMangledName() const in buildMangledName() 209 bool TFunction::isMain() const in isMain() 214 bool TFunction::isImageFunction() const in isImageFunction() 220 bool TFunction::isAtomicCounterFunction() const in isAtomicCounterFunction() 225 bool TFunction::hasSamplerInStructParams() const in hasSamplerInStructParams()
|
D | SymbolTable.cpp | 33 void insertUnmangled(TFunction *function); 54 void TSymbolTable::TSymbolTableLevel::insertUnmangled(TFunction *function) in insertUnmangled() 99 const TFunction *TSymbolTable::markFunctionHasPrototypeDeclaration( in markFunctionHasPrototypeDeclaration() 103 TFunction *function = findUserDefinedFunction(mangledName); in markFunctionHasPrototypeDeclaration() 109 const TFunction *TSymbolTable::setFunctionParameterNamesFromDefinition(const TFunction *function, in setFunctionParameterNamesFromDefinition() 112 TFunction *firstDeclaration = findUserDefinedFunction(function->getMangledName()); in setFunctionParameterNamesFromDefinition() 242 TFunction *TSymbolTable::findUserDefinedFunction(const ImmutableString &name) const in findUserDefinedFunction() 246 return static_cast<TFunction *>(mTable[0]->find(name)); in findUserDefinedFunction() 297 void TSymbolTable::declareUserDefinedFunction(TFunction *function, bool insertUnmangledName) in declareUserDefinedFunction()
|
D | SymbolTable.h | 89 void declareUserDefinedFunction(TFunction *function, bool insertUnmangledName); 92 const TFunction *markFunctionHasPrototypeDeclaration(const ImmutableString &mangledName, 94 const TFunction *setFunctionParameterNamesFromDefinition(const TFunction *function, 116 TFunction *findUserDefinedFunction(const ImmutableString &name) const;
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | SymbolTable_autogen.cpp | 5835 constexpr const TFunction radians_00B(BuiltInId::radians_Float1, 5843 constexpr const TFunction radians_10B(BuiltInId::radians_Float2, 5851 constexpr const TFunction radians_20B(BuiltInId::radians_Float3, 5859 constexpr const TFunction radians_30B(BuiltInId::radians_Float4, 5867 constexpr const TFunction degrees_00B(BuiltInId::degrees_Float1, 5875 constexpr const TFunction degrees_10B(BuiltInId::degrees_Float2, 5883 constexpr const TFunction degrees_20B(BuiltInId::degrees_Float3, 5891 constexpr const TFunction degrees_30B(BuiltInId::degrees_Float4, 5899 constexpr const TFunction sin_00B(BuiltInId::sin_Float1, 5907 constexpr const TFunction sin_10B(BuiltInId::sin_Float2, [all …]
|
D | SymbolTable_ESSL_autogen.cpp | 4220 constexpr const TFunction radians_00B(BuiltInId::radians_Float1, 4228 constexpr const TFunction radians_10B(BuiltInId::radians_Float2, 4236 constexpr const TFunction radians_20B(BuiltInId::radians_Float3, 4244 constexpr const TFunction radians_30B(BuiltInId::radians_Float4, 4252 constexpr const TFunction degrees_00B(BuiltInId::degrees_Float1, 4260 constexpr const TFunction degrees_10B(BuiltInId::degrees_Float2, 4268 constexpr const TFunction degrees_20B(BuiltInId::degrees_Float3, 4276 constexpr const TFunction degrees_30B(BuiltInId::degrees_Float4, 4284 constexpr const TFunction sin_00B(BuiltInId::sin_Float1, 4292 constexpr const TFunction sin_10B(BuiltInId::sin_Float2, [all …]
|
D | Symbol.cpp | 90 return static_cast<const TFunction *>(this)->getFunctionMangledName(); in getMangledName() 185 TFunction::TFunction(TSymbolTable *symbolTable, in TFunction() function in sh::TFunction 207 void TFunction::addParameter(const TVariable *p) in addParameter() 216 void TFunction::shareParameters(const TFunction ¶metersSource) in shareParameters() 225 ImmutableString TFunction::buildMangledName() const in buildMangledName() 238 bool TFunction::isMain() const in isMain() 243 bool TFunction::isImageFunction() const in isImageFunction() 250 bool TFunction::isAtomicCounterFunction() const in isAtomicCounterFunction()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | AstHelpers.h | 45 void AddParametersFrom(TFunction &dest, const TFunction &src); 48 const TFunction &CloneFunction(TSymbolTable &symbolTable, IdGen &idGen, const TFunction &oldFunc); 52 const TFunction &CloneFunctionAndPrependParam(TSymbolTable &symbolTable, 54 const TFunction &oldFunc, 59 const TFunction &CloneFunctionAndAppendParams(TSymbolTable &symbolTable, 61 const TFunction &oldFunc, 66 const TFunction &CloneFunctionAndChangeReturnType(TSymbolTable &symbolTable, 68 const TFunction &oldFunc,
|
D | AstHelpers.cpp | 63 static void AcquireFunctionExtras(TFunction &dest, const TFunction &src) in AcquireFunctionExtras() 89 void sh::AddParametersFrom(TFunction &dest, const TFunction &src) in AddParametersFrom() 99 const TFunction &sh::CloneFunction(TSymbolTable &symbolTable, in CloneFunction() 101 const TFunction &oldFunc) in CloneFunction() 107 TFunction &newFunc = in CloneFunction() 108 *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunction() 117 const TFunction &sh::CloneFunctionAndPrependParam(TSymbolTable &symbolTable, in CloneFunctionAndPrependParam() 119 const TFunction &oldFunc, in CloneFunctionAndPrependParam() 127 TFunction &newFunc = in CloneFunctionAndPrependParam() 128 *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunctionAndPrependParam() [all …]
|
D | DiscoverDependentFunctions.cpp | 27 std::unordered_set<const TFunction *> mNonDepFunctions; 30 std::unordered_set<const TFunction *> mDepFunctions; 45 const TFunction *owner = discoverEnclosingFunction(symbolNode); in visitSymbol() 61 const TFunction *func = aggregateNode->getFunction(); in visitAggregate() 87 const TFunction *owner = discoverEnclosingFunction(aggregateNode); in visitAggregate() 97 const TFunction *func = funcDefNode->getFunction(); in visitFunctionDefinition() 125 std::unordered_set<const TFunction *> sh::DiscoverDependentFunctions( in DiscoverDependentFunctions()
|
D | RewritePipelines.cpp | 54 const TFunction *funcOriginalToModified = nullptr; 55 const TFunction *funcModifiedToOriginal = nullptr; 345 const std::unordered_set<const TFunction *> &mPipelineFunctions; 349 std::unordered_map<const TFunction *, const TFunction *> mFuncMap; 356 const std::unordered_set<const TFunction *> &pipelineFunctions, in PipelineFunctionEnv() 369 bool isOriginalPipelineFunction(const TFunction &func) const in isOriginalPipelineFunction() 374 bool isUpdatedPipelineFunction(const TFunction &func) const in isUpdatedPipelineFunction() 384 const TFunction &getUpdatedFunction(const TFunction &func) in getUpdatedFunction() 388 const TFunction *newFunc; in getUpdatedFunction() 533 const TFunction &func = *funcProtoNode.getFunction(); in createUpdatedFunctionPrototype() [all …]
|
/third_party/glslang/glslang/MachineIndependent/ |
D | ParseHelper.h | 219 const TFunction* selectFunction(const TVector<const TFunction*>, const TFunction&, 346 TFunction* handleFunctionDeclarator(const TSourceLoc&, TFunction& function, bool prototype); 347 TIntermAggregate* handleFunctionDefinition(const TSourceLoc&, TFunction&); 348 TIntermTyped* handleFunctionCall(const TSourceLoc&, TFunction*, TIntermNode*); 349 …TIntermTyped* handleBuiltInFunctionCall(TSourceLoc, TIntermNode* arguments, const TFunction& funct… 350 void computeBuiltinPrecisions(TIntermTyped&, const TFunction&); 353 TIntermTyped* handleLengthMethod(const TSourceLoc&, TFunction*, TIntermNode*); 354 void addInputArgumentConversions(const TFunction&, TIntermNode*&) const; 355 TIntermTyped* addOutputArgumentConversions(const TFunction&, TIntermAggregate&) const; 357 void builtInOpCheck(const TSourceLoc&, const TFunction&, TIntermOperator&); [all …]
|
D | SymbolTable.cpp | 221 void TFunction::dump(TInfoSink& infoSink, bool complete) const in dump() 271 TFunction::~TFunction() in ~TFunction() 305 TFunction* function = (*candidate).second->getAsFunction(); in relateToOperator() 381 TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf) in TFunction() function in glslang::TFunction 405 TFunction* TFunction::clone() const in clone() 407 TFunction *function = new TFunction(*this); in clone()
|
/third_party/typescript/tests/cases/compiler/ |
D | baseConstraintOfDecorator.ts | 1 …rt function classExtender<TFunction>(superClass: TFunction, _instanceModifier: (instance: any, arg… 11 …er2<TFunction extends new (...args: string[]) => MyClass>(superClass: TFunction, _instanceModifier…
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteStructSamplers.cpp | 166 const TFunction *function = node->getFunction(); in visitFunctionPrototype() 177 function = static_cast<const TFunction *>(foundFunction); in visitFunctionPrototype() 181 TFunction *newFunction = createStructSamplerFunction(function); in visitFunctionPrototype() 215 const TFunction *function = node->getFunction(); in visitAggregate() 220 TFunction *newFunction = mSymbolTable->findUserDefinedFunction(function->name()); in visitAggregate() 472 virtual void traverse(const TFunction *function) in traverse() 496 virtual ImmutableString getNameFromIndex(const TFunction *function, size_t paramIndex) = 0; 499 virtual void visitStructParam(const TFunction *function, size_t paramIndex) = 0; 500 virtual void visitNonStructParam(const TFunction *function, size_t paramIndex) = 0; 581 ImmutableString getNameFromIndex(const TFunction *function, size_t paramIndex) override in getNameFromIndex() [all …]
|
D | RewriteCubeMapSamplersAs2DArray.cpp | 29 TFunction *quadSwap, in GetValueFromNeighbor() 48 TFunction *dFdxyFine, in GetDiffWithNeighbor() 65 TFunction *dFdxyFine, in IsNeighborNonHelper() 110 TFunction *quadSwapHorizontalBool = in GetLayerFromNonHelperInvocation() 111 new TFunction(symbolTable, ImmutableString("subgroupQuadSwapHorizontal"), in GetLayerFromNonHelperInvocation() 113 TFunction *quadSwapHorizontalFloat = in GetLayerFromNonHelperInvocation() 114 new TFunction(symbolTable, ImmutableString("subgroupQuadSwapHorizontal"), in GetLayerFromNonHelperInvocation() 116 TFunction *quadSwapVerticalBool = in GetLayerFromNonHelperInvocation() 117 new TFunction(symbolTable, ImmutableString("subgroupQuadSwapVertical"), in GetLayerFromNonHelperInvocation() 119 TFunction *quadSwapVerticalFloat = in GetLayerFromNonHelperInvocation() [all …]
|
/third_party/glslang/glslang/HLSL/ |
D | hlslParseHelper.h | 82 void handleFunctionDeclarator(const TSourceLoc&, TFunction& function, bool prototype); 83 …TIntermAggregate* handleFunctionDefinition(const TSourceLoc&, TFunction&, const TAttributes&, TInt… 84 TIntermNode* transformEntryPoint(const TSourceLoc&, TFunction&, const TAttributes&); 87 …void handleFunctionBody(const TSourceLoc&, TFunction&, TIntermNode* functionBody, TIntermNode*& no… 88 …void remapEntryPointIO(TFunction& function, TVariable*& returnValue, TVector<TVariable*>& inputs, … 89 void remapNonEntryPointIO(TFunction& function); 92 void handleFunctionArgument(TFunction*, TIntermTyped*& arguments, TIntermTyped* newArg); 95 TIntermTyped* handleFunctionCall(const TSourceLoc&, TFunction*, TIntermTyped*); 104 void addInputArgumentConversions(const TFunction&, TIntermTyped*&); 105 void expandArguments(const TSourceLoc&, const TFunction&, TIntermTyped*&); [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | ParseHelper.h | 127 bool constructorErrorCheck(const TSourceLoc &line, TIntermNode*, TFunction&, TOperator, TType*); 144 bool functionCallLValueErrorCheck(const TFunction *fnCandidate, TIntermAggregate *); 156 const TFunction* findFunction(const TSourceLoc &line, TFunction* pfnCall, bool *builtIn = 0); 191 …TIntermAggregate *addFunctionPrototypeDeclaration(const TFunction &function, const TSourceLoc &loc… 192 …TIntermAggregate *addFunctionDefinition(const TFunction &function, TIntermAggregate *functionProto… 193 …void parseFunctionPrototype(const TSourceLoc &location, TFunction *function, TIntermAggregate **ag… 194 TFunction *parseFunctionDeclarator(const TSourceLoc &location, TFunction *function); 195 TFunction *addConstructorFunc(const TPublicType &publicType); 196 TIntermTyped* addConstructor(TIntermNode*, const TType*, TOperator, TFunction*, const TSourceLoc&); 238 …TIntermTyped *addFunctionCallOrMethod(TFunction *fnCall, TIntermNode *paramNode, TIntermNode *this…
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | MonomorphizeUnsupportedFunctions.cpp | 40 using FunctionMap = angle::HashMap<const TFunction *, FunctionData>; 53 const TFunction *function = asFuncDef->getFunction(); in InitializeFunctionMap() 181 const TFunction *MonomorphizeFunction(TSymbolTable *symbolTable, in MonomorphizeFunction() 182 const TFunction *original, in MonomorphizeFunction() 186 TFunction *substituteFunction = in MonomorphizeFunction() 187 new TFunction(symbolTable, kEmptyImmutableString, SymbolType::AngleInternal, in MonomorphizeFunction() 260 const TFunction *function = node->getFunction(); in visitAggregate() 282 const TFunction *function = functionCall->getFunction(); in processFunctionCall() 371 const TFunction *monomorphized = in processFunctionCall() 414 const TFunction *function = node->getFunction(); in visitFunctionPrototype() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | ReplaceVariable.cpp | 67 const TFunction *oldFunction) in convertFunctionPrototype() 75 TFunction *replacementFunction = new TFunction( in convertFunctionPrototype() 105 const TFunction *function = node->getFunction(); in convertASTFunction() 113 TFunction *substituteFunction = replacedFunction->second; in convertASTFunction()
|