Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
format.cc File Reference
#include "format.h"
#include <string.h>
#include <cctype>
#include <cerrno>
#include <climits>
#include <cmath>
#include <cstdarg>
#include <cstddef>
+ Include dependency graph for format.cc:

Go to the source code of this file.

Namespaces

namespace  fmt
 
namespace  fmt::anonymous_namespace{format.cc}
 

Macros

#define FMT_TRY   try
 
#define FMT_CATCH(x)   catch (x)
 
#define FMT_SNPRINTF   snprintf
 
#define FMT_SWPRINTF   swprintf
 
#define FMT_POWERS_OF_10(factor)
 

Typedefs

typedef void(* fmt::anonymous_namespace{format.cc}::FormatFunc) (Writer &, int, StringRef)
 

Functions

static FMT_MAYBE_UNUSED fmt::internal::Null strerror_r (int, char *,...)
 
static FMT_MAYBE_UNUSED fmt::internal::Null strerror_s (char *, std::size_t,...)
 
int fmt::anonymous_namespace{format.cc}::safe_strerror (int error_code, char *&buffer, std::size_t buffer_size) FMT_NOEXCEPT
 
void fmt::anonymous_namespace{format.cc}::format_error_code (Writer &out, int error_code, StringRef message) FMT_NOEXCEPT
 
void fmt::anonymous_namespace{format.cc}::report_error (FormatFunc func, int error_code, StringRef message) FMT_NOEXCEPT
 
FMT_API void fmt::format_system_error (fmt::Writer &out, int error_code, fmt::StringRef message) FMT_NOEXCEPT
 
FMT_API void fmt::report_system_error (int error_code, StringRef message) FMT_NOEXCEPT
 
FMT_API void fmt::print (std::FILE *f, CStringRef format_str, ArgList args)
 
FMT_API void fmt::print (CStringRef format_str, ArgList args)
 
FMT_API void fmt::print_colored (Color c, CStringRef format, ArgList args)
 

Variables

const char fmt::anonymous_namespace{format.cc}::RESET_COLOR [] = "\x1b[0m"
 

Macro Definition Documentation

◆ FMT_CATCH

#define FMT_CATCH ( x)    catch (x)

Definition at line 58 of file format.cc.

◆ FMT_POWERS_OF_10

#define FMT_POWERS_OF_10 ( factor)
Value:
factor * 10, \
factor * 100, \
factor * 1000, \
factor * 10000, \
factor * 100000, \
factor * 1000000, \
factor * 10000000, \
factor * 100000000, \
factor * 1000000000

Definition at line 270 of file format.cc.

◆ FMT_SNPRINTF

#define FMT_SNPRINTF   snprintf

Definition at line 93 of file format.cc.

◆ FMT_SWPRINTF

#define FMT_SWPRINTF   swprintf

Definition at line 108 of file format.cc.

◆ FMT_TRY

#define FMT_TRY   try

Definition at line 57 of file format.cc.

Function Documentation

◆ strerror_r()

static FMT_MAYBE_UNUSED fmt::internal::Null strerror_r ( int ,
char * ,
... )
inlinestatic

Definition at line 76 of file format.cc.

+ Here is the caller graph for this function:

◆ strerror_s()

static FMT_MAYBE_UNUSED fmt::internal::Null strerror_s ( char * ,
std::size_t ,
... )
inlinestatic

Definition at line 80 of file format.cc.

+ Here is the caller graph for this function: