Eneboo - Documentación para desarrolladores
Clases | 'defines' | Funciones | Variables
Referencia del Archivo src/libmysql_std/ctype-simple.c
#include <my_global.h>
#include "m_string.h"
#include "m_ctype.h"
#include "my_sys.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)
#define ULONGLONG_MAX   (~(ulonglong) 0)
#define CUTOFF   (ULONGLONG_MAX / 10)
#define CUTLIM   (ULONGLONG_MAX % 10)
#define DIGITS_IN_ULONGLONG   20

Funciones

uint my_strnxfrmlen_simple (CHARSET_INFO *cs, uint len)
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, my_bool diff_if_only_endspace_difference)
uint my_caseup_str_8bit (CHARSET_INFO *cs, char *str)
uint my_casedn_str_8bit (CHARSET_INFO *cs, char *str)
uint my_caseup_8bit (CHARSET_INFO *cs, char *src, uint srclen, char *dst __attribute__((unused)), uint dstlen __attribute__((unused)))
uint my_casedn_8bit (CHARSET_INFO *cs, char *src, uint srclen, char *dst __attribute__((unused)), uint dstlen __attribute__((unused)))
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)
ulonglong my_strntoull10rnd_8bit (CHARSET_INFO *cs __attribute__((unused)), const char *str, uint length, int unsigned_flag, char **endptr, int *error)
my_bool my_propagate_simple (CHARSET_INFO *cs __attribute__((unused)), const uchar *str __attribute__((unused)), uint length __attribute__((unused)))
my_bool my_propagate_complex (CHARSET_INFO *cs __attribute__((unused)), const uchar *str __attribute__((unused)), uint length __attribute__((unused)))

Variables

MY_CHARSET_HANDLER my_charset_8bit_handler
MY_COLLATION_HANDLER my_collation_8bit_simple_ci_handler

Documentación de los 'defines'

#define CUTLIM   (ULONGLONG_MAX % 10)
#define CUTOFF   (ULONGLONG_MAX / 10)
#define DIGITS_IN_ULONGLONG   20
#define INC_PTR (   cs,
  A,
 
)    (A)++
#define likeconv (   s,
 
)    (uchar) (s)->sort_order[(uchar) (A)]
#define PLANE_NUM   0x100
#define PLANE_NUMBER (   x)    (((x)>>8) % PLANE_NUM)
#define PLANE_SIZE   0x100
#define ULONGLONG_MAX   (~(ulonglong) 0)

Documentación de las funciones

uint my_casedn_8bit ( CHARSET_INFO cs,
char *  src,
uint  srclen,
char *dst   __attribute__(unused),
uint dstlen   __attribute__(unused) 
)
uint my_casedn_str_8bit ( CHARSET_INFO cs,
char *  str 
)
uint my_caseup_8bit ( CHARSET_INFO cs,
char *  src,
uint  srclen,
char *dst   __attribute__(unused),
uint dstlen   __attribute__(unused) 
)
uint 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 
)
my_bool my_propagate_complex ( CHARSET_INFO *cs   __attribute__(unused),
const uchar *str   __attribute__(unused),
uint length   __attribute__(unused) 
)
my_bool my_propagate_simple ( CHARSET_INFO *cs   __attribute__(unused),
const uchar *str   __attribute__(unused),
uint length   __attribute__(unused) 
)
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,
my_bool  diff_if_only_endspace_difference 
)
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_strntoull10rnd_8bit ( CHARSET_INFO *cs   __attribute__(unused),
const char *  str,
uint  length,
int  unsigned_flag,
char **  endptr,
int error 
)
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 
)
uint my_strnxfrmlen_simple ( CHARSET_INFO cs,
uint  len 
)
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 
)

Documentación de las variables

 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'