PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches
digits.h File Reference
#include <_libstd/ascii.h>
#include <stdint.h>
Include dependency graph for digits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static uint8_t _digit_to_int (char c)
 
static char _int_to_digit (uint8_t i)
 
static char _int_to_xdigit (uint8_t i)
 
static char _int_to_Xdigit (uint8_t i)
 

Variables

const char _digits []
 
const char _xdigits []
 
const char _Xdigits []
 
const char _digitPairs []
 

Function Documentation

◆ _digit_to_int()

static uint8_t _digit_to_int ( char  c)
inlinestatic

Definition at line 14 of file digits.h.

Here is the caller graph for this function:

◆ _int_to_digit()

static char _int_to_digit ( uint8_t  i)
inlinestatic

Definition at line 19 of file digits.h.

Here is the caller graph for this function:

◆ _int_to_xdigit()

static char _int_to_xdigit ( uint8_t  i)
inlinestatic

Definition at line 24 of file digits.h.

◆ _int_to_Xdigit()

static char _int_to_Xdigit ( uint8_t  i)
inlinestatic

Definition at line 29 of file digits.h.

Variable Documentation

◆ _digits

const char _digits[]
extern

Definition at line 3 of file digits.c.

◆ _xdigits

const char _xdigits[]
extern

Definition at line 5 of file digits.c.

◆ _Xdigits

const char _Xdigits[]
extern

Definition at line 7 of file digits.c.

◆ _digitPairs

const char _digitPairs[]
extern

Definition at line 9 of file digits.c.