Lines Matching refs:Byte
358 ((const Byte *)(p))[0] | \
359 ((UInt16)((const Byte *)(p))[1] << 8) ))
362 ((const Byte *)(p))[0] | \
363 ((UInt32)((const Byte *)(p))[1] << 8) | \
364 ((UInt32)((const Byte *)(p))[2] << 16) | \
365 ((UInt32)((const Byte *)(p))[3] << 24))
367 #define SetUi16(p, v) { Byte *_ppp_ = (Byte *)(p); UInt32 _vvv_ = (v); \
368 _ppp_[0] = (Byte)_vvv_; \
369 _ppp_[1] = (Byte)(_vvv_ >> 8); }
371 #define SetUi32(p, v) { Byte *_ppp_ = (Byte *)(p); UInt32 _vvv_ = (v); \
372 _ppp_[0] = (Byte)_vvv_; \
373 _ppp_[1] = (Byte)(_vvv_ >> 8); \
374 _ppp_[2] = (Byte)(_vvv_ >> 16); \
375 _ppp_[3] = (Byte)(_vvv_ >> 24); }
381 #define GetUi64(p) (GetUi32(p) | ((UInt64)GetUi32(((const Byte *)(p)) + 4) << 32))
385 #define SetUi64(p, v) { Byte *_ppp2_ = (Byte *)(p); UInt64 _vvv2_ = (v); \
403 ((UInt32)((const Byte *)(p))[0] << 24) | \
404 ((UInt32)((const Byte *)(p))[1] << 16) | \
405 ((UInt32)((const Byte *)(p))[2] << 8) | \
406 ((const Byte *)(p))[3] )
408 #define SetBe32(p, v) { Byte *_ppp_ = (Byte *)(p); UInt32 _vvv_ = (v); \
409 _ppp_[0] = (Byte)(_vvv_ >> 24); \
410 _ppp_[1] = (Byte)(_vvv_ >> 16); \
411 _ppp_[2] = (Byte)(_vvv_ >> 8); \
412 _ppp_[3] = (Byte)_vvv_; }
417 #define GetBe64(p) (((UInt64)GetBe32(p) << 32) | GetBe32(((const Byte *)(p)) + 4))
422 ((UInt16)((const Byte *)(p))[0] << 8) | \
423 ((const Byte *)(p))[1] ))