Lines Matching refs:BYTE
34 #define UINT8_TO_BYTE_ARRAY(i, b) {(b)[0] = (BYTE)(i);}
35 #define UINT16_TO_BYTE_ARRAY(i, b) {(b)[0] = (BYTE)((i) >> 8); \
36 (b)[1] = (BYTE) (i);}
37 #define UINT32_TO_BYTE_ARRAY(i, b) {(b)[0] = (BYTE)((i) >> 24); \
38 (b)[1] = (BYTE)((i) >> 16); \
39 (b)[2] = (BYTE)((i) >> 8); \
40 (b)[3] = (BYTE) (i);}
41 #define UINT64_TO_BYTE_ARRAY(i, b) {(b)[0] = (BYTE)((i) >> 56); \
42 (b)[1] = (BYTE)((i) >> 48); \
43 (b)[2] = (BYTE)((i) >> 40); \
44 (b)[3] = (BYTE)((i) >> 32); \
45 (b)[4] = (BYTE)((i) >> 24); \
46 (b)[5] = (BYTE)((i) >> 16); \
47 (b)[6] = (BYTE)((i) >> 8); \
48 (b)[7] = (BYTE) (i);}