CMGDK r49-rc2
|
#include <my_config.h>
#include <my_charsets.h>
#include <stdio.h>
#include <stdarg.h>
#include <math.h>
#include <time.h>
#include <errno.h>
#include <assert.h>
#include <my_attribute.h>
#include <my_dbug.h>
宏定义 | |
#define | INNODB_COMPATIBILITY_HOOKS |
#define | C_MODE_START |
#define | C_MODE_END |
#define | STATIC_CAST(TYPE) (TYPE) |
#define | IF_WIN(A, B) (B) |
#define | HAVE_REPLICATION |
#define | HAVE_EXTERNAL_CLIENT |
#define | NETWARE_YIELD |
#define | NETWARE_SET_SCREEN_MODE(A) |
#define | __builtin_expect(x, expected_value) (x) |
#define | likely(x) __builtin_expect(((x) != 0),1) |
#define | unlikely(x) __builtin_expect(((x) != 0),0) |
#define | PREFETCH_READ(addr) |
#define | PREFETCH_READ_LOCALITY(addr, locality) |
#define | PREFETCH_WRITE(addr) |
#define | PREFETCH_WRITE_LOCALITY(addr, locality) |
#define | HOT_METHOD |
#define | HOT_DATA |
#define | inline_test_1(X) X ## 1 |
#define | inline_test_2(X) inline_test_1(X) |
#define | HAVE_INLINE |
#define | STATIC_INLINE static inline |
#define | ALWAYS_INLINE |
#define | NEVER_INLINE |
#define | __EXTENSIONS__ 1 |
#define | __STDC_EXT__ 1 |
#define | compile_time_assert(X) |
#define | USE_MYFUNC 1 |
#define | MASTER 1 |
#define | ENGLISH 1 |
#define | POSIX_MISTAKE 1 |
#define | USE_REGEX 1 |
#define | USE_BMOVE512 1 |
#define | QUOTE_ARG(x) #x |
#define | STRINGIFY_ARG(x) QUOTE_ARG(x) |
#define | DONT_REMEMBER_SIGNAL |
#define | LINT_INIT(var) |
#define | PURIFY_OR_LINT_INIT(var) |
#define | HAVE_UINT |
#define | CMP_NUM(a, b) (((a) < (b)) ? -1 : ((a) == (b)) ? 0 : 1) |
#define | sgn(a) (((a) < 0) ? -1 : ((a) > 0) ? 1 : 0) |
#define | swap_variables(t, a, b) { t swap_dummy; swap_dummy= a; a= b; b= swap_dummy; } |
#define | test(a) ((a) ? 1 : 0) |
#define | set_if_bigger(a, b) do { if ((a) < (b)) (a)=(b); } while(0) |
#define | set_if_smaller(a, b) do { if ((a) > (b)) (a)=(b); } while(0) |
#define | test_all_bits(a, b) (((a) & (b)) == (b)) |
#define | set_bits(type, bit_count) (sizeof(type)*8 <= (bit_count) ? ~(type) 0 : ((((type) 1) << (bit_count)) - (type) 1)) |
#define | array_elements(A) ((uint) (sizeof(A)/sizeof(A[0]))) |
#define | TRUE (1) |
#define | FALSE (0) |
#define | my_reinterpret_cast(A) (A) |
#define | my_const_cast(A) (A) |
#define | _VARARGS(X) X |
#define | _STATIC_VARARGS(X) X |
#define | MIN_ARRAY_SIZE 0 |
#define | ASCII_BITS_USED 8 |
#define | NEAR_F |
#define | INVALID_SOCKET -1 |
#define | sig_handler void |
#define | qsort_t RETQSORTTYPE |
#define | O_SHARE 0 |
#define | O_BINARY 0 |
#define | FILE_BINARY O_BINARY |
#define | O_TEMPORARY 0 |
#define | O_SHORT_LIVED 0 |
#define | O_NOFOLLOW 0 |
#define | UNSINT8 |
#define | UNSINT16 |
#define | UNSINT32 |
#define | FN_LEN 256 |
#define | FN_HEADLEN 253 |
#define | FN_EXTLEN 20 |
#define | FN_REFLEN 512 |
#define | FN_EXTCHAR '.' |
#define | FN_HOMELIB '~' |
#define | FN_CURLIB '.' |
#define | FN_PARENTDIR ".." |
#define | FN_LIBCHAR '/' |
#define | FN_ROOTDIR "/" |
#define | MY_FILE_MIN 0 |
#define | MY_NFILE 64 |
#define | OS_FILE_LIMIT 65535 |
#define | IO_SIZE 4096 |
#define | MALLOC_OVERHEAD 8 |
#define | ONCE_ALLOC_INIT (uint) (4096-MALLOC_OVERHEAD) |
#define | RECORD_CACHE_SIZE (uint) (64*1024-MALLOC_OVERHEAD) |
#define | KEY_CACHE_SIZE (uint) (8*1024*1024-MALLOC_OVERHEAD) |
#define | KEY_CACHE_BLOCK_SIZE (uint) 1024 |
#define | NO_HASH |
#define | closesocket(A) close(A) |
#define | ulonglong2double(A) ((double) (ulonglong) (A)) |
#define | my_off_t2double(A) ((double) (my_off_t) (A)) |
#define | double2ulonglong(A) ((ulonglong) (double) (A)) |
#define | offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) |
#define | ulong_to_double(X) ((double) (ulong) (X)) |
#define | SET_STACK_SIZE(X) |
#define | INT_MIN32 (~0x7FFFFFFFL) |
#define | INT_MAX32 0x7FFFFFFFL |
#define | UINT_MAX32 0xFFFFFFFFL |
#define | INT_MIN24 (~0x007FFFFF) |
#define | INT_MAX24 0x007FFFFF |
#define | UINT_MAX24 0x00FFFFFF |
#define | INT_MIN16 (~0x7FFF) |
#define | INT_MAX16 0x7FFF |
#define | UINT_MAX16 0xFFFF |
#define | INT_MIN8 (~0x7F) |
#define | INT_MAX8 0x7F |
#define | UINT_MAX8 0xFF |
#define | DBL_MIN 4.94065645841246544e-324 |
#define | FLT_MIN ((float)1.40129846432481707e-45) |
#define | DBL_MAX 1.79769313486231470e+308 |
#define | FLT_MAX ((float)3.40282346638528860e+38) |
#define | SIZE_T_MAX ~((size_t) 0) |
#define | finite(x) (1.0 / fabs(x) > 0.0) |
#define | isnan(x) ((x) != (x)) |
#define | my_isinf(X) (!finite(X) && !isnan(X)) |
#define | M_PI 3.14159265358979323846 |
#define | M_E 2.7182818284590452354 |
#define | M_LN2 0.69314718055994530942 |
#define | MY_ALIGN(A, L) (((A) + (L) - 1) & ~((L) - 1)) |
#define | ALIGN_SIZE(A) MY_ALIGN((A),sizeof(double)) |
#define | ALIGN_PTR(A, t) ((t*) MY_ALIGN((A),sizeof(t))) |
#define | OFFSET(t, f) ((size_t)(char *)&((t *)0)->f) |
#define | ADD_TO_PTR(ptr, size, type) (type) ((uchar*) (ptr)+size) |
#define | PTR_BYTE_DIFF(A, B) (my_ptrdiff_t) ((uchar*) (A) - (uchar*) (B)) |
#define | MY_DIV_UP(A, B) (((A) + (B) - 1) / (B)) |
#define | MY_ALIGNED_BYTE_ARRAY(N, S, T) T N[MY_DIV_UP(S, sizeof(T))] |
#define | my_offsetof(TYPE, MEMBER) ((size_t)((char *)&(((TYPE *)0x10)->MEMBER) - (char*)0x10)) |
#define | NullS STATIC_CAST(char *)(0) |
#define | NEAR |
#define | FAR |
#define | HUGE_PTR |
#define | STDCALL |
#define | MY_ERRPTR ((void*)(intptr)1) |
#define | SYSTEM_SIZEOF_OFF_T SIZEOF_OFF_T |
#define | MY_FILEPOS_ERROR (~STATIC_CAST(my_off_t)(0)) |
#define | socket_errno errno |
#define | closesocket(A) close(A) |
#define | SOCKET_EINTR EINTR |
#define | SOCKET_EAGAIN EAGAIN |
#define | SOCKET_ETIMEDOUT SOCKET_EINTR |
#define | SOCKET_EWOULDBLOCK EWOULDBLOCK |
#define | SOCKET_EADDRINUSE EADDRINUSE |
#define | SOCKET_ENFILE ENFILE |
#define | SOCKET_EMFILE EMFILE |
#define | INT8(v) (int8) (v) |
#define | INT16(v) (int16) (v) |
#define | INT32(v) (int32) (v) |
#define | MYF(v) STATIC_CAST(myf)(v) |
#define | reg1 register |
#define | reg2 register |
#define | reg3 register |
#define | reg4 register |
#define | reg5 register |
#define | reg6 register |
#define | reg7 register |
#define | reg8 register |
#define | reg9 register |
#define | reg10 register |
#define | reg11 register |
#define | reg12 register |
#define | reg13 register |
#define | reg14 register |
#define | reg15 register |
#define | reg16 register |
#define | dbug_volatile volatile |
#define | YESNO(X) ((X) ? "yes" : "no") |
#define | SCALE_SEC 100 |
#define | SCALE_USEC 10000 |
#define | MY_HOW_OFTEN_TO_ALARM 2 |
#define | MY_HOW_OFTEN_TO_WRITE 10000 |
#define | sint2korr(A) |
#define | sint3korr(A) |
#define | sint4korr(A) |
#define | sint8korr(A) (longlong) uint8korr(A) |
#define | uint2korr(A) |
#define | uint3korr(A) |
#define | uint4korr(A) |
#define | uint5korr(A) |
#define | uint6korr(A) |
#define | uint8korr(A) |
#define | int2store(T, A) |
#define | int3store(T, A) |
#define | int4store(T, A) |
#define | int5store(T, A) |
#define | int6store(T, A) |
#define | int8store(T, A) |
#define | float4get(V, M) memcpy_fixed((uchar*) &V,(uchar*) (M),sizeof(float)) |
#define | float4store(V, M) memcpy_fixed((uchar*) V,(uchar*) (&M),sizeof(float)) |
#define | float8get(V, M) doubleget((V),(M)) |
#define | float8store(V, M) doublestore((V),(M)) |
#define | int4net(A) |
#define | ushortget(V, M) do { V = uint2korr(M); } while(0) |
#define | shortget(V, M) do { V = sint2korr(M); } while(0) |
#define | longget(V, M) do { V = sint4korr(M); } while(0) |
#define | ulongget(V, M) do { V = uint4korr(M); } while(0) |
#define | shortstore(T, V) int2store(T,V) |
#define | longstore(T, V) int4store(T,V) |
#define | floatstore(T, V) memcpy_fixed((uchar*) (T),(uchar*) (&V),sizeof(float)) |
#define | floatget(V, M) memcpy_fixed((uchar*) &V, (uchar*) (M), sizeof(float)) |
#define | doubleget(V, M) memcpy_fixed((uchar*) &V,(uchar*) (M),sizeof(double)) |
#define | doublestore(T, V) memcpy_fixed((uchar*) (T),(uchar*) &V,sizeof(double)) |
#define | longlongget(V, M) memcpy_fixed((uchar*) &V,(uchar*) (M),sizeof(ulonglong)) |
#define | longlongstore(T, V) memcpy_fixed((uchar*) (T),(uchar*) &V,sizeof(ulonglong)) |
#define | my_sprintf(buff, args) ((ulong) sprintf args, (ulong) strlen(buff)) |
#define | thread_safe_increment(V, L) (V)++ |
#define | thread_safe_decrement(V, L) (V)-- |
#define | thread_safe_add(V, C, L) (V)+=(C) |
#define | thread_safe_sub(V, C, L) (V)-=(C) |
#define | statistic_increment(V, L) (V)++ |
#define | statistic_decrement(V, L) (V)-- |
#define | statistic_add(V, C, L) (V)+=(C) |
#define | statistic_sub(V, C, L) (V)-=(C) |
#define | MYSQL_UNIVERSAL_CLIENT_CHARSET MYSQL_DEFAULT_CHARSET_NAME |
#define | RTLD_NOW 1 |
#define | dlerror() "" |
#define | MY_INT32_NUM_DECIMAL_DIGITS 11 |
#define | MY_INT64_NUM_DECIMAL_DIGITS 21 |
#define | max(a, b) ((a) > (b) ? (a) : (b)) |
#define | min(a, b) ((a) < (b) ? (a) : (b)) |
#define | WT_RWLOCKS_USE_MUTEXES 1 |
#define | bool In_C_you_should_use_my_bool_instead() |
#define | __func__ "<unknown>" |
#define | MAX_EXACT_INTEGER ((1LL << DBL_MANT_DIG) - 1) |
#define | MYSQL_PLUGIN_IMPORT |
类型定义 | |
typedef unsigned int | uint |
typedef unsigned short | ushort |
typedef char | my_bool |
typedef int | File |
typedef int | my_socket |
typedef uint | puchar |
typedef int | pbool |
typedef int | pshort |
typedef double | pfloat |
typedef int(* | qsort_cmp2 )(void *, const void *, const void *) |
typedef long long | my_ptrdiff_t |
typedef unsigned char | uchar |
typedef signed char | int8 |
typedef unsigned char | uint8 |
typedef short | int16 |
typedef unsigned short | uint16 |
typedef unsigned long | ulong |
typedef unsigned long | ulonglong |
typedef long | longlong |
typedef longlong | int64 |
typedef ulonglong | uint64 |
typedef unsigned long long | my_ulonglong |
typedef int | intptr |
typedef unsigned long | my_off_t |
typedef off_t | os_off_t |
typedef uint8 | int7 |
typedef short | int15 |
typedef int | myf |
函数 | |
char * | strtok_r (char *str, const char *delim, char **saveptr) |
变量 | |
C_MODE_START typedef void(* | sig_return )() |
C_MODE_END typedef int | pchar |
C_MODE_START typedef int(* | qsort_cmp )(const void *, const void *) |
#define __EXTENSIONS__ 1 |
#define __func__ "<unknown>" |
#define __STDC_EXT__ 1 |
#define _STATIC_VARARGS | ( | X | ) | X |
#define _VARARGS | ( | X | ) | X |
#define ALIGN_SIZE | ( | A | ) | MY_ALIGN((A),sizeof(double)) |
#define ALWAYS_INLINE |
#define array_elements | ( | A | ) | ((uint) (sizeof(A)/sizeof(A[0]))) |
#define ASCII_BITS_USED 8 |
#define bool In_C_you_should_use_my_bool_instead() |
#define C_MODE_END |
#define C_MODE_START |
#define closesocket | ( | A | ) | close(A) |
#define closesocket | ( | A | ) | close(A) |
#define compile_time_assert | ( | X | ) |
do \ { \ typedef char compile_time_assert[(X) ? 1 : -1]; \ } while(0)
#define DBL_MAX 1.79769313486231470e+308 |
#define DBL_MIN 4.94065645841246544e-324 |
#define dbug_volatile volatile |
#define dlerror | ( | ) | "" |
#define DONT_REMEMBER_SIGNAL |
#define double2ulonglong | ( | A | ) | ((ulonglong) (double) (A)) |
#define ENGLISH 1 |
#define FALSE (0) |
#define FAR |
#define FILE_BINARY O_BINARY |
#define float8get | ( | V, | |
M | |||
) | doubleget((V),(M)) |
#define float8store | ( | V, | |
M | |||
) | doublestore((V),(M)) |
#define FLT_MAX ((float)3.40282346638528860e+38) |
#define FLT_MIN ((float)1.40129846432481707e-45) |
#define FN_CURLIB '.' |
#define FN_EXTCHAR '.' |
#define FN_EXTLEN 20 |
#define FN_HEADLEN 253 |
#define FN_HOMELIB '~' |
#define FN_LEN 256 |
#define FN_LIBCHAR '/' |
#define FN_PARENTDIR ".." |
#define FN_REFLEN 512 |
#define FN_ROOTDIR "/" |
#define HAVE_EXTERNAL_CLIENT |
#define HAVE_INLINE |
#define HAVE_REPLICATION |
#define HAVE_UINT |
#define HOT_DATA |
#define HOT_METHOD |
#define HUGE_PTR |
#define IF_WIN | ( | A, | |
B | |||
) | (B) |
#define inline_test_1 | ( | X | ) | X ## 1 |
#define inline_test_2 | ( | X | ) | inline_test_1(X) |
#define INNODB_COMPATIBILITY_HOOKS |
#define int2store | ( | T, | |
A | |||
) |
#define int3store | ( | T, | |
A | |||
) |
#define int4net | ( | A | ) |
#define int4store | ( | T, | |
A | |||
) |
do { *((char *)(T))=(char) ((A));\ *(((char *)(T))+1)=(char) (((A) >> 8));\ *(((char *)(T))+2)=(char) (((A) >> 16));\ *(((char *)(T))+3)=(char) (((A) >> 24)); } while(0)
#define int5store | ( | T, | |
A | |||
) |
do { *((char *)(T))= (char)((A)); \ *(((char *)(T))+1)= (char)(((A) >> 8)); \ *(((char *)(T))+2)= (char)(((A) >> 16)); \ *(((char *)(T))+3)= (char)(((A) >> 24)); \ *(((char *)(T))+4)= (char)(((A) >> 32)); \ } while(0)
#define int6store | ( | T, | |
A | |||
) |
do { *((char *)(T))= (char)((A)); \ *(((char *)(T))+1)= (char)(((A) >> 8)); \ *(((char *)(T))+2)= (char)(((A) >> 16)); \ *(((char *)(T))+3)= (char)(((A) >> 24)); \ *(((char *)(T))+4)= (char)(((A) >> 32)); \ *(((char *)(T))+5)= (char)(((A) >> 40)); \ } while(0)
#define int8store | ( | T, | |
A | |||
) |
#define INT_MAX16 0x7FFF |
#define INT_MAX24 0x007FFFFF |
#define INT_MAX32 0x7FFFFFFFL |
#define INT_MAX8 0x7F |
#define INT_MIN16 (~0x7FFF) |
#define INT_MIN24 (~0x007FFFFF) |
#define INT_MIN32 (~0x7FFFFFFFL) |
#define INT_MIN8 (~0x7F) |
#define INVALID_SOCKET -1 |
#define IO_SIZE 4096 |
#define KEY_CACHE_BLOCK_SIZE (uint) 1024 |
#define KEY_CACHE_SIZE (uint) (8*1024*1024-MALLOC_OVERHEAD) |
The semantics of builtin_expect() are that 1) its two arguments are long 2) it's likely that they are == Those of our likely(x) are that x can be bool/int/longlong/pointer.
#define LINT_INIT | ( | var | ) |
#define longget | ( | V, | |
M | |||
) | do { V = sint4korr(M); } while(0) |
#define longstore | ( | T, | |
V | |||
) | int4store(T,V) |
#define M_E 2.7182818284590452354 |
#define M_LN2 0.69314718055994530942 |
#define M_PI 3.14159265358979323846 |
#define MALLOC_OVERHEAD 8 |
#define MASTER 1 |
#define MAX_EXACT_INTEGER ((1LL << DBL_MANT_DIG) - 1) |
All integers up to this number can be represented exactly as double precision values (DBL_MANT_DIG == 53 for IEEE 754 hardware).
#define MIN_ARRAY_SIZE 0 |
#define MY_ALIGN | ( | A, | |
L | |||
) | (((A) + (L) - 1) & ~((L) - 1)) |
#define MY_ALIGNED_BYTE_ARRAY | ( | N, | |
S, | |||
T | |||
) | T N[MY_DIV_UP(S, sizeof(T))] |
#define my_const_cast | ( | A | ) | (A) |
#define MY_DIV_UP | ( | A, | |
B | |||
) | (((A) + (B) - 1) / (B)) |
#define MY_ERRPTR ((void*)(intptr)1) |
#define MY_FILE_MIN 0 |
#define MY_FILEPOS_ERROR (~STATIC_CAST(my_off_t)(0)) |
#define MY_HOW_OFTEN_TO_ALARM 2 |
#define MY_HOW_OFTEN_TO_WRITE 10000 |
#define MY_INT32_NUM_DECIMAL_DIGITS 11 |
#define MY_INT64_NUM_DECIMAL_DIGITS 21 |
#define my_isinf | ( | X | ) | (!finite(X) && !isnan(X)) |
#define MY_NFILE 64 |
#define my_off_t2double | ( | A | ) | ((double) (my_off_t) (A)) |
#define my_offsetof | ( | TYPE, | |
MEMBER | |||
) | ((size_t)((char *)&(((TYPE *)0x10)->MEMBER) - (char*)0x10)) |
#define my_reinterpret_cast | ( | A | ) | (A) |
#define MYSQL_PLUGIN_IMPORT |
#define MYSQL_UNIVERSAL_CLIENT_CHARSET MYSQL_DEFAULT_CHARSET_NAME |
#define NEAR |
#define NEAR_F |
#define NETWARE_SET_SCREEN_MODE | ( | A | ) |
#define NETWARE_YIELD |
#define NEVER_INLINE |
#define NO_HASH |
#define NullS STATIC_CAST(char *)(0) |
#define O_BINARY 0 |
#define O_NOFOLLOW 0 |
#define O_SHARE 0 |
#define O_SHORT_LIVED 0 |
#define O_TEMPORARY 0 |
#define offsetof | ( | TYPE, | |
MEMBER | |||
) | ((size_t) &((TYPE *)0)->MEMBER) |
#define ONCE_ALLOC_INIT (uint) (4096-MALLOC_OVERHEAD) |
#define OS_FILE_LIMIT 65535 |
#define POSIX_MISTAKE 1 |
#define PREFETCH_READ | ( | addr | ) |
#define PREFETCH_READ_LOCALITY | ( | addr, | |
locality | |||
) |
#define PREFETCH_WRITE | ( | addr | ) |
#define PREFETCH_WRITE_LOCALITY | ( | addr, | |
locality | |||
) |
#define PTR_BYTE_DIFF | ( | A, | |
B | |||
) | (my_ptrdiff_t) ((uchar*) (A) - (uchar*) (B)) |
#define PURIFY_OR_LINT_INIT | ( | var | ) |
#define qsort_t RETQSORTTYPE |
#define RECORD_CACHE_SIZE (uint) (64*1024-MALLOC_OVERHEAD) |
#define reg1 register |
#define reg10 register |
#define reg11 register |
#define reg12 register |
#define reg13 register |
#define reg14 register |
#define reg15 register |
#define reg16 register |
#define reg2 register |
#define reg3 register |
#define reg4 register |
#define reg5 register |
#define reg6 register |
#define reg7 register |
#define reg8 register |
#define reg9 register |
#define RTLD_NOW 1 |
#define SCALE_SEC 100 |
#define SCALE_USEC 10000 |
#define set_bits | ( | type, | |
bit_count | |||
) | (sizeof(type)*8 <= (bit_count) ? ~(type) 0 : ((((type) 1) << (bit_count)) - (type) 1)) |
#define SET_STACK_SIZE | ( | X | ) |
#define shortget | ( | V, | |
M | |||
) | do { V = sint2korr(M); } while(0) |
#define shortstore | ( | T, | |
V | |||
) | int2store(T,V) |
#define sig_handler void |
#define sint3korr | ( | A | ) |
#define sint4korr | ( | A | ) |
#define sint8korr | ( | A | ) | (longlong) uint8korr(A) |
#define SIZE_T_MAX ~((size_t) 0) |
#define SOCKET_EADDRINUSE EADDRINUSE |
#define SOCKET_EAGAIN EAGAIN |
#define SOCKET_EINTR EINTR |
#define SOCKET_EMFILE EMFILE |
#define SOCKET_ENFILE ENFILE |
#define socket_errno errno |
#define SOCKET_ETIMEDOUT SOCKET_EINTR |
#define SOCKET_EWOULDBLOCK EWOULDBLOCK |
#define STATIC_CAST | ( | TYPE | ) | (TYPE) |
#define STATIC_INLINE static inline |
#define statistic_add | ( | V, | |
C, | |||
L | |||
) | (V)+=(C) |
#define statistic_decrement | ( | V, | |
L | |||
) | (V)-- |
#define statistic_increment | ( | V, | |
L | |||
) | (V)++ |
#define statistic_sub | ( | V, | |
C, | |||
L | |||
) | (V)-=(C) |
#define STDCALL |
#define SYSTEM_SIZEOF_OFF_T SIZEOF_OFF_T |
#define thread_safe_add | ( | V, | |
C, | |||
L | |||
) | (V)+=(C) |
#define thread_safe_decrement | ( | V, | |
L | |||
) | (V)-- |
#define thread_safe_increment | ( | V, | |
L | |||
) | (V)++ |
#define thread_safe_sub | ( | V, | |
C, | |||
L | |||
) | (V)-=(C) |
#define TRUE (1) |
#define uint3korr | ( | A | ) |
#define uint4korr | ( | A | ) |
#define uint5korr | ( | A | ) |
#define uint6korr | ( | A | ) |
#define uint8korr | ( | A | ) |
((ulonglong)(((uint32) ((uchar) (A)[0])) +\ (((uint32) ((uchar) (A)[1])) << 8) +\ (((uint32) ((uchar) (A)[2])) << 16) +\ (((uint32) ((uchar) (A)[3])) << 24)) +\ (((ulonglong) (((uint32) ((uchar) (A)[4])) +\ (((uint32) ((uchar) (A)[5])) << 8) +\ (((uint32) ((uchar) (A)[6])) << 16) +\ (((uint32) ((uchar) (A)[7])) << 24))) <<\ 32))
#define UINT_MAX16 0xFFFF |
#define UINT_MAX24 0x00FFFFFF |
#define UINT_MAX32 0xFFFFFFFFL |
#define UINT_MAX8 0xFF |
#define ulong_to_double | ( | X | ) | ((double) (ulong) (X)) |
#define ulongget | ( | V, | |
M | |||
) | do { V = uint4korr(M); } while(0) |
#define ulonglong2double | ( | A | ) | ((double) (ulonglong) (A)) |
#define UNSINT16 |
#define UNSINT32 |
#define UNSINT8 |
#define USE_BMOVE512 1 |
#define USE_MYFUNC 1 |
#define USE_REGEX 1 |
#define ushortget | ( | V, | |
M | |||
) | do { V = uint2korr(M); } while(0) |
#define WT_RWLOCKS_USE_MUTEXES 1 |
#define YESNO | ( | X | ) | ((X) ? "yes" : "no") |
typedef int File |
typedef short int15 |
typedef short int16 |
typedef signed char int8 |
typedef int intptr |
typedef long longlong |
typedef char my_bool |
typedef unsigned long my_off_t |
typedef long long my_ptrdiff_t |
typedef int my_socket |
typedef unsigned long long my_ulonglong |
typedef int myf |
typedef int pbool |
typedef double pfloat |
typedef int pshort |
typedef int(* qsort_cmp2)(void *, const void *, const void *) |
typedef unsigned char uchar |
typedef unsigned int uint |
typedef unsigned short uint16 |
typedef unsigned char uint8 |
typedef unsigned long ulong |
typedef unsigned long ulonglong |
typedef unsigned short ushort |
char* strtok_r | ( | char * | str, |
const char * | delim, | ||
char ** | saveptr | ||
) | [inline] |
C_MODE_END typedef int pchar |
C_MODE_START typedef int(* qsort_cmp)(const void *, const void *) |
C_MODE_START typedef void(* sig_return)() |