CMGDK r49-rc2
组合类型 | 宏定义 | 类型定义 | 枚举 | 函数 | 变量
K:/CMGDKv18/SDK/Source/SQL/MySQL/include/m_string.h文件参考
#include <stdarg.h>

浏览该文件的源代码。

组合类型

struct  st_mysql_const_lex_string
struct  st_mysql_const_unsigned_lex_string

宏定义

#define __USE_GNU
#define memcpy(d, s, n)   bcopy ((s), (d), (n))
#define memset(A, C, B)   bfill((A),(B),(C))
#define memmove(d, s, n)   bmove ((d), (s), (n))
#define bfill(A, B, C)   memset((A),(C),(B))
#define bmove_align(A, B, C)   memcpy((A),(B),(C))
#define bcopy(s, d, n)   memcpy((d), (s), (n))
#define bcmp(A, B, C)   memcmp((A),(B),(C))
#define bzero(A, B)   memset((A),0,(B))
#define bmove_align(A, B, C)   memcpy((A),(B),(C))
#define strmov_overlapp(A, B)   strmov(A,B)
#define strmake_overlapp(A, B, C)   strmake(A,B,C)
#define memcpy_fixed(A, B, C)   memcpy((A),(B),(C))
#define bmove512(A, B, C)   memcpy(A,B,C)
#define bzero_if_purify(A, B)
#define LINT_INIT_STRUCT(var)
#define NOT_FIXED_DEC   31
#define FLOATING_POINT_BUFFER   (311 + NOT_FIXED_DEC)
#define MAX_DECPT_FOR_F_FORMAT   DBL_DIG
#define MY_GCVT_MAX_FIELD_WIDTH   (DBL_DIG + 4 + max(5, MAX_DECPT_FOR_F_FORMAT))
#define ll2str(A, B, C, D)   int2str((A),(B),(C),(D))
#define longlong2str(A, B, C)   int2str((A),(B),(C),1)
#define longlong10_to_str(A, B, C)   int10_to_str((A),(B),(C))
#define strtoll(A, B, C)   strtol((A),(B),(C))
#define strtoull(A, B, C)   strtoul((A),(B),(C))
#define HAVE_STRTOULL
#define HAVE_STRTOLL
#define STRING_WITH_LEN(X)   (X), ((size_t) (sizeof(X) - 1))
#define USTRING_WITH_LEN(X)   ((uchar*) X), ((size_t) (sizeof(X) - 1))
#define C_STRING_WITH_LEN(X)   ((char *) (X)), ((size_t) (sizeof(X) - 1))
#define TRASH(A, B)

类型定义

typedef typedefsize_t struct
st_mysql_lex_string 
LEX_STRING
typedef struct
st_mysql_const_lex_string 
LEX_CSTRING
typedef struct
st_mysql_const_unsigned_lex_string 
LEX_CUSTRING

枚举

enum  my_gcvt_arg_type { MY_GCVT_ARG_FLOAT, MY_GCVT_ARG_DOUBLE }

函数

void bmove (uuchar *dst, const uchar *src, size_t len)
void bmove_upp (uchar *dst, const uchar *src, size_t len)
void bchange (uchar *dst, size_t old_len, const uchar *src, size_t new_len, size_t tot_len)
void strappend (char *s, size_t len, pchar fill)
char * strend (const char *s)
char * strcend (const char *, pchar)
char * strfield (char *src, int fields, int chars, int blanks, int tabch)
char * strfill (char *s, size_t len, pchar fill)
size_t strinstr (const char *str, const char *search)
size_t r_strinstr (const char *str, size_t from, const char *search)
char * strkey (char *dst, char *head, char *tail, char *flags)
char * strmake (char *dst, const char *src, size_t length)
char * strmov (char *dst, const char *src)
char * strnmov (char *dst, const char *src, size_t n)
char * strsuff (const char *src, const char *suffix)
char * strcont (const char *src, const char *set)
char *strxcat _VARARGS ((char *dst, const char *src,...))
char *strxncat _VARARGS ((char *dst, size_t len, const char *src,...))
size_t strnlen (const char *s, size_t n)
char * strpbrk (const char *, const char *)
char * strstr (const char *, const char *)
int is_prefix (const char *, const char *)
double my_strtod (const char *str, char **end, int *error)
double my_atof (const char *nptr)
size_t my_fcvt (double x, int precision, char *to, my_bool *error)
size_t my_gcvt (double x, my_gcvt_arg_type type, int width, char *to, my_bool *error)
char * llstr (longlong value, char *buff)
char * ullstr (longlong value, char *buff)
long strtol (const char *str, char **ptr, int base)
ulong strtoul (const char *str, char **ptr, int base)
char * int2str (long val, char *dst, int radix, int upcase)
char * int10_to_str (long val, char *dst, int radix)
char * str2int (const char *src, int radix, long lower, long upper, long *val)
longlong my_strtoll10 (const char *nptr, char **endptr, int *error)
size_t my_vsnprintf (char *str, size_t n, const char *format, va_list ap)
size_t my_snprintf (char *to, size_t n, const char *fmt,...) ATTRIBUTE_FORMAT(printf

变量

void *(* my_str_malloc )(size_t)
void(* my_str_free )(void *)
char NEAR _dig_vec_upper []
char NEAR _dig_vec_lower []

宏定义文档

#define __USE_GNU
#define bcmp (   A,
  B,
 
)    memcmp((A),(B),(C))
#define bcopy (   s,
  d,
  n 
)    memcpy((d), (s), (n))
#define bfill (   A,
  B,
 
)    memset((A),(C),(B))
#define bmove512 (   A,
  B,
 
)    memcpy(A,B,C)
#define bmove_align (   A,
  B,
 
)    memcpy((A),(B),(C))
#define bmove_align (   A,
  B,
 
)    memcpy((A),(B),(C))
#define bzero (   A,
 
)    memset((A),0,(B))
#define bzero_if_purify (   A,
 
)
#define C_STRING_WITH_LEN (   X)    ((char *) (X)), ((size_t) (sizeof(X) - 1))
#define FLOATING_POINT_BUFFER   (311 + NOT_FIXED_DEC)
#define HAVE_STRTOLL
#define HAVE_STRTOULL
#define LINT_INIT_STRUCT (   var)
#define ll2str (   A,
  B,
  C,
 
)    int2str((A),(B),(C),(D))
#define longlong10_to_str (   A,
  B,
 
)    int10_to_str((A),(B),(C))
#define longlong2str (   A,
  B,
 
)    int2str((A),(B),(C),1)
#define MAX_DECPT_FOR_F_FORMAT   DBL_DIG
#define memcpy (   d,
  s,
  n 
)    bcopy ((s), (d), (n))
#define memcpy_fixed (   A,
  B,
 
)    memcpy((A),(B),(C))
#define memmove (   d,
  s,
  n 
)    bmove ((d), (s), (n))
#define memset (   A,
  C,
 
)    bfill((A),(B),(C))
#define MY_GCVT_MAX_FIELD_WIDTH   (DBL_DIG + 4 + max(5, MAX_DECPT_FOR_F_FORMAT))
#define NOT_FIXED_DEC   31
#define STRING_WITH_LEN (   X)    (X), ((size_t) (sizeof(X) - 1))
#define strmake_overlapp (   A,
  B,
 
)    strmake(A,B,C)
#define strmov_overlapp (   A,
 
)    strmov(A,B)
#define strtoll (   A,
  B,
 
)    strtol((A),(B),(C))
#define strtoull (   A,
  B,
 
)    strtoul((A),(B),(C))
#define TRASH (   A,
 
)
#define USTRING_WITH_LEN (   X)    ((uchar*) X), ((size_t) (sizeof(X) - 1))

