Back to index

php5  5.3.10
Defines
config-win.h File Reference
#include <sys/locking.h>
#include <windows.h>
#include <math.h>
#include <fcntl.h>
#include <io.h>
#include <malloc.h>
#include <win32/php_stdint.h>

Go to the source code of this file.

Defines

#define HAVE_INT8_T
#define HAVE_UINT8_T
#define HAVE_INT16_T
#define HAVE_UINT16_T
#define HAVE_INT32_T
#define HAVE_UINT32_T
#define HAVE_INT64_T
#define HAVE_UINT64_T
#define _WIN32   /* Compatible with old source */
#define __WIN32__
#define __WIN__   /* To make it easier in VC++ */
#define SIZEOF_CHAR   1
#define SIZEOF_LONG   4
#define SIZEOF_LONG_LONG   8
#define sint2korr(A)   (*((int16_t *) (A)))
#define sint3korr(A)
#define sint4korr(A)   (*((int32_t *) (A)))
#define uint2korr(A)   (*((uint16_t *) (A)))
#define uint3korr(A)   (int32_t) (*((uint32_t *) (A)) & 0xFFFFFF)
#define uint4korr(A)   (*((uint32_t *) (A)))
#define uint5korr(A)
#define uint8korr(A)   (*((uint64_t *) (A)))
#define sint8korr(A)   (*((int64_t *) (A)))
#define int2store(T, A)   *((uint16_t*) (T))= (uint16_t) (A)
#define int3store(T, A)
#define int4store(T, A)   *((int32_t *) (T))= (int32_t) (A)
#define int5store(T, A)
#define int8store(T, A)   *((uint64_t *) (T))= (uint64_t) (A)
#define float8get(V, M)
#define float8store(T, V)
#define float4get(V, M)   { *((int32_t *) &(V)) = *((int32_t*) (M)); }

Define Documentation

#define __WIN32__

Definition at line 49 of file config-win.h.

#define __WIN__   /* To make it easier in VC++ */

Definition at line 53 of file config-win.h.

#define _WIN32   /* Compatible with old source */

Definition at line 46 of file config-win.h.

#define float4get (   V,
  M 
)    { *((int32_t *) &(V)) = *((int32_t*) (M)); }

Definition at line 102 of file config-win.h.

#define float8get (   V,
  M 
)
Value:
{      *((int32_t *) &V) = *((int32_t*) M); \
                                                 *(((int32_t *) &V)+1) = *(((int32_t*) M)+1); }

Definition at line 98 of file config-win.h.

#define float8store (   T,
 
)
Value:
{      *((int32_t *) T) = *((int32_t*) &V); \
                                                 *(((int32_t *) T)+1) = *(((int32_t*) &V)+1); }

Definition at line 100 of file config-win.h.

#define HAVE_INT16_T

Definition at line 25 of file config-win.h.

#define HAVE_INT32_T

Definition at line 31 of file config-win.h.

#define HAVE_INT64_T

Definition at line 37 of file config-win.h.

#define HAVE_INT8_T

Definition at line 19 of file config-win.h.

#define HAVE_UINT16_T

Definition at line 28 of file config-win.h.

#define HAVE_UINT32_T

Definition at line 34 of file config-win.h.

#define HAVE_UINT64_T

Definition at line 40 of file config-win.h.

#define HAVE_UINT8_T

Definition at line 22 of file config-win.h.

#define int2store (   T,
  A 
)    *((uint16_t*) (T))= (uint16_t) (A)

Definition at line 86 of file config-win.h.

#define int3store (   T,
  A 
)
Value:
{      *(T)=  (zend_uchar) ((A));\
                                                        *(T+1)=(zend_uchar) (((uint32_t) (A) >> 8));\
                                                        *(T+2)=(zend_uchar) (((A) >> 16)); }

Definition at line 87 of file config-win.h.

#define int4store (   T,
  A 
)    *((int32_t *) (T))= (int32_t) (A)

Definition at line 90 of file config-win.h.

#define int5store (   T,
  A 
)
Value:
{      *(T)= (zend_uchar)((A));\
                                                 *((T)+1)=(zend_uchar) (((A) >> 8));\
                                                 *((T)+2)=(zend_uchar) (((A) >> 16));\
                                                 *((T)+3)=(zend_uchar) (((A) >> 24)); \
                                                 *((T)+4)=(zend_uchar) (((A) >> 32)); }

Definition at line 91 of file config-win.h.

#define int8store (   T,
  A 
)    *((uint64_t *) (T))= (uint64_t) (A)

Definition at line 96 of file config-win.h.

#define sint2korr (   A)    (*((int16_t *) (A)))

Definition at line 66 of file config-win.h.

#define sint3korr (   A)
Value:
((int32_t) ((((zend_uchar) (A)[2]) & 128) ? \
                                                                      (((uint32_t) 255L << 24) | \
                                                                      (((uint32_t) (zend_uchar) (A)[2]) << 16) |\
                                                                      (((uint32_t) (zend_uchar) (A)[1]) << 8) | \
                                                                      ((uint32_t) (zend_uchar) (A)[0])) : \
                                                                      (((uint32_t) (zend_uchar) (A)[2]) << 16) |\
                                                                      (((uint32_t) (zend_uchar) (A)[1]) << 8) | \
                                                                      ((uint32_t) (zend_uchar) (A)[0])))

Definition at line 67 of file config-win.h.

#define sint4korr (   A)    (*((int32_t *) (A)))

Definition at line 75 of file config-win.h.

#define sint8korr (   A)    (*((int64_t *) (A)))

Definition at line 85 of file config-win.h.

#define SIZEOF_CHAR   1

Definition at line 58 of file config-win.h.

#define SIZEOF_LONG   4

Definition at line 59 of file config-win.h.

#define SIZEOF_LONG_LONG   8

Definition at line 60 of file config-win.h.

#define uint2korr (   A)    (*((uint16_t *) (A)))

Definition at line 76 of file config-win.h.

#define uint3korr (   A)    (int32_t) (*((uint32_t *) (A)) & 0xFFFFFF)

Definition at line 77 of file config-win.h.

#define uint4korr (   A)    (*((uint32_t *) (A)))

Definition at line 78 of file config-win.h.

#define uint5korr (   A)
Value:
((uint64_t)(((uint32_t) ((zend_uchar) (A)[0])) +\
                                                               (((uint32_t) ((zend_uchar) (A)[1])) << 8) +\
                                                               (((uint32_t) ((zend_uchar) (A)[2])) << 16) +\
                                                               (((uint32_t) ((zend_uchar) (A)[3])) << 24)) +\
                                                               (((uint64_t) ((zend_uchar) (A)[4])) << 32))

Definition at line 79 of file config-win.h.

#define uint8korr (   A)    (*((uint64_t *) (A)))

Definition at line 84 of file config-win.h.