Searched refs:bigval (Results 1 – 2 of 2) sorted by relevance
/external/llvm/unittests/Support/ |
D | EndianTest.cpp | 24 unsigned char bigval[] = {0x00, 0x01, 0x02, 0x03, 0x04}; in TEST() local 27 EXPECT_EQ(BigAsHost, (endian::read<int32_t, big, unaligned>(bigval))); in TEST() 31 EXPECT_EQ((endian::read<int32_t, big, unaligned>(bigval + 1)), in TEST() 38 unsigned char bigval[] = {0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xc0}; in TEST() local 42 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval[0], 6)), in TEST() 75 unsigned char bigval[8] = {0x00}; in TEST() local 76 endian::writeAtBitAlignment<int32_t, big, unaligned>(bigval, (int)0xffffaaaa, in TEST() 78 EXPECT_EQ(bigval[0], 0xff); in TEST() 79 EXPECT_EQ(bigval[1], 0xfa); in TEST() 80 EXPECT_EQ(bigval[2], 0xaa); in TEST() [all …]
|
/external/clang/test/Sema/ |
D | format-strings-ms.c | 24 long long bigval = 30; in signed_test() local 25 …printf("val = %I32d\n", bigval); // expected-warning{{format specifies type '__int32' (aka 'int') … in signed_test() 26 …printf("val = %Id\n", bigval); // expected-warning{{format specifies type '__int32' (aka 'int') bu… in signed_test() 32 unsigned long long bigval = 30; in unsigned_test() local 33 …printf("val = %I32u\n", bigval); // expected-warning{{format specifies type 'unsigned __int32' (ak… in unsigned_test() 34 …printf("val = %Iu\n", bigval); // expected-warning{{format specifies type 'unsigned __int32' (aka … in unsigned_test()
|