MySQL 8.0.39
Source Code Documentation
|
Public Member Functions | |
uca_scanner_any (const Mb_wc mb_wc, const CHARSET_INFO *cs_arg, const uchar *str, size_t length) | |
uint | get_char_index () const |
int | next () |
Public Member Functions inherited from my_uca_scanner | |
uint | get_weight_level () const |
Get the level the scanner is currently working on. More... | |
Private Member Functions | |
int | next_implicit (my_wc_t ch) |
Return implicit UCA weight Used for code points that do not have assigned UCA weights. More... | |
Private Attributes | |
uint | char_index {0} |
How many code points (possibly multibyte) we have scanned so far. More... | |
const Mb_wc | mb_wc |
Additional Inherited Members | |
Protected Member Functions inherited from my_uca_scanner | |
my_uca_scanner (const CHARSET_INFO *cs_arg, const uchar *str, size_t length) | |
const uint16 * | contraction_find (my_wc_t wc0, size_t *chars_skipped) |
Find a contraction in the input stream and return its weight array. More... | |
const uint16 * | previous_context_find (my_wc_t wc0, my_wc_t wc1) |
Find weight for contraction with previous context and return its weight array. More... | |
Protected Attributes inherited from my_uca_scanner | |
uint | weight_lv {0} |
const uint16 * | wbeg |
uint | wbeg_stride {0} |
const uchar * | sbeg |
const uchar * | send |
const MY_UCA_INFO * | uca |
uint16 | implicit [10] |
my_wc_t | prev_char {0} |
const CHARSET_INFO * | cs |
uint | num_of_ce_left {0} |
const uchar * | sbeg_dup |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
Return implicit UCA weight Used for code points that do not have assigned UCA weights.
|
private |
How many code points (possibly multibyte) we have scanned so far.
This includes code points with zero weight. Note that this is reset once we get to the end of the string and restart the scanning for the next weight level, but it is not reset when we reach the end of the last level.
|
private |