/third_party/boost/libs/fusion/test/sequence/ |
D | adapt_assoc_struct_named_empty.cpp | 30 class empty_struct{}; class 31 BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED(::empty_struct,empty_struct,) 43 empty_struct empty; in main() 45 BOOST_MPL_ASSERT((traits::is_view<adapted::empty_struct>)); in main() 46 BOOST_STATIC_ASSERT(traits::is_view<adapted::empty_struct>::value); in main() 47 adapted::empty_struct e(empty); in main() 52 BOOST_STATIC_ASSERT(fusion::result_of::size<adapted::empty_struct>::value == 0); in main() 53 BOOST_MPL_ASSERT((fusion::result_of::empty<adapted::empty_struct>)); in main() 56 fusion::result_of::begin<adapted::empty_struct>::type, in main() 57 fusion::result_of::end<adapted::empty_struct>::type>)); in main() [all …]
|
D | adapt_assoc_struct_empty.cpp | 30 class empty_struct{}; class 31 BOOST_FUSION_ADAPT_ASSOC_STRUCT(empty_struct,) 44 BOOST_MPL_ASSERT_NOT((traits::is_view<empty_struct>)); in main() 45 BOOST_STATIC_ASSERT(!traits::is_view<empty_struct>::value); in main() 46 empty_struct e; in main() 51 BOOST_STATIC_ASSERT(fusion::result_of::size<empty_struct>::value == 0); in main() 52 BOOST_MPL_ASSERT((fusion::result_of::empty<empty_struct>)); in main() 55 fusion::result_of::begin<empty_struct>::type, in main() 56 fusion::result_of::end<empty_struct>::type>)); in main() 61 empty_struct e; in main() [all …]
|
D | adapt_struct_named_empty.cpp | 30 class empty_struct{}; class 31 BOOST_FUSION_ADAPT_STRUCT_NAMED(::empty_struct,empty_struct,) 43 empty_struct empty; in main() 45 BOOST_MPL_ASSERT((traits::is_view<adapted::empty_struct>)); in main() 46 BOOST_STATIC_ASSERT(traits::is_view<adapted::empty_struct>::value); in main() 47 adapted::empty_struct e(empty); in main() 52 BOOST_STATIC_ASSERT(fusion::result_of::size<adapted::empty_struct>::value == 0); in main() 53 BOOST_MPL_ASSERT((fusion::result_of::empty<adapted::empty_struct>)); in main() 56 fusion::result_of::begin<adapted::empty_struct>::type, in main() 57 fusion::result_of::end<adapted::empty_struct>::type>)); in main() [all …]
|
D | define_assoc_struct_empty.cpp | 19 BOOST_FUSION_DEFINE_ASSOC_STRUCT(BOOST_PP_EMPTY(), empty_struct, ) in BOOST_PP_EMPTY() 32 BOOST_MPL_ASSERT_NOT((traits::is_view<empty_struct>)); in BOOST_PP_EMPTY() 33 BOOST_STATIC_ASSERT(!traits::is_view<empty_struct>::value); in BOOST_PP_EMPTY() 34 empty_struct e; in BOOST_PP_EMPTY() 39 BOOST_STATIC_ASSERT(fusion::result_of::size<empty_struct>::value == 0); in BOOST_PP_EMPTY() 40 BOOST_STATIC_ASSERT(fusion::result_of::empty<empty_struct>::value); in BOOST_PP_EMPTY() 45 empty_struct e; in BOOST_PP_EMPTY() 55 empty_struct e; in BOOST_PP_EMPTY() 67 typedef fusion::result_of::begin<empty_struct>::type b; in BOOST_PP_EMPTY() 68 typedef fusion::result_of::end<empty_struct>::type e; in BOOST_PP_EMPTY() [all …]
|
D | define_assoc_tpl_struct_empty.cpp | 19 BOOST_FUSION_DEFINE_ASSOC_TPL_STRUCT((M), BOOST_PP_EMPTY(), empty_struct, ) 32 BOOST_MPL_ASSERT_NOT((traits::is_view<empty_struct<void> >)); in main() 33 BOOST_STATIC_ASSERT(!traits::is_view<empty_struct<void> >::value); in main() 34 empty_struct<void> e; in main() 39 BOOST_STATIC_ASSERT(fusion::result_of::size<empty_struct<void> >::value == 0); in main() 40 BOOST_STATIC_ASSERT(fusion::result_of::empty<empty_struct<void> >::value); in main() 45 empty_struct<void> e; in main() 55 empty_struct<void> e; in main() 67 typedef fusion::result_of::begin<empty_struct<void> >::type b; in main() 68 typedef fusion::result_of::end<empty_struct<void> >::type e; in main() [all …]
|
D | adapt_assoc_tpl_struct_empty.cpp | 31 class empty_struct{}; class 32 BOOST_FUSION_ADAPT_ASSOC_TPL_STRUCT((T), (empty_struct)(T),) 45 BOOST_MPL_ASSERT_NOT((traits::is_view<empty_struct<void> >)); in main() 46 empty_struct<void> e; in main() 51 BOOST_STATIC_ASSERT(fusion::result_of::size<empty_struct<void> >::value == 0); in main() 52 BOOST_MPL_ASSERT((fusion::result_of::empty<empty_struct<void> >)); in main() 55 fusion::result_of::begin<empty_struct<void> >::type, in main() 56 fusion::result_of::end<empty_struct<void> >::type>)); in main() 61 empty_struct<void> e; in main() 71 empty_struct<void> e; in main() [all …]
|
D | adapt_struct_empty.cpp | 30 class empty_struct{}; class 31 BOOST_FUSION_ADAPT_STRUCT(empty_struct,) 44 BOOST_MPL_ASSERT_NOT((traits::is_view<empty_struct>)); in main() 45 BOOST_STATIC_ASSERT(!traits::is_view<empty_struct>::value); in main() 46 empty_struct e; in main() 51 BOOST_STATIC_ASSERT(fusion::result_of::size<empty_struct>::value == 0); in main() 52 BOOST_MPL_ASSERT((fusion::result_of::empty<empty_struct>)); in main() 55 fusion::result_of::begin<empty_struct>::type, in main() 56 fusion::result_of::end<empty_struct>::type>)); in main() 61 empty_struct e; in main() [all …]
|
D | adapt_tpl_struct_empty.cpp | 31 class empty_struct{}; class 32 BOOST_FUSION_ADAPT_TPL_STRUCT((T), (empty_struct)(T),) 45 BOOST_MPL_ASSERT_NOT((traits::is_view<empty_struct<void> >)); in main() 46 empty_struct<void> e; in main() 51 BOOST_STATIC_ASSERT(fusion::result_of::size<empty_struct<void> >::value == 0); in main() 52 BOOST_MPL_ASSERT((fusion::result_of::empty<empty_struct<void> >)); in main() 55 fusion::result_of::begin<empty_struct<void> >::type, in main() 56 fusion::result_of::end<empty_struct<void> >::type>)); in main() 61 empty_struct<void> e; in main() 71 empty_struct<void> e; in main() [all …]
|
D | define_struct_empty.cpp | 19 BOOST_FUSION_DEFINE_STRUCT(BOOST_PP_EMPTY(), empty_struct, ) in BOOST_PP_EMPTY() 32 BOOST_MPL_ASSERT_NOT((traits::is_view<empty_struct>)); in BOOST_PP_EMPTY() 33 BOOST_STATIC_ASSERT(!traits::is_view<empty_struct>::value); in BOOST_PP_EMPTY() 34 empty_struct e; in BOOST_PP_EMPTY() 39 BOOST_STATIC_ASSERT(fusion::result_of::size<empty_struct>::value == 0); in BOOST_PP_EMPTY() 40 BOOST_STATIC_ASSERT(fusion::result_of::empty<empty_struct>::value); in BOOST_PP_EMPTY() 45 empty_struct e; in BOOST_PP_EMPTY() 55 empty_struct e; in BOOST_PP_EMPTY() 67 typedef fusion::result_of::begin<empty_struct>::type b; in BOOST_PP_EMPTY() 68 typedef fusion::result_of::end<empty_struct>::type e; in BOOST_PP_EMPTY() [all …]
|
D | define_struct_inline_empty.cpp | 19 BOOST_FUSION_DEFINE_STRUCT_INLINE(empty_struct, ) 32 BOOST_MPL_ASSERT_NOT((traits::is_view<empty_struct>)); in main() 33 BOOST_STATIC_ASSERT(!traits::is_view<empty_struct>::value); in main() 34 empty_struct e; in main() 39 BOOST_STATIC_ASSERT(fusion::result_of::size<empty_struct>::value == 0); in main() 40 BOOST_STATIC_ASSERT(fusion::result_of::empty<empty_struct>::value); in main() 45 empty_struct e; in main() 55 empty_struct e; in main() 67 typedef fusion::result_of::begin<empty_struct>::type b; in main() 68 typedef fusion::result_of::end<empty_struct>::type e; in main() [all …]
|
D | define_tpl_struct_inline_empty.cpp | 19 BOOST_FUSION_DEFINE_TPL_STRUCT_INLINE((M), empty_struct, ) 32 BOOST_MPL_ASSERT_NOT((traits::is_view<empty_struct<void> >)); in main() 33 empty_struct<void> e; in main() 38 BOOST_STATIC_ASSERT(fusion::result_of::size<empty_struct<void> >::value == 0); in main() 39 BOOST_STATIC_ASSERT(fusion::result_of::empty<empty_struct<void> >::value); in main() 44 empty_struct<void> e; in main() 54 empty_struct<void> e; in main() 66 typedef fusion::result_of::begin<empty_struct<void> >::type b; in main() 67 typedef fusion::result_of::end<empty_struct<void> >::type e; in main() 72 BOOST_MPL_ASSERT((mpl::is_sequence<empty_struct<void> >)); in main()
|
D | define_tpl_struct_empty.cpp | 19 BOOST_FUSION_DEFINE_TPL_STRUCT((M), BOOST_PP_EMPTY(), empty_struct, ) 32 BOOST_MPL_ASSERT_NOT((traits::is_view<empty_struct<void> >)); in main() 33 empty_struct<void> e; in main() 38 BOOST_STATIC_ASSERT(fusion::result_of::size<empty_struct<void> >::value == 0); in main() 39 BOOST_STATIC_ASSERT(fusion::result_of::empty<empty_struct<void> >::value); in main() 44 empty_struct<void> e; in main() 54 empty_struct<void> e; in main() 66 typedef fusion::result_of::begin<empty_struct<void> >::type b; in main() 67 typedef fusion::result_of::end<empty_struct<void> >::type e; in main() 72 BOOST_MPL_ASSERT((mpl::is_sequence<empty_struct<void> >)); in main()
|
D | define_tpl_struct_inline.cpp | 45 BOOST_FUSION_DEFINE_TPL_STRUCT_INLINE((M), empty_struct, ) 58 BOOST_STATIC_ASSERT(boost::fusion::result_of::size<ns::empty_struct<int> >::value == 0); in run_test() 59 BOOST_STATIC_ASSERT(boost::fusion::result_of::empty<ns::empty_struct<int> >::value); in run_test()
|
D | define_struct_inline.cpp | 43 BOOST_FUSION_DEFINE_STRUCT_INLINE(empty_struct, ) 63 BOOST_STATIC_ASSERT(boost::fusion::result_of::size<ns::empty_struct>::value == 0); in run_test() 64 BOOST_STATIC_ASSERT(boost::fusion::result_of::empty<ns::empty_struct>::value); in run_test()
|
D | adapt_struct_named.cpp | 74 struct empty_struct {}; struct 75 BOOST_FUSION_ADAPT_STRUCT_NAMED(empty_struct, renamed_empty_struct, ) 76 BOOST_FUSION_ADAPT_STRUCT_NAMED_NS(empty_struct, (ns1), renamed_empty_struct1, )
|
D | adapt_assoc_struct_named.cpp | 55 struct empty_struct {}; struct 56 BOOST_FUSION_ADAPT_ASSOC_STRUCT_NAMED(empty_struct, renamed_empty_struct,)
|
D | adapt_assoc_struct.cpp | 74 struct empty_struct {}; struct 75 BOOST_FUSION_ADAPT_ASSOC_STRUCT(empty_struct,)
|
D | adapt_struct.cpp | 157 struct empty_struct {}; struct 158 BOOST_FUSION_ADAPT_STRUCT(empty_struct,)
|
D | define_tpl_struct.cpp | 30 BOOST_FUSION_DEFINE_TPL_STRUCT((M), BOOST_PP_EMPTY(), empty_struct, )
|
D | define_assoc_tpl_struct.cpp | 34 BOOST_FUSION_DEFINE_ASSOC_TPL_STRUCT((M), BOOST_PP_EMPTY(), empty_struct, )
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/ |
D | optional.h | 70 struct empty_struct {}; struct 78 static_assert(sizeof(T) % sizeof(empty_struct) == 0, ""); 80 empty_struct data[sizeof(T) / sizeof(empty_struct)]; 113 static_assert(sizeof(T) % sizeof(empty_struct) == 0, ""); 115 empty_struct data[sizeof(T) / sizeof(empty_struct)];
|
/third_party/abseil-cpp/absl/types/internal/ |
D | optional.h | 70 struct empty_struct {}; struct 78 static_assert(sizeof(T) % sizeof(empty_struct) == 0, ""); 80 empty_struct data[sizeof(T) / sizeof(empty_struct)]; 113 static_assert(sizeof(T) % sizeof(empty_struct) == 0, ""); 115 empty_struct data[sizeof(T) / sizeof(empty_struct)];
|
/third_party/boost/libs/utility/test/ |
D | value_init_workaround_test.cpp | 20 struct empty_struct struct 29 struct derived_struct: empty_struct
|
D | value_init_test2.cpp | 18 struct empty_struct struct 27 struct derived_struct: empty_struct
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | well_known_types_test.py | 858 empty_struct = struct['empty_struct'] 859 self.assertEqual({}, dict(empty_struct.fields)) 861 empty_struct = list2[1] 862 self.assertEqual({}, dict(empty_struct.fields)) 911 empty_struct = struct['empty_struct'] 912 self.assertEqual({}, dict(empty_struct.fields))
|