Classes | Enumerations | Functions | Variables
absl::strings_internal Namespace Reference

Classes

struct  AlphaNumBuffer
struct  AlphaNumFormatterImpl
struct  base64_testcase
class  BigUnsigned
class  Charmap
class  ConvertibleToStringView
struct  DefaultFormatter
struct  DefaultFormatter< absl::string_view >
struct  DefaultFormatter< char * >
struct  DefaultFormatter< const char * >
struct  DefaultFormatter< std::string >
struct  DefaultFormatter< std::unique_ptr< ValueType > >
struct  DefaultFormatter< ValueType * >
class  DereferenceFormatterImpl
struct  HasConstIterator
struct  HasConstIterator< T, absl::void_t< typename T::const_iterator > >
struct  HasMappedType
struct  HasMappedType< T, absl::void_t< typename T::mapped_type > >
struct  HasValueType
struct  HasValueType< T, absl::void_t< typename T::value_type > >
struct  IsArrayImpl
struct  IsArrayImpl< A< T, N > >
struct  IsBaseOfArrayImpl
struct  IsBaseOfArrayImpl< A< T, N > >
struct  IsBaseOfBitsetImpl
struct  IsBaseOfBitsetImpl< B< N > >
struct  IsBaseOfSpecializationImpl
struct  IsBaseOfSpecializationImpl< C, T, absl::void_t< typename C::key_type, typename C::hasher, typename C::key_equal, typename C::allocator_type > >
struct  IsBaseOfSpecializationImpl< C, T, absl::void_t< typename C::key_type, typename C::key_compare, typename C::allocator_type > >
struct  IsBaseOfSpecializationImpl< C, T, absl::void_t< typename C::key_type, typename C::mapped_type, typename C::hasher, typename C::key_equal, typename C::allocator_type > >
struct  IsBaseOfSpecializationImpl< C, T, absl::void_t< typename C::key_type, typename C::mapped_type, typename C::key_compare, typename C::allocator_type > >
struct  IsBaseOfSpecializationImpl< C, T, absl::void_t< typename C::value_type, typename C::allocator_type > >
struct  IsBaseOfSTLContainer
struct  IsBitsetImpl
struct  IsBitsetImpl< B< N > >
struct  IsConvertibleToArrayImpl
struct  IsConvertibleToArrayImpl< A< T, N > >
struct  IsConvertibleToBitsetImpl
struct  IsConvertibleToBitsetImpl< B< N > >
struct  IsConvertibleToSpecializationImpl
struct  IsConvertibleToSpecializationImpl< C, T, absl::void_t< typename C::key_type, typename C::hasher, typename C::key_equal, typename C::allocator_type > >
struct  IsConvertibleToSpecializationImpl< C, T, absl::void_t< typename C::key_type, typename C::key_compare, typename C::allocator_type > >
struct  IsConvertibleToSpecializationImpl< C, T, absl::void_t< typename C::key_type, typename C::mapped_type, typename C::hasher, typename C::key_equal, typename C::allocator_type > >
struct  IsConvertibleToSpecializationImpl< C, T, absl::void_t< typename C::key_type, typename C::mapped_type, typename C::key_compare, typename C::allocator_type > >
struct  IsConvertibleToSpecializationImpl< C, T, absl::void_t< typename C::value_type, typename C::allocator_type > >
struct  IsConvertibleToSTLContainer
struct  IsInitializerList
struct  IsSpecializationImpl
struct  IsSpecializationImpl< T< Args...>, T >
struct  IsSTLContainer
struct  IsStrictlyBaseOfAndConvertibleToSTLContainer
struct  JoinTupleLoop
struct  JoinTupleLoop< N, N >
class  MaxSplitsImpl
struct  NoFormatter
class  OStringStream
class  PairFormatterImpl
struct  ParsedFloat
struct  ResizeUninitializedTraits
struct  ResizeUninitializedTraits< string_type, absl::void_t< decltype(std::declval< string_type & >().__resize_default_init(237))> >
struct  SelectDelimiter
struct  SelectDelimiter< absl::string_view >
struct  SelectDelimiter< char * >
struct  SelectDelimiter< char >
struct  SelectDelimiter< const char * >
struct  SelectDelimiter< std::string >
class  SplitIterator
class  Splitter
struct  SplitterIsConvertibleTo
struct  SplitterIsConvertibleToImpl
struct  SplitterIsConvertibleToImpl< C, true, false >
struct  SplitterIsConvertibleToImpl< C, true, true >
class  StreamFormatterImpl
struct  uint32_test_case
struct  uint64_test_case
struct  ViableSubstitution

