/third_party/typescript/tests/baselines/reference/ |
D | taggedTemplateContextualTyping1.types | 2 type FuncType = (x: <T>(p: T) => T) => typeof x; 3 >FuncType : FuncType 8 function tempTag1<T>(templateStrs: TemplateStringsArray, f: FuncType, x: T): T; 9 …ateStrs: TemplateStringsArray, f: FuncType, x: T): T; <T>(templateStrs: TemplateStringsArray, f: F… 11 >f : FuncType 14 function tempTag1<T>(templateStrs: TemplateStringsArray, f: FuncType, h: FuncType, x: T): T; 15 …ateStrs: TemplateStringsArray, f: FuncType, x: T): T; <T>(templateStrs: TemplateStringsArray, f: F… 17 >f : FuncType 18 >h : FuncType 22 …ateStrs: TemplateStringsArray, f: FuncType, x: T): T; <T>(templateStrs: TemplateStringsArray, f: F… [all …]
|
D | parenthesizedContexualTyping2.types | 8 type FuncType = (x: <T>(p: T) => T) => typeof x; 9 >FuncType : FuncType 14 function fun<T>(f: FuncType, x: T): T; 15 >fun : { <T>(f: FuncType, x: T): T; <T>(f: FuncType, g: FuncType, x: T): T; } 16 >f : FuncType 19 function fun<T>(f: FuncType, g: FuncType, x: T): T; 20 >fun : { <T>(f: FuncType, x: T): T; <T>(f: FuncType, g: FuncType, x: T): T; } 21 >f : FuncType 22 >g : FuncType 26 >fun : { <T>(f: FuncType, x: T): T; <T>(f: FuncType, g: FuncType, x: T): T; } [all …]
|
D | classPropertyErrorOnNameOnly.symbols | 5 type FuncType = (arg: Values) => string 6 >FuncType : Symbol(FuncType, Decl(classPropertyErrorOnNameOnly.ts, 0, 35)) 14 insideClass: FuncType = function(val) { // error span goes from here 16 >FuncType : Symbol(FuncType, Decl(classPropertyErrorOnNameOnly.ts, 0, 35)) 37 const outsideClass: FuncType = function(val) { // compare to errors only on this line in this case 39 >FuncType : Symbol(FuncType, Decl(classPropertyErrorOnNameOnly.ts, 0, 35))
|
D | classPropertyErrorOnNameOnly.types | 5 type FuncType = (arg: Values) => string 6 >FuncType : FuncType 13 insideClass: FuncType = function(val) { // error span goes from here 14 >insideClass : FuncType 56 const outsideClass: FuncType = function(val) { // compare to errors only on this line in this case 57 >outsideClass : FuncType
|
D | classPropertyErrorOnNameOnly.errors.txt | 1 …pe '(val: Values) => "1" | "2" | "3" | "4" | "5" | undefined' is not assignable to type 'FuncType'. 4 …pe '(val: Values) => "1" | "2" | "3" | "4" | "5" | undefined' is not assignable to type 'FuncType'. 11 type FuncType = (arg: Values) => string 15 insideClass: FuncType = function(val) { // error span goes from here 17 …pe '(val: Values) => "1" | "2" | "3" | "4" | "5" | undefined' is not assignable to type 'FuncType'. 36 …const outsideClass: FuncType = function(val) { // compare to errors only on this line in this case 38 …pe '(val: Values) => "1" | "2" | "3" | "4" | "5" | undefined' is not assignable to type 'FuncType'.
|
D | taggedTemplateContextualTyping1.symbols | 2 type FuncType = (x: <T>(p: T) => T) => typeof x; 3 >FuncType : Symbol(FuncType, Decl(taggedTemplateContextualTyping1.ts, 0, 0)) 11 function tempTag1<T>(templateStrs: TemplateStringsArray, f: FuncType, x: T): T; 17 >FuncType : Symbol(FuncType, Decl(taggedTemplateContextualTyping1.ts, 0, 0)) 22 function tempTag1<T>(templateStrs: TemplateStringsArray, f: FuncType, h: FuncType, x: T): T; 28 >FuncType : Symbol(FuncType, Decl(taggedTemplateContextualTyping1.ts, 0, 0)) 30 >FuncType : Symbol(FuncType, Decl(taggedTemplateContextualTyping1.ts, 0, 0))
|
D | classPropertyErrorOnNameOnly.js | 4 type FuncType = (arg: Values) => string 8 insideClass: FuncType = function(val) { // error span goes from here 25 const outsideClass: FuncType = function(val) { // compare to errors only on this line in this case
|
D | taggedTemplateContextualTyping1.js | 2 type FuncType = (x: <T>(p: T) => T) => typeof x; 4 function tempTag1<T>(templateStrs: TemplateStringsArray, f: FuncType, x: T): T; 5 function tempTag1<T>(templateStrs: TemplateStringsArray, f: FuncType, h: FuncType, x: T): T;
|
D | parenthesizedContexualTyping2.symbols | 8 type FuncType = (x: <T>(p: T) => T) => typeof x; 9 >FuncType : Symbol(FuncType, Decl(parenthesizedContexualTyping2.ts, 0, 0)) 17 function fun<T>(f: FuncType, x: T): T; 21 >FuncType : Symbol(FuncType, Decl(parenthesizedContexualTyping2.ts, 0, 0)) 26 function fun<T>(f: FuncType, g: FuncType, x: T): T; 30 >FuncType : Symbol(FuncType, Decl(parenthesizedContexualTyping2.ts, 0, 0)) 32 >FuncType : Symbol(FuncType, Decl(parenthesizedContexualTyping2.ts, 0, 0)) 188 var lambda1: FuncType = x => { x<number>(undefined); return x; }; 190 >FuncType : Symbol(FuncType, Decl(parenthesizedContexualTyping2.ts, 0, 0)) 196 var lambda2: FuncType = (x => { x<number>(undefined); return x; }); [all …]
|
D | parenthesizedContexualTyping2.js | 8 type FuncType = (x: <T>(p: T) => T) => typeof x; 10 function fun<T>(f: FuncType, x: T): T; 11 function fun<T>(f: FuncType, g: FuncType, x: T): T; 32 var lambda1: FuncType = x => { x<number>(undefined); return x; }; 33 var lambda2: FuncType = (x => { x<number>(undefined); return x; });
|
D | parenthesizedContexualTyping2.errors.txt | 14 type FuncType = (x: <T>(p: T) => T) => typeof x; 16 function fun<T>(f: FuncType, x: T): T; 17 function fun<T>(f: FuncType, g: FuncType, x: T): T; 38 var lambda1: FuncType = x => { x<number>(undefined); return x; }; 39 var lambda2: FuncType = (x => { x<number>(undefined); return x; });
|
/third_party/mindspore/mindspore/core/utils/ |
D | signal.h | 31 template <class FuncType> 34 explicit Slot(const std::function<FuncType> &callback) : callback(callback) {} in Slot() 38 std::function<FuncType> callback = nullptr; 41 template <class FuncType> 53 void add_slot(const std::function<FuncType> &func) { in add_slot() 54 auto slot = std::make_shared<Slot<FuncType>>(func); in add_slot() 65 std::vector<std::shared_ptr<Slot<FuncType>>> slots_;
|
/third_party/typescript/tests/cases/conformance/expressions/contextualTyping/ |
D | parenthesizedContexualTyping2.ts | 7 type FuncType = (x: <T>(p: T) => T) => typeof x; alias 9 function fun<T>(f: FuncType, x: T): T; 10 function fun<T>(f: FuncType, g: FuncType, x: T): T; 31 var lambda1: FuncType = x => { x<number>(undefined); return x; }; 32 var lambda2: FuncType = (x => { x<number>(undefined); return x; });
|
D | taggedTemplateContextualTyping1.ts | 3 type FuncType = (x: <T>(p: T) => T) => typeof x; alias 5 function tempTag1<T>(templateStrs: TemplateStringsArray, f: FuncType, x: T): T; 6 function tempTag1<T>(templateStrs: TemplateStringsArray, f: FuncType, h: FuncType, x: T): T;
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
D | test_bitmanip_main.cpp | 87 typedef Type (*FuncType)(Type); in testBitManip() typedef 90 FuncType FuncLlc; in testBitManip() 91 FuncType FuncSz; in testBitManip() 123 typedef Type (*FuncType)(Type); in testByteSwap() typedef 126 FuncType FuncLlc; in testByteSwap() 127 FuncType FuncSz; in testByteSwap()
|
D | test_sync_atomic_main.cpp | 91 typedef Type (*FuncType)(bool, volatile Type *, Type); in testAtomicRMW() typedef 94 FuncType FuncLlc; in testAtomicRMW() 95 FuncType FuncSz; in testAtomicRMW() 142 typedef Type (*FuncType)(volatile Type *, Type, Type); in testValCompareAndSwap() typedef 145 FuncType FuncLlc; in testValCompareAndSwap() 146 FuncType FuncSz; in testValCompareAndSwap() 212 typedef Type (*FuncType)(bool, volatile Type *, Type); in testAtomicRMWThreads() typedef 215 FuncType FuncLlc; in testAtomicRMWThreads() 216 FuncType FuncSz; in testAtomicRMWThreads()
|
D | test_stacksave_main.c | 29 typedef uint32_t (*FuncType)(uint32_t, uint32_t, uint32_t); in DECLARE_TESTS() typedef 32 FuncType FuncLlc; in DECLARE_TESTS() 33 FuncType FuncSz; in DECLARE_TESTS()
|
D | test_arith_main.cpp | 254 typedef Type (*FuncType)(Type, Type); in testsFp() typedef 257 FuncType FuncLlc; in testsFp() 258 FuncType FuncSz; in testsFp() 261 {STR(inst), (FuncType)test##inst, (FuncType)Subzero_::test##inst}, in testsFp() 324 typedef v4f32 (*FuncType)(v4f32, v4f32); in testsVecFp() typedef 327 FuncType FuncLlc; in testsVecFp() 328 FuncType FuncSz; in testsVecFp() 331 {STR(inst), (FuncType)test##inst, (FuncType)Subzero_::test##inst}, in testsVecFp()
|
D | test_icmp_main.cpp | 261 typedef Ty (*FuncType)(Ty, Ty); in testsVecI1() typedef 264 FuncType FuncLlc; in testsVecI1() 265 FuncType FuncSz; in testsVecI1() 268 {STR(cmp), (FuncType)icmpi1##cmp, (FuncType)Subzero_::icmpi1##cmp}, in testsVecI1()
|
/third_party/typescript/tests/cases/compiler/ |
D | classPropertyErrorOnNameOnly.ts | 4 type FuncType = (arg: Values) => string alias 8 insideClass: FuncType = function(val) { // error span goes from here 25 const outsideClass: FuncType = function(val) { // compare to errors only on this line in this case
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | utils.h | 289 static typename TermT::FuncType GetFunc(bool bArg) 301 static typename TermT::FuncType GetFunc(bool bArg, TArgsT... remainingArgs) 317 static typename TermT::FuncType GetFunc(RangedArg<T, TMin, TMax> iArg) 332 static typename TermT::FuncType GetFunc(RangedArg<T, TVal, TVal> iArg) 340 static typename TermT::FuncType GetFunc(RangedArg<T, TMin, TMax> iArg, TArgsT... remainingArgs) 356 static typename TermT::FuncType GetFunc(RangedArg<T, TVal, TVal> iArg, TArgsT... remainingArgs)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/ |
D | hash_benchmark.cc | 81 template <typename FuncType> 82 inline FuncType* ODRUseFunction(FuncType* ptr) { in ODRUseFunction() 83 volatile FuncType* dummy = ptr; in ODRUseFunction()
|
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/ |
D | explicit-function-return-type.md | 150 type FuncType = () => string; 152 let arrowFn: FuncType = () => 'test'; 154 let funcExpr: FuncType = function() {
|
D | explicit-module-boundary-types.md | 240 type FuncType = () => string; 242 export let arrowFn: FuncType = () => 'test'; 244 export let funcExpr: FuncType = function () {
|
/third_party/abseil-cpp/absl/synchronization/ |
D | mutex.h | 937 typedef bool (*FuncType)(T *); in CastAndCallFunction() typedef 938 FuncType fn = reinterpret_cast<FuncType>(c->function_); in CastAndCallFunction()
|