Lines Matching refs:test_number_prefix
606 #define test_number_prefix(T, str, scan_fmt, expect0, expect1, n_args, fn) \ macro
624 test_number_prefix(long long, "-1 1", "%1lld %lld", 0, 0, 0, check_ll); in numbers_prefix_overflow()
625 test_number_prefix(long, "-1 1", "%1ld %ld", 0, 0, 0, check_long); in numbers_prefix_overflow()
626 test_number_prefix(int, "-1 1", "%1d %d", 0, 0, 0, check_int); in numbers_prefix_overflow()
627 test_number_prefix(short, "-1 1", "%1hd %hd", 0, 0, 0, check_short); in numbers_prefix_overflow()
628 test_number_prefix(signed char, "-1 1", "%1hhd %hhd", 0, 0, 0, check_char); in numbers_prefix_overflow()
630 test_number_prefix(long long, "-1 1", "%1lli %lli", 0, 0, 0, check_ll); in numbers_prefix_overflow()
631 test_number_prefix(long, "-1 1", "%1li %li", 0, 0, 0, check_long); in numbers_prefix_overflow()
632 test_number_prefix(int, "-1 1", "%1i %i", 0, 0, 0, check_int); in numbers_prefix_overflow()
633 test_number_prefix(short, "-1 1", "%1hi %hi", 0, 0, 0, check_short); in numbers_prefix_overflow()
634 test_number_prefix(signed char, "-1 1", "%1hhi %hhi", 0, 0, 0, check_char); in numbers_prefix_overflow()
641 test_number_prefix(unsigned long long, "0xA7", "%1llx%llx", 0, 0, 1, check_ull); in numbers_prefix_overflow()
642 test_number_prefix(unsigned long, "0xA7", "%1lx%lx", 0, 0, 1, check_ulong); in numbers_prefix_overflow()
643 test_number_prefix(unsigned int, "0xA7", "%1x%x", 0, 0, 1, check_uint); in numbers_prefix_overflow()
644 test_number_prefix(unsigned short, "0xA7", "%1hx%hx", 0, 0, 1, check_ushort); in numbers_prefix_overflow()
645 test_number_prefix(unsigned char, "0xA7", "%1hhx%hhx", 0, 0, 1, check_uchar); in numbers_prefix_overflow()
646 test_number_prefix(long long, "0xA7", "%1lli%llx", 0, 0, 1, check_ll); in numbers_prefix_overflow()
647 test_number_prefix(long, "0xA7", "%1li%lx", 0, 0, 1, check_long); in numbers_prefix_overflow()
648 test_number_prefix(int, "0xA7", "%1i%x", 0, 0, 1, check_int); in numbers_prefix_overflow()
649 test_number_prefix(short, "0xA7", "%1hi%hx", 0, 0, 1, check_short); in numbers_prefix_overflow()
650 test_number_prefix(char, "0xA7", "%1hhi%hhx", 0, 0, 1, check_char); in numbers_prefix_overflow()
657 test_number_prefix(unsigned long long, "0xA7", "%2llx%llx", 0, 0xa7, 2, check_ull); in numbers_prefix_overflow()
658 test_number_prefix(unsigned long, "0xA7", "%2lx%lx", 0, 0xa7, 2, check_ulong); in numbers_prefix_overflow()
659 test_number_prefix(unsigned int, "0xA7", "%2x%x", 0, 0xa7, 2, check_uint); in numbers_prefix_overflow()
660 test_number_prefix(unsigned short, "0xA7", "%2hx%hx", 0, 0xa7, 2, check_ushort); in numbers_prefix_overflow()
661 test_number_prefix(unsigned char, "0xA7", "%2hhx%hhx", 0, 0xa7, 2, check_uchar); in numbers_prefix_overflow()
669 test_number_prefix(long long, "0x67", "%2lli%lli", 0, 67, 2, check_ll); in numbers_prefix_overflow()
670 test_number_prefix(long, "0x67", "%2li%li", 0, 67, 2, check_long); in numbers_prefix_overflow()
671 test_number_prefix(int, "0x67", "%2i%i", 0, 67, 2, check_int); in numbers_prefix_overflow()
672 test_number_prefix(short, "0x67", "%2hi%hi", 0, 67, 2, check_short); in numbers_prefix_overflow()
673 test_number_prefix(char, "0x67", "%2hhi%hhi", 0, 67, 2, check_char); in numbers_prefix_overflow()
675 test_number_prefix(long long, "0xA7", "%2lli%lli", 0, 0, 1, check_ll); in numbers_prefix_overflow()
676 test_number_prefix(long, "0xA7", "%2li%li", 0, 0, 1, check_long); in numbers_prefix_overflow()
677 test_number_prefix(int, "0xA7", "%2i%i", 0, 0, 1, check_int); in numbers_prefix_overflow()
678 test_number_prefix(short, "0xA7", "%2hi%hi", 0, 0, 1, check_short); in numbers_prefix_overflow()
679 test_number_prefix(char, "0xA7", "%2hhi%hhi", 0, 0, 1, check_char); in numbers_prefix_overflow()