Searched refs:le16toh (Results 1 – 11 of 11) sorted by relevance
27 # define le16toh(x) OSSwapLittleToHostInt16(x) macro53 # define le16toh(x) letoh16(x) macro71 # define le16toh(x) (x) macro89 # define le16toh(x) __builtin_bswap16(x) macro
14 #ifndef le16toh24 # define le16toh(x) (x) macro39 # define le16toh(x) __bswap_16 (x) macro
412 le16toh(guid->u.Uuid.time_mid), in GuidToStr()413 le16toh(guid->u.Uuid.time_high_and_version), in GuidToStr()455 uint16_t codeunit = le16toh(utf16[s16idx]); in UTF16ToUTF8()
26 # define le16toh(x) letoh16(x) macro51 # define le16toh(x) OSSwapLittleToHostInt16(x) macro97 # define le16toh(x) (x) macro115 # define le16toh(x) __builtin_bswap16(x) macro
171 out->reply_len = le16toh(st.status.reply_len); in get_status()174 const uint16_t length = le16toh(st.status.length); in get_status()182 out->version = le16toh(st.status.version); in get_status()183 out->flags = le16toh(st.status.flags); in get_status()184 out->crc = le16toh(st.status.crc); in get_status()185 out->reply_crc = le16toh(st.status.reply_crc); in get_status()
37 pHeader->e_phentsize = le16toh(pHeader->e_phentsize); \38 pHeader->e_phnum = le16toh(pHeader->e_phnum); \
152 le16toh(guid->uuid.time_mid), in vb2_guid_to_str()153 le16toh(guid->uuid.time_high_and_version), in vb2_guid_to_str()
247 #ifndef le16toh248 # define le16toh(x) swap16(x)266 #define LE16TOH(x) (x) = le16toh(x)286 #ifndef le16toh287 # define le16toh(x) (x)345 # define le16atoh(x) le16toh(*(uint16_t*)(x))
237 #define le16toh(x) swap16(x)245 #define LE16TOH(x) (x) = le16toh(x)258 #define le16toh(x) (x)300 #define le16atoh(x) le16toh(*(uint16_t*)(x))
38 _val = is_be ? be16toh(_val) : le16toh(_val); \
79 return ((params->byteorder==PTP_DL_LE)?le16toh(var):be16toh(var)); in dtoh16p()