proxygen
String.cpp File Reference
#include <folly/String.h>
#include <cctype>
#include <cerrno>
#include <cstdarg>
#include <cstring>
#include <iterator>
#include <sstream>
#include <stdexcept>
#include <glog/logging.h>
#include <folly/Portability.h>
#include <folly/ScopeGuard.h>
#include <folly/container/Array.h>

Go to the source code of this file.

Classes

struct  folly::detail::string_table_c_escape_make_item
 
struct  folly::detail::string_table_c_unescape_make_item
 
struct  folly::detail::string_table_hex_make_item
 
struct  folly::detail::string_table_uri_escape_make_item
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::detail
 

Functions

static bool folly::is_oddspace (char c)
 
StringPiece folly::ltrimWhitespace (StringPiece sp)
 
StringPiece folly::rtrimWhitespace (StringPiece sp)
 
std::string folly::stringPrintf (const char *format,...)
 
std::string folly::stringVPrintf (const char *format, va_list ap)
 
std::stringfolly::stringAppendf (std::string *output, const char *format,...)
 
std::stringfolly::stringVAppendf (std::string *output, const char *format, va_list ap)
 
void folly::stringPrintf (std::string *output, const char *format,...)
 
void folly::stringVPrintf (std::string *output, const char *format, va_list ap)
 
std::string folly::prettyPrint (double val, PrettyType type, bool addSpace)
 
double folly::prettyToDouble (folly::StringPiece *const prettyString, const PrettyType type)
 
double folly::prettyToDouble (folly::StringPiece prettyString, const PrettyType type)
 
std::string folly::hexDump (const void *ptr, size_t size)
 
fbstring folly::errnoStr (int err)
 
void folly::toLowerAscii (char *str, size_t length)
 
size_t folly::detail::hexDumpLine (const void *ptr, size_t offset, size_t size, std::string &line)
 
std::string folly::stripLeftMargin (std::string s)
 

Variable Documentation

double val

Definition at line 273 of file String.cpp.

Referenced by accuracy_test(), folly::Data::add(), folly::FcSimpleExample< Mutex, Atom >::add(), folly::FcCustomExample< Req, Mutex, Atom >::add(), SimpleThreadCachedInt::add(), proxygen::TraceEvent::addMeta(), folly::gen::detail::Sample< Random >::Generator< Value, Source, Rand, StorageType >::apply(), basic_test(), folly::test::TestBothIndexingAndIter::begin(), BENCHMARK(), blockingFirst(), capacity_test(), checkLocation(), checkSingleLocation(), concurrentBlocking(), concurrentOps(), concurrentPopforSharedBuffer(), concurrentPush(), concurrentSizeTest(), folly::MultiLevelTimeSeries< VT, CT >::count(), folly::hazptr_obj_linked< Atom >::count_set(), folly::RequestContext::create(), folly::cUnescape(), CurlService::CurlClient::CurlClient(), folly::detail::ThreadCachedInts< folly::detail::folly::detail::Tag >::decrement(), destruction_test(), folly::RequestContext::doSetContextData(), folly::io::StreamCodec::doUncompress(), DSchedMixedTest(), EventHandlerTest::efd_read(), folly::encodeZigZag(), folly::test::TestBothIndexingAndIter::end(), folly::Expected< int, E >::Expected(), folly::Data::fetchAdd(), folly::IPAddressV4::fetchMask(), folly::Future< T >::filter(), folly::symbolizer::Dwarf::findLocation(), folly::FormatValue< double >::formatHelper(), wangle::LRUPersistentCache< K, V, M >::get(), folly::RequestContext::getContextData(), proxygen::HTTPMessage::getDecodedQueryParam(), folly::detail::getRadixBucket(), folly::Data::getVal(), folly::python::test::getValueX5Fibers(), List< T, Atom >::hand_over_hand(), proxygen::HTTPSettings::HTTPSettings(), ShardedAtomicInt::inc(), folly::detail::ThreadCachedInts< folly::detail::folly::detail::Tag >::increment(), folly::dynamic::insert(), folly::small_vector< Observer< T > *, InlineObservers >::insert(), folly::AsyncUDPSocket::isBound(), proxygen::http2::isValidFrameType(), wangle::LRUInMemoryCache< K, V, M >::LRUInMemoryCache(), folly::makeExpected(), folly::small_vector< Observer< T > *, InlineObservers >::makeSizeInternal(), QueueTest::maxQueueSize(), multiPusherPopper(), namespace1::MyTypeInNameSpace1::MyTypeInNameSpace1(), wangle::Observable< T >::observeOn(), CurlService::CurlClient::onHeadersComplete(), proxygen::HTTPCodecPrinter::onHeadersComplete(), folly::detail::DynamicHasher::operator()(), folly::f14::GenericHasher< T >::operator()(), folly::test::TestBothIndexingAndIter::Iterator::operator*(), testing::Message::operator<<(), folly::Expected< int, E >::operator=(), folly::test::TestBothIndexingAndIter::operator[](), folly::parseLeadingNumber(), proxygen::http2::parseSettings(), testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform(), producer_consumer_test(), List< T, Atom >::protect_all(), folly::io::detail::CursorBase< Cursor, const IOBuf >::read(), proxygen::TraceEvent::readMeta(), folly::io::detail::CursorBase< Cursor, const IOBuf >::readSlow(), folly::symbolizer::Dwarf::Section::Section(), folly::Random::secureRandom(), folly::AsyncUDPSocket::setGSO(), proxygen::HTTPRequestVerifier::setHasUpgradeProtocol(), folly::AsyncServerSocket::setKeepAliveEnabled(), folly::FormatArg::setNextIntKey(), folly::FormatArg::setNextKey(), folly::AsyncServerSocket::setReusePortEnabled(), proxygen::HTTPSettings::setSetting(), folly::AsyncServerSocket::setTosReflect(), folly::Req::setVal(), folly::AsyncServerSocket::setZeroCopy(), folly::AsyncSocket::setZeroCopy(), singleThreadTest(), folly::AsyncSSLSocket::sslWriteImpl(), folly::TEST(), folly::test::TEST(), TEST(), proxygen::TEST_F(), TEST_F(), test_nCopyConstruction3(), TEST_P(), test_resizeT3(), throughtput_test(), folly::f14::Tracked< 0 >::Tracked(), folly::tryDecodeVarint(), folly::AtomicHashMap< int64_t, int64_t >::tryLockMap(), TYPED_TEST(), folly::vformat(), folly::futures::Barrier::~Barrier(), and wangle::PersistentCache< K, V >::~PersistentCache().