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/syzkaller/prog/
Dchecksum.go133 …info.Chunks = append(info.Chunks, CsumChunk{CsumChunkConst, nil, uint64(swap16(uint16(protocol))),…
134 …info.Chunks = append(info.Chunks, CsumChunk{CsumChunkConst, nil, uint64(swap16(uint16(tcpPacket.Si…
Dmutation.go546 func swap16(v uint16) uint16 { func
594 return uint64(swap16(uint16(v)))
Dany.go388 v = uint64(swap16(uint16(v)))
/external/wpa_supplicant_8/src/utils/
Dcommon.h27 #define bswap_16 swap16
/external/libpng/contrib/libtests/
Dpngvalid.c520 png_uint_32 x, unsigned int sample_index, int swap16, int littleendian) in sample() argument
550 if (swap16) in sample()
6025 unsigned int swap16 :1; /* Byte swap 16-bit components */ member
6084 const int swap16 = (format != 0 && format->swap16); in image_pixel_init() local
6093 sample(row, colour_type, bit_depth, x, 0, swap16, littleendian); in image_pixel_init()
6122 sample(row, colour_type, bit_depth, x, 1, swap16, littleendian); in image_pixel_init()
6129 this->green = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
6133 this->red = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
6136 this->blue = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
6146 this->alpha = sample(row, colour_type, bit_depth, x, ++i, swap16, in image_pixel_init()
[all …]