Lines Matching refs:buf
70 static inline void Set1(uint8_t* buf, uint8_t val) { in Set1() argument
71 *buf = (uint8_t)(val); in Set1()
75 static inline void Set2BE(uint8_t* buf, uint16_t val) { in Set2BE() argument
76 *buf++ = (uint8_t)(val >> 8); in Set2BE()
77 *buf = (uint8_t)(val); in Set2BE()
81 static inline void Set4BE(uint8_t* buf, uint32_t val) { in Set4BE() argument
82 *buf++ = (uint8_t)(val >> 24); in Set4BE()
83 *buf++ = (uint8_t)(val >> 16); in Set4BE()
84 *buf++ = (uint8_t)(val >> 8); in Set4BE()
85 *buf = (uint8_t)(val); in Set4BE()
89 static inline void Set8BE(uint8_t* buf, uint64_t val) { in Set8BE() argument
90 *buf++ = (uint8_t)(val >> 56); in Set8BE()
91 *buf++ = (uint8_t)(val >> 48); in Set8BE()
92 *buf++ = (uint8_t)(val >> 40); in Set8BE()
93 *buf++ = (uint8_t)(val >> 32); in Set8BE()
94 *buf++ = (uint8_t)(val >> 24); in Set8BE()
95 *buf++ = (uint8_t)(val >> 16); in Set8BE()
96 *buf++ = (uint8_t)(val >> 8); in Set8BE()
97 *buf = (uint8_t)(val); in Set8BE()