24 .xct_sizeof =
sizeof (
struct optfid),
40 .xct_name =
"optfidarray",
57 .xct_name =
"fixarray",
58 .xct_sizeof =
sizeof (
struct fixarray),
74 .xct_name =
"testtypes",
91 .xct_name =
"inlinearray",
108 .xct_name =
"enumfield",
178 { .
xev_idx = 0, .xev_name =
"TE_0", .xev_val = 0 },
179 { .xev_idx = 1, .xev_name =
"TE_1", .xev_val = 1 },
180 { .xev_idx = 2, .xev_name =
"TE_5", .xev_val = 5 },
181 { .xev_idx = 3, .xev_name =
"TE_33", .xev_val = 33 },
182 { .xev_idx = -1, .xev_name =
"Invalid value of enum 'testenum'." }
192 { .
xev_idx = 0, .xev_name =
"BM_ZERO", .xev_val = 1 },
193 { .xev_idx = 1, .xev_name =
"BM_SIX", .xev_val = 64 },
194 { .xev_idx = 2, .xev_name =
"BM_FOUR", .xev_val = 16 },
195 { .xev_idx = 3, .xev_name =
"BM_NINE", .xev_val = 512 },
196 { .xev_idx = 4, .xev_name =
"BM_FIVE", .xev_val = 32 },
197 { .xev_idx = -1, .xev_name =
"Invalid value of enum 'testbitmask'." }
M0_INTERNAL void m0_xc_inlinearray_struct_init(void)
static struct _inlinearray_s _inlinearray
struct m0_xcode_field _child[7]
struct m0_xcode_type * enumfield_xc
struct m0_xcode_field _child[1]
M0_INTERNAL void m0_xc_xcode_ut_test_gccxml_simple_fini(void)
static struct _enumfield_s _enumfield
struct m0_xcode_field xct_child[0]
M0_INTERNAL void m0_xc_m0_fid_struct_init(void)
struct m0_xcode_type _type
void m0_xc_void_init(void)
M0_BASSERT(offsetof(struct _optfid_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
struct m0_xcode_field _child[2]
struct m0_xcode_field _child[3]
struct m0_xcode_type * inlinearray_xc
struct m0_xcode_type _type
const struct m0_xcode_enum_val testenum_data[]
struct m0_xcode_type _type
M0_INTERNAL void m0_xc_enumfield_struct_init(void)
static struct _optfid_s _optfid
struct m0_xcode_type * optfidarray_xc
struct m0_xcode_type _type
struct m0_xcode_field _child[2]
struct m0_xcode_enum m0_xc_testenum_enum
const struct m0_xcode_type M0_XT_VOID
M0_INTERNAL void m0_xc_fixarray_struct_init(void)
M0_INTERNAL void m0_xc_xcode_ut_test_gccxml_simple_init(void)
M0_INTERNAL void m0_xc_optfid_struct_init(void)
struct m0_xcode_type _type
const struct m0_xcode_enum_val testbitmask_data[]
bool m0_xcode_type_invariant(const struct m0_xcode_type *xt)
struct m0_xcode_type * fixarray_xc
struct m0_xcode_enum m0_xc_testbitmask_enum
struct m0_xcode_field _child[4]
void m0_xc_u64_init(void)
const struct m0_xcode_type M0_XT_U32
M0_INTERNAL int m0_xcode_bitmask_field_read(const struct m0_xcode_cursor *it, struct m0_xcode_obj *obj, const char *str)
struct m0_xcode_type _type
enum m0_xcode_aggr xct_aggr
M0_INTERNAL void m0_xc_testtypes_struct_init(void)
const struct m0_xcode_type M0_XT_U8
struct m0_xcode_type * testtypes_xc
void m0_xc_u32_init(void)
static struct _testtypes_s _testtypes
static struct _optfidarray_s _optfidarray
struct m0_xcode_type * m0_fid_xc
const struct m0_xcode_type M0_XT_U64
M0_INTERNAL void m0_xc_optfidarray_struct_init(void)
#define offsetof(typ, memb)
struct m0_xcode_type * optfid_xc
M0_INTERNAL int m0_xcode_enum_field_read(const struct m0_xcode_cursor *it, struct m0_xcode_obj *obj, const char *str)
static struct _fixarray_s _fixarray