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 | isgbkhead(c) (0x81 <= (uint8_t)(c) && (uint8_t)(c) <= 0xfe) |
#define | isgbktail(c) |
#define | isgbkcode(c, d) (isgbkhead(c) && isgbktail(d)) |
#define | gbkcode(c, d) ((((unsigned)(uint8_t)(c)) << 8) | (uint8_t)(d)) |
#define | gbkhead(e) ((uint8_t)((e) >> 8)) |
#define | gbktail(e) ((uint8_t)((e)&0xff)) |
Functions | |
static uint16_t | gbksortorder (uint16_t i) |
static int | my_strnncoll_gbk_internal (const uint8_t **a_res, const uint8_t **b_res, size_t length) |
static int | my_strnncoll_gbk (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_gbk (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_gbk (const CHARSET_INFO *cs, uint8_t *dst, size_t dstlen, unsigned nweights, const uint8_t *src, size_t srclen, unsigned flags) |
static unsigned | ismbchar_gbk (const CHARSET_INFO *cs, const char *p, const char *e) |
static unsigned | mbcharlen_gbk (const CHARSET_INFO *cs, unsigned c) |
static int | func_gbk_uni_onechar (int code) |
static int | func_uni_gbk_onechar (int code) |
static int | my_wc_mb_gbk (const CHARSET_INFO *cs, my_wc_t wc, uint8_t *s, uint8_t *e) |
static int | my_mb_wc_gbk (const CHARSET_INFO *cs, my_wc_t *pwc, const uint8_t *s, const uint8_t *e) |
static size_t | my_well_formed_len_gbk (const CHARSET_INFO *cs, const char *b, const char *e, size_t pos, int *error) |
Variables | |
static const uint8_t | ctype_gbk [257] |
static const uint8_t | to_lower_gbk [] |
static const uint8_t | to_upper_gbk [] |
static const MY_UNICASE_CHARACTER | cA2 [256] |
static const MY_UNICASE_CHARACTER | cA3 [256] |
static const MY_UNICASE_CHARACTER | cA6 [256] |
static const MY_UNICASE_CHARACTER | cA7 [256] |
static const MY_UNICASE_CHARACTER * | my_caseinfo_pages_gbk [256] |
static MY_UNICASE_INFO | my_caseinfo_gbk = {0xFFFF, my_caseinfo_pages_gbk} |
static const uint8_t | sort_order_gbk [] |
static const uint16_t | gbk_order [] |
static const uint16_t | tab_gbk_uni0 [] |
static const uint16_t | tab_uni_gbk0 [] |
static const uint16_t | tab_uni_gbk1 [] |
static const uint16_t | tab_uni_gbk2 [] |
static const uint16_t | tab_uni_gbk3 [] |
static const uint16_t | tab_uni_gbk4 [] |
static const uint16_t | tab_uni_gbk5 [] |
static const uint16_t | tab_uni_gbk6 [] |
static const uint16_t | tab_uni_gbk7 [] |
static const uint16_t | tab_uni_gbk8 [] |
static MY_COLLATION_HANDLER | my_collation_ci_handler |
static MY_CHARSET_HANDLER | my_charset_handler |
CHARSET_INFO | my_charset_gbk_chinese_ci |
CHARSET_INFO | my_charset_gbk_bin |
#define gbkcode | ( | c, | |
d | |||
) | ((((unsigned)(uint8_t)(c)) << 8) | (uint8_t)(d)) |
#define gbkhead | ( | e | ) | ((uint8_t)((e) >> 8)) |
#define gbktail | ( | e | ) | ((uint8_t)((e)&0xff)) |
#define isgbkhead | ( | c | ) | (0x81 <= (uint8_t)(c) && (uint8_t)(c) <= 0xfe) |
#define isgbktail | ( | c | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
CHARSET_INFO my_charset_gbk_bin |
CHARSET_INFO my_charset_gbk_chinese_ci |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |