|
unsigned | fmt_pad (char *buffer, unsigned width, char pad) |
|
unsigned | fmt_sign_pad (char *buffer, int sign, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
unsigned | fmt_multi (char *buffer, const char *format,...) |
|
unsigned | fmt_multiv (char *buffer, const char *format, va_list ap) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
typedef unsigned(* | fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
|
|
unsigned | fmt_snumw (char *buffer, long num, unsigned width, char pad, unsigned base, const char *digits) |
|
unsigned | fmt_sdec (char *buffer, long num) |
|
unsigned | fmt_sdecw (char *buffer, long num, unsigned width, char pad) |
|
|
unsigned | fmt_sllnumw (char *buffer, long long num, unsigned width, char pad, unsigned base, const char *digits) |
|
unsigned | fmt_slldec (char *buffer, long long num) |
|
unsigned | fmt_slldecw (char *buffer, long long num, unsigned width, char pad) |
|
|
unsigned | fmt_unumw (char *buffer, unsigned long num, unsigned width, char pad, unsigned base, const char *digits) |
|
unsigned | fmt_udec (char *buffer, unsigned long num) |
|
unsigned | fmt_udecw (char *buffer, unsigned long num, unsigned width, char pad) |
|
unsigned | fmt_uhex (char *buffer, unsigned long num) |
|
unsigned | fmt_uhexw (char *buffer, unsigned long num, unsigned width, char pad) |
|
unsigned | fmt_uHex (char *buffer, unsigned long num) |
|
unsigned | fmt_uHexw (char *buffer, unsigned long num, unsigned width, char pad) |
|
|
unsigned | fmt_ullnumw (char *buffer, unsigned long long num, unsigned width, char pad, unsigned base, const char *digits) |
|
unsigned | fmt_ulldec (char *buffer, unsigned long long num) |
|
unsigned | fmt_ulldecw (char *buffer, unsigned long long num, unsigned width, char pad) |
|
unsigned | fmt_ullhex (char *buffer, unsigned long long num) |
|
unsigned | fmt_ullhexw (char *buffer, unsigned long long num, unsigned width, char pad) |
|
unsigned | fmt_ullHex (char *buffer, unsigned long long num) |
|
unsigned | fmt_ullHexw (char *buffer, unsigned long long num, unsigned width, char pad) |
|
|
unsigned | fmt_char (char *buffer, int ch, unsigned width, char pad) |
|
unsigned | fmt_mem (char *buffer, const char *s, unsigned length, unsigned width, char pad) |
|
unsigned | fmt_chars (char *buffer, const char *s, unsigned width, char pad) |
|
unsigned | fmt_str (char *buffer, const struct str *s, unsigned width, char pad) |
|
- Function Naming
- Prefix
- Data type
s
: Signed integer (long)
u
: Unsigned integer (long)
sll
: Signed long long integer
ull
: Unsigned long long integer
- Conversion type
num
: Generic number
dec
: Decimal
hex
: Hexadecimal (lower case)
Hex
: Hexadecimal (upper case)
- Width / Padding
w
: (optional) Pad out the result to a minimum width
For example, fmt_sdecw
formats a signed integer using decimal with width padding.
- Calling Convention
Parameters to the fmt functions are passed in the following order. The presence of all parameters, except for buffer
, is dependant on which function is being used.
buffer
: The character string into which to put the data result. If this is NULL
, no data is written, and only the length is calculated. This is useful for determining how long a formatted string might be.
number
or data
: The input data item to convert.
width
: The minimum output width.
pad
: The character with which to pad the output.
base
: The numerical base to use.
digits
: The array of digits to use.
- Return Value
All fmt functions return the number of bytes written to the buffer space.
◆ FMT_ULONG_LEN [1/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [2/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [3/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [4/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [5/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [6/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [7/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [8/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [9/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [10/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [11/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [12/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [13/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [14/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [15/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [16/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [17/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [18/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [19/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [20/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [21/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [22/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [23/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [24/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [25/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [26/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [27/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [28/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [29/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [30/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [31/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [32/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [33/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [34/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [35/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [36/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [37/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [38/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [39/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [40/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ FMT_ULONG_LEN [41/41]
The maximum space used by a formatted number. This value is long enough for 2^128 plus a trailing NUL
byte.
◆ fmt_function [1/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [2/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [3/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [4/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [5/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [6/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [7/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [8/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [9/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [10/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [11/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [12/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [13/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [14/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [15/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [16/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [17/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [18/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [19/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [20/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [21/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [22/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [23/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [24/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [25/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [26/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [27/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [28/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [29/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [30/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [31/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [32/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [33/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [34/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [35/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [36/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [37/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [38/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [39/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [40/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_function [41/41]
typedef unsigned(* fmt_function) (char *buffer, const void *data, unsigned width, char pad) |
Format function prototype, used by the "@" conversion in fmt_multi()
◆ fmt_char()
unsigned fmt_char |
( |
char * |
buffer, |
|
|
int |
ch, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_multi()
unsigned fmt_multi |
( |
char * |
buffer, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
Format multiple items.
The format
string used to describe the multiple items is related to what is used with printf and related functions, but has one critical difference: instead of formatted items being escaped, literal text must be escaped. This solves the largest security issue with using printf-style format strings, which is the possibility of accidentally treating untrusted text as the format string.
The format string is composed of zero or more format items. Each item is composed of the following parts:
Zero or more flag characters:
#
Use an "alternate form" to convert the value. For octal conversion, the result is prefixed with a 0
. For hexadecimal conversion, the result is prefixed with either 0x
or 0X
depending on the conversion type.
-
(not implemented) Pad on the right (left justified) instead of on the left (default right justified).
0
Pad the result with zeros instead of spaces.
Field width.
The option field width is a decimal digit string specifying the minimum field width. If the converted value has fewer characters than the field width, it will be padded out to the field width.
Length modifier:
l
The following integer conversion uses a long
type.
ll
The following integer conversion uses a long
long
type.
Conversion specifier.
d
i
The int
argument is converted to a signed decimal string.
o
u
x
X
The unsigned
int
argument is converted to a unsigned octal, unsigned decimal, lowercase unsigned hexadecimal, or uppercase unsigned hexadecimal string respectively.
c
The int
argument is converted to an unsigned char.
s
The const
char*
argument is converted.
S
The const
str*
argument is converted.
p
The void*
argument is converted to a hexadecimal string.
m
The result of strerror(errno)
is formatted.
\
The next character literal from the format string is converted as with c
conversion.
{string}
The literal string enclosed by the parenthesis is converted as with s
conversion.
@
Formats an arbitrary object using two arguments: The first fmt_function argument is used to format the following void*
argument. The fmt_function is passed the output buffer, the data pointer, width, and pad character, and is expected to return the number of bytes formatted.
References fmt_multiv().
◆ fmt_multiv()
unsigned fmt_multiv |
( |
char * |
buffer, |
|
|
const char * |
format, |
|
|
va_list |
ap |
|
) |
| |
Format multiple items, using a va_list.
This is the core function used to format multiple items.
References fmt_char(), fmt_lcase_digits, fmt_sllnumw(), fmt_snumw(), fmt_ucase_digits, fmt_ullnumw(), and fmt_unumw().
Referenced by fmt_multi(), obuf_putfv(), str_catfv(), and str_copyfv().
◆ fmt_pad()
unsigned fmt_pad |
( |
char * |
buffer, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_sdec()
unsigned fmt_sdec |
( |
char * |
buffer, |
|
|
long |
num |
|
) |
| |
◆ fmt_sdecw()
unsigned fmt_sdecw |
( |
char * |
buffer, |
|
|
long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_sign_pad()
unsigned fmt_sign_pad |
( |
char * |
buffer, |
|
|
int |
sign, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_slldec()
unsigned fmt_slldec |
( |
char * |
buffer, |
|
|
long long |
num |
|
) |
| |
◆ fmt_slldecw()
unsigned fmt_slldecw |
( |
char * |
buffer, |
|
|
long long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_sllnumw()
unsigned fmt_sllnumw |
( |
char * |
buffer, |
|
|
long long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad, |
|
|
unsigned |
base, |
|
|
const char * |
digits |
|
) |
| |
◆ fmt_snumw()
unsigned fmt_snumw |
( |
char * |
buffer, |
|
|
long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad, |
|
|
unsigned |
base, |
|
|
const char * |
digits |
|
) |
| |
◆ fmt_udec()
unsigned fmt_udec |
( |
char * |
buffer, |
|
|
unsigned long |
num |
|
) |
| |
◆ fmt_udecw()
unsigned fmt_udecw |
( |
char * |
buffer, |
|
|
unsigned long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_uhex()
unsigned fmt_uhex |
( |
char * |
buffer, |
|
|
unsigned long |
num |
|
) |
| |
◆ fmt_uHex()
unsigned fmt_uHex |
( |
char * |
buffer, |
|
|
unsigned long |
num |
|
) |
| |
◆ fmt_uhexw()
unsigned fmt_uhexw |
( |
char * |
buffer, |
|
|
unsigned long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_uHexw()
unsigned fmt_uHexw |
( |
char * |
buffer, |
|
|
unsigned long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_ulldec()
unsigned fmt_ulldec |
( |
char * |
buffer, |
|
|
unsigned long long |
num |
|
) |
| |
◆ fmt_ulldecw()
unsigned fmt_ulldecw |
( |
char * |
buffer, |
|
|
unsigned long long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_ullhex()
unsigned fmt_ullhex |
( |
char * |
buffer, |
|
|
unsigned long long |
num |
|
) |
| |
◆ fmt_ullHex()
unsigned fmt_ullHex |
( |
char * |
buffer, |
|
|
unsigned long long |
num |
|
) |
| |
◆ fmt_ullhexw()
unsigned fmt_ullhexw |
( |
char * |
buffer, |
|
|
unsigned long long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_ullHexw()
unsigned fmt_ullHexw |
( |
char * |
buffer, |
|
|
unsigned long long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad |
|
) |
| |
◆ fmt_ullnumw()
unsigned fmt_ullnumw |
( |
char * |
buffer, |
|
|
unsigned long long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad, |
|
|
unsigned |
base, |
|
|
const char * |
digits |
|
) |
| |
◆ fmt_unumw()
unsigned fmt_unumw |
( |
char * |
buffer, |
|
|
unsigned long |
num, |
|
|
unsigned |
width, |
|
|
char |
pad, |
|
|
unsigned |
base, |
|
|
const char * |
digits |
|
) |
| |
◆ fmt_lcase_digits [1/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [2/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [3/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [4/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [5/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [6/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [7/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [8/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [9/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [10/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [11/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [12/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [13/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [14/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [15/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [16/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [17/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [18/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [19/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [20/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [21/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [22/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [23/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [24/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [25/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [26/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [27/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [28/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [29/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [30/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [31/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [32/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [33/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [34/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [35/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [36/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [37/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [38/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [39/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [40/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
◆ fmt_lcase_digits [41/41]
const char fmt_lcase_digits[36] |
|
extern |
Array of digits for lower-case conversions
Referenced by dns_name6_domain(), fmt_multiv(), fmt_sdec(), fmt_sdecw(), fmt_slldec(), fmt_slldecw(), fmt_udec(), fmt_udecw(), fmt_uhex(), fmt_uhexw(), fmt_ulldec(), fmt_ulldecw(), fmt_ullhex(), fmt_ullhexw(), obuf_puti(), obuf_putill(), obuf_putiw(), obuf_putiwll(), obuf_putu(), obuf_putull(), obuf_putuw(), obuf_putuwll(), obuf_putx(), obuf_putxll(), obuf_putxw(), obuf_putxwll(), str_cati(), str_catill(), str_catiw(), str_catiwll(), str_catu(), str_catull(), str_catuw(), str_catuwll(), str_catx(), str_catxll(), str_catxw(), and str_catxwll().
◆ fmt_ucase_digits [1/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [2/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [3/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [4/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [5/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [6/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [7/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [8/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [9/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [10/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [11/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [12/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [13/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [14/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [15/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [16/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [17/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [18/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [19/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [20/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [21/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [22/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [23/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [24/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [25/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [26/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [27/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [28/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [29/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [30/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [31/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [32/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [33/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [34/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [35/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [36/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [37/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [38/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [39/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [40/41]
const char fmt_ucase_digits[36] |
|
extern |
Array of digits for upper-case conversions
◆ fmt_ucase_digits [41/41]
const char fmt_ucase_digits[36] |
|
extern |