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/src/
Dgphoto2-endian-ppc.h12 #define swap16(x) NXSwapShort(x) macro
52 # define htole16(x) swap16(x)
58 # define le16toh(x) swap16(x)
Dgphoto2-endian-intel.h12 #define swap16(x) NXSwapShort(x) macro
/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/wpa_supplicant_8/src/utils/
Dcommon.h27 #define bswap_16 swap16
/external/libpng/contrib/libtests/
Dpngvalid.c523 png_uint_32 x, unsigned int sample_index, int swap16, int littleendian) in sample() argument
553 if (swap16) in sample()
5650 unsigned int swap16 :1; /* Byte swap 16-bit components */ member
5709 const int swap16 = (format != 0 && format->swap16); in image_pixel_init() local
5718 sample(row, colour_type, bit_depth, x, 0, swap16, littleendian); in image_pixel_init()
5747 sample(row, colour_type, bit_depth, x, 1, swap16, littleendian); in image_pixel_init()
5754 this->green = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
5758 this->red = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
5761 this->blue = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
5771 this->alpha = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
[all …]
/external/libmtp/
Dconfigure15583 /* swap32 and swap16 are defined in machine/endian.h */