Lines Matching refs:init
241 #define DEFINE_SCALAR_TEST(name, init) \ argument
242 DEFINE_TEST(name ## _ ## init, name, SCALAR, init)
244 #define DEFINE_SCALAR_TESTS(init) \ argument
245 DEFINE_SCALAR_TEST(u8, init); \
246 DEFINE_SCALAR_TEST(u16, init); \
247 DEFINE_SCALAR_TEST(u32, init); \
248 DEFINE_SCALAR_TEST(u64, init); \
249 DEFINE_TEST(char_array_ ## init, unsigned char, STRING, init)
251 #define DEFINE_STRUCT_TEST(name, init) \ argument
252 DEFINE_TEST(name ## _ ## init, \
253 struct test_ ## name, STRUCT, init)
255 #define DEFINE_STRUCT_TESTS(init) \ argument
256 DEFINE_STRUCT_TEST(small_hole, init); \
257 DEFINE_STRUCT_TEST(big_hole, init); \
258 DEFINE_STRUCT_TEST(trailing_hole, init); \
259 DEFINE_STRUCT_TEST(packed, init)
336 #define test_scalars(init) do { \ in test_stackinit_init() argument
337 failures += test_u8_ ## init (); \ in test_stackinit_init()
338 failures += test_u16_ ## init (); \ in test_stackinit_init()
339 failures += test_u32_ ## init (); \ in test_stackinit_init()
340 failures += test_u64_ ## init (); \ in test_stackinit_init()
341 failures += test_char_array_ ## init (); \ in test_stackinit_init()
344 #define test_structs(init) do { \ in test_stackinit_init() argument
345 failures += test_small_hole_ ## init (); \ in test_stackinit_init()
346 failures += test_big_hole_ ## init (); \ in test_stackinit_init()
347 failures += test_trailing_hole_ ## init (); \ in test_stackinit_init()
348 failures += test_packed_ ## init (); \ in test_stackinit_init()