Lines Matching refs:first_field
38 #define EXPECT_OFFSET_DIFF(first_type, first_field, second_type, second_field, diff, name) \
40 - OFFSETOF_MEMBER(first_type, first_field) == (diff), name)
43 #define EXPECT_OFFSET_DIFFNP(type, first_field, second_field, diff) \
44 EXPECT_OFFSET_DIFF(type, first_field, type, second_field, diff, \
45 type ## _ ## first_field ## _ ## second_field)
49 #define EXPECT_OFFSET_DIFFP(type, prefix, first_field, second_field, diff) \
50 EXPECT_OFFSET_DIFF(type, prefix . first_field, type, prefix . second_field, diff, /* NOLINT */ \
51 type ## _ ## prefix ## _ ## first_field ## _ ## second_field)
55 #define EXPECT_OFFSET_DIFF_GT(first_type, first_field, second_type, second_field, diff, name) \
57 - OFFSETOF_MEMBER(first_type, first_field) >= (diff), name)
60 #define EXPECT_OFFSET_DIFF_GT3(type, first_field, second_field, diff, name) \
61 EXPECT_OFFSET_DIFF_GT(type, first_field, type, second_field, diff, name)