proxygen
|
#include <AtomicSharedPtr-detail.h>
Classes | |
struct | access_base |
struct | access_counted_ptr_ptr |
struct | access_refcount |
struct | access_shared_ptr |
struct | access_shared_ptr_ptr |
struct | access_use_count |
struct | access_weak_count |
struct | Rob |
Public Types | |
typedef std::__shared_count< std::_S_atomic > | shared_count |
typedef std::_Sp_counted_base< std::_S_atomic > | counted_base |
template<typename T > | |
using | CountedPtr = std::shared_ptr< T > |
Static Public Member Functions | |
template<typename T , typename... Args> | |
static std::shared_ptr< T > | make_ptr (Args &&...args) |
template<typename T > | |
static counted_base * | get_counted_base (const std::shared_ptr< T > &bar) |
static void | inc_shared_count (counted_base *base, long count) |
template<typename T > | |
static void | release_shared (counted_base *base, long count) |
template<typename T > | |
static T * | get_shared_ptr (counted_base *base) |
template<typename T > | |
static T * | release_ptr (std::shared_ptr< T > &p) |
template<typename T > | |
static std::shared_ptr< T > | get_shared_ptr_from_counted_base (counted_base *base, bool inc=true) |
Definition at line 33 of file AtomicSharedPtr-detail.h.
typedef std::_Sp_counted_base<std::_S_atomic> folly::detail::shared_ptr_internals::counted_base |
Definition at line 40 of file AtomicSharedPtr-detail.h.
using folly::detail::shared_ptr_internals::CountedPtr = std::shared_ptr<T> |
Definition at line 42 of file AtomicSharedPtr-detail.h.
typedef std::__shared_count<std::_S_atomic> folly::detail::shared_ptr_internals::shared_count |
Definition at line 39 of file AtomicSharedPtr-detail.h.
|
inlinestatic |
Definition at line 133 of file AtomicSharedPtr-detail.h.
References folly::detail::shared_ptr_internals::access_shared_ptr::fieldPtr, and ptr.
|
inlinestatic |
Definition at line 171 of file AtomicSharedPtr-detail.h.
References folly::detail::shared_ptr_internals::access_shared_ptr::fieldPtr, ptr, and folly::T.
|
inlinestatic |
Definition at line 195 of file AtomicSharedPtr-detail.h.
References folly::detail::shared_ptr_internals::access_shared_ptr::fieldPtr, inc_shared_count(), and folly::gen::move.
|
inlinestatic |
Definition at line 143 of file AtomicSharedPtr-detail.h.
References folly::detail::shared_ptr_internals::access_shared_ptr::fieldPtr, and FOLLY_SAFE_CHECK.
Referenced by get_shared_ptr_from_counted_base().
|
inlinestatic |
Definition at line 36 of file AtomicSharedPtr-detail.h.
References testing::Args().
|
inlinestatic |
Definition at line 184 of file AtomicSharedPtr-detail.h.
References folly::detail::shared_ptr_internals::access_shared_ptr::fieldPtr, and ptr.
|
inlinestatic |
Definition at line 155 of file AtomicSharedPtr-detail.h.
References folly::detail::shared_ptr_internals::access_shared_ptr::fieldPtr.