ReactOS  0.4.13-dev-73-gcfe54aa
largeint.h File Reference
#include <windows.h>
Include dependency graph for largeint.h:

Go to the source code of this file.

Macros

#define LargeIntegerAdd(a, b)   (LARGE_INTEGER)(_toi(a) + _toi(b))
 
#define LargeIntegerSubtract(a, b)   (LARGE_INTEGER)(_toi(a) - _toi(b))
 
#define LargeIntegerRightShift(i, n)   (LARGE_INTEGER)(_toi(i) >> (n))
 
#define LargeIntegerArithmeticShift   LargeIntegerRightShift
 
#define LargeIntegerLeftShift(i, n)   (LARGE_INTEGER)(_toi(i) << (n))
 
#define LargeIntegerNegate(i)   (LARGE_INTEGER)(- _toi(i))
 
#define EnlargedIntegerMultiply(a, b)   (LARGE_INTEGER)(_toi(a) * _toi(b))
 
#define EnlargedUnsignedMultiply(a, b)   (LARGE_INTEGER)(_toui(a) * _toui(b))
 
#define ExtendedIntegerMultiply(a, b)   (LARGE_INTEGER)(_toi(a) * _toi(b))
 
#define LargeIntegerMultiply(a, b)   (LARGE_INTEGER)(_toi(a) * _toi(b))
 
#define ConvertLongToLargeInteger(l)   (LARGE_INTEGER)(_toi(l))
 
#define ConvertUlongToLargeInteger(ul)   (LARGE_INTEGER)(_toui(ul))
 
#define LargeIntegerAnd(dest, src, m)
 
#define LargeIntegerGreaterThan(a, b)   (_toi(a) > _toi(b))
 
#define LargeIntegerGreaterThanOrEqual(a, b)   (_toi(a) >= _toi(b))
 
#define LargeIntegerEqualTo(a, b)   (_toi(a) == _toi(b))
 
#define LargeIntegerNotEqualTo(a, b)   (_toi(a) != _toi(b))
 
#define LargeIntegerLessThan(a, b)   (_toi(a) < _toi(b))
 
#define LargeIntegerLessThanOrEqualTo(a, b)   (_toi(a) <= _toi(b))
 
#define LargeIntegerGreaterThanZero(a)   (_toi(a) > 0)
 
#define LargeIntegerGreaterOrEqualToZero(a)   ((a)._STRUCT_NAME(u.)HighPart > 0)
 
#define LargeIntegerEqualToZero(a)   !((a)._STRUCT_NAME(u.)LowPart | (a)._STRUCT_NAME(u.)HighPart)
 
#define LargeIntegerNotEqualToZero(a)   ((a)._STRUCT_NAME(u.)LowPart | (a)._STRUCT_NAME(u.)HighPart)
 
#define LargeIntegerLessThanZero(a)   ((a)._STRUCT_NAME(u.)HighPart < 0)
 
#define LargeIntegerLessOrEqualToZero(a)   (_toi(a) <= 0)
 

Functions

LARGE_INTEGER WINAPI LargeIntegerDivide (LARGE_INTEGER, LARGE_INTEGER, PLARGE_INTEGER)
 
ULONG WINAPI EnlargedUnsignedDivide (ULARGE_INTEGER, ULONG, PULONG)
 
LARGE_INTEGER WINAPI ExtendedLargeIntegerDivide (LARGE_INTEGER, ULONG, PULONG)
 
LARGE_INTEGER WINAPI ExtendedMagicDivide (LARGE_INTEGER, LARGE_INTEGER, int)
 

Macro Definition Documentation

◆ ConvertLongToLargeInteger

#define ConvertLongToLargeInteger (   l)    (LARGE_INTEGER)(_toi(l))

Definition at line 67 of file largeint.h.

◆ ConvertUlongToLargeInteger

#define ConvertUlongToLargeInteger (   ul)    (LARGE_INTEGER)(_toui(ul))

Definition at line 68 of file largeint.h.

◆ EnlargedIntegerMultiply

#define EnlargedIntegerMultiply (   a,
  b 
)    (LARGE_INTEGER)(_toi(a) * _toi(b))

Definition at line 62 of file largeint.h.

◆ EnlargedUnsignedMultiply

#define EnlargedUnsignedMultiply (   a,
  b 
)    (LARGE_INTEGER)(_toui(a) * _toui(b))

Definition at line 63 of file largeint.h.

◆ ExtendedIntegerMultiply

#define ExtendedIntegerMultiply (   a,
  b 
)    (LARGE_INTEGER)(_toi(a) * _toi(b))

Definition at line 64 of file largeint.h.

◆ LargeIntegerAdd

#define LargeIntegerAdd (   a,
  b 
)    (LARGE_INTEGER)(_toi(a) + _toi(b))

Definition at line 56 of file largeint.h.

◆ LargeIntegerAnd

#define LargeIntegerAnd (   dest,
  src,
  m 
)
Value:
{ \
dest._STRUCT_NAME(u.)LowPart = s._STRUCT_NAME(u.)LowPart & m._STRUCT_NAME(u.)LowPart; \
dest._STRUCT_NAME(u.)HighPart = s._STRUCT_NAME(u.)HighPart & m._STRUCT_NAME(u.)HighPart; \
}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
Definition: glfuncs.h:240
const GLfloat * m
Definition: glext.h:10848
GLdouble s
Definition: gl.h:2039

Definition at line 80 of file largeint.h.

◆ LargeIntegerArithmeticShift

#define LargeIntegerArithmeticShift   LargeIntegerRightShift

Definition at line 59 of file largeint.h.

◆ LargeIntegerEqualTo

#define LargeIntegerEqualTo (   a,
  b 
)    (_toi(a) == _toi(b))

Definition at line 89 of file largeint.h.

◆ LargeIntegerEqualToZero

#define LargeIntegerEqualToZero (   a)    !((a)._STRUCT_NAME(u.)LowPart | (a)._STRUCT_NAME(u.)HighPart)

Definition at line 95 of file largeint.h.

◆ LargeIntegerGreaterOrEqualToZero

#define LargeIntegerGreaterOrEqualToZero (   a)    ((a)._STRUCT_NAME(u.)HighPart > 0)

Definition at line 94 of file largeint.h.

◆ LargeIntegerGreaterThan

#define LargeIntegerGreaterThan (   a,
  b 
)    (_toi(a) > _toi(b))

Definition at line 87 of file largeint.h.

◆ LargeIntegerGreaterThanOrEqual

#define LargeIntegerGreaterThanOrEqual (   a,
  b 
)    (_toi(a) >= _toi(b))

Definition at line 88 of file largeint.h.

◆ LargeIntegerGreaterThanZero

#define LargeIntegerGreaterThanZero (   a)    (_toi(a) > 0)

Definition at line 93 of file largeint.h.

◆ LargeIntegerLeftShift

#define LargeIntegerLeftShift (   i,
  n 
)    (LARGE_INTEGER)(_toi(i) << (n))

Definition at line 60 of file largeint.h.

◆ LargeIntegerLessOrEqualToZero

#define LargeIntegerLessOrEqualToZero (   a)    (_toi(a) <= 0)

Definition at line 98 of file largeint.h.

◆ LargeIntegerLessThan

#define LargeIntegerLessThan (   a,
  b 
)    (_toi(a) < _toi(b))

Definition at line 91 of file largeint.h.

◆ LargeIntegerLessThanOrEqualTo

#define LargeIntegerLessThanOrEqualTo (   a,
  b 
)    (_toi(a) <= _toi(b))

Definition at line 92 of file largeint.h.

◆ LargeIntegerLessThanZero

#define LargeIntegerLessThanZero (   a)    ((a)._STRUCT_NAME(u.)HighPart < 0)

Definition at line 97 of file largeint.h.

◆ LargeIntegerMultiply

#define LargeIntegerMultiply (   a,
  b 
)    (LARGE_INTEGER)(_toi(a) * _toi(b))

Definition at line 66 of file largeint.h.

◆ LargeIntegerNegate

#define LargeIntegerNegate (   i)    (LARGE_INTEGER)(- _toi(i))

Definition at line 61 of file largeint.h.

◆ LargeIntegerNotEqualTo

#define LargeIntegerNotEqualTo (   a,
  b 
)    (_toi(a) != _toi(b))

Definition at line 90 of file largeint.h.

◆ LargeIntegerNotEqualToZero

#define LargeIntegerNotEqualToZero (   a)    ((a)._STRUCT_NAME(u.)LowPart | (a)._STRUCT_NAME(u.)HighPart)

Definition at line 96 of file largeint.h.

◆ LargeIntegerRightShift

#define LargeIntegerRightShift (   i,
  n 
)    (LARGE_INTEGER)(_toi(i) >> (n))

Definition at line 58 of file largeint.h.

◆ LargeIntegerSubtract

#define LargeIntegerSubtract (   a,
  b 
)    (LARGE_INTEGER)(_toi(a) - _toi(b))

Definition at line 57 of file largeint.h.

Function Documentation

◆ EnlargedUnsignedDivide()

ULONG WINAPI EnlargedUnsignedDivide ( ULARGE_INTEGER  ,
ULONG  ,
PULONG   
)

◆ ExtendedLargeIntegerDivide()

LARGE_INTEGER WINAPI ExtendedLargeIntegerDivide ( LARGE_INTEGER  ,
ULONG  ,
PULONG   
)

◆ ExtendedMagicDivide()

LARGE_INTEGER WINAPI ExtendedMagicDivide ( LARGE_INTEGER  ,
LARGE_INTEGER  ,
int   
)

◆ LargeIntegerDivide()

LARGE_INTEGER WINAPI LargeIntegerDivide ( LARGE_INTEGER  ,
LARGE_INTEGER  ,
PLARGE_INTEGER   
)