Home
last modified time | relevance | path

Searched refs:weak_from_this (Results 1 – 17 of 17) sorted by relevance

/third_party/boost/libs/smart_ptr/test/
Dweak_from_test.cpp35 boost::weak_ptr<Z> weak_from_this() in weak_from_this() function in Z
51 boost::weak_ptr<Z> q = sp->weak_from_this(); in main()
60 boost::weak_ptr<Z> q = v2.weak_from_this(); in main()
67 boost::weak_ptr<Z> q = sp->weak_from_this(); in main()
78 boost::weak_ptr<Z> q = sp->weak_from_this(); in main()
85 boost::weak_ptr<Z> p2 = sp->weak_from_this(); in main()
Dweak_from_this_test2.cpp28 boost::weak_ptr<X> p1 = weak_from_this(); in X()
35 boost::weak_ptr<X> p2 = weak_from_this(); in check()
45 boost::weak_ptr<X> p3 = weak_from_this(); in ~X()
Dweak_from_this_test.cpp31 boost::weak_ptr<V> q2 = p->weak_from_this(); in test()
37 boost::weak_ptr<V> q3 = v2.weak_from_this(); in test()
42 boost::weak_ptr<V> q4 = p->weak_from_this(); in test()
Dweak_from_fail.cpp21 px->weak_from_this(); in main()
/third_party/boost/libs/smart_ptr/doc/smart_ptr/
Denable_shared_from_this.adoc24 `this`. It also defines two member functions called `weak_from_this` that return a
79 weak_ptr<T> weak_from_this() noexcept;
80 weak_ptr<T const> weak_from_this() const noexcept;
136 template<class T> weak_ptr<T> weak_from_this() noexcept;
139 template<class T> weak_ptr<T const> weak_from_this() const noexcept;
146 NOTE: Unlike `shared_from_this()`, `weak_from_this()` is valid in a destructor
Denable_shared_from.adoc85 Returns:: `weak_ptr<T>( p\->enable_shared_from::weak_from_this(), p )`.
/third_party/boost/boost/smart_ptr/
Denable_shared_from_raw.hpp95 weak_ptr<void const volatile> weak_from_this() const in weak_from_this() function in boost::enable_shared_from_raw
101 weak_ptr<void const volatile> weak_from_this() const volatile in weak_from_this() function in boost::enable_shared_from_raw
103 return const_cast< enable_shared_from_raw const * >( this )->weak_from_this(); in weak_from_this()
147 boost::weak_ptr<T> result(p->enable_shared_from_raw::weak_from_this(), p); in weak_from_raw()
Denable_shared_from.hpp25 using enable_shared_from_this<enable_shared_from>::weak_from_this;
36 return weak_ptr<T>( p->enable_shared_from_this<enable_shared_from>::weak_from_this(), p ); in weak_from()
Denable_shared_from_this.hpp62 weak_ptr<T> weak_from_this() BOOST_SP_NOEXCEPT in weak_from_this() function in boost::enable_shared_from_this
67 weak_ptr<T const> weak_from_this() const BOOST_SP_NOEXCEPT in weak_from_this() function in boost::enable_shared_from_this
/third_party/boost/libs/beast/example/websocket/server/chat-multi/
Dshared_state.cpp51 v.emplace_back(p->weak_from_this()); in send()
/third_party/flutter/engine/flutter/fml/
Dconcurrent_message_loop.cc43 return std::make_shared<ConcurrentTaskRunner>(weak_from_this()); in GetTaskRunner()
/third_party/boost/libs/beast/include/boost/beast/websocket/impl/
Dstream_impl.hpp57 weak_from_this() in weak_from_this() function
431 ex, this->weak_from_this())); in update_timer()
453 ex, this->weak_from_this())); in update_timer()
476 ex, this->weak_from_this())); in update_timer()
/third_party/boost/boost/beast/websocket/impl/
Dstream_impl.hpp57 weak_from_this() in weak_from_this() function
431 ex, this->weak_from_this())); in update_timer()
453 ex, this->weak_from_this())); in update_timer()
476 ex, this->weak_from_this())); in update_timer()
/third_party/boost/libs/beast/include/boost/beast/websocket/detail/
Dservice.ipp53 v.emplace_back(p->weak_from_this());
/third_party/boost/boost/beast/websocket/detail/
Dservice.ipp53 v.emplace_back(p->weak_from_this());
/third_party/mindspore/mindspore/ccsrc/common/
Dduplex_pipe.cc80 signal_handler_ = std::make_shared<SignalHandler>(weak_from_this(), &pid_); in Open()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_server.h433 std::weak_ptr<BatchWait> GetBatchWait() { return weak_from_this(); } in GetBatchWait()