• Home
  • Raw
  • Download

Lines Matching refs:check_one_size_helper

604 #define check_one_size_helper(expected, func, args...)	({	\  in test_overflow_size_helpers()  macro
620 err |= check_one_size_helper(20, size_mul, var++, 5); in test_overflow_size_helpers()
621 err |= check_one_size_helper(20, size_mul, 4, var++); in test_overflow_size_helpers()
622 err |= check_one_size_helper(0, size_mul, 0, 3); in test_overflow_size_helpers()
623 err |= check_one_size_helper(0, size_mul, 3, 0); in test_overflow_size_helpers()
624 err |= check_one_size_helper(6, size_mul, 2, 3); in test_overflow_size_helpers()
625 err |= check_one_size_helper(SIZE_MAX, size_mul, SIZE_MAX, 1); in test_overflow_size_helpers()
626 err |= check_one_size_helper(SIZE_MAX, size_mul, SIZE_MAX, 3); in test_overflow_size_helpers()
627 err |= check_one_size_helper(SIZE_MAX, size_mul, SIZE_MAX, -3); in test_overflow_size_helpers()
630 err |= check_one_size_helper(9, size_add, var++, 5); in test_overflow_size_helpers()
631 err |= check_one_size_helper(9, size_add, 4, var++); in test_overflow_size_helpers()
632 err |= check_one_size_helper(9, size_add, 9, 0); in test_overflow_size_helpers()
633 err |= check_one_size_helper(9, size_add, 0, 9); in test_overflow_size_helpers()
634 err |= check_one_size_helper(5, size_add, 2, 3); in test_overflow_size_helpers()
635 err |= check_one_size_helper(SIZE_MAX, size_add, SIZE_MAX, 1); in test_overflow_size_helpers()
636 err |= check_one_size_helper(SIZE_MAX, size_add, SIZE_MAX, 3); in test_overflow_size_helpers()
637 err |= check_one_size_helper(SIZE_MAX, size_add, SIZE_MAX, -3); in test_overflow_size_helpers()
640 err |= check_one_size_helper(1, size_sub, var--, 3); in test_overflow_size_helpers()
641 err |= check_one_size_helper(1, size_sub, 4, var--); in test_overflow_size_helpers()
642 err |= check_one_size_helper(1, size_sub, 3, 2); in test_overflow_size_helpers()
643 err |= check_one_size_helper(9, size_sub, 9, 0); in test_overflow_size_helpers()
644 err |= check_one_size_helper(SIZE_MAX, size_sub, 9, -3); in test_overflow_size_helpers()
645 err |= check_one_size_helper(SIZE_MAX, size_sub, 0, 9); in test_overflow_size_helpers()
646 err |= check_one_size_helper(SIZE_MAX, size_sub, 2, 3); in test_overflow_size_helpers()
647 err |= check_one_size_helper(SIZE_MAX, size_sub, SIZE_MAX, 0); in test_overflow_size_helpers()
648 err |= check_one_size_helper(SIZE_MAX, size_sub, SIZE_MAX, 10); in test_overflow_size_helpers()
649 err |= check_one_size_helper(SIZE_MAX, size_sub, 0, SIZE_MAX); in test_overflow_size_helpers()
650 err |= check_one_size_helper(SIZE_MAX, size_sub, 14, SIZE_MAX); in test_overflow_size_helpers()
651 err |= check_one_size_helper(SIZE_MAX - 2, size_sub, SIZE_MAX - 1, 1); in test_overflow_size_helpers()
652 err |= check_one_size_helper(SIZE_MAX - 4, size_sub, SIZE_MAX - 1, 3); in test_overflow_size_helpers()
653 err |= check_one_size_helper(1, size_sub, SIZE_MAX - 1, -3); in test_overflow_size_helpers()
656 err |= check_one_size_helper(4 * sizeof(*obj->data), in test_overflow_size_helpers()
658 err |= check_one_size_helper(5 * sizeof(*obj->data), in test_overflow_size_helpers()
660 err |= check_one_size_helper(0, flex_array_size, obj, data, 0); in test_overflow_size_helpers()
661 err |= check_one_size_helper(sizeof(*obj->data), in test_overflow_size_helpers()
663 err |= check_one_size_helper(7 * sizeof(*obj->data), in test_overflow_size_helpers()
665 err |= check_one_size_helper(SIZE_MAX, in test_overflow_size_helpers()
667 err |= check_one_size_helper(SIZE_MAX, in test_overflow_size_helpers()
671 err |= check_one_size_helper(sizeof(*obj) + (4 * sizeof(*obj->data)), in test_overflow_size_helpers()
673 err |= check_one_size_helper(sizeof(*obj) + (5 * sizeof(*obj->data)), in test_overflow_size_helpers()
675 err |= check_one_size_helper(sizeof(*obj), struct_size, obj, data, 0); in test_overflow_size_helpers()
676 err |= check_one_size_helper(sizeof(*obj) + sizeof(*obj->data), in test_overflow_size_helpers()
678 err |= check_one_size_helper(SIZE_MAX, in test_overflow_size_helpers()
680 err |= check_one_size_helper(SIZE_MAX, in test_overflow_size_helpers()