php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
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 <stdint.h>

Go to the source code of this file.

Macros

#define _WIN32   /* Compatible with old source */
 
#define __WIN32__
 
#define __WIN__   /* To make it easier in VC++ */
 
#define SIZEOF_LONG   4
 
#define SIZEOF_LONG_LONG   8
 
#define sint2korr(A)
 
#define sint3korr(A)
 
#define sint4korr(A)
 
#define uint2korr(A)
 
#define uint3korr(A)
 
#define uint4korr(A)
 
#define uint5korr(A)
 
#define uint8korr(A)
 
#define sint8korr(A)
 
#define int2store(T, A)
 
#define int3store(T, A)
 
#define int4store(T, A)
 
#define int5store(T, A)
 
#define int8store(T, A)
 
#define float8get(V, M)
 
#define float8store(T, V)
 
#define float4get(V, M)
 

Macro Definition Documentation

◆ __WIN32__

#define __WIN32__

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

◆ __WIN__

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

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

◆ _WIN32

#define _WIN32   /* Compatible with old source */

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

◆ float4get

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

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

◆ float8get

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

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

◆ float8store

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

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

◆ int2store

#define int2store ( T,
A )
Value:
*((uint16_t*) (T))= (uint16_t) (A)
#define A(x, l, r)
Definition hash_gost.c:85

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

◆ int3store

#define int3store ( T,
A )
Value:
{ *(T)= (zend_uchar) ((A));\
*(T+1)=(zend_uchar) (((uint32_t) (A) >> 8));\
*(T+2)=(zend_uchar) (((A) >> 16)); }
unsigned char zend_uchar
Definition zend_types.h:57

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

◆ int4store

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

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

◆ int5store

#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 64 of file config-win.h.

◆ int8store

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

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

◆ sint2korr

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

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

◆ sint3korr

#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 40 of file config-win.h.

◆ sint4korr

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

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

◆ sint8korr

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

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

◆ SIZEOF_LONG

#define SIZEOF_LONG   4

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

◆ SIZEOF_LONG_LONG

#define SIZEOF_LONG_LONG   8

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

◆ uint2korr

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

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

◆ uint3korr

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

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

◆ uint4korr

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

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

◆ uint5korr

#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 52 of file config-win.h.

◆ uint8korr

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

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