Enumerations

enum Flags
Name Value
kBasic 0
kLeft 1 << 0
kShowPos 1 << 1
kSignCol 1 << 2
kAlt 1 << 3
kZero 1 << 4
kNonBasic 1 << 5

Defined at line 133 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

Records

Functions

  • void AbslFormatConvert ()

    These declarations prevent ADL lookup from continuing in absl namespaces,

    we are deliberately using these as ADL hooks and want them to consider

    non-absl namespaces only.

  • void AbslFormatFlush (std::ostream * out, string_view s)

    Defined at line 74 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/output.h

  • void AbslFormatFlush (FILERawSink * sink, string_view v)

    Defined at line 78 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/output.h

  • void AbslFormatFlush (BufferRawSink * sink, string_view v)

    Defined at line 82 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/output.h

  • const char * ConsumeUnboundConversionNoInline (const char * p, const char * end, UnboundConversion * conv, int * next_arg)
  • void AbslStringify ()
  • template <typename T>
    bool ConvertIntArg (T v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • bool ConvertBoolArg (bool v, FormatSinkImpl * sink)
  • template <typename T>
    decltype(AbslFormatFlush(out, s)) InvokeFlush (T * out, string_view s)

    This is a SFINAE to get a better compiler error message when the type

    is not supported.

    Defined at line 89 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/output.h

  • Flags operator| (Flags a, Flags b)

    Defined at line 146 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • bool FlagsContains (Flags haystack, Flags needle)

    Defined at line 150 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • std::string FlagsToString (Flags v)
  • bool BindWithPack (const UnboundConversion * props, absl::Span<const FormatArgImpl> pack, BoundConversion * bound)
  • std::string & AppendPack (std::string * out, UntypedFormatSpecImpl format, absl::Span<const FormatArgImpl> args)
  • template <FormatConversionCharSet... C>
    bool ValidFormatImpl (string_view format)

    Defined at line 45 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/checker.h

  • template <typename Consumer>
    bool ParseFormatString (string_view src, Consumer consumer)

    Parse the format string provided in 'src' and pass the identified items into

    'consumer'.

    Text runs will be passed by calling

    Consumer::Append(string_view);

    ConversionItems will be passed by calling

    Consumer::ConvertOne(UnboundConversion, string_view);

    In the case of ConvertOne, the string_view that is passed is the

    portion of the format string corresponding to the conversion, not including

    the leading %. On success, it returns true. On failure, it stops and returns

    false.

    Defined at line 57 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/parser.h

  • void AbslFormatFlush (std::string * out, string_view s)

    Provide RawSink integration with common types from the STL.

    Defined at line 71 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/output.h

  • bool EnsureConstexpr (string_view s)

    Always returns true, or fails to compile in a constexpr context if s does not

    point to a constexpr char array.

    Defined at line 116 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/parser.h

  • template <typename T>
    decltype(AbslFormatConvert(v, std::declval<const FormatConversionSpec &>(), std::declval<FormatSink *>())) FormatConvertImpl (const T & v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)

    Defined at line 133 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/arg.h

  • template <typename T>
    std::enable_if_t<std::is_enum<T>::value && std::is_void<decltype(AbslStringify(std::declval<FormatSink &>(), v))>::value, IntegralConvertResult> FormatConvertImpl (const T & v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)

    Defined at line 148 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/arg.h

  • std::ostream & operator<< (std::ostream & os, Flags v)

    Defined at line 157 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • template <typename T>
    std::enable_if_t<! std::is_enum<T>::value && ! std::is_same<T, absl::Cord>::value && std::is_void<decltype(AbslStringify(std::declval<FormatSink &>(), v))>::value, ArgConvertResult<FormatConversionCharSetInternal::v>> FormatConvertImpl (const T & v, FormatConversionSpecImpl , FormatSinkImpl * sink)

    Defined at line 167 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/arg.h

  • ConvTag GetTagForChar (char c)

    Keep a single table for all the conversion chars and length modifiers.

    Defined at line 169 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h

  • bool CheckFastPathSetting (const UnboundConversion & conv)

    Defined at line 173 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h

  • std::ostream & operator<< (std::ostream & os, const Streamable & l)

    Defined at line 188 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/bind.h

  • int ParseDigits (char & c, const char *& pos, const char *const end)

    Defined at line 196 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h

  • template <FormatConversionCharSet C>
    FormatConversionCharSet ExtractCharSet (FormatConvertResult<C> )

    Defined at line 206 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/arg.h

  • FormatConversionChar FormatConversionCharFromChar (char c)

    clang-format on

    Defined at line 209 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • template <FormatConversionCharSet C>
    FormatConversionCharSet ExtractCharSet (ArgConvertResult<C> )

    Defined at line 211 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/arg.h

  • template <bool is_positional>
    const char * ConsumeConversion (const char * pos, const char *const end, UnboundConversion * conv, int * next_arg)

    Defined at line 214 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h

  • bool FormatConversionCharIsUpper (FormatConversionChar c)

    Defined at line 220 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • bool FormatConversionCharIsFloat (FormatConversionChar c)

    Defined at line 232 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • char FormatConversionCharToChar (FormatConversionChar c)

    Defined at line 247 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • template <class AbslCord, typename std::enable_if<std::is_same<
                                                              AbslCord, absl::Cord>::value>::type* = nullptr>
    StringConvertResult FormatConvertImpl (const AbslCord & value, FormatConversionSpecImpl conv, FormatSinkImpl * sink)

    Defined at line 261 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/arg.h

  • size_t Excess (size_t used, size_t capacity)

    Return capacity - used, clipped to a minimum of 0.

    Defined at line 447 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • ArgConvertResult<FormatConversionCharSetInternal::p> FormatConvertImpl (VoidPtr v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • StringConvertResult FormatConvertImpl (const std::string & v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • StringConvertResult FormatConvertImpl (const std::wstring & v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • int SnprintF (char * output, size_t size, UntypedFormatSpecImpl format, absl::Span<const FormatArgImpl> args)
  • int FprintF (std::FILE * output, UntypedFormatSpecImpl format, absl::Span<const FormatArgImpl> args)
  • std::string FormatPack (UntypedFormatSpecImpl format, absl::Span<const FormatArgImpl> args)
  • bool FormatUntyped (FormatRawSinkImpl raw_sink, UntypedFormatSpecImpl format, absl::Span<const FormatArgImpl> args)
  • FormatConversionCharSet FormatConversionCharSetUnion (FormatConversionCharSet a)

    Type safe OR operator.

    We need this for two reasons:

    1. operator| on enums makes them decay to integers and the result is an

    integer. We need the result to stay as an enum.

    2. We use "enum class" which would not work even if we accepted the decay.

    Defined at line 347 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • bool Contains (FormatConversionCharSet set, FormatConversionChar c)

    Checks whether all the characters in `c` are contained in `set`

    Defined at line 442 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • bool Contains (FormatConversionCharSet set, FormatConversionCharSet c)

    Checks whether all the characters in `c` are contained in `set`

    Defined at line 435 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • std::string Summarize (UntypedFormatSpecImpl format, absl::Span<const FormatArgImpl> args)

    for testing

  • template <typename... CharSet>
    FormatConversionCharSet FormatConversionCharSetUnion (FormatConversionCharSet a, CharSet... rest)

    Defined at line 353 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • uint64_t FormatConversionCharToConvInt (FormatConversionChar c)

    Defined at line 360 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • uint64_t FormatConversionCharToConvInt (char conv)

    Defined at line 364 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • FormatConversionCharSet FormatConversionCharToConvValue (char conv)

    Defined at line 377 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • std::string LengthModToString (LengthMod v)
  • const char * ConsumeUnboundConversion (const char * p, const char * end, UnboundConversion * conv, int * next_arg)

    Consume conversion spec prefix (not including '%') of [p, end) if valid.

    Examples of valid specs would be e.g.: "s", "d", "-12.6f".

    If valid, it returns the first character following the conversion spec,

    and the spec part is broken down and returned in 'conv'.

    If invalid, returns nullptr.

    Defined at line 346 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/constexpr_parser.h

  • bool Contains (FormatConversionCharSet set, char c)

    Checks whether `c` exists in `set`.

    Defined at line 429 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • template <typename Arg>
    FormatConversionCharSet ArgumentToConv ()

    Defined at line 430 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/arg.h

  • template <class T = int>
    ArgConvertResult<FormatConversionCharSetInternal::n> FormatConvertImpl (const FormatCountCapture & v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)

    Defined at line 401 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/arg.h

  • template <typename T>
    StringConvertResult FormatConvertImpl (const StreamedWrapper<T> & v, FormatConversionSpecImpl conv, FormatSinkImpl * out)

    Defined at line 373 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/arg.h

  • template <typename T, enable_if_t<std::is_same<T, bool>::value, int> = 0>
    IntegralConvertResult FormatConvertImpl (T v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)

    This function needs to be a template due to ambiguity regarding type

    conversions.

    Defined at line 354 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/arg.h

  • template <typename S>
    ArgConvertResult<FormatConversionCharSetUnion(FormatConversionCharSetInternal::s, FormatConversionCharSetInternal::v)> FormatConvertImpl (const StreamedWrapper<S> & v, FormatConversionSpecImpl conv, FormatSinkImpl * out)
  • StringConvertResult FormatConvertImpl (string_view v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • StringConvertResult FormatConvertImpl (std::wstring_view v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • StringPtrConvertResult FormatConvertImpl (const char * v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • StringPtrConvertResult FormatConvertImpl (const wchar_t * v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • StringPtrConvertResult FormatConvertImpl (std::nullptr_t , FormatConversionSpecImpl conv, FormatSinkImpl * sink)

    This overload is needed to disambiguate, since `nullptr` could match either

    of the other overloads equally well.

  • FloatingConvertResult FormatConvertImpl (float v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)

    Floats.

  • FloatingConvertResult FormatConvertImpl (double v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • FloatingConvertResult FormatConvertImpl (long double v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • CharConvertResult FormatConvertImpl (char v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)

    Chars.

  • CharConvertResult FormatConvertImpl (wchar_t v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (signed char v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)

    Ints.

  • IntegralConvertResult FormatConvertImpl (unsigned char v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (short v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (unsigned short v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (int v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (unsigned int v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (long v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (unsigned long v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (long long v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (unsigned long long v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (int128 v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • IntegralConvertResult FormatConvertImpl (uint128 v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)
  • template <typename T>
    typename std::enable_if<std::is_enum<T>::value && ! HasUserDefinedConvert<T>::value && ! HasAbslStringify<T>::value, IntegralConvertResult>::type FormatConvertImpl (T v, FormatConversionSpecImpl conv, FormatSinkImpl * sink)

    We provide this function to help the checker, but it is never defined.

    FormatArgImpl will use the underlying Convert functions instead.

  • std::ostream & operator<< (std::ostream & os, FormatConversionChar v)

    The associated char.

    Defined at line 266 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • FormatConversionCharSet operator| (FormatConversionCharSet a, FormatConversionCharSet b)

    Type safe OR operator.

    We need this for two reasons:

    1. operator| on enums makes them decay to integers and the result is an

    integer. We need the result to stay as an enum.

    2. We use "enum class" which would not work even if we accepted the decay.

    Defined at line 407 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • FormatConversionCharSet ToFormatConversionCharSet (char c)

    Overloaded conversion functions to support absl::ParsedFormat.

    Get a conversion with a single character in it.

    Defined at line 414 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • FormatConversionCharSet ToFormatConversionCharSet (FormatConversionCharSet c)

    Get a conversion with a single character in it.

    Defined at line 420 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h

  • template <typename T>
    void ToFormatConversionCharSet (T )

    Defined at line 426 of file ../../third_party/abseil-cpp/absl/strings/internal/str_format/extension.h