MySQL 9.1.0
Source Code Documentation
|
Public Member Functions | |
uca_scanner_any (const Mb_wc mb_wc, const CHARSET_INFO *cs_arg, const uint8_t *str, size_t length) | |
unsigned | get_char_index () const |
int | next () |
Public Member Functions inherited from my_uca_scanner | |
unsigned | 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 | |
unsigned | 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 uint8_t *str, size_t length) | |
const uint16_t * | 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_t * | 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 | |
unsigned | weight_lv {0} |
const uint16_t * | wbeg |
unsigned | wbeg_stride {0} |
const uint8_t * | sbeg |
const uint8_t * | send |
const MY_UCA_INFO * | uca {nullptr} |
uint16_t | implicit [10] {} |
my_wc_t | prev_char {0} |
const CHARSET_INFO * | cs |
unsigned | num_of_ce_left {0} |
const uint8_t * | 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 |