Lines Matching refs:in

21 htole16(uint16_t in)  in htole16()  argument
23 return (((in & 0xff) << 8) | ((in & 0xff00) >> 8)); in htole16()
27 htole32(uint32_t in) in htole32() argument
29 return (((in & 0xffUL) << 24) | in htole32()
30 (in & 0xff00UL) << 8 | in htole32()
31 (in & 0xff0000UL) >> 8 | in htole32()
32 ((in & 0xff000000UL) >> 24)); in htole32()
36 htole64(uint64_t in) in htole64() argument
38 return (((in & 0xffULL) << 56) | in htole64()
39 ((in & 0xff00ULL) << 40) | in htole64()
40 ((in & 0xff0000ULL) << 24) | in htole64()
41 ((in & 0xff000000ULL) << 8) | in htole64()
42 ((in & 0xff00000000ULL) >> 8) | in htole64()
43 ((in & 0xff0000000000ULL) >> 24) | in htole64()
44 ((in & 0xff000000000000ULL) >> 40) | in htole64()
45 ((in & 0xff00000000000000ULL) >> 56)); in htole64()
49 letoh16(uint16_t in) in letoh16() argument
51 return (((in & 0xff) << 8) | ((in & 0xff00) >> 8)); in letoh16()
55 le16toh(uint16_t in) in le16toh() argument
57 return (((in & 0xff) << 8) | ((in & 0xff00) >> 8)); in le16toh()
61 letoh32(uint32_t in) in letoh32() argument
63 return (((in & 0xffUL) << 24) | in letoh32()
64 (in & 0xff00UL) << 8 | in letoh32()
65 (in & 0xff0000UL) >> 8 | in letoh32()
66 ((in & 0xff000000UL) >> 24)); in letoh32()
70 le32toh(uint32_t in) in le32toh() argument
72 return (((in & 0xffUL) << 24) | in le32toh()
73 (in & 0xff00UL) << 8 | in le32toh()
74 (in & 0xff0000UL) >> 8 | in le32toh()
75 ((in & 0xff000000UL) >> 24)); in le32toh()
79 letoh64(uint64_t in) in letoh64() argument
81 return (((in & 0xffULL) << 56) | in letoh64()
82 ((in & 0xff00ULL) << 40) | in letoh64()
83 ((in & 0xff0000ULL) << 24) | in letoh64()
84 ((in & 0xff000000ULL) << 8) | in letoh64()
85 ((in & 0xff00000000ULL) >> 8) | in letoh64()
86 ((in & 0xff0000000000ULL) >> 24) | in letoh64()
87 ((in & 0xff000000000000ULL) >> 40) | in letoh64()
88 ((in & 0xff00000000000000ULL) >> 56)); in letoh64()
92 le64toh(uint64_t in) in le64toh() argument
94 return (((in & 0xffULL) << 56) | in le64toh()
95 ((in & 0xff00ULL) << 40) | in le64toh()
96 ((in & 0xff0000ULL) << 24) | in le64toh()
97 ((in & 0xff000000ULL) << 8) | in le64toh()
98 ((in & 0xff00000000ULL) >> 8) | in le64toh()
99 ((in & 0xff0000000000ULL) >> 24) | in le64toh()
100 ((in & 0xff000000000000ULL) >> 40) | in le64toh()
101 ((in & 0xff00000000000000ULL) >> 56)); in le64toh()
107 htobe16(uint16_t in) in htobe16() argument
109 return (in); in htobe16()
113 htobe32(uint32_t in) in htobe32() argument
115 return (in); in htobe32()
119 htobe64(uint64_t in) in htobe64() argument
121 return (in); in htobe64()
125 betoh16(uint16_t in) in betoh16() argument
127 return (in); in betoh16()
131 be16toh(uint16_t in) in be16toh() argument
133 return (in); in be16toh()
137 betoh32(uint32_t in) in betoh32() argument
139 return (in); in betoh32()
143 be32toh(uint32_t in) in be32toh() argument
145 return (in); in be32toh()
149 betoh64(uint64_t in) in betoh64() argument
151 return (in); in betoh64()
155 be64toh(uint64_t in) in be64toh() argument
157 return (in); in be64toh()