Enumerations

enum  { kMaxEncodedUTF8Size = 4 }
enum  FloatType { kNumber, kInfinity, kNan }

Functions

constexpr Charmap AlnumCharmap ()
constexpr Charmap AlphaCharmap ()
void AppendPieces (std::string *dest, std::initializer_list< absl::string_view > pieces)
int ApplySubstitutions (absl::string_view s, std::vector< strings_internal::ViableSubstitution > *subs_ptr, std::string *result_ptr)
int ApplySubstitutions (absl::string_view s, std::vector< ViableSubstitution > *subs_ptr, std::string *result_ptr)
const std::array
< base64_testcase, 5 > & 
base64_strings ()
constexpr Charmap BlankCharmap ()
std::string CatPieces (std::initializer_list< absl::string_view > pieces)
constexpr Charmap CntrlCharmap ()
template<int N, int M>
int Compare (const BigUnsigned< N > &lhs, const BigUnsigned< M > &rhs)
constexpr Charmap DigitCharmap ()
size_t EncodeUTF8Char (char *buffer, char32_t utf8_char)
template<typename StrToStrMapping >
std::vector< ViableSubstitutionFindSubstitutions (absl::string_view s, const StrToStrMapping &replacements)
constexpr Charmap GraphCharmap ()
template<bool case_sensitive>
const char * int_memmatch (const char *haystack, size_t haylen, const char *needle, size_t neelen)
std::false_type IsInitializerListDispatch (...)
template<typename T >
std::true_type IsInitializerListDispatch (std::initializer_list< T > *)
template<typename IntType >
bool Itoa (IntType value, int base, std::string *destination)
template<typename Iterator , typename Formatter >
std::string JoinAlgorithm (Iterator start, Iterator end, absl::string_view s, Formatter &&f)
template<typename Iterator , typename = typename std::enable_if<std::is_convertible< typename std::iterator_traits<Iterator>::iterator_category, std::forward_iterator_tag>::value>::type>
std::string JoinAlgorithm (Iterator start, Iterator end, absl::string_view s, NoFormatter)
template<typename... T, typename Formatter >
std::string JoinAlgorithm (const std::tuple< T...> &tup, absl::string_view sep, Formatter &&fmt)
template<typename Iterator >
std::string JoinRange (Iterator first, Iterator last, absl::string_view separator)
template<typename Range , typename Formatter >
std::string JoinRange (const Range &range, absl::string_view separator, Formatter &&fmt)
template<typename Range >
std::string JoinRange (const Range &range, absl::string_view separator)
constexpr Charmap LowerCharmap ()
int memcasecmp (const char *s1, const char *s2, size_t len)
const char * memcasemem (const char *phaystack, size_t haylen, const char *pneedle, size_t needlelen)
const char * memcasestr (const char *phaystack, size_t haylen, const char *pneedle)
char * memcat (char *dest, size_t destlen, const char *src, size_t srclen)
size_t memcspn (const char *s, size_t slen, const char *reject)
char * memdup (const char *s, size_t slen)
const char * memmatch (const char *phaystack, size_t haylen, const char *pneedle, size_t neelen)
const char * memmem (const char *phaystack, size_t haylen, const char *pneedle, size_t needlelen)
char * mempbrk (const char *s, size_t slen, const char *accept)
char * memrchr (const char *s, int c, size_t slen)
size_t memspn (const char *s, size_t slen, const char *accept)
const char * memstr (const char *phaystack, size_t haylen, const char *pneedle)
template<int N, int M>
bool operator!= (const BigUnsigned< N > &lhs, const BigUnsigned< M > &rhs)
template<int N, int M>
bool operator< (const BigUnsigned< N > &lhs, const BigUnsigned< M > &rhs)
template<int N>
std::ostream & operator<< (std::ostream &os, const BigUnsigned< N > &num)
template<int N, int M>
bool operator<= (const BigUnsigned< N > &lhs, const BigUnsigned< M > &rhs)
template<int N, int M>
bool operator== (const BigUnsigned< N > &lhs, const BigUnsigned< M > &rhs)
template<int N, int M>
bool operator> (const BigUnsigned< N > &lhs, const BigUnsigned< M > &rhs)
template<int N, int M>
bool operator>= (const BigUnsigned< N > &lhs, const BigUnsigned< M > &rhs)
template<int base>
strings_internal::ParsedFloat ParseFloat (const char *begin, const char *end, chars_format format_flags)
template ParsedFloat ParseFloat< 10 > (const char *begin, const char *end, chars_format format_flags)
template ParsedFloat ParseFloat< 16 > (const char *begin, const char *end, chars_format format_flags)
double Pow10 (int exp)
constexpr Charmap PrintCharmap ()
constexpr Charmap PunctCharmap ()
constexpr Charmap SpaceCharmap ()
template<typename string_type , typename = void>
void STLStringResizeUninitialized (string_type *s, size_t new_size)
template<typename string_type >
constexpr bool STLStringSupportsNontrashingResize (string_type *)
const std::array
< uint32_test_case, 27 > & 
strtouint32_test_cases ()
const std::array
< uint64_test_case, 34 > & 
strtouint64_test_cases ()
 TEST (BigUnsigned, ShiftLeft)
 TEST (BigUnsigned, MultiplyByUint32)
 TEST (BigUnsigned, MultiplyByBigUnsigned)
 TEST (BigUnsigned, MultiplyByOverflow)
 TEST (BigUnsigned, FiveToTheNth)
 TEST (BigUnsigned, TenToTheNth)
