Lines Matching refs:l
50 long l; in test_strtol() local
60 TEST(l, atol("2147483647"), 2147483647L, "max 32bit signed %ld != %ld"); in test_strtol()
62 TEST(l, strtol("2147483647", 0, 0), 2147483647L, "max 32bit signed %ld != %ld"); in test_strtol()
67 TEST(l, strtol(s="2147483648", &c, 0), 2147483647L, "uncaught overflow %ld != %ld"); in test_strtol()
71 TEST(l, strtol(s="-2147483649", &c, 0), -2147483647L-1, "uncaught overflow %ld != %ld"); in test_strtol()
96 …TEST(l, strtol(s="9223372036854775808", &c, 0), 9223372036854775807L, "uncaught overflow %ld != %l… in test_strtol()
100 …TEST(l, strtol(s="-9223372036854775809", &c, 0), -9223372036854775807L-1, "uncaught overflow %ld !… in test_strtol()
125 TEST(l, strtol("z", 0, 36), 35, "%ld != %ld"); in test_strtol()
126 TEST(l, strtol("00010010001101000101011001111000", 0, 2), 0x12345678, "%ld != %ld"); in test_strtol()
127 TEST(l, strtol(s="0F5F", &c, 16), 0x0f5f, "%ld != %ld"); in test_strtol()
129 TEST(l, strtol(s="0xz", &c, 16), 0, "%ld != %ld"); in test_strtol()
132 TEST(l, strtol(s="0x1234", &c, 16), 0x1234, "%ld != %ld"); in test_strtol()
152 TEST(l, strtol(s=delim_buf, &c, 16), 0x09af0 | k, "%ld != %ld"); in test_strtol()
155 TEST(l, strtol(s=delim_buf, &c, 16), 0x09af, "%ld != %ld"); in test_strtol()
162 TEST(l, strtol(s="123", &c, 37), 0, "%ld != %ld"); in test_strtol()
171 TEST(l, strtol(s=" 15437", &c, 8), 015437, "%ld != %ld"); in test_strtol()
174 TEST(l, strtol(s=" 1", &c, 0), 1, "%ld != %ld"); in test_strtol()