proxygen
|
#include <ThreadLocal.h>
Public Types | |
using | difference_type = ssize_t |
using | value_type = T |
using | reference = T const & |
using | pointer = T const * |
using | iterator_category = std::bidirectional_iterator_tag |
Public Member Functions | |
Iterator & | operator++ () |
Iterator & | operator++ (int) |
Iterator & | operator-- () |
Iterator & | operator-- (int) |
T & | operator* () |
T const & | operator* () const |
T * | operator-> () |
T const * | operator-> () const |
bool | operator== (Iterator const &rhs) const |
bool | operator!= (Iterator const &rhs) const |
Private Member Functions | |
void | increment () |
void | decrement () |
const T & | dereference () const |
T & | dereference () |
bool | equal (const Iterator &other) const |
Iterator (const Accessor *accessor) | |
bool | valid () const |
void | incrementToValid () |
void | decrementToValid () |
Private Attributes | |
const Accessor * | accessor_ |
threadlocal_detail::ThreadEntryNode * | e_ |
Friends | |
class | Accessor |
Definition at line 260 of file ThreadLocal.h.
using folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::Iterator::difference_type = ssize_t |
Definition at line 314 of file ThreadLocal.h.
using folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::Iterator::iterator_category = std::bidirectional_iterator_tag |
Definition at line 318 of file ThreadLocal.h.
using folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::Iterator::pointer = T const* |
Definition at line 317 of file ThreadLocal.h.
using folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::Iterator::reference = T const& |
Definition at line 316 of file ThreadLocal.h.
using folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::Iterator::value_type = T |
Definition at line 315 of file ThreadLocal.h.
|
inlineexplicitprivate |
Definition at line 289 of file ThreadLocal.h.
|
inlineprivate |
Definition at line 270 of file ThreadLocal.h.
References folly::threadlocal_detail::ThreadEntryNode::getPrev().
|
inlineprivate |
Definition at line 306 of file ThreadLocal.h.
References folly::threadlocal_detail::ThreadEntry::elements, folly::threadlocal_detail::ThreadEntryNode::getPrev(), folly::threadlocal_detail::StaticMetaBase::head_, folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::id_, folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::meta_, and folly::threadlocal_detail::ElementWrapper::node.
|
inlineprivate |
Definition at line 275 of file ThreadLocal.h.
References folly::threadlocal_detail::ThreadEntry::elements, folly::threadlocal_detail::ThreadEntryNode::getThreadEntry(), folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::id_, folly::threadlocal_detail::ElementWrapper::ptr, and folly::T.
|
inlineprivate |
Definition at line 280 of file ThreadLocal.h.
References folly::threadlocal_detail::ThreadEntry::elements, folly::threadlocal_detail::ThreadEntryNode::getThreadEntry(), folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::id_, folly::threadlocal_detail::ElementWrapper::ptr, and folly::T.
|
inlineprivate |
Definition at line 285 of file ThreadLocal.h.
References folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::Iterator::accessor_, folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::Iterator::e_, and folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::id_.
|
inlineprivate |
Definition at line 265 of file ThreadLocal.h.
References folly::threadlocal_detail::ThreadEntryNode::getNext().
|
inlineprivate |
Definition at line 299 of file ThreadLocal.h.
References folly::threadlocal_detail::ThreadEntry::elements, folly::threadlocal_detail::ThreadEntryNode::getNext(), folly::threadlocal_detail::StaticMetaBase::head_, folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::id_, folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::meta_, and folly::threadlocal_detail::ElementWrapper::node.
|
inline |
Definition at line 362 of file ThreadLocal.h.
|
inline |
Definition at line 342 of file ThreadLocal.h.
References folly::gen::dereference.
|
inline |
Definition at line 346 of file ThreadLocal.h.
References folly::gen::dereference.
|
inline |
Definition at line 320 of file ThreadLocal.h.
|
inline |
Definition at line 325 of file ThreadLocal.h.
References folly::copy().
|
inline |
Definition at line 331 of file ThreadLocal.h.
|
inline |
Definition at line 336 of file ThreadLocal.h.
References folly::copy().
|
inline |
Definition at line 350 of file ThreadLocal.h.
References folly::gen::dereference.
|
inline |
Definition at line 354 of file ThreadLocal.h.
References folly::gen::dereference.
|
inline |
Definition at line 358 of file ThreadLocal.h.
|
inlineprivate |
Definition at line 295 of file ThreadLocal.h.
References folly::threadlocal_detail::ThreadEntry::elements, folly::threadlocal_detail::ThreadEntryNode::getThreadEntry(), folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::id_, and folly::threadlocal_detail::ElementWrapper::ptr.
|
friend |
Definition at line 261 of file ThreadLocal.h.
|
private |
Definition at line 262 of file ThreadLocal.h.
Referenced by folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::Iterator::equal().
|
private |
Definition at line 263 of file ThreadLocal.h.
Referenced by folly::ThreadLocalPtr< T, Tag, AccessMode >::Accessor::Iterator::equal().