MySQL  8.0.19
Source Code Documentation
uctypedump.cc File Reference
#include <m_ctype.h>
#include <m_string.h>

Classes

struct  MY_CTYPE_NAME_ST
 
struct  MY_UNIDATA_CHAR
 
struct  MY_UNIDATA_PARAM
 

Macros

#define MAX_CHAR   0x10FFFF
 
#define MAX_DECOMPOSITION_LENGTH   2
 

Functions

static int ctypestr2num (const char *tok)
 
static void unidata_param_init (MY_UNIDATA_PARAM *p)
 
static void load_unidata (MY_UNIDATA_PARAM *prm, MY_UNIDATA_CHAR *chr)
 
static void unidata_char_set_cjk (MY_UNIDATA_CHAR *unidata, int max_char, int cur_char)
 
static void fill_implicit_ctype (MY_UNIDATA_PARAM *prm, MY_UNIDATA_CHAR *unidata)
 
static int page_ctype (MY_UNIDATA_CHAR *data, size_t nchars)
 
static void dump_ctype (MY_UNIDATA_PARAM *prm, MY_UNIDATA_CHAR *unidata)
 
static void dump_decomposition_page (MY_UNIDATA_PARAM *prm, MY_UNIDATA_CHAR *unidata, uint pageno, uint nchars)
 
static size_t calc_decompositions (MY_UNIDATA_CHAR *unidata, size_t nchars)
 
static void dump_decomposition (MY_UNIDATA_PARAM *prm, MY_UNIDATA_CHAR *unidata)
 
static void usage (FILE *f, int rc)
 
static int get_int_option (const char *str, const char *name, int *num)
 
static int get_const_str_option (const char *str, const char *name, const char **val)
 
static void process_options (MY_UNIDATA_PARAM *prm, int ac, char **av)
 
int main (int ac, char **av)
 

Variables

static MY_CTYPE_NAME_ST my_ctype_name []
 

Macro Definition Documentation

◆ MAX_CHAR

#define MAX_CHAR   0x10FFFF

◆ MAX_DECOMPOSITION_LENGTH

#define MAX_DECOMPOSITION_LENGTH   2

Function Documentation

◆ calc_decompositions()

static size_t calc_decompositions ( MY_UNIDATA_CHAR unidata,
size_t  nchars 
)
static

◆ ctypestr2num()

static int ctypestr2num ( const char *  tok)
static

◆ dump_ctype()

static void dump_ctype ( MY_UNIDATA_PARAM prm,
MY_UNIDATA_CHAR unidata 
)
static

◆ dump_decomposition()

static void dump_decomposition ( MY_UNIDATA_PARAM prm,
MY_UNIDATA_CHAR unidata 
)
static

◆ dump_decomposition_page()

static void dump_decomposition_page ( MY_UNIDATA_PARAM prm,
MY_UNIDATA_CHAR unidata,
uint  pageno,
uint  nchars 
)
static

◆ fill_implicit_ctype()

static void fill_implicit_ctype ( MY_UNIDATA_PARAM prm,
MY_UNIDATA_CHAR unidata 
)
static

◆ get_const_str_option()

static int get_const_str_option ( const char *  str,
const char *  name,
const char **  val 
)
static

◆ get_int_option()

static int get_int_option ( const char *  str,
const char *  name,
int *  num 
)
static

◆ load_unidata()

static void load_unidata ( MY_UNIDATA_PARAM prm,
MY_UNIDATA_CHAR chr 
)
static

◆ main()

int main ( int  ac,
char **  av 
)

◆ page_ctype()

static int page_ctype ( MY_UNIDATA_CHAR data,
size_t  nchars 
)
static

◆ process_options()

static void process_options ( MY_UNIDATA_PARAM prm,
int  ac,
char **  av 
)
static

◆ unidata_char_set_cjk()

static void unidata_char_set_cjk ( MY_UNIDATA_CHAR unidata,
int  max_char,
int  cur_char 
)
static

◆ unidata_param_init()

static void unidata_param_init ( MY_UNIDATA_PARAM p)
static

◆ usage()

static void usage ( FILE *  f,
int  rc 
)
static

Variable Documentation

◆ my_ctype_name

MY_CTYPE_NAME_ST my_ctype_name[]
static