Lines Matching refs:in

23 htole16(uint16_t in)  in htole16()  argument
25 return (((in & 0xff) << 8) | ((in & 0xff00) >> 8)); in htole16()
29 htole32(uint32_t in) in htole32() argument
31 return (((in & 0xffUL) << 24) | in htole32()
32 (in & 0xff00UL) << 8 | in htole32()
33 (in & 0xff0000UL) >> 8 | in htole32()
34 ((in & 0xff000000UL) >> 24)); in htole32()
38 htole64(uint64_t in) in htole64() argument
40 return (((in & 0xffULL) << 56) | in htole64()
41 ((in & 0xff00ULL) << 40) | in htole64()
42 ((in & 0xff0000ULL) << 24) | in htole64()
43 ((in & 0xff000000ULL) << 8) | in htole64()
44 ((in & 0xff00000000ULL) >> 8) | in htole64()
45 ((in & 0xff0000000000ULL) >> 24) | in htole64()
46 ((in & 0xff000000000000ULL) >> 40) | in htole64()
47 ((in & 0xff00000000000000ULL) >> 56)); in htole64()
51 letoh16(uint16_t in) in letoh16() argument
53 return (((in & 0xff) << 8) | ((in & 0xff00) >> 8)); in letoh16()
57 le16toh(uint16_t in) in le16toh() argument
59 return (((in & 0xff) << 8) | ((in & 0xff00) >> 8)); in le16toh()
63 letoh32(uint32_t in) in letoh32() argument
65 return (((in & 0xffUL) << 24) | in letoh32()
66 (in & 0xff00UL) << 8 | in letoh32()
67 (in & 0xff0000UL) >> 8 | in letoh32()
68 ((in & 0xff000000UL) >> 24)); in letoh32()
72 le32toh(uint32_t in) in le32toh() argument
74 return (((in & 0xffUL) << 24) | in le32toh()
75 (in & 0xff00UL) << 8 | in le32toh()
76 (in & 0xff0000UL) >> 8 | in le32toh()
77 ((in & 0xff000000UL) >> 24)); in le32toh()
81 letoh64(uint64_t in) in letoh64() argument
83 return (((in & 0xffULL) << 56) | in letoh64()
84 ((in & 0xff00ULL) << 40) | in letoh64()
85 ((in & 0xff0000ULL) << 24) | in letoh64()
86 ((in & 0xff000000ULL) << 8) | in letoh64()
87 ((in & 0xff00000000ULL) >> 8) | in letoh64()
88 ((in & 0xff0000000000ULL) >> 24) | in letoh64()
89 ((in & 0xff000000000000ULL) >> 40) | in letoh64()
90 ((in & 0xff00000000000000ULL) >> 56)); in letoh64()
94 le64toh(uint64_t in) in le64toh() argument
96 return (((in & 0xffULL) << 56) | in le64toh()
97 ((in & 0xff00ULL) << 40) | in le64toh()
98 ((in & 0xff0000ULL) << 24) | in le64toh()
99 ((in & 0xff000000ULL) << 8) | in le64toh()
100 ((in & 0xff00000000ULL) >> 8) | in le64toh()
101 ((in & 0xff0000000000ULL) >> 24) | in le64toh()
102 ((in & 0xff000000000000ULL) >> 40) | in le64toh()
103 ((in & 0xff00000000000000ULL) >> 56)); in le64toh()
109 htobe16(uint16_t in) in htobe16() argument
111 return (in); in htobe16()
115 htobe32(uint32_t in) in htobe32() argument
117 return (in); in htobe32()
121 htobe64(uint64_t in) in htobe64() argument
123 return (in); in htobe64()
127 betoh16(uint16_t in) in betoh16() argument
129 return (in); in betoh16()
133 be16toh(uint16_t in) in be16toh() argument
135 return (in); in be16toh()
139 betoh32(uint32_t in) in betoh32() argument
141 return (in); in betoh32()
145 be32toh(uint32_t in) in be32toh() argument
147 return (in); in be32toh()
151 betoh64(uint64_t in) in betoh64() argument
153 return (in); in betoh64()
157 be64toh(uint64_t in) in be64toh() argument
159 return (in); in be64toh()