proxygen
String-inl.h File Reference
#include <iterator>
#include <stdexcept>
#include <folly/CppAttributes.h>

Go to the source code of this file.

Classes

struct  folly::detail::IsSizableString< T >
 
struct  folly::detail::IsSizableStringContainerIterator< Iterator >
 

Namespaces

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

Functions

template<class String >
void folly::cEscape (StringPiece str, String &out)
 
template<class String >
void folly::cUnescape (StringPiece str, String &out, bool strict)
 
template<class String >
void folly::uriEscape (StringPiece str, String &out, UriEscapeMode mode)
 
template<class String >
void folly::uriUnescape (StringPiece str, String &out, UriEscapeMode mode)
 
size_t folly::detail::delimSize (char)
 
size_t folly::detail::delimSize (StringPiece s)
 
bool folly::detail::atDelim (const char *s, char c)
 
bool folly::detail::atDelim (const char *s, StringPiece sp)
 
char folly::detail::delimFront (char c)
 
char folly::detail::delimFront (StringPiece s)
 
template<class OutStringT , class DelimT , class OutputIterator >
void folly::detail::internalSplit (DelimT delim, StringPiece sp, OutputIterator out, bool ignoreEmpty)
 
template<class String >
StringPiece folly::detail::prepareDelim (const String &s)
 
char folly::detail::prepareDelim (char c)
 
template<class OutputType >
void folly::detail::toOrIgnore (StringPiece input, OutputType &output)
 
void folly::detail::toOrIgnore (StringPiece, decltype(std::ignore)&)
 
template<bool exact, class Delim , class OutputType >
bool folly::detail::splitFixed (const Delim &delimiter, StringPiece input, OutputType &output)
 
template<bool exact, class Delim , class OutputType , class... OutputTypes>
bool folly::detail::splitFixed (const Delim &delimiter, StringPiece input, OutputType &outHead, OutputTypes &...outTail)
 
template<class Delim , class String , class OutputType >
void folly::split (const Delim &delimiter, const String &input, std::vector< OutputType > &out, bool ignoreEmpty)
 
template<class Delim , class String , class OutputType >
void folly::split (const Delim &delimiter, const String &input, fbvector< OutputType > &out, bool ignoreEmpty)
 
template<class OutputValueType , class Delim , class String , class OutputIterator >
void folly::splitTo (const Delim &delimiter, const String &input, OutputIterator out, bool ignoreEmpty)
 
template<bool exact, class Delim , class... OutputTypes>
bool::type folly::split (const Delim &delimiter, StringPiece input, OutputTypes &...outputs)
 
template<class Delim , class Iterator , class String >
void folly::detail::internalJoinAppend (Delim delimiter, Iterator begin, Iterator end, String &output)
 
template<class Delim , class Iterator , class String >
std::enable_if< IsSizableStringContainerIterator< Iterator >::value >::type folly::detail::internalJoin (Delim delimiter, Iterator begin, Iterator end, String &output)
 
template<class Delim , class Iterator , class String >
std::enable_if< !IsSizableStringContainerIterator< Iterator >::value >::type folly::detail::internalJoin (Delim delimiter, Iterator begin, Iterator end, String &output)
 
template<class Delim , class Iterator , class String >
void folly::join (const Delim &delimiter, Iterator begin, Iterator end, String &output)
 
template<class OutputString >
void folly::backslashify (folly::StringPiece input, OutputString &output, bool hex_style)
 
template<class String1 , class String2 >
void folly::humanify (const String1 &input, String2 &output)
 
template<class InputString , class OutputString >
bool folly::hexlify (const InputString &input, OutputString &output, bool append_output)
 
template<class InputString , class OutputString >
bool folly::unhexlify (const InputString &input, OutputString &output)
 
size_t folly::detail::hexDumpLine (const void *ptr, size_t offset, size_t size, std::string &line)
 
template<class OutIt >
void folly::hexDump (const void *ptr, size_t size, OutIt out)
 

Variables

const std::array< char, 256 > folly::detail::cEscapeTable
 
const std::array< char, 256 > folly::detail::cUnescapeTable
 
const std::array< unsigned char, 256 > folly::detail::hexTable
 
const std::array< unsigned char, 256 > folly::detail::uriEscapeTable