proxygen
|
Static Public Member Functions | |
static constexpr size_t | getDataOffset () |
static RefCounted * | fromData (Char *p) |
static size_t | refs (Char *p) |
static void | incrementRefs (Char *p) |
static void | decrementRefs (Char *p) |
static RefCounted * | create (size_t *size) |
static RefCounted * | create (const Char *data, size_t *size) |
static RefCounted * | reallocate (Char *const data, const size_t currentSize, const size_t currentCapacity, size_t *newCapacity) |
Public Attributes | |
std::atomic< size_t > | refCount_ |
Char | data_ [1] |
Definition at line 549 of file FBString.h.
|
inlinestatic |
Definition at line 580 of file FBString.h.
References testing::gmock_generated_actions_test::Char(), folly::checkedMalloc(), folly::goodMallocSize(), and folly::fbstring_core< Char >::RefCounted::refCount_.
|
inlinestatic |
Definition at line 589 of file FBString.h.
References FBSTRING_LIKELY, folly::fbstring_detail::podCopy(), and folly::size().
|
inlinestatic |
Definition at line 571 of file FBString.h.
References FBSTRING_ASSERT, and bm::free().
|
inlinestatic |
Definition at line 557 of file FBString.h.
|
inlinestatic |
Definition at line 553 of file FBString.h.
|
inlinestatic |
Definition at line 567 of file FBString.h.
|
inlinestatic |
Definition at line 598 of file FBString.h.
References testing::gmock_generated_actions_test::Char(), FBSTRING_ASSERT, folly::goodMallocSize(), and folly::smartRealloc().
|
inlinestatic |
Definition at line 563 of file FBString.h.
Char folly::fbstring_core< Char >::RefCounted::data_[1] |
Definition at line 551 of file FBString.h.
std::atomic<size_t> folly::fbstring_core< Char >::RefCounted::refCount_ |
Definition at line 550 of file FBString.h.
Referenced by folly::fbstring_core< Char >::RefCounted::create().