Searched defs:SWAP16 (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_swap.h101 #define SWAP16(p) { \ macro
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.h68 #define SWAP16(value) \ macro
72 (((uint32_t)SWAP16((uint16_t)((value) & 0xffff)) << 16) | \
73 (uint32_t)SWAP16((uint16_t)((value) >> 16)))
80 #define SWAP16(value) (value) macro
/illumos-gate/usr/src/common/crypto/rng/
H A Dfips_random.c69 #define SWAP16(value) \ macro
73 (((uint32_t)SWAP16((uint16_t)((value) & 0xffff)) << 16) | \
74 (uint32_t)SWAP16((uint16_t)((value) >> 16)))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8_conv.c112 #ifndef SWAP16
113 #define SWAP16(X) ((((X) << 8) | ((X) >> 8)) & 0xFFFF) macro
116 ucs2str[ucs2len] = SWAP16(ch);
279 ch = SWAP16(ch);
300 ch = SWAP16(ch);
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c52 #define SWAP16(x) (((x) & 0xff) << 8 | ((x) >> 8) & 0xff) macro
57 #define SWAP16(x) (x) macro
153 otp->tag_id = SWAP16(itp->tag_id);
154 otp->tag_desc_ver = SWAP16(itp->tag_desc_ver);
156 otp->tag_sno = SWAP16(itp->tag_sno);
157 otp->tag_crc = SWAP16(crc16((unsigned char *)(otp+1),
159 otp->tag_crc_len = SWAP16(itp->tag_crc_len);
186 id = SWAP16(tp->tag_id);
189 vers = SWAP16(tp->tag_desc_ver);
192 length = SWAP16(t
[all...]
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Demac.h44 #define SWAP16(x) ((((x) & 0xff) << 8) | ((x) >> 8)) macro
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dfsck.h51 #define SWAP16(x) (((x) & 0xff) << 8 | ((x) >> 8) & 0xff) macro
56 #define SWAP16(x) (x) macro
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h2218 #define SWAP16(_x) ((((uint16_t)(_x) & 0xFF)<<8) | \ macro
2235 #define LE_SWAP16(_x) SWAP16(_x)
2262 #define BE_SWAP16(_x) SWAP16(_x)

Completed in 70 milliseconds