Lines Matching defs:data
646 unsigned long data[];
652 u8 ce_array[struct_size_t(struct __test_flex_array, data, 55)];
661 KUNIT_EXPECT_EQ(test, sizeof(ce_array), struct_size(obj, data, var));
708 check_one_size_helper(4 * sizeof(*obj->data),
709 flex_array_size, obj, data, var++);
710 check_one_size_helper(5 * sizeof(*obj->data),
711 flex_array_size, obj, data, var++);
712 check_one_size_helper(0, flex_array_size, obj, data, 0 + unconst);
713 check_one_size_helper(sizeof(*obj->data),
714 flex_array_size, obj, data, 1 + unconst);
715 check_one_size_helper(7 * sizeof(*obj->data),
716 flex_array_size, obj, data, 7 + unconst);
718 flex_array_size, obj, data, -1 + unconst);
720 flex_array_size, obj, data, SIZE_MAX - 4 + unconst);
723 check_one_size_helper(sizeof(*obj) + (4 * sizeof(*obj->data)),
724 struct_size, obj, data, var++);
725 check_one_size_helper(sizeof(*obj) + (5 * sizeof(*obj->data)),
726 struct_size, obj, data, var++);
727 check_one_size_helper(sizeof(*obj), struct_size, obj, data, 0 + unconst);
728 check_one_size_helper(sizeof(*obj) + sizeof(*obj->data),
729 struct_size, obj, data, 1 + unconst);
731 struct_size, obj, data, -3 + unconst);
733 struct_size, obj, data, SIZE_MAX - 3 + unconst);