Home
last modified time | relevance | path

Searched refs:ENDSWAP_16 (Results 1 – 2 of 2) sorted by relevance

/external/flac/src/test_libFLAC/
Dendswap.c49 if (((int16_t) ENDSWAP_16(i16)) == i16) { in test_endswap()
50 printf("\nFAILED, ENDSWAP_16(0x%04x) -> 0x%04x == 0x%04x\n", i16, ENDSWAP_16(i16), i16); in test_endswap()
53 if (((int16_t) ENDSWAP_16(ENDSWAP_16(i16))) != i16) { in test_endswap()
54 …ILED, ENDSWAP_16(ENDSWAP_16(0x%04x)) -> 0x%04x != 0x%04x\n", i16, ENDSWAP_16(ENDSWAP_16(i16)), i16… in test_endswap()
60 if (((uint16_t) ENDSWAP_16(u16)) == u16) { in test_endswap()
61 printf("\nFAILED, ENDSWAP_16(0x%04x) -> 0x%04x == 0x%04x\n", u16, ENDSWAP_16(u16), u16); in test_endswap()
64 if (((uint16_t) ENDSWAP_16(ENDSWAP_16(u16))) != u16) { in test_endswap()
65 …ILED, ENDSWAP_16(ENDSWAP_16(0x%04x)) -> 0x%04x != 0x%04x\n", u16, ENDSWAP_16(ENDSWAP_16(u16)), u16… in test_endswap()
/external/flac/include/share/
Dendswap.h44 #define ENDSWAP_16(x) (__builtin_bswap16 (x)) macro
52 #define ENDSWAP_16(x) (_byteswap_ushort (x)) macro
60 #define ENDSWAP_16(x) (bswap_16 (x)) macro
66 #define ENDSWAP_16(x) ((((x) >> 8) & 0xFF) | (((x) & 0xFF) << 8)) macro
76 #define H2LE_16(x) ENDSWAP_16 (x)