Home
last modified time | relevance | path

Searched refs:FuncType (Results 1 – 25 of 38) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DtaggedTemplateContextualTyping1.types2 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 …]
DparenthesizedContexualTyping2.types8 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 …]
DclassPropertyErrorOnNameOnly.symbols5 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))
DclassPropertyErrorOnNameOnly.types5 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
DclassPropertyErrorOnNameOnly.errors.txt1 …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'.
DtaggedTemplateContextualTyping1.symbols2 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))
DclassPropertyErrorOnNameOnly.js4 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
DtaggedTemplateContextualTyping1.js2 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;
DparenthesizedContexualTyping2.symbols8 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 …]
DparenthesizedContexualTyping2.js8 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; });
DparenthesizedContexualTyping2.errors.txt14 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/
Dsignal.h31 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/
DparenthesizedContexualTyping2.ts7 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; });
DtaggedTemplateContextualTyping1.ts3 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/
Dtest_bitmanip_main.cpp87 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()
Dtest_sync_atomic_main.cpp91 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()
Dtest_stacksave_main.c29 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()
Dtest_arith_main.cpp254 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()
Dtest_icmp_main.cpp261 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/
DclassPropertyErrorOnNameOnly.ts4 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/
Dutils.h289 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/
Dhash_benchmark.cc81 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/
Dexplicit-function-return-type.md150 type FuncType = () => string;
152 let arrowFn: FuncType = () => 'test';
154 let funcExpr: FuncType = function() {
Dexplicit-module-boundary-types.md240 type FuncType = () => string;
242 export let arrowFn: FuncType = () => 'test';
244 export let funcExpr: FuncType = function () {
/third_party/abseil-cpp/absl/synchronization/
Dmutex.h937 typedef bool (*FuncType)(T *); in CastAndCallFunction() typedef
938 FuncType fn = reinterpret_cast<FuncType>(c->function_); in CastAndCallFunction()

12