constexpr Charmap UpperCharmap ()
constexpr Charmap XDigitCharmap ()

Variables

const uint32_t kFiveToNth [14]
constexpr int kMaxSmallPowerOfFive = 13
constexpr int kMaxSmallPowerOfTen = 9
const uint32_t kTenToNth [10]

Enumeration Type Documentation

anonymous enum
Enumerator:
kMaxEncodedUTF8Size 

Definition at line 40 of file utf8.h.

Enumerator:
kNumber 
kInfinity 
kNan 

Definition at line 26 of file charconv_parse.h.


Function Documentation

Definition at line 138 of file char_map.h.

Definition at line 137 of file char_map.h.

void absl::strings_internal::AppendPieces ( std::string *  dest,
std::initializer_list< absl::string_view pieces 
)

Definition at line 169 of file str_cat.cc.

int absl::strings_internal::ApplySubstitutions ( absl::string_view  s,
std::vector< strings_internal::ViableSubstitution > *  subs_ptr,
std::string *  result_ptr 
)

Definition at line 28 of file str_replace.cc.

int absl::strings_internal::ApplySubstitutions ( absl::string_view  s,
std::vector< ViableSubstitution > *  subs_ptr,
std::string *  result_ptr 
)
const std::array<base64_testcase, 5>& absl::strings_internal::base64_strings ( ) [inline]

Definition at line 32 of file escaping_test_common.h.

Definition at line 147 of file char_map.h.

std::string absl::strings_internal::CatPieces ( std::initializer_list< absl::string_view pieces)

Definition at line 141 of file str_cat.cc.

Definition at line 144 of file char_map.h.

template<int N, int M>
int absl::strings_internal::Compare ( const BigUnsigned< N > &  lhs,
const BigUnsigned< M > &  rhs 
)

Definition at line 350 of file charconv_bigint.h.

Definition at line 136 of file char_map.h.

size_t absl::strings_internal::EncodeUTF8Char ( char *  buffer,
char32_t  utf8_char 
)

Definition at line 22 of file utf8.cc.

template<typename StrToStrMapping >
std::vector<ViableSubstitution> absl::strings_internal::FindSubstitutions ( absl::string_view  s,
const StrToStrMapping &  replacements 
)

Definition at line 157 of file str_replace.h.

Definition at line 148 of file char_map.h.

template<bool case_sensitive>
const char* absl::strings_internal::int_memmatch ( const char *  haystack,
size_t  haylen,
const char *  needle,
size_t  neelen 
)

Definition at line 88 of file memutil.h.

template<typename T >
std::true_type absl::strings_internal::IsInitializerListDispatch ( std::initializer_list< T > *  )
template<typename IntType >
bool absl::strings_internal::Itoa ( IntType  value,
int  base,
std::string *  destination 
) [inline]

Definition at line 30 of file numbers_test_common.h.

template<typename Iterator , typename Formatter >
std::string absl::strings_internal::JoinAlgorithm ( Iterator  start,
Iterator  end,
absl::string_view  s,
Formatter &&  f 
)

Definition at line 195 of file str_join_internal.h.

template<typename Iterator , typename = typename std::enable_if<std::is_convertible< typename std::iterator_traits<Iterator>::iterator_category, std::forward_iterator_tag>::value>::type>
std::string absl::strings_internal::JoinAlgorithm ( Iterator  start,
Iterator  end,
absl::string_view  s,
NoFormatter   
)

Definition at line 226 of file str_join_internal.h.

template<typename... T, typename Formatter >
std::string absl::strings_internal::JoinAlgorithm ( const std::tuple< T...> &  tup,
absl::string_view  sep,
Formatter &&  fmt 
)

Definition at line 278 of file str_join_internal.h.

template<typename Iterator >
std::string absl::strings_internal::JoinRange ( Iterator  first,
Iterator  last,
absl::string_view  separator 
)

Definition at line 286 of file str_join_internal.h.

template<typename Range , typename Formatter >
std::string absl::strings_internal::JoinRange ( const Range &  range,
absl::string_view  separator,
Formatter &&  fmt 
)

Definition at line 295 of file str_join_internal.h.

template<typename Range >
std::string absl::strings_internal::JoinRange ( const Range &  range,
absl::string_view  separator 
)

Definition at line 303 of file str_join_internal.h.

Definition at line 135 of file char_map.h.

int absl::strings_internal::memcasecmp ( const char *  s1,
const char *  s2,
size_t  len 
)

Definition at line 22 of file memutil.cc.

const char* absl::strings_internal::memcasemem ( const char *  phaystack,
size_t  haylen,
const char *  pneedle,
size_t  needlelen 
) [inline]

Definition at line 133 of file memutil.h.

const char* absl::strings_internal::memcasestr ( const char *  phaystack,
size_t  haylen,
const char *  pneedle 
) [inline]

Definition at line 123 of file memutil.h.

char* absl::strings_internal::memcat ( char *  dest,
size_t  destlen,
const char *  src,
size_t  srclen 
) [inline]

Definition at line 74 of file memutil.h.

size_t absl::strings_internal::memcspn ( const char *  s,
size_t  slen,
const char *  reject 
)

Definition at line 62 of file memutil.cc.

char * absl::strings_internal::memdup ( const char *  s,
size_t  slen 
)

Definition at line 35 of file memutil.cc.

const char * absl::strings_internal::memmatch ( const char *  phaystack,
size_t  haylen,
const char *  pneedle,
size_t  neelen 
)

Definition at line 88 of file memutil.cc.

const char* absl::strings_internal::memmem ( const char *  phaystack,
size_t  haylen,
const char *  pneedle,
size_t  needlelen 
) [inline]

Definition at line 128 of file memutil.h.

char * absl::strings_internal::mempbrk ( const char *  s,
size_t  slen,
const char *  accept 
)

Definition at line 75 of file memutil.cc.

char * absl::strings_internal::memrchr ( const char *  s,
int  c,
size_t  slen 
)

Definition at line 42 of file memutil.cc.

size_t absl::strings_internal::memspn ( const char *  s,
size_t  slen,
const char *  accept 
)

Definition at line 49 of file memutil.cc.

const char* absl::strings_internal::memstr ( const char *  phaystack,
size_t  haylen,
const char *  pneedle 
) [inline]

Definition at line 118 of file memutil.h.

template<int N, int M>
bool absl::strings_internal::operator!= ( const BigUnsigned< N > &  lhs,
const BigUnsigned< M > &  rhs 
)

Definition at line 376 of file charconv_bigint.h.

template<int N, int M>
bool absl::strings_internal::operator< ( const BigUnsigned< N > &  lhs,
const BigUnsigned< M > &  rhs 
)

Definition at line 381 of file charconv_bigint.h.

template<int N>
std::ostream& absl::strings_internal::operator<< ( std::ostream &  os,
const BigUnsigned< N > &  num 
)

Definition at line 400 of file charconv_bigint.h.

template<int N, int M>
bool absl::strings_internal::operator<= ( const BigUnsigned< N > &  lhs,
const BigUnsigned< M > &  rhs 
)

Definition at line 390 of file charconv_bigint.h.

template<int N, int M>
bool absl::strings_internal::operator== ( const BigUnsigned< N > &  lhs,
const BigUnsigned< M > &  rhs 
)

Definition at line 365 of file charconv_bigint.h.

template<int N, int M>
bool absl::strings_internal::operator> ( const BigUnsigned< N > &  lhs,
const BigUnsigned< M > &  rhs 
)

Definition at line 386 of file charconv_bigint.h.

template<int N, int M>
bool absl::strings_internal::operator>= ( const BigUnsigned< N > &  lhs,
const BigUnsigned< M > &  rhs 
)

Definition at line 394 of file charconv_bigint.h.

template<int base>
ParsedFloat absl::strings_internal::ParseFloat ( const char *  begin,
const char *  end,
chars_format  format_flags 
) [static]

Definition at line 348 of file charconv_parse.cc.

template ParsedFloat absl::strings_internal::ParseFloat< 10 > ( const char *  begin,
const char *  end,
chars_format  format_flags 
)
template ParsedFloat absl::strings_internal::ParseFloat< 16 > ( const char *  begin,
const char *  end,
chars_format  format_flags 
)
double absl::strings_internal::Pow10 ( int  exp)

Definition at line 109 of file pow10_helper.cc.

Definition at line 142 of file char_map.h.

Definition at line 149 of file char_map.h.

Definition at line 143 of file char_map.h.

template<typename string_type , typename = void>
void absl::strings_internal::STLStringResizeUninitialized ( string_type *  s,
size_t  new_size 
) [inline]

Definition at line 65 of file resize_uninitialized.h.

template<typename string_type >
constexpr bool absl::strings_internal::STLStringSupportsNontrashingResize ( string_type *  ) [inline]

Definition at line 56 of file resize_uninitialized.h.

Definition at line 65 of file numbers_test_common.h.

Definition at line 113 of file numbers_test_common.h.

absl::strings_internal::TEST ( BigUnsigned  ,
ShiftLeft   
)

Definition at line 24 of file charconv_bigint_test.cc.

absl::strings_internal::TEST ( BigUnsigned  ,
MultiplyByUint32   
)

Definition at line 73 of file charconv_bigint_test.cc.

absl::strings_internal::TEST ( BigUnsigned  ,
MultiplyByBigUnsigned   
)

Definition at line 85 of file charconv_bigint_test.cc.

absl::strings_internal::TEST ( BigUnsigned  ,
MultiplyByOverflow   
)

Definition at line 121 of file charconv_bigint_test.cc.

absl::strings_internal::TEST ( BigUnsigned  ,
FiveToTheNth   
)

Definition at line 146 of file charconv_bigint_test.cc.

absl::strings_internal::TEST ( BigUnsigned  ,
TenToTheNth   
)

Definition at line 175 of file charconv_bigint_test.cc.

Definition at line 134 of file char_map.h.

Definition at line 139 of file char_map.h.


Variable Documentation

Initial value:
 {
    1,     5,      25,      125,     625,      3125,      15625,
    78125, 390625, 1953125, 9765625, 48828125, 244140625, 1220703125,
}

Definition at line 160 of file charconv_bigint.cc.

Definition at line 31 of file charconv_bigint.h.

Definition at line 33 of file charconv_bigint.h.

Initial value:
 {
    1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000,
}

Definition at line 165 of file charconv_bigint.cc.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16