Home
last modified time | relevance | path

Searched refs:swap16 (Results 1 – 7 of 7) sorted by relevance

/external/libexif/m4m/
Dgp-byteorder.m494 /* swap32 and swap16 are defined in machine/endian.h */
104 #define swap16(x) bswap_16(x)
121 #define swap16(x) bswap16(x)
133 #define swap16(x) __byte_swap_word(x)
153 #define swap16(x) NXSwapShort(x)
162 #define swap16(x) ((uint16_t)(((x) << 8) | ((uint16_t)(x) >> 8)))
180 #define swap16(x) ntohs(x)
235 #define htole16(x) swap16(x)
237 #define le16toh(x) swap16(x)
/external/libmtp/m4/
Dbyteorder.m492 /* swap32 and swap16 are defined in machine/endian.h */
102 #define swap16(x) bswap_16(x)
119 #define swap16(x) bswap16(x)
131 #define swap16(x) __byte_swap_word(x)
151 #define swap16(x) NXSwapShort(x)
160 #define swap16(x) ((uint16_t)(((x) << 8) | ((uint16_t)(x) >> 8)))
178 #define swap16(x) ntohs(x)
242 # define htole16(x) swap16(x)
248 # define le16toh(x) swap16(x)
/external/syslinux/gpxe/src/include/
Dbyteswap.h54 #define swap16(x) __bswap_16(x) macro
/external/syslinux/gpxe/src/drivers/net/
Deepro.c593 station_addr.saddr[0] = swap16(station_addr.saddr[0]); in eepro_probe()
594 station_addr.saddr[1] = swap16(station_addr.saddr[1]); in eepro_probe()
595 station_addr.saddr[2] = swap16(station_addr.saddr[2]); in eepro_probe()
/external/wpa_supplicant_8/src/utils/
Dcommon.h27 #define bswap_16 swap16
/external/syslinux/gpxe/src/net/80211/
Dwpa_tkip.c137 return Sbox[v & 0xFF] ^ swap16 ( Sbox[v >> 8] ); in S()
/external/libpng/contrib/libtests/
Dpngvalid.c521 png_uint_32 x, unsigned int sample_index, int swap16, int littleendian) in sample() argument
551 if (swap16) in sample()
6023 unsigned int swap16 :1; /* Byte swap 16-bit components */ member
6082 const int swap16 = (format != 0 && format->swap16); in image_pixel_init() local
6091 sample(row, colour_type, bit_depth, x, 0, swap16, littleendian); in image_pixel_init()
6120 sample(row, colour_type, bit_depth, x, 1, swap16, littleendian); in image_pixel_init()
6127 this->green = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
6131 this->red = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
6134 this->blue = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
6144 this->alpha = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
[all …]