MySQL 8.4.2
Source Code Documentation
|
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include "my_compiler.h"
#include "mysql/strings/m_ctype.h"
#include "strings/m_ctype_internals.h"
Macros | |
#define | isbig5head(c) (0xa1 <= (uint8_t)(c) && (uint8_t)(c) <= 0xf9) |
#define | isbig5tail(c) |
#define | isbig5code(c, d) (isbig5head(c) && isbig5tail(d)) |
#define | big5code(c, d) (((uint8_t)(c) << 8) | (uint8_t)(d)) |
#define | big5head(e) ((uint8_t)((e) >> 8)) |
#define | big5tail(e) ((uint8_t)((e)&0xff)) |
Functions | |
static uint16_t | big5strokexfrm (uint16_t i) |
static int | my_strnncoll_big5_internal (const uint8_t **a_res, const uint8_t **b_res, size_t length) |
static int | my_strnncoll_big5 (const CHARSET_INFO *cs, const uint8_t *a, size_t a_length, const uint8_t *b, size_t b_length, bool b_is_prefix) |
static int | my_strnncollsp_big5 (const CHARSET_INFO *cs, const uint8_t *a, size_t a_length, const uint8_t *b, size_t b_length) |
static size_t | my_strnxfrm_big5 (const CHARSET_INFO *cs, uint8_t *dst, size_t dstlen, unsigned nweights, const uint8_t *src, size_t srclen, unsigned flags) |
static unsigned | ismbchar_big5 (const CHARSET_INFO *cs, const char *p, const char *e) |
static unsigned | mbcharlen_big5 (const CHARSET_INFO *cs, unsigned c) |
static int | func_big5_uni_onechar (int code) |
static int | func_uni_big5_onechar (int code) |
static int | my_wc_mb_big5 (const CHARSET_INFO *cs, my_wc_t wc, uint8_t *s, uint8_t *e) |
static int | my_mb_wc_big5 (const CHARSET_INFO *cs, my_wc_t *pwc, const uint8_t *s, const uint8_t *e) |
static size_t | my_well_formed_len_big5 (const CHARSET_INFO *cs, const char *b, const char *e, size_t pos, int *error) |
Variables | |
static const uint8_t | ctype_big5 [257] |
static const uint8_t | to_lower_big5 [] |
static const uint8_t | to_upper_big5 [] |
static const uint8_t | sort_order_big5 [] |
static const MY_UNICASE_CHARACTER | cA2 [256] |
static const MY_UNICASE_CHARACTER | cA3 [256] |
static const MY_UNICASE_CHARACTER | cC7 [256] |
static const MY_UNICASE_CHARACTER * | my_caseinfo_pages_big5 [256] |
static MY_UNICASE_INFO | my_caseinfo_big5 = {0xFFFF, my_caseinfo_pages_big5} |
static const uint16_t | tab_big5_uni0 [] |
static const uint16_t | tab_big5_uni1 [] |
static const uint16_t | tab_uni_big50 [] |
static const uint16_t | tab_uni_big51 [] |
static const uint16_t | tab_uni_big52 [] |
static const uint16_t | tab_uni_big53 [] |
static const uint16_t | tab_uni_big54 [] |
static const uint16_t | tab_uni_big55 [] = {0xA1C0} |
static const uint16_t | tab_uni_big56 [] |
static const uint16_t | tab_uni_big57 [] |
static const uint16_t | tab_uni_big58 [] |
static const uint16_t | tab_uni_big59 [] = {0xC94A, 0xDDFC} |
static const uint16_t | tab_uni_big510 [] |
static MY_COLLATION_HANDLER | my_collation_big5_chinese_ci_handler |
static MY_CHARSET_HANDLER | my_charset_big5_handler |
CHARSET_INFO | my_charset_big5_chinese_ci |
CHARSET_INFO | my_charset_big5_bin |
#define big5code | ( | c, | |
d | |||
) | (((uint8_t)(c) << 8) | (uint8_t)(d)) |
#define big5head | ( | e | ) | ((uint8_t)((e) >> 8)) |
#define big5tail | ( | e | ) | ((uint8_t)((e)&0xff)) |
#define isbig5code | ( | c, | |
d | |||
) | (isbig5head(c) && isbig5tail(d)) |
#define isbig5head | ( | c | ) | (0xa1 <= (uint8_t)(c) && (uint8_t)(c) <= 0xf9) |
#define isbig5tail | ( | c | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
CHARSET_INFO my_charset_big5_bin |
CHARSET_INFO my_charset_big5_chinese_ci |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |