Home
last modified time | relevance | path

Searched refs:Fn (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/third_party/typescript/tests/baselines/reference/
DarrayConcat3.types3 type Fn<T extends object> = <U extends T>(subj: U) => U
4 >Fn : Fn<T>
7 function doStuff<T extends object, T1 extends T>(a: Array<Fn<T>>, b: Array<Fn<T1>>) {
8 >doStuff : <T extends object, T1 extends T>(a: Array<Fn<T>>, b: Array<Fn<T1>>) => void
9 >a : Fn<T>[]
10 >b : Fn<T1>[]
13 >b.concat(a) : Fn<T1>[]
14 >b.concat : { (...items: ConcatArray<Fn<T1>>[]): Fn<T1>[]; (...items: (Fn<T1> | ConcatArray<Fn<T1>>…
15 >b : Fn<T1>[]
16 >concat : { (...items: ConcatArray<Fn<T1>>[]): Fn<T1>[]; (...items: (Fn<T1> | ConcatArray<Fn<T1>>)[…
[all …]
DspreadOfParamsFromGeneratorMakesRequiredParams.types2 declare function call<Fn extends (...args: any[]) => any>(
3 >call : <Fn extends (...args: any[]) => any>(fn: Fn, ...args: Parameters<Fn>) => any
6 fn: Fn,
7 >fn : Fn
9 ...args: Parameters<Fn>
10 >args : Parameters<Fn>
16 >call : <Fn extends (...args: any[]) => any>(fn: Fn, ...args: Parameters<Fn>) => any
DvarianceMeasurement.types104 interface Fn<A, B> {
108 then<C>(next: Fn<B, C>): Fn<A, C>;
109 >then : <C>(next: Fn<B, C>) => Fn<A, C>
110 >next : Fn<B, C>
113 declare const fn: Fn<string, number>;
114 >fn : Fn<string, number>
117 const fn1: Fn<unknown, number> = fn; // Error
118 >fn1 : Fn<unknown, number>
119 >fn : Fn<string, number>
121 const fn2: Fn<'a', number> = fn;
[all …]
/third_party/boost/libs/hana/test/functional/
Dapply.cpp183 using Fn = TestClass; in main() typedef
184 Fn cl(42); in main()
186 test_b34<int const&>(static_cast<Fn const&>(cl)); in main()
187 test_b34<int volatile&>(static_cast<Fn volatile&>(cl)); in main()
188 test_b34<int const volatile&>(static_cast<Fn const volatile &>(cl)); in main()
190 test_b34<int&&>(static_cast<Fn &&>(cl)); in main()
191 test_b34<int const&&>(static_cast<Fn const&&>(cl)); in main()
192 test_b34<int volatile&&>(static_cast<Fn volatile&&>(cl)); in main()
193 test_b34<int const volatile&&>(static_cast<Fn const volatile&&>(cl)); in main()
196 using Fn = DerivedFromTestClass; in main() typedef
[all …]
/third_party/boost/boost/context/
Dcontinuation_fcontext.hpp93 template< typename Ctx, typename Fn >
95 auto p = static_cast< std::tuple< Fn > * >( t.data); in context_ontop()
97 typename std::decay< Fn >::type fn = std::get< 0 >( * p); in context_ontop()
109 template< typename Ctx, typename StackAlloc, typename Fn >
114 typename std::decay< Fn >::type fn_;
127 Fn && fn) noexcept : in record()
130 fn_( std::forward< Fn >( fn) ) { in record()
156 template< typename Record, typename StackAlloc, typename Fn >
157 fcontext_t create_context1( StackAlloc && salloc, Fn && fn) { in create_context1()
165 sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) }; in create_context1()
[all …]
Dfiber_fcontext.hpp93 template< typename Ctx, typename Fn >
96 auto p = *static_cast< Fn * >( t.data); in fiber_ontop()
107 template< typename Ctx, typename StackAlloc, typename Fn >
112 typename std::decay< Fn >::type fn_;
125 Fn && fn) noexcept : in fiber_record()
128 fn_( std::forward< Fn >( fn) ) { in fiber_record()
153 template< typename Record, typename StackAlloc, typename Fn >
154 fcontext_t create_fiber1( StackAlloc && salloc, Fn && fn) { in create_fiber1()
162 sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) }; in create_fiber1()
177 template< typename Record, typename StackAlloc, typename Fn >
[all …]
Dcontinuation_winfib.hpp132 template< typename Ctx, typename Fn >
133 activation_record * resume_with( Fn && fn) { in resume_with()
141 [](typename std::decay< Fn >::type & fn, activation_record *& ptr){ in resume_with()
153 std::forward< Fn >( fn), in resume_with()
156 current()->ontop = [fn=std::forward<Fn>(fn)](activation_record *& ptr){ in resume_with()
204 template< typename Ctx, typename StackAlloc, typename Fn >
208 typename std::decay< Fn >::type fn_;
220 capture_record( stack_context sctx, StackAlloc && salloc, Fn && fn) noexcept : in capture_record()
223 fn_( std::forward< Fn >( fn) ) { in capture_record()
256 template< typename Ctx, typename StackAlloc, typename Fn >
[all …]
Dfiber_winfib.hpp131 template< typename Ctx, typename Fn >
132 fiber_activation_record * resume_with( Fn && fn) { in resume_with()
140 [](typename std::decay< Fn >::type & fn, fiber_activation_record *& ptr){ in resume_with()
152 std::forward< Fn >( fn), in resume_with()
155 current()->ontop = [fn=std::forward<Fn>(fn)](fiber_activation_record *& ptr){ in resume_with()
203 template< typename Ctx, typename StackAlloc, typename Fn >
207 typename std::decay< Fn >::type fn_;
219 fiber_capture_record( stack_context sctx, StackAlloc && salloc, Fn && fn) noexcept : in fiber_capture_record()
222 fn_( std::forward< Fn >( fn) ) { in fiber_capture_record()
255 template< typename Ctx, typename StackAlloc, typename Fn >
[all …]
Dcontinuation_ucontext.hpp143 template< typename Ctx, typename Fn >
144 activation_record * resume_with( Fn && fn) { in resume_with()
152 [](typename std::decay< Fn >::type & fn, activation_record *& ptr){ in resume_with()
164 std::forward< Fn >( fn), in resume_with()
167 current()->ontop = [fn=std::forward<Fn>(fn)](activation_record *& ptr){ in resume_with()
228 template< typename Ctx, typename StackAlloc, typename Fn >
232 typename std::decay< Fn >::type fn_;
244 capture_record( stack_context sctx, StackAlloc && salloc, Fn && fn) noexcept : in capture_record()
247 fn_( std::forward< Fn >( fn) ) {
285 template< typename Ctx, typename StackAlloc, typename Fn >
[all …]
Dfiber_ucontext.hpp143 template< typename Ctx, typename Fn >
144 fiber_activation_record * resume_with( Fn && fn) { in resume_with()
152 [](typename std::decay< Fn >::type & fn, fiber_activation_record *& ptr){ in resume_with()
164 std::forward< Fn >( fn), in resume_with()
167 current()->ontop = [fn=std::forward<Fn>(fn)](fiber_activation_record *& ptr){ in resume_with()
228 template< typename Ctx, typename StackAlloc, typename Fn >
232 typename std::decay< Fn >::type fn_;
244 fiber_capture_record( stack_context sctx, StackAlloc && salloc, Fn && fn) noexcept : in fiber_capture_record()
247 fn_( std::forward< Fn >( fn) ) {
285 template< typename Ctx, typename StackAlloc, typename Fn >
[all …]
/third_party/boost/boost/fiber/
Dfiber.hpp55 template< typename Fn,
57 typename = detail::disable_overload< fiber, Fn >,
58 typename = detail::disable_overload< launch, Fn >,
59 typename = detail::disable_overload< std::allocator_arg_t, Fn >
62 explicit fiber( Fn && fn, Arg && ... arg) : in fiber()
64 fiber( Fn && fn, Arg ... arg) : in fiber()
68 std::forward< Fn >( fn), std::forward< Arg >( arg) ... } { in fiber()
71 template< typename Fn,
73 typename = detail::disable_overload< fiber, Fn >
76 fiber( launch policy, Fn && fn, Arg && ... arg) : in fiber()
[all …]
/third_party/boost/boost/fiber/future/
Dasync.hpp34 template< typename Fn, typename ... Args >
38 ! detail::is_launch_policy< typename std::decay< Fn >::type >::value,
39 typename std::decay< Fn >::type
43 async( Fn && fn, Args ... args) { in async()
45 typename std::decay< Fn >::type( typename std::decay< Args >::type ... ) in async()
49 std::forward< Fn >( fn) }; in async()
55 template< typename Policy, typename Fn, typename ... Args >
60 typename std::decay< Fn >::type
64 async( Policy policy, Fn && fn, Args ... args) { in async()
66 typename std::decay< Fn >::type( typename std::decay< Args >::type ... ) in async()
[all …]
/third_party/boost/boost/coroutine/detail/
Dsymmetric_coroutine_call.hpp106 template< typename Fn >
107 explicit symmetric_coroutine_call( BOOST_RV_REF( Fn) fn, in symmetric_coroutine_call()
118 typedef symmetric_coroutine_object< Arg, Fn, stack_allocator > object_t; in symmetric_coroutine_call()
126 … boost::forward< Fn >( fn), attrs, preallocated( sp, size, stack_ctx), stack_alloc); in symmetric_coroutine_call()
130 template< typename Fn, typename StackAllocator >
131 explicit symmetric_coroutine_call( BOOST_RV_REF( Fn) fn, in symmetric_coroutine_call()
142 typedef symmetric_coroutine_object< Arg, Fn, StackAllocator > object_t; in symmetric_coroutine_call()
150 … boost::forward< Fn >( fn), attrs, preallocated( sp, size, stack_ctx), stack_alloc); in symmetric_coroutine_call()
154 template< typename Fn >
155 explicit symmetric_coroutine_call( Fn fn, in symmetric_coroutine_call()
[all …]
Dsymmetric_coroutine_object.hpp33 template< typename R, typename Fn, typename StackAllocator >
38 typedef symmetric_coroutine_object< R, Fn, StackAllocator > obj_t;
40 Fn fn_;
55 symmetric_coroutine_object( Fn fn, attributes const& attrs, in symmetric_coroutine_object()
66 symmetric_coroutine_object( BOOST_RV_REF( Fn) fn, attributes const& attrs, in symmetric_coroutine_object()
74 fn_( boost::forward< Fn >( fn) ), in symmetric_coroutine_object()
109 template< typename R, typename Fn, typename StackAllocator >
110 class symmetric_coroutine_object< R &, Fn, StackAllocator > : public symmetric_coroutine_impl< R & >
114 typedef symmetric_coroutine_object< R &, Fn, StackAllocator > obj_t;
116 Fn fn_;
[all …]
Dpull_coroutine_object.hpp52 template< typename PushCoro, typename R, typename Fn, typename StackAllocator >
59 typedef pull_coroutine_object< PushCoro, R, Fn, StackAllocator > obj_t;
61 Fn fn_;
76 pull_coroutine_object( Fn fn, attributes const& attrs, in pull_coroutine_object()
89 pull_coroutine_object( BOOST_RV_REF( Fn) fn, attributes const& attrs, in pull_coroutine_object()
99 fn_( boost::forward< Fn >( fn) ), in pull_coroutine_object()
139 template< typename PushCoro, typename R, typename Fn, typename StackAllocator >
140 class pull_coroutine_object< PushCoro, R &, Fn, StackAllocator > : private pull_coroutine_context,
146 typedef pull_coroutine_object< PushCoro, R &, Fn, StackAllocator > obj_t;
148 Fn fn_;
[all …]
Dpush_coroutine_object.hpp64 template< typename PullCoro, typename R, typename Fn, typename StackAllocator >
71 typedef push_coroutine_object< PullCoro, R, Fn, StackAllocator > obj_t;
73 Fn fn_;
88 push_coroutine_object( Fn fn, attributes const& attrs, in push_coroutine_object()
101 push_coroutine_object( BOOST_RV_REF( Fn) fn, attributes const& attrs, in push_coroutine_object()
111 fn_( boost::forward< Fn >( fn) ), in push_coroutine_object()
151 template< typename PullCoro, typename R, typename Fn, typename StackAllocator >
152 class push_coroutine_object< PullCoro, R &, Fn, StackAllocator > : private push_coroutine_context,
158 typedef push_coroutine_object< PullCoro, R &, Fn, StackAllocator > obj_t;
160 Fn fn_;
[all …]
/third_party/boost/boost/coroutine/
Dasymmetric_coroutine.hpp82 template< typename Fn >
83 explicit push_coroutine( BOOST_RV_REF( Fn),
86 template< typename Fn, typename StackAllocator >
87 explicit push_coroutine( BOOST_RV_REF( Fn),
91 template< typename Fn >
92 explicit push_coroutine( Fn fn,
95 template< typename Fn, typename StackAllocator >
96 explicit push_coroutine( Fn fn,
100 template< typename Fn >
101 explicit push_coroutine( BOOST_RV_REF( Fn),
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp77 FunctionInfo(Function &Fn, const SmallVectorImpl<Value *> &RetVals,
117 Function &Fn, const SmallVectorImpl<Value *> &RetVals, in FunctionInfo() argument
122 if (Fn.arg_size() > MaxSupportedArgsInSummary) in FunctionInfo()
174 for (auto &Param : Fn.args()) { in FunctionInfo()
185 CFLSteensAAResult::FunctionInfo CFLSteensAAResult::buildSetsFrom(Function *Fn) { in buildSetsFrom() argument
186 CFLGraphBuilder<CFLSteensAAResult> GraphBuilder(*this, GetTLI(*Fn), *Fn); in buildSetsFrom()
224 return FunctionInfo(*Fn, GraphBuilder.getReturnValues(), SetBuilder.build()); in buildSetsFrom()
227 void CFLSteensAAResult::scan(Function *Fn) { in scan() argument
228 auto InsertPair = Cache.insert(std::make_pair(Fn, Optional<FunctionInfo>())); in scan()
236 auto FunInfo = buildSetsFrom(Fn); in scan()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp51 unsigned ComputeBlockSizes(MachineFunction &Fn);
52 void modifyAdjustment(MachineFunction &Fn);
53 int computeBranchSize(MachineFunction &Fn,
58 bool runOnMachineFunction(MachineFunction &Fn) override;
106 static inline unsigned GetInitialOffset(MachineFunction &Fn) { in GetInitialOffset() argument
108 if (Fn.getSubtarget<PPCSubtarget>().isELFv2ABI() && in GetInitialOffset()
109 !Fn.getRegInfo().use_empty(PPC::X2)) in GetInitialOffset()
115 unsigned PPCBSel::ComputeBlockSizes(MachineFunction &Fn) { in ComputeBlockSizes() argument
117 static_cast<const PPCInstrInfo *>(Fn.getSubtarget().getInstrInfo()); in ComputeBlockSizes()
118 unsigned FuncSize = GetInitialOffset(Fn); in ComputeBlockSizes()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTargetRegistry.h564 MCRelocationInfoCtorTy Fn = MCRelocationInfoCtorFn in createMCRelocationInfo() local
567 return Fn(Triple(TT), Ctx); in createMCRelocationInfo()
587 MCSymbolizerCtorTy Fn = in createMCSymbolizer() local
589 return Fn(Triple(TT), GetOpInfo, SymbolLookUp, DisInfo, Ctx, in createMCSymbolizer()
705 static void RegisterMCAsmInfo(Target &T, Target::MCAsmInfoCtorFnTy Fn) { in RegisterMCAsmInfo()
706 T.MCAsmInfoCtorFn = Fn; in RegisterMCAsmInfo()
718 static void RegisterMCInstrInfo(Target &T, Target::MCInstrInfoCtorFnTy Fn) { in RegisterMCInstrInfo()
719 T.MCInstrInfoCtorFn = Fn; in RegisterMCInstrInfo()
725 Target::MCInstrAnalysisCtorFnTy Fn) { in RegisterMCInstrAnalysis()
726 T.MCInstrAnalysisCtorFn = Fn; in RegisterMCInstrAnalysis()
[all …]
/third_party/boost/boost/coroutine2/detail/
Dpush_coroutine.hpp40 template< typename Fn,
41 typename = detail::disable_overload< push_coroutine, Fn >
43 explicit push_coroutine( Fn &&);
45 template< typename StackAllocator, typename Fn >
46 push_coroutine( StackAllocator &&, Fn &&);
125 template< typename Fn,
126 typename = detail::disable_overload< push_coroutine, Fn >
128 explicit push_coroutine( Fn &&);
130 template< typename StackAllocator, typename Fn >
131 push_coroutine( StackAllocator &&, Fn &&);
[all …]
/third_party/boost/libs/fiber/examples/
Dwait_stuff.cpp155 template< typename Fn, typename ... Fns >
156 void wait_first_simple_impl( Done::ptr done, Fn && function, Fns && ... functions) { in wait_first_simple_impl()
192 template< typename T, typename Fn >
194 Fn && function) { in wait_first_value_impl()
222 template< typename Fn, typename ... Fns >
223 typename std::result_of< Fn() >::type
224 wait_first_value( Fn && function, Fns && ... functions) { in wait_first_value()
225 typedef typename std::result_of< Fn() >::type return_t; in wait_first_value()
230 std::forward< Fn >( function), in wait_first_value()
257 template< typename T, typename CHANP, typename Fn >
[all …]
Dadapt_callbacks.cpp21 template< typename Fn, typename ... Args >
24 typename std::decay< Fn >::type fn_;
28 helper( Fn && fn, Args && ... args) : in helper()
29 fn_( std::forward< Fn >( fn) ), in helper()
44 template< typename Fn, typename ... Args >
45 helper< Fn, Args ... > help( Fn && fn, Args && ... args) { in help()
46 return helper< Fn, Args ... >( std::forward< Fn >( fn), std::forward< Args >( args) ... ); in help()
63 template< typename Fn >
64 void init_write( std::string const& data, Fn && callback);
67 template< typename Fn >
[all …]
/third_party/boost/boost/context/detail/
Dinvoke.hpp26 template< typename Fn, typename ... Args >
28 std::is_member_pointer< typename std::decay< Fn >::type >::value,
29 typename std::result_of< Fn &&( Args && ... ) >::type
31 invoke( Fn && fn, Args && ... args) { in invoke()
35 template< typename Fn, typename ... Args >
37 ! std::is_member_pointer< typename std::decay< Fn >::type >::value,
38 typename std::result_of< Fn &&( Args && ... ) >::type
40 invoke( Fn && fn, Args && ... args) { in invoke()
41 return std::forward< Fn >( fn)( std::forward< Args >( args) ... ); in invoke()
/third_party/eudev/hwdb/
D60-keyboard.hwdb103 KEYBOARD_KEY_86=wlan # Fn+F3 or Fn+Q for comunication key
104 KEYBOARD_KEY_a5=help # Fn+F1
105 KEYBOARD_KEY_a6=setup # Fn+F2 Acer eSettings
106 KEYBOARD_KEY_a7=battery # Fn+F3 Power Management
107 KEYBOARD_KEY_a9=switchvideomode # Fn+F5
111 KEYBOARD_KEY_ce=brightnessup # Fn+Right
117 KEYBOARD_KEY_d9=brightnessup # Fn+Right
118 KEYBOARD_KEY_ee=brightnessup # Fn+Right
119 KEYBOARD_KEY_ef=brightnessdown # Fn+Left
120 KEYBOARD_KEY_f1=f22 # Fn+F7 Touchpad toggle (off-to-on)
[all …]

12345678910>>...15