Lines Matching refs:offsetof
29 * ASSERTION: offsetof can be used anywhere in a D program that an integer
49 add = offsetof(record_t, c) + offsetof(record_t, x) +
50 offsetof(record_t, y);
51 sub = offsetof(record_t, y) - offsetof(record_t, x);
52 mul = offsetof(record_t, x) * offsetof(record_t, c);
53 div = offsetof(record_t, y) / offsetof(record_t, x);
55 printf("offsetof(record_t, c) = %d\n", offsetof(record_t, c));
56 printf("offsetof(record_t, x) = %d\n", offsetof(record_t, x));
57 printf("offsetof(record_t, y) = %d\n", offsetof(record_t, y));
68 /(8 != offsetof(record_t, y)) || (4 != offsetof(record_t, x)) ||
69 (0 != offsetof(record_t, c)) || (12 != add) || (4 != sub) || (0 != mul)