类型定义文档

typedef typedefsize_t struct st_mysql_lex_string LEX_STRING

枚举类型文档

枚举值:
MY_GCVT_ARG_FLOAT 
MY_GCVT_ARG_DOUBLE 

函数文档

char *strxcpy _VARARGS ( (char *dst, const char *src,...)  )
char *strxncpy _VARARGS ( (char *dst, size_t len, const char *src,...)  )
void bchange ( uchar dst,
size_t  old_len,
const uchar src,
size_t  new_len,
size_t  tot_len 
)
void bmove ( uuchar *  dst,
const uchar src,
size_t  len 
)
void bmove_upp ( uchar dst,
const uchar src,
size_t  len 
)
char* int10_to_str ( long  val,
char *  dst,
int  radix 
)
char* int2str ( long  val,
char *  dst,
int  radix,
int  upcase 
)
int is_prefix ( const char *  ,
const char *   
)
char* llstr ( longlong  value,
char *  buff 
)
double my_atof ( const char *  nptr)
size_t my_fcvt ( double  x,
int  precision,
char *  to,
my_bool error 
)
size_t my_gcvt ( double  x,
my_gcvt_arg_type  type,
int  width,
char *  to,
my_bool error 
)
size_t my_snprintf ( char *  to,
size_t  n,
const char *  fmt,
  ... 
)
double my_strtod ( const char *  str,
char **  end,
int *  error 
)
longlong my_strtoll10 ( const char *  nptr,
char **  endptr,
int *  error 
)
size_t my_vsnprintf ( char *  str,
size_t  n,
const char *  format,
va_list  ap 
)
size_t r_strinstr ( const char *  str,
size_t  from,
const char *  search 
)
char* str2int ( const char *  src,
int  radix,
long  lower,
long  upper,
long *  val 
)
void strappend ( char *  s,
size_t  len,
pchar  fill 
)
char* strcend ( const char *  ,
pchar   
)
char* strcont ( const char *  src,
const char *  set 
)
char* strend ( const char *  s)
char* strfield ( char *  src,
int  fields,
int  chars,
int  blanks,
int  tabch 
)
char* strfill ( char *  s,
size_t  len,
pchar  fill 
)
size_t strinstr ( const char *  str,
const char *  search 
)
char* strkey ( char *  dst,
char *  head,
char *  tail,
char *  flags 
)
char* strmake ( char *  dst,
const char *  src,
size_t  length 
)
char* strmov ( char *  dst,
const char *  src 
)
size_t strnlen ( const char *  s,
size_t  n 
)
char* strnmov ( char *  dst,
const char *  src,
size_t  n 
)
char* strpbrk ( const char *  ,
const char *   
)
char* strstr ( const char *  ,
const char *   
)
char* strsuff ( const char *  src,
const char *  suffix 
)
long strtol ( const char *  str,
char **  ptr,
int  base 
)
ulong strtoul ( const char *  str,
char **  ptr,
int  base 
)
char* ullstr ( longlong  value,
char *  buff 
)

变量文档

char NEAR _dig_vec_lower[]
char NEAR _dig_vec_upper[]
void(* my_str_free)(void *)
void*(* my_str_malloc)(size_t)
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义