Searched refs:capture_t (Results 1 – 6 of 6) sorted by relevance
/third_party/boost/libs/hana/include/boost/hana/functional/ |
D | capture.hpp | 63 struct capture_t; 68 constexpr capture_t<typename detail::decay<X>::type...> 75 struct capture_t { 77 constexpr capture_t(make_capture_t::secret, Y&& ...y) 102 static_cast<F&&>(f), static_cast<capture_t&&>(*this),
|
/third_party/boost/boost/hana/functional/ |
D | capture.hpp | 63 struct capture_t; 68 constexpr capture_t<typename detail::decay<X>::type...> 75 struct capture_t { 77 constexpr capture_t(make_capture_t::secret, Y&& ...y) 102 static_cast<F&&>(f), static_cast<capture_t&&>(*this),
|
/third_party/boost/boost/context/ |
D | continuation_winfib.hpp | 258 typedef capture_record< Ctx, StackAlloc, Fn > capture_t; in create_context1() typedef 261 BOOST_ASSERT( ( sizeof( capture_t) ) < sctx.size); in create_context1() 264 … ( reinterpret_cast< uintptr_t >( sctx.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) ) in create_context1() 267 capture_t * record = new ( storage) capture_t{ in create_context1() 270 record->fiber = ::CreateFiber( sctx.size, & detail::entry_func< capture_t >, record); in create_context1() 276 typedef capture_record< Ctx, StackAlloc, Fn > capture_t; in create_context2() typedef 278 BOOST_ASSERT( ( sizeof( capture_t) ) < palloc.size); in create_context2() 281 … ( reinterpret_cast< uintptr_t >( palloc.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) ) in create_context2() 284 capture_t * record = new ( storage) capture_t{ in create_context2() 287 record->fiber = ::CreateFiber( palloc.sctx.size, & detail::entry_func< capture_t >, record); in create_context2()
|
D | fiber_winfib.hpp | 257 typedef fiber_capture_record< Ctx, StackAlloc, Fn > capture_t; in create_fiber1() typedef 260 BOOST_ASSERT( ( sizeof( capture_t) ) < sctx.size); in create_fiber1() 263 … ( reinterpret_cast< uintptr_t >( sctx.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) ) in create_fiber1() 266 capture_t * record = new ( storage) capture_t{ in create_fiber1() 269 record->fiber = ::CreateFiber( sctx.size, & detail::fiber_entry_func< capture_t >, record); in create_fiber1() 275 typedef fiber_capture_record< Ctx, StackAlloc, Fn > capture_t; in create_fiber2() typedef 277 BOOST_ASSERT( ( sizeof( capture_t) ) < palloc.size); in create_fiber2() 280 … ( reinterpret_cast< uintptr_t >( palloc.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) ) in create_fiber2() 283 capture_t * record = new ( storage) capture_t{ in create_fiber2() 286 … record->fiber = ::CreateFiber( palloc.sctx.size, & detail::fiber_entry_func< capture_t >, record); in create_fiber2()
|
D | fiber_ucontext.hpp | 287 typedef fiber_capture_record< Ctx, StackAlloc, Fn > capture_t; in create_fiber1() typedef 292 … ( reinterpret_cast< uintptr_t >( sctx.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) ) in create_fiber1() 295 capture_t * record = new ( storage) capture_t{ in create_fiber1() 302 record->~capture_t(); in create_fiber1() 313 ::makecontext( & record->uctx, ( void (*)() ) & fiber_entry_func< capture_t >, 1, record); in create_fiber1() 323 typedef fiber_capture_record< Ctx, StackAlloc, Fn > capture_t; in create_fiber2() typedef 327 … ( reinterpret_cast< uintptr_t >( palloc.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) ) in create_fiber2() 330 capture_t * record = new ( storage) capture_t{ in create_fiber2() 337 record->~capture_t(); in create_fiber2() 348 ::makecontext( & record->uctx, ( void (*)() ) & fiber_entry_func< capture_t >, 1, record); in create_fiber2()
|
D | continuation_ucontext.hpp | 287 typedef capture_record< Ctx, StackAlloc, Fn > capture_t; in create_context1() typedef 292 … ( reinterpret_cast< uintptr_t >( sctx.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) ) in create_context1() 295 capture_t * record = new ( storage) capture_t{ in create_context1() 302 record->~capture_t(); in create_context1() 313 ::makecontext( & record->uctx, ( void (*)() ) & entry_func< capture_t >, 1, record); in create_context1() 323 typedef capture_record< Ctx, StackAlloc, Fn > capture_t; in create_context2() typedef 327 … ( reinterpret_cast< uintptr_t >( palloc.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) ) in create_context2() 330 capture_t * record = new ( storage) capture_t{ in create_context2() 337 record->~capture_t(); in create_context2() 348 ::makecontext( & record->uctx, ( void (*)() ) & entry_func< capture_t >, 1, record); in create_context2()
|