Searched refs:endian_test (Results 1 – 2 of 2) sorted by relevance
11 union { short s; char c[2]; } endian_test; in main() local48 endian_test.s = 0x0102; in main()49 if (memcmp(endian_test.c, "\x01\x02", 2) == 0) in main()51 else if (memcmp(endian_test.c, "\x02\x01", 2) == 0) in main()
162 static union { char c[4]; unsigned long l; } endian_test __initdata = { { 'l', '?', '?', 'b' } };163 #define ENDIANNESS ((char)endian_test.l)