Eneboo - Documentación para desarrolladores
|
#include <my_global.h>
#include "m_string.h"
#include "m_ctype.h"
#include <errno.h>
#include "stdarg.h"
Clases | |
struct | uni_idx |
'defines' | |
#define | likeconv(s, A) (uchar) (s)->sort_order[(uchar) (A)] |
#define | INC_PTR(cs, A, B) (A)++ |
#define | PLANE_SIZE 0x100 |
#define | PLANE_NUM 0x100 |
#define | PLANE_NUMBER(x) (((x)>>8) % PLANE_NUM) |
Funciones | |
int | my_strnxfrm_simple (CHARSET_INFO *cs, uchar *dest, uint len, const uchar *src, uint srclen) |
int | my_strnncoll_simple (CHARSET_INFO *cs, const uchar *s, uint slen, const uchar *t, uint tlen, my_bool t_is_prefix) |
int | my_strnncollsp_simple (CHARSET_INFO *cs, const uchar *a, uint a_length, const uchar *b, uint b_length) |
void | my_caseup_str_8bit (CHARSET_INFO *cs, char *str) |
void | my_casedn_str_8bit (CHARSET_INFO *cs, char *str) |
void | my_caseup_8bit (CHARSET_INFO *cs, char *str, uint length) |
void | my_casedn_8bit (CHARSET_INFO *cs, char *str, uint length) |
int | my_strcasecmp_8bit (CHARSET_INFO *cs, const char *s, const char *t) |
int | my_mb_wc_8bit (CHARSET_INFO *cs, my_wc_t *wc, const unsigned char *str, const unsigned char *end __attribute__((unused))) |
int | my_wc_mb_8bit (CHARSET_INFO *cs, my_wc_t wc, unsigned char *str, unsigned char *end __attribute__((unused))) |
int | my_snprintf_8bit (CHARSET_INFO *cs __attribute__((unused)), char *to, uint n __attribute__((unused)), const char *fmt,...) |
void | my_hash_sort_simple (CHARSET_INFO *cs, const uchar *key, uint len, ulong *nr1, ulong *nr2) |
long | my_strntol_8bit (CHARSET_INFO *cs, const char *nptr, uint l, int base, char **endptr, int *err) |
ulong | my_strntoul_8bit (CHARSET_INFO *cs, const char *nptr, uint l, int base, char **endptr, int *err) |
longlong | my_strntoll_8bit (CHARSET_INFO *cs __attribute__((unused)), const char *nptr, uint l, int base, char **endptr, int *err) |
ulonglong | my_strntoull_8bit (CHARSET_INFO *cs, const char *nptr, uint l, int base, char **endptr, int *err) |
double | my_strntod_8bit (CHARSET_INFO *cs __attribute__((unused)), char *str, uint length, char **end, int *err) |
int | my_long10_to_str_8bit (CHARSET_INFO *cs __attribute__((unused)), char *dst, uint len, int radix, long int val) |
int | my_longlong10_to_str_8bit (CHARSET_INFO *cs __attribute__((unused)), char *dst, uint len, int radix, longlong val) |
int | my_wildcmp_8bit (CHARSET_INFO *cs, const char *str, const char *str_end, const char *wildstr, const char *wildend, int escape, int w_one, int w_many) |
my_bool | my_like_range_simple (CHARSET_INFO *cs, const char *ptr, uint ptr_length, pbool escape, pbool w_one, pbool w_many, uint res_length, char *min_str, char *max_str, uint *min_length, uint *max_length) |
ulong | my_scan_8bit (CHARSET_INFO *cs, const char *str, const char *end, int sq) |
void | my_fill_8bit (CHARSET_INFO *cs __attribute__((unused)), char *s, uint l, int fill) |
uint | my_numchars_8bit (CHARSET_INFO *cs __attribute__((unused)), const char *b, const char *e) |
uint | my_numcells_8bit (CHARSET_INFO *cs __attribute__((unused)), const char *b, const char *e) |
uint | my_charpos_8bit (CHARSET_INFO *cs __attribute__((unused)), const char *b __attribute__((unused)), const char *e __attribute__((unused)), uint pos) |
uint | my_well_formed_len_8bit (CHARSET_INFO *cs __attribute__((unused)), const char *start, const char *end, uint nchars, int *error) |
uint | my_lengthsp_8bit (CHARSET_INFO *cs __attribute__((unused)), const char *ptr, uint length) |
uint | my_instr_simple (CHARSET_INFO *cs, const char *b, uint b_length, const char *s, uint s_length, my_match_t *match, uint nmatch) |
longlong | my_strtoll10_8bit (CHARSET_INFO *cs __attribute__((unused)), const char *nptr, char **endptr, int *error) |
Variables | |
MY_CHARSET_HANDLER | my_charset_8bit_handler |
MY_COLLATION_HANDLER | my_collation_8bit_simple_ci_handler |
#define INC_PTR | ( | cs, | |
A, | |||
B | |||
) | (A)++ |
#define PLANE_NUM 0x100 |
#define PLANE_NUMBER | ( | x | ) | (((x)>>8) % PLANE_NUM) |
#define PLANE_SIZE 0x100 |
void my_casedn_8bit | ( | CHARSET_INFO * | cs, |
char * | str, | ||
uint | length | ||
) |
void my_casedn_str_8bit | ( | CHARSET_INFO * | cs, |
char * | str | ||
) |
void my_caseup_8bit | ( | CHARSET_INFO * | cs, |
char * | str, | ||
uint | length | ||
) |
void my_caseup_str_8bit | ( | CHARSET_INFO * | cs, |
char * | str | ||
) |
uint my_charpos_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
const char *b | __attribute__(unused), | ||
const char *e | __attribute__(unused), | ||
uint | pos | ||
) |
void my_fill_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
char * | s, | ||
uint | l, | ||
int | fill | ||
) |
void my_hash_sort_simple | ( | CHARSET_INFO * | cs, |
const uchar * | key, | ||
uint | len, | ||
ulong * | nr1, | ||
ulong * | nr2 | ||
) |
uint my_instr_simple | ( | CHARSET_INFO * | cs, |
const char * | b, | ||
uint | b_length, | ||
const char * | s, | ||
uint | s_length, | ||
my_match_t * | match, | ||
uint | nmatch | ||
) |
uint my_lengthsp_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
const char * | ptr, | ||
uint | length | ||
) |
my_bool my_like_range_simple | ( | CHARSET_INFO * | cs, |
const char * | ptr, | ||
uint | ptr_length, | ||
pbool | escape, | ||
pbool | w_one, | ||
pbool | w_many, | ||
uint | res_length, | ||
char * | min_str, | ||
char * | max_str, | ||
uint * | min_length, | ||
uint * | max_length | ||
) |
int my_long10_to_str_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
char * | dst, | ||
uint | len, | ||
int | radix, | ||
long int | val | ||
) |
int my_longlong10_to_str_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
char * | dst, | ||
uint | len, | ||
int | radix, | ||
longlong | val | ||
) |
int my_mb_wc_8bit | ( | CHARSET_INFO * | cs, |
my_wc_t * | wc, | ||
const unsigned char * | str, | ||
const unsigned char *end | __attribute__(unused) | ||
) |
uint my_numcells_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
const char * | b, | ||
const char * | e | ||
) |
uint my_numchars_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
const char * | b, | ||
const char * | e | ||
) |
ulong my_scan_8bit | ( | CHARSET_INFO * | cs, |
const char * | str, | ||
const char * | end, | ||
int | sq | ||
) |
int my_snprintf_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
char * | to, | ||
uint n | __attribute__(unused), | ||
const char * | fmt, | ||
... | |||
) |
int my_strcasecmp_8bit | ( | CHARSET_INFO * | cs, |
const char * | s, | ||
const char * | t | ||
) |
int my_strnncoll_simple | ( | CHARSET_INFO * | cs, |
const uchar * | s, | ||
uint | slen, | ||
const uchar * | t, | ||
uint | tlen, | ||
my_bool | t_is_prefix | ||
) |
int my_strnncollsp_simple | ( | CHARSET_INFO * | cs, |
const uchar * | a, | ||
uint | a_length, | ||
const uchar * | b, | ||
uint | b_length | ||
) |
double my_strntod_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
char * | str, | ||
uint | length, | ||
char ** | end, | ||
int * | err | ||
) |
long my_strntol_8bit | ( | CHARSET_INFO * | cs, |
const char * | nptr, | ||
uint | l, | ||
int | base, | ||
char ** | endptr, | ||
int * | err | ||
) |
longlong my_strntoll_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
const char * | nptr, | ||
uint | l, | ||
int | base, | ||
char ** | endptr, | ||
int * | err | ||
) |
ulong my_strntoul_8bit | ( | CHARSET_INFO * | cs, |
const char * | nptr, | ||
uint | l, | ||
int | base, | ||
char ** | endptr, | ||
int * | err | ||
) |
ulonglong my_strntoull_8bit | ( | CHARSET_INFO * | cs, |
const char * | nptr, | ||
uint | l, | ||
int | base, | ||
char ** | endptr, | ||
int * | err | ||
) |
int my_strnxfrm_simple | ( | CHARSET_INFO * | cs, |
uchar * | dest, | ||
uint | len, | ||
const uchar * | src, | ||
uint | srclen | ||
) |
longlong my_strtoll10_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
const char * | nptr, | ||
char ** | endptr, | ||
int * | error | ||
) |
int my_wc_mb_8bit | ( | CHARSET_INFO * | cs, |
my_wc_t | wc, | ||
unsigned char * | str, | ||
unsigned char *end | __attribute__(unused) | ||
) |
uint my_well_formed_len_8bit | ( | CHARSET_INFO *cs | __attribute__(unused), |
const char * | start, | ||
const char * | end, | ||
uint | nchars, | ||
int * | error | ||
) |
int my_wildcmp_8bit | ( | CHARSET_INFO * | cs, |
const char * | str, | ||
const char * | str_end, | ||
const char * | wildstr, | ||
const char * | wildend, | ||
int | escape, | ||
int | w_one, | ||
int | w_many | ||
) |
{ my_cset_init_8bit, NULL, my_mbcharlen_8bit, my_numchars_8bit, my_charpos_8bit, my_well_formed_len_8bit, my_lengthsp_8bit, my_numcells_8bit, my_mb_wc_8bit, my_wc_mb_8bit, my_caseup_str_8bit, my_casedn_str_8bit, my_caseup_8bit, my_casedn_8bit, my_snprintf_8bit, my_long10_to_str_8bit, my_longlong10_to_str_8bit, my_fill_8bit, my_strntol_8bit, my_strntoul_8bit, my_strntoll_8bit, my_strntoull_8bit, my_strntod_8bit, my_strtoll10_8bit, my_scan_8bit }
{ my_coll_init_simple, my_strnncoll_simple, my_strnncollsp_simple, my_strnxfrm_simple, my_like_range_simple, my_wildcmp_8bit, my_strcasecmp_8bit, my_instr_simple, my_hash_sort_simple }