Lines Matching defs:obj
711 struct __test_flex_array *obj;
719 KUNIT_EXPECT_EQ(test, sizeof(ce_array), struct_size(obj, data, var));
766 check_one_size_helper(4 * sizeof(*obj->data),
767 flex_array_size, obj, data, var++);
768 check_one_size_helper(5 * sizeof(*obj->data),
769 flex_array_size, obj, data, var++);
770 check_one_size_helper(0, flex_array_size, obj, data, 0 + unconst);
771 check_one_size_helper(sizeof(*obj->data),
772 flex_array_size, obj, data, 1 + unconst);
773 check_one_size_helper(7 * sizeof(*obj->data),
774 flex_array_size, obj, data, 7 + unconst);
776 flex_array_size, obj, data, -1 + unconst);
778 flex_array_size, obj, data, SIZE_MAX - 4 + unconst);
781 check_one_size_helper(sizeof(*obj) + (4 * sizeof(*obj->data)),
782 struct_size, obj, data, var++);
783 check_one_size_helper(sizeof(*obj) + (5 * sizeof(*obj->data)),
784 struct_size, obj, data, var++);
785 check_one_size_helper(sizeof(*obj), struct_size, obj, data, 0 + unconst);
786 check_one_size_helper(sizeof(*obj) + sizeof(*obj->data),
787 struct_size, obj, data, 1 + unconst);
789 struct_size, obj, data, -3 + unconst);
791 struct_size, obj, data, SIZE_MAX - 3 + unconst);