Motr
M0
|
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "xcode/ut/test_gccxml_simple.h"
#include "xcode/ut/test_gccxml_simple_xc.h"
Go to the source code of this file.
Data Structures | |
struct | _optfid_s |
struct | _optfidarray_s |
struct | _fixarray_s |
struct | _testtypes_s |
struct | _inlinearray_s |
struct | _enumfield_s |
Functions | |
M0_BASSERT (offsetof(struct _optfid_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0])) | |
M0_BASSERT (offsetof(struct _optfidarray_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0])) | |
M0_BASSERT (offsetof(struct _fixarray_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0])) | |
M0_BASSERT (offsetof(struct _testtypes_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0])) | |
M0_BASSERT (offsetof(struct _inlinearray_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0])) | |
M0_BASSERT (offsetof(struct _enumfield_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0])) | |
M0_BASSERT (sizeof(struct optfid)==24U) | |
M0_BASSERT (sizeof((struct optfid *) 0) ->o_flag==1U) | |
M0_BASSERT (offsetof(struct optfid, o_flag)==0U) | |
M0_BASSERT (sizeof((struct optfid *) 0) ->u.o_fid==16U) | |
M0_BASSERT (offsetof(struct optfid, u.o_fid)==8U) | |
M0_BASSERT (offsetof(struct optfid, u.o_short)==8U) | |
M0_BASSERT (sizeof(struct optfidarray)==16U) | |
M0_BASSERT (sizeof((struct optfidarray *) 0) ->ofa_nr==8U) | |
M0_BASSERT (offsetof(struct optfidarray, ofa_nr)==0U) | |
M0_BASSERT (offsetof(struct optfidarray, ofa_data)==8U) | |
M0_BASSERT (sizeof(struct fixarray)==8U) | |
M0_BASSERT (sizeof((struct fixarray *) 0) ->fa_none==0U) | |
M0_BASSERT (offsetof(struct fixarray, fa_none)==0U) | |
M0_BASSERT (offsetof(struct fixarray, fa_data)==0U) | |
M0_BASSERT (sizeof(struct testtypes)==56U) | |
M0_BASSERT (sizeof((struct testtypes *) 0) ->tt_char==1U) | |
M0_BASSERT (offsetof(struct testtypes, tt_char)==0U) | |
M0_BASSERT (offsetof(struct testtypes, tt_pchar)==8U) | |
M0_BASSERT (offsetof(struct testtypes, tt_cpchar)==16U) | |
M0_BASSERT (offsetof(struct testtypes, tt_int)==24U) | |
M0_BASSERT (offsetof(struct testtypes, tt_ll)==32U) | |
M0_BASSERT (offsetof(struct testtypes, tt_ui)==40U) | |
M0_BASSERT (offsetof(struct testtypes, tt_buf)==48U) | |
M0_BASSERT (sizeof(struct inlinearray)==280U) | |
M0_BASSERT (sizeof((struct inlinearray *) 0) ->ia_bugs==280U) | |
M0_BASSERT (offsetof(struct inlinearray, ia_bugs)==0U) | |
M0_BASSERT (sizeof(struct enumfield)==32U) | |
M0_BASSERT (sizeof((struct enumfield *) 0) ->ef_0==8U) | |
M0_BASSERT (offsetof(struct enumfield, ef_0)==0U) | |
M0_BASSERT (offsetof(struct enumfield, ef_enum)==8U) | |
M0_BASSERT (offsetof(struct enumfield, ef_bitm)==16U) | |
M0_BASSERT (offsetof(struct enumfield, ef_1)==24U) | |
M0_INTERNAL void | m0_xc_optfid_struct_init (void) |
M0_INTERNAL void | m0_xc_optfidarray_struct_init (void) |
M0_INTERNAL void | m0_xc_fixarray_struct_init (void) |
M0_INTERNAL void | m0_xc_testtypes_struct_init (void) |
M0_INTERNAL void | m0_xc_inlinearray_struct_init (void) |
M0_INTERNAL void | m0_xc_enumfield_struct_init (void) |
M0_INTERNAL void | m0_xc_xcode_ut_test_gccxml_simple_init (void) |
M0_INTERNAL void | m0_xc_xcode_ut_test_gccxml_simple_fini (void) |
Variables | |
struct m0_xcode_type * | optfid_xc = &_optfid._type |
struct m0_xcode_type * | optfidarray_xc = &_optfidarray._type |
struct m0_xcode_type * | fixarray_xc = &_fixarray._type |
struct m0_xcode_type * | testtypes_xc = &_testtypes._type |
struct m0_xcode_type * | inlinearray_xc = &_inlinearray._type |
struct m0_xcode_type * | enumfield_xc = &_enumfield._type |
static struct _optfid_s | _optfid |
static struct _optfidarray_s | _optfidarray |
static struct _fixarray_s | _fixarray |
static struct _testtypes_s | _testtypes |
static struct _inlinearray_s | _inlinearray |
static struct _enumfield_s | _enumfield |
const struct m0_xcode_enum_val | testenum_data [] |
struct m0_xcode_enum | m0_xc_testenum_enum |
const struct m0_xcode_enum_val | testbitmask_data [] |
struct m0_xcode_enum | m0_xc_testbitmask_enum |
M0_BASSERT | ( | offsetof(struct _optfid_s, _child[0]) | = =offsetof(struct m0_xcode_type, xct_child[0]) | ) |
M0_BASSERT | ( | offsetof(struct _optfidarray_s, _child[0]) | = =offsetof(struct m0_xcode_type, xct_child[0]) | ) |
M0_BASSERT | ( | offsetof(struct _fixarray_s, _child[0]) | = =offsetof(struct m0_xcode_type, xct_child[0]) | ) |
M0_BASSERT | ( | offsetof(struct _testtypes_s, _child[0]) | = =offsetof(struct m0_xcode_type, xct_child[0]) | ) |
M0_BASSERT | ( | offsetof(struct _inlinearray_s, _child[0]) | = =offsetof(struct m0_xcode_type, xct_child[0]) | ) |
M0_BASSERT | ( | offsetof(struct _enumfield_s, _child[0]) | = =offsetof(struct m0_xcode_type, xct_child[0]) | ) |
M0_BASSERT | ( | sizeof(struct optfid) | = =24U | ) |
M0_BASSERT | ( | sizeof((struct optfid *) 0) -> | o_flag = =1U | ) |
M0_BASSERT | ( | sizeof((struct optfid *) 0) ->u. | o_fid = =16U | ) |
M0_BASSERT | ( | sizeof(struct optfidarray) | = =16U | ) |
M0_BASSERT | ( | sizeof((struct optfidarray *) 0) -> | ofa_nr = =8U | ) |
M0_BASSERT | ( | offsetof(struct optfidarray, ofa_nr) | = =0U | ) |
M0_BASSERT | ( | offsetof(struct optfidarray, ofa_data) | = =8U | ) |
M0_BASSERT | ( | sizeof(struct fixarray) | = =8U | ) |
M0_BASSERT | ( | sizeof((struct fixarray *) 0) -> | fa_none = =0U | ) |
M0_BASSERT | ( | sizeof(struct testtypes) | = =56U | ) |
M0_BASSERT | ( | sizeof((struct testtypes *) 0) -> | tt_char = =1U | ) |
M0_BASSERT | ( | sizeof(struct inlinearray) | = =280U | ) |
M0_BASSERT | ( | sizeof((struct inlinearray *) 0) -> | ia_bugs = =280U | ) |
M0_BASSERT | ( | offsetof(struct inlinearray, ia_bugs) | = =0U | ) |
M0_BASSERT | ( | sizeof(struct enumfield) | = =32U | ) |
M0_BASSERT | ( | sizeof((struct enumfield *) 0) -> | ef_0 = =8U | ) |
M0_INTERNAL void m0_xc_enumfield_struct_init | ( | void | ) |
Definition at line 457 of file test_gccxml_simple_xc.c.
M0_INTERNAL void m0_xc_fixarray_struct_init | ( | void | ) |
Definition at line 292 of file test_gccxml_simple_xc.c.
M0_INTERNAL void m0_xc_inlinearray_struct_init | ( | void | ) |
Definition at line 437 of file test_gccxml_simple_xc.c.
M0_INTERNAL void m0_xc_optfid_struct_init | ( | void | ) |
Definition at line 207 of file test_gccxml_simple_xc.c.
M0_INTERNAL void m0_xc_optfidarray_struct_init | ( | void | ) |
Definition at line 257 of file test_gccxml_simple_xc.c.
M0_INTERNAL void m0_xc_testtypes_struct_init | ( | void | ) |
Definition at line 327 of file test_gccxml_simple_xc.c.
M0_INTERNAL void m0_xc_xcode_ut_test_gccxml_simple_fini | ( | void | ) |
Definition at line 532 of file test_gccxml_simple_xc.c.
M0_INTERNAL void m0_xc_xcode_ut_test_gccxml_simple_init | ( | void | ) |
Definition at line 522 of file test_gccxml_simple_xc.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
struct m0_xcode_type * enumfield_xc = &_enumfield._type |
Definition at line 15 of file test_gccxml_simple_xc.c.
struct m0_xcode_type * fixarray_xc = &_fixarray._type |
Definition at line 12 of file test_gccxml_simple_xc.c.
struct m0_xcode_type * inlinearray_xc = &_inlinearray._type |
Definition at line 14 of file test_gccxml_simple_xc.c.
struct m0_xcode_enum m0_xc_testbitmask_enum |
Definition at line 200 of file test_gccxml_simple_xc.c.
struct m0_xcode_enum m0_xc_testenum_enum |
Definition at line 185 of file test_gccxml_simple_xc.c.
struct m0_xcode_type * optfid_xc = &_optfid._type |
Definition at line 10 of file test_gccxml_simple_xc.c.
struct m0_xcode_type * optfidarray_xc = &_optfidarray._type |
Definition at line 11 of file test_gccxml_simple_xc.c.
const struct m0_xcode_enum_val testbitmask_data[] |
Definition at line 191 of file test_gccxml_simple_xc.c.
const struct m0_xcode_enum_val testenum_data[] |
Definition at line 177 of file test_gccxml_simple_xc.c.
struct m0_xcode_type * testtypes_xc = &_testtypes._type |
Definition at line 13 of file test_gccxml_simple_xc.c.