• Home
  • Raw
  • Download

Lines Matching +full:no +full:- +full:pbl +full:- +full:x8

66 	written = min(bufsize-1, elen);  in do_test()
68 pr_warn("vsnprintf(buf, %d, \"%s\", ...) did not nul-terminate buffer\n", in do_test()
73 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { in do_test()
74 pr_warn("vsnprintf(buf, %d, \"%s\", ...) wrote beyond the nul-terminator\n", in do_test()
134 /* Work around annoying "warning: zero-length gnu_printf format string". */ in test_basic()
146 test("0x1234abcd ", "%#-12x", 0x1234abcd); in test_number()
148 …test("0|001| 12|+123| 1234|-123|-1234", "%d|%03d|%3d|%+d|% d|%+d|% d", 0, 1, 12, 123, 1234, -123, in test_number()
149 test("0|1|1|128|255", "%hhu|%hhu|%hhu|%hhu|%hhu", 0, 1, 257, 128, -1); in test_number()
150 test("0|1|1|-128|-1", "%hhd|%hhd|%hhd|%hhd|%hhd", 0, 1, 257, 128, -1); in test_number()
151 test("2015122420151225", "%ho%ho%#ho", 1037, 5282, -11627); in test_number()
154 * precision of zero shall be no characters.« Hence the output in test_number()
169 char val = -16; in test_number()
180 test("1 | 2|3 | 4|5 ", "%-3s|%3s|%-*s|%*s|%*s", "1", "2", 3, "3", 3, "4", -3, "5"); in test_string()
181 test("1234 ", "%-10.4s", "123456"); in test_string()
190 * precision specifier as if no precision was given. in test_string()
196 test(" ", "%4.*s", -5, "123456"); in test_string()
199 test("a | | ", "%-3.s|%-3.0s|%-3.*s", "a", "b", 0, "c"); in test_string()
221 return -1; in plain_format()
230 return -1; in plain_format()
260 return -1; in plain_hash()
269 return -1; in plain_hash()
328 test("c0 ff ee|c0:ff:ee|c0-ff-ee|c0ffee", in hex_string()
330 test("c0 ff ee|c0:ff:ee|c0-ff-ee|c0ffee", in hex_string()
341 test("2d-48-d6-fc-7a-05", "%pMF", addr); in mac()
377 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf}; in uuid()
379 test("00010203-0405-0607-0809-0a0b0c0d0e0f", "%pUb", uuid); in uuid()
380 test("00010203-0405-0607-0809-0A0B0C0D0E0F", "%pUB", uuid); in uuid()
381 test("03020100-0504-0706-0809-0a0b0c0d0e0f", "%pUl", uuid); in uuid()
382 test("03020100-0504-0706-0809-0A0B0C0D0E0F", "%pUL", uuid); in uuid()
412 test("bravo/alfa |bravo/alfa ", "%-12pd2|%*pd2", &test_dentry[2], -12, &test_dentry[2]); in dentry()
436 test("1-20,60000-60014", "%*pbl", nbits, bits); in large_bitmap()
449 test("|", "%20pbl|%*pbl", bits, 20, bits); in bitmap()
454 test("2-3,5,7,11,13,17,19|2-3,5,7,11,13,17,19", "%20pbl|%*pbl", bits, 20, bits); in bitmap()
458 test("0-19|0-19", "%20pbl|%*pbl", bits, 20, bits); in bitmap()
543 return -ENOMEM; in test_printf_init()
558 return failed_tests ? -EINVAL : 0; in test_printf_init()