Lines Matching refs:Byte
74 #define GetUi16(p) (((const Byte *)(p))[0] | ((UInt16)((const Byte *)(p))[1] << 8))
77 ((const Byte *)(p))[0] | \
78 ((UInt32)((const Byte *)(p))[1] << 8) | \
79 ((UInt32)((const Byte *)(p))[2] << 16) | \
80 ((UInt32)((const Byte *)(p))[3] << 24))
82 #define GetUi64(p) (GetUi32(p) | ((UInt64)GetUi32(((const Byte *)(p)) + 4) << 32))
85 ((Byte *)(p))[0] = (Byte)_x_; \
86 ((Byte *)(p))[1] = (Byte)(_x_ >> 8); }
89 ((Byte *)(p))[0] = (Byte)_x_; \
90 ((Byte *)(p))[1] = (Byte)(_x_ >> 8); \
91 ((Byte *)(p))[2] = (Byte)(_x_ >> 16); \
92 ((Byte *)(p))[3] = (Byte)(_x_ >> 24); }
96 SetUi32(((Byte *)(p)) + 4, (UInt32)(_x64_ >> 32)); }
106 #define GetBe32(p) _byteswap_ulong(*(const UInt32 *)(const Byte *)(p))
107 #define GetBe64(p) _byteswap_uint64(*(const UInt64 *)(const Byte *)(p))
112 ((UInt32)((const Byte *)(p))[0] << 24) | \
113 ((UInt32)((const Byte *)(p))[1] << 16) | \
114 ((UInt32)((const Byte *)(p))[2] << 8) | \
115 ((const Byte *)(p))[3] )
117 #define GetBe64(p) (((UInt64)GetBe32(p) << 32) | GetBe32(((const Byte *)(p)) + 4))
121 #define GetBe16(p) ((UInt16)(((UInt16)((const Byte *)(p))[0] << 8) | ((const Byte *)(p))[1]))