Lines Matching refs:u
134 be16enc(void *pp, uint16_t u) in be16enc() argument
138 p[0] = (u >> 8) & 0xff; in be16enc()
139 p[1] = u & 0xff; in be16enc()
143 be32enc(void *pp, uint32_t u) in be32enc() argument
147 p[0] = (u >> 24) & 0xff; in be32enc()
148 p[1] = (u >> 16) & 0xff; in be32enc()
149 p[2] = (u >> 8) & 0xff; in be32enc()
150 p[3] = u & 0xff; in be32enc()
154 be64enc(void *pp, uint64_t u) in be64enc() argument
158 be32enc(p, (uint32_t)(u >> 32)); in be64enc()
159 be32enc(p + 4, (uint32_t)(u & 0xffffffffU)); in be64enc()
163 le16enc(void *pp, uint16_t u) in le16enc() argument
167 p[0] = u & 0xff; in le16enc()
168 p[1] = (u >> 8) & 0xff; in le16enc()
172 le32enc(void *pp, uint32_t u) in le32enc() argument
176 p[0] = u & 0xff; in le32enc()
177 p[1] = (u >> 8) & 0xff; in le32enc()
178 p[2] = (u >> 16) & 0xff; in le32enc()
179 p[3] = (u >> 24) & 0xff; in le32enc()
183 le64enc(void *pp, uint64_t u) in le64enc() argument
187 le32enc(p, (uint32_t)(u & 0xffffffffU)); in le64enc()
188 le32enc(p + 4, (uint32_t)(u >> 32)); in le64enc()