Lines Matching refs:x
76 inline void PUT_LONG(uint8_t *x, const uint32_t y) in PUT_LONG() argument
78 *(x) = (y) & 0xff; in PUT_LONG()
79 *((x) + 1) = ((y) >> 8) & 0xff; in PUT_LONG()
80 *((x) + 2) = ((y) >> 16) & 0xff; in PUT_LONG()
81 *((x) + 3) = ((y) >> 24) & 0xff; in PUT_LONG()
85 inline void PUT_LONG_LONG(uint8_t *x, const uint64_t y) in PUT_LONG_LONG() argument
87 *(x) = (y) & 0xff; in PUT_LONG_LONG()
88 *((x) + 1) = (((y) >> 8) & 0xff); in PUT_LONG_LONG()
89 *((x) + 2) = (((y) >> 16) & 0xff); in PUT_LONG_LONG()
90 *((x) + 3) = (((y) >> 24) & 0xff); in PUT_LONG_LONG()
91 *((x) + 4) = (((y) >> 32) & 0xff); in PUT_LONG_LONG()
92 *((x) + 5) = (((y) >> 40) & 0xff); in PUT_LONG_LONG()
93 *((x) + 6) = (((y) >> 48) & 0xff); in PUT_LONG_LONG()
94 *((x) + 7) = (((y) >> 56) & 0xff); in PUT_LONG_LONG()
98 inline uint32_t GET_LWORD_FROM_BYTE(const uint8_t *x) in GET_LWORD_FROM_BYTE() argument
100 uint32_t res = static_cast<unsigned int>(*x) | in GET_LWORD_FROM_BYTE()
101 (static_cast<unsigned int>(*(x + 1)) << 8) | in GET_LWORD_FROM_BYTE()
102 (static_cast<unsigned int>(*(x + 2)) << 16) | in GET_LWORD_FROM_BYTE()
103 (static_cast<unsigned int>(*(x + 3)) << 24); in GET_LWORD_FROM_BYTE()
108 inline uint64_t GET_LLWORD_FROM_BYTE(const uint8_t *x) in GET_LLWORD_FROM_BYTE() argument
110 uint64_t res = static_cast<unsigned long long>(*x) | in GET_LLWORD_FROM_BYTE()
111 (static_cast<unsigned long long>(*(x + 1)) << 8) | in GET_LLWORD_FROM_BYTE()
112 (static_cast<unsigned long long>(*(x + 2)) << 16) | in GET_LLWORD_FROM_BYTE()
113 (static_cast<unsigned long long>(*(x + 3)) << 24) | in GET_LLWORD_FROM_BYTE()
114 (static_cast<unsigned long long>(*(x + 4)) << 32) | in GET_LLWORD_FROM_BYTE()
115 (static_cast<unsigned long long>(*(x + 5)) << 40) | in GET_LLWORD_FROM_BYTE()
116 (static_cast<unsigned long long>(*(x + 6)) << 48) | in GET_LLWORD_FROM_BYTE()
117 (static_cast<unsigned long long>(*(x + 7)) << 56); in GET_LLWORD_FROM_BYTE()