Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
wprintf.c File Reference

Classes

struct  print_format
 

Enumerations

enum  justification_options { left_justification , right_justification , zero_fill }
 
enum  sign_options { only_minus , sign_always , space_holder }
 
enum  argument_options {
  normal_argument , char_argument , short_argument , long_argument ,
  long_long_argument , wchar_argument , intmax_argument , size_t_argument ,
  ptrdiff_argument , long_double_argument
}
 

Functions

void __msl_runtime_constraint_violation_s (const char *msg, void *ptr, int error)
 
const wchar_t * parse_format (const wchar_t *format_string, va_list *arg, print_format *format)
 
wchar_t * long2str (signed long num, wchar_t *buff, print_format format)
 
wchar_t * longlong2str (signed long long num, wchar_t *pBuf, print_format fmt)
 
wchar_t * double2hex (long double num, wchar_t *buff, print_format format)
 
void round_decimal (decimal *dec, int new_length)
 
wchar_t * float2str (double num, wchar_t *buff, print_format format)
 
int __wpformatter (int(*write_proc)(wString *dst, const void *data, size_t len), void *proc_data, const wchar_t *fmt, va_list args, int is_secure)
 
static int __wStringWrite (wString *dst, const void *data, size_t len)
 
int swprintf (wchar_t *dst, size_t maxlen, const wchar_t *fmt,...)
 
int vsnwprintf_s (wchar_t *str, size_t n, const wchar_t *fmt, va_list args)
 

Enumeration Type Documentation

◆ argument_options

Enumerator
normal_argument 
char_argument 
short_argument 
long_argument 
long_long_argument 
wchar_argument 
intmax_argument 
size_t_argument 
ptrdiff_argument 
long_double_argument 

◆ justification_options

Enumerator
left_justification 
right_justification 
zero_fill 

◆ sign_options

Enumerator
only_minus 
sign_always 
space_holder 

Function Documentation

◆ __msl_runtime_constraint_violation_s()

void __msl_runtime_constraint_violation_s ( const char * msg,
void * ptr,
int error )
extern

◆ __wpformatter()

int __wpformatter ( int(* write_proc )(wString *dst, const void *data, size_t len),
void * proc_data,
const wchar_t * fmt,
va_list args,
int is_secure )

◆ __wStringWrite()

static int __wStringWrite ( wString * dst,
const void * data,
size_t len )
static

◆ double2hex()

wchar_t * double2hex ( long double num,
wchar_t * buff,
print_format format )

◆ float2str()

wchar_t * float2str ( double num,
wchar_t * buff,
print_format format )

◆ long2str()

wchar_t * long2str ( signed long num,
wchar_t * buff,
print_format format )

◆ longlong2str()

wchar_t * longlong2str ( signed long long num,
wchar_t * pBuf,
print_format fmt )

◆ parse_format()

const wchar_t * parse_format ( const wchar_t * format_string,
va_list * arg,
print_format * format )

◆ round_decimal()

void round_decimal ( decimal * dec,
int new_length )

◆ swprintf()

int swprintf ( wchar_t * dst,
size_t maxlen,
const wchar_t * fmt,
... )

◆ vsnwprintf_s()

int vsnwprintf_s ( wchar_t * str,
size_t n,
const wchar_t * fmt,
va_list args )