Lines Matching full:0

20 		if (DUK_MEMCMP((const void *) (a), (const void *) (b), sizeof(duk__test_double_union)) != 0) { \
23 } while (0)
26 if (DUK_MEMCMP((const void *) (a), (const void *) (b), sizeof(duk__test_double_union)) == 0) { \
29 } while (0)
88 * 'test' will be 0xFF for two's complement. in duk__selftest_twos_complement()
90 if (((volatile duk_uint8_t *) &test)[0] != (duk_uint8_t) 0xff) { in duk__selftest_twos_complement()
110 u1.c[0] = 0xef; u1.c[1] = 0xbe; u1.c[2] = 0xad; u1.c[3] = 0xde; in duk__selftest_byte_order()
114 u1.c[0] = 0xde; u1.c[1] = 0xad; u1.c[2] = 0xbe; u1.c[3] = 0xef; in duk__selftest_byte_order()
120 u2.c[0] = 0x00; u2.c[1] = 0x00; u2.c[2] = 0xc4; u2.c[3] = 0x6d; in duk__selftest_byte_order()
121 u2.c[4] = 0x7c; u2.c[5] = 0xc1; u2.c[6] = 0x37; u2.c[7] = 0x42; in duk__selftest_byte_order()
123 u2.c[0] = 0x7c; u2.c[1] = 0xc1; u2.c[2] = 0x37; u2.c[3] = 0x42; in duk__selftest_byte_order()
124 u2.c[4] = 0x00; u2.c[5] = 0x00; u2.c[6] = 0xc4; u2.c[7] = 0x6d; in duk__selftest_byte_order()
126 u2.c[0] = 0x42; u2.c[1] = 0x37; u2.c[2] = 0xc1; u2.c[3] = 0x7c; in duk__selftest_byte_order()
127 u2.c[4] = 0x6d; u2.c[5] = 0xc4; u2.c[6] = 0x00; u2.c[7] = 0x00; in duk__selftest_byte_order()
132 if (u1.i != (duk_uint32_t) 0xdeadbeefUL) { in duk__selftest_byte_order()
151 x16 = 0xbeefUL; in duk__selftest_bswap_macros()
153 if (x16 != (duk_uint16_t) 0xefbeUL) { in duk__selftest_bswap_macros()
157 x32 = 0xdeadbeefUL; in duk__selftest_bswap_macros()
159 if (x32 != (duk_uint32_t) 0xefbeaddeUL) { in duk__selftest_bswap_macros()
167 du.uc[0] = 0x40; du.uc[1] = 0x00; du.uc[2] = 0x11; du.uc[3] = 0x22; in duk__selftest_bswap_macros()
168 du.uc[4] = 0x33; du.uc[5] = 0x44; du.uc[6] = 0x55; du.uc[7] = 0x66; in duk__selftest_bswap_macros()
171 #if 0 in duk__selftest_bswap_macros()
179 #if 0 in duk__selftest_bswap_macros()
181 (unsigned int) du.uc[0], (unsigned int) du.uc[1], in duk__selftest_bswap_macros()
220 a.c[0] = 0x11; a.c[1] = 0x22; a.c[2] = 0x33; a.c[3] = 0x44; in duk__selftest_double_aliasing()
221 a.c[4] = 0x00; a.c[5] = 0x00; a.c[6] = 0xf1; a.c[7] = 0xff; in duk__selftest_double_aliasing()
226 a.c[0] = 0xff; a.c[1] = 0xf1; a.c[2] = 0x00; a.c[3] = 0x00; in duk__selftest_double_aliasing()
227 a.c[4] = 0x44; a.c[5] = 0x33; a.c[6] = 0x22; a.c[7] = 0x11; in duk__selftest_double_aliasing()
232 a.c[0] = 0x00; a.c[1] = 0x00; a.c[2] = 0xf1; a.c[3] = 0xff; in duk__selftest_double_aliasing()
233 a.c[4] = 0x11; a.c[5] = 0x22; a.c[6] = 0x33; a.c[7] = 0x44; in duk__selftest_double_aliasing()
259 if ((sizeof(duk_hbuffer_fixed) % 4) != 0) { in duk__selftest_struct_align()
263 if ((sizeof(duk_hbuffer_fixed) % 8) != 0) { in duk__selftest_struct_align()
288 if (i != 0x80000000LL) { in duk__selftest_64bit_arithmetic()
343 dv = 3735928559.0; /* 0xdeadbeef in decimal */ in duk__selftest_cast_double_to_uint32()
346 if (uv != 0xdeadbeefUL) { in duk__selftest_cast_double_to_uint32()