9 T temp = std::move( a );
11 b = std::move( temp );
17 return ( ( str[ 3 ] << 24 ) | ( str[ 2 ] << 16 ) | ( str[ 1 ] << 8 ) | str[ 0 ] );
23 return PARSEDWORD(
TFourCC( str ) );
29 return PARSEDWORD_BIG(
TFourCC( str ) );
37 return 0 == (
TUINTPTR( a_pPointer ) % a_uiAlignment );
45 (
TUINTPTR( a_pMem ) + ( a_uiAlignment - 1 ) ) & ( ~( a_uiAlignment - 1U ) )
54 (
TUINTPTR( a_pMem ) ) & ( ~( a_uiAlignment - 1U ) )
62 return a_iValue & (T)( ~( a_uiAlignment - 1U ) );
69 return ( a_iValue + ( a_uiAlignment - 1U ) ) & (T)( ~( a_uiAlignment - 1U ) );
#define TREINTERPRETCAST(TYPE, VALUE)
#define TSTATICASSERT(...)
TFORCEINLINE constexpr T * TAlignPointerUp(T *a_pMem, TSIZE a_uiAlignment=sizeof(T *))
TFORCEINLINE TUINT32 TFourCCBE(const TCHAR str[4])
TFORCEINLINE void TSwapValues(T &a, T &b)
TFORCEINLINE TUINT32 TFourCCLE(const TCHAR str[4])
TFORCEINLINE constexpr T TAlignNumUp(T a_iValue, TSIZE a_uiAlignment=4)
TFORCEINLINE constexpr T * TAlignPointerDown(T *a_pMem, TSIZE a_uiAlignment=sizeof(T *))
TFORCEINLINE constexpr TUINT32 TFourCC(const TCHAR str[4])
TFORCEINLINE constexpr T TAlignNumDown(T a_iValue, TSIZE a_uiAlignment=4)
TFORCEINLINE TBOOL TIsPointerAligned(const void *a_pPointer, TSIZE a_uiAlignment=sizeof(void *))