/third_party/boost/libs/type_traits/test/ |
D | alignment_of_test.cpp | 79 TT_TEST_BEGIN(alignment_of) 83 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<void>::value, 0); 85 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<char>::value, ALIGNOF(char)); 86 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<short>::value, ALIGNOF(short)); 87 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<int>::value, ALIGNOF(int)); 88 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<long>::value, ALIGNOF(long)); 89 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<float>::value, ALIGNOF(float)); 90 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<double>::value, ALIGNOF(double)); 91 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<long double>::value, ALIGNOF(long double)); 93 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of< ::boost::long_long_type>::value, ALIGNOF(::boost:… [all …]
|
D | alignment_of_a2_test.cpp | 84 TT_TEST_BEGIN(alignment_of) 88 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<void>::value, 0); 90 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<char>::value, ALIGNOF(char)); 91 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<short>::value, ALIGNOF(short)); 92 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<int>::value, ALIGNOF(int)); 93 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<long>::value, ALIGNOF(long)); 94 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<float>::value, ALIGNOF(float)); 95 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<double>::value, ALIGNOF(double)); 96 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<long double>::value, ALIGNOF(long double)); 98 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of< ::boost::long_long_type>::value, ALIGNOF(::boost:… [all …]
|
D | aligned_storage_a2_test.cpp | 50 BOOST_CHECK(::tt::alignment_of<t1>::value == T::value); in do_check() 65 BOOST_CHECK(::tt::alignment_of<t2>::value == T::value); in do_check() 83 …BOOST_CHECK(::tt::alignment_of<t3>::value == ::tt::alignment_of< ::boost::detail::max_align>::valu… in do_check() 93 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<char>::value>()); 94 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<short>::value>()); 95 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<int>::value>()); 96 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<long>::value>()); 97 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<float>::value>()); 98 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<double>::value>()); 99 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<long double>::value>()); [all …]
|
D | aligned_storage_test.cpp | 43 BOOST_CHECK(::tt::alignment_of<t1>::value == T::value); in do_check() 54 BOOST_CHECK(::tt::alignment_of<t2>::value == T::value); in do_check() 68 …BOOST_CHECK(::tt::alignment_of<t3>::value == ::tt::alignment_of< ::boost::detail::max_align>::valu… in do_check() 81 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<char>::value>()); 82 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<short>::value>()); 83 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<int>::value>()); 84 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<long>::value>()); 85 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<float>::value>()); 86 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<double>::value>()); 87 do_check(tt::integral_constant<std::size_t,::tt::alignment_of<long double>::value>()); [all …]
|
D | type_with_alignment_test.cpp | 43 std::cout << "Alignment of T is " << ::tt::alignment_of< T >::value << std::endl;\ 44 std::cout << "Aligned type is " << typeid(::tt::type_with_alignment< ::tt::alignment_of< T >::value… 45 std::cout << "Alignment of aligned type is " << ::tt::alignment_of<\ 47 ::tt::alignment_of< T >::value\ 50 BOOST_CHECK(::tt::alignment_of<\ 52 ::tt::alignment_of< T >::value\ 54 >::value == ::boost::alignment_of< T >::value);\ 57 ::tt::alignment_of< T >::value>::type\ 64 ::tt::alignment_of< T >::value\
|
D | tricky_partial_spec_test.cpp | 58 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<char&>::value, ALIGNOF(void*)); 59 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<char (&)(int)>::value, ALIGNOF(void*)); 60 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<char(&)[4]>::value, ALIGNOF(void*));
|
/third_party/boost/boost/type_traits/ |
D | alignment_of.hpp | 28 template <typename T> struct alignment_of; 88 template <class T> struct alignment_of : public integral_constant<std::size_t, ::boost::detail::ali… struct 92 template <typename T> struct alignment_of<T&> : public alignment_of<T*>{}; struct 98 template<> struct alignment_of<long double> : public alignment_of<long_double_wrapper>{}; struct 102 template<> struct alignment_of<void> : integral_constant<std::size_t, 0>{}; struct 104 template<> struct alignment_of<void const> : integral_constant<std::size_t, 0>{}; struct 105 template<> struct alignment_of<void const volatile> : integral_constant<std::size_t, 0>{}; struct 106 template<> struct alignment_of<void volatile> : integral_constant<std::size_t, 0>{}; struct
|
D | type_with_alignment.hpp | 55 …Target, false>{ typedef typename long_double_alignment<Target, boost::alignment_of<long double>::v… 59 …ment<Target, false>{ typedef typename double_alignment<Target, boost::alignment_of<double>::value … 64 …t<Target, false>{ typedef typename long_long_alignment<Target, boost::alignment_of<boost::long_lon… 66 …ment<Target, false>{ typedef typename double_alignment<Target, boost::alignment_of<double>::value … 70 …gnment<Target, false>{ typedef typename long_alignment<Target, boost::alignment_of<long>::value >=… 73 …ignment<Target, false>{ typedef typename int_alignment<Target, boost::alignment_of<int>::value >= … 76 …nment<Target, false>{ typedef typename short_alignment<Target, boost::alignment_of<short>::value >… 83 …typedef typename boost::detail::char_alignment<Align, boost::alignment_of<char>::value >= Align>::… 159 ::boost::alignment_of<boost::detail::max_align>::value < 8, 168 ::boost::alignment_of<boost::detail::max_align>::value < 16, [all …]
|
/third_party/boost/libs/type_traits/doc/ |
D | alignment_of.qbk | 8 [section:alignment_of alignment_of] 10 struct alignment_of : public __integral_constant<std::size_t, ALIGNOF(T)> {}; 12 __inherit Class template `alignment_of` inherits from 20 __header ` #include <boost/type_traits/alignment_of.hpp>` or ` #include <boost/type_traits.hpp>` 24 [:`alignment_of<int>` inherits from `__integral_constant<std::size_t, ALIGNOF(int)>`.] 26 [:`alignment_of<char>::type` is the type `__integral_constant<std::size_t, ALIGNOF(char)>`.] 28 [:`alignment_of<double>::value` is an integral constant 31 [:`alignment_of<T>::value_type` is the type `std::size_t`.] 39 assert(boost::alignment_of<align_t>::value % 8 == 0); 47 In this code, even though `boost::alignment_of<align_t>` reports that `align_t` has 8-byte [all …]
|
/third_party/boost/libs/smart_ptr/test/ |
D | make_shared_array_noinit_test.cpp | 52 boost::alignment_of<int>::value)); in main() 60 boost::alignment_of<int>::value)); in main() 68 boost::alignment_of<int>::value)); in main() 76 boost::alignment_of<int>::value)); in main() 84 boost::alignment_of<int>::value)); in main() 92 boost::alignment_of<int>::value)); in main() 100 boost::alignment_of<int>::value)); in main() 108 boost::alignment_of<int>::value)); in main() 116 boost::alignment_of<type>::value)); in main() 128 boost::alignment_of<type>::value)); in main() [all …]
|
D | make_local_shared_array_test.cpp | 55 boost::alignment_of<int>::value)); in main() 66 boost::alignment_of<int>::value)); in main() 77 boost::alignment_of<int>::value)); in main() 89 boost::alignment_of<int>::value)); in main() 101 boost::alignment_of<int>::value)); in main() 112 boost::alignment_of<int>::value)); in main() 123 boost::alignment_of<int>::value)); in main() 135 boost::alignment_of<int>::value)); in main() 147 boost::alignment_of<type>::value)); in main() 159 boost::alignment_of<type>::value)); in main() [all …]
|
D | make_local_shared_array_noinit_test.cpp | 55 boost::alignment_of<int>::value)); in main() 63 boost::alignment_of<int>::value)); in main() 71 boost::alignment_of<int>::value)); in main() 79 boost::alignment_of<int>::value)); in main() 87 boost::alignment_of<int>::value)); in main() 95 boost::alignment_of<int>::value)); in main() 103 boost::alignment_of<int>::value)); in main() 111 boost::alignment_of<int>::value)); in main() 119 boost::alignment_of<type>::value)); in main() 131 boost::alignment_of<type>::value)); in main() [all …]
|
D | make_shared_array_test.cpp | 52 boost::alignment_of<int>::value)); in main() 63 boost::alignment_of<int>::value)); in main() 74 boost::alignment_of<int>::value)); in main() 86 boost::alignment_of<int>::value)); in main() 98 boost::alignment_of<int>::value)); in main() 109 boost::alignment_of<int>::value)); in main() 120 boost::alignment_of<int>::value)); in main() 132 boost::alignment_of<int>::value)); in main() 144 boost::alignment_of<type>::value)); in main() 156 boost::alignment_of<type>::value)); in main() [all …]
|
D | allocate_shared_array_noinit_test.cpp | 89 boost::alignment_of<int>::value)); in main() 97 boost::alignment_of<int>::value)); in main() 105 boost::alignment_of<int>::value)); in main() 113 boost::alignment_of<int>::value)); in main() 121 boost::alignment_of<int>::value)); in main() 129 boost::alignment_of<int>::value)); in main() 137 boost::alignment_of<int>::value)); in main() 145 boost::alignment_of<int>::value)); in main() 153 boost::alignment_of<type>::value)); in main() 165 boost::alignment_of<type>::value)); in main() [all …]
|
D | allocate_local_shared_array_noinit_test.cpp | 92 boost::alignment_of<int>::value)); in main() 100 boost::alignment_of<int>::value)); in main() 108 boost::alignment_of<int>::value)); in main() 116 boost::alignment_of<int>::value)); in main() 124 boost::alignment_of<int>::value)); in main() 132 boost::alignment_of<int>::value)); in main() 140 boost::alignment_of<int>::value)); in main() 148 boost::alignment_of<int>::value)); in main() 156 boost::alignment_of<type>::value)); in main() 168 boost::alignment_of<type>::value)); in main() [all …]
|
D | allocate_local_shared_array_test.cpp | 92 boost::alignment_of<int>::value)); in main() 103 boost::alignment_of<int>::value)); in main() 114 boost::alignment_of<int>::value)); in main() 126 boost::alignment_of<int>::value)); in main() 138 boost::alignment_of<int>::value)); in main() 149 boost::alignment_of<int>::value)); in main() 160 boost::alignment_of<int>::value)); in main() 172 boost::alignment_of<int>::value)); in main() 184 boost::alignment_of<type>::value)); in main() 196 boost::alignment_of<type>::value)); in main() [all …]
|
D | allocate_shared_array_test.cpp | 89 boost::alignment_of<int>::value)); in main() 100 boost::alignment_of<int>::value)); in main() 111 boost::alignment_of<int>::value)); in main() 123 boost::alignment_of<int>::value)); in main() 135 boost::alignment_of<int>::value)); in main() 146 boost::alignment_of<int>::value)); in main() 157 boost::alignment_of<int>::value)); in main() 169 boost::alignment_of<int>::value)); in main() 181 boost::alignment_of<type>::value)); in main() 193 boost::alignment_of<type>::value)); in main() [all …]
|
/third_party/boost/boost/atomic/detail/ |
D | storage_traits.hpp | 94 …static BOOST_CONSTEXPR_OR_CONST std::size_t native_alignment = atomics::detail::alignment_of< boos… 103 …static BOOST_CONSTEXPR_OR_CONST std::size_t native_alignment = atomics::detail::alignment_of< boos… 112 …static BOOST_CONSTEXPR_OR_CONST std::size_t native_alignment = atomics::detail::alignment_of< boos… 123 …static BOOST_CONSTEXPR_OR_CONST std::size_t native_alignment = atomics::detail::alignment_of< boos… 166 …typedef buffer_storage< 16u, atomics::detail::alignment_of< atomics::detail::max_align_t >::value … 168 …static BOOST_CONSTEXPR_OR_CONST std::size_t native_alignment = atomics::detail::alignment_of< atom…
|
/third_party/boost/boost/align/ |
D | alignment_of.hpp | 42 struct alignment_of struct 43 : detail::alignment_of<typename 48 constexpr std::size_t alignment_of_v = alignment_of<T>::value;
|
/third_party/boost/boost/flyweight/ |
D | key_value.hpp | 160 (boost::alignment_of<key_type>::value > 161 boost::alignment_of<value_type>::value)? 162 boost::alignment_of<key_type>::value: 163 boost::alignment_of<value_type>::value 264 boost::alignment_of<value_type>::value
|
/third_party/boost/libs/type_index/test/ |
D | type_index_test_ctti_alignment.cpp | 13 …boost::alignment_of<boost::typeindex::detail::ctti_data>::value == boost::alignment_of<char>::valu… in main()
|
/third_party/boost/boost/align/detail/ |
D | max_align.hpp | 20 : max_size<alignment_of<A>::value, alignment_of<B>::value> { };
|
/third_party/boost/boost/atomic/detail/type_traits/ |
D | alignment_of.hpp | 42 using std::alignment_of; 44 using boost::alignment_of;
|
/third_party/boost/boost/interprocess/detail/ |
D | segment_manager_helper.hpp | 120 , size_type(::boost::container::dtl::alignment_of<block_header<size_type> >::value)) in total_size_with_header() 172 …{ return block_header_from_value(value, sizeof(T), ::boost::container::dtl::alignment_of<T>::valu… in block_header_from_value() 193 … , size_type(::boost::container::dtl::alignment_of<block_header<size_type> >::value))); in from_first_header() 204 … , size_type(::boost::container::dtl::alignment_of<block_header<size_type> >::value))); in to_first_header() 278 …enum { BlockHdrAlignment = ::boost::container::dtl::alignment_of<block_header<size_type> >::valu…
|
/third_party/boost/libs/container/test/ |
D | static_vector_options_test.cpp | 38 BOOST_STATIC_ASSERT(extended_alignment > dtl::alignment_of<int>::value); in test_alignment() 59 BOOST_ASSERT((reinterpret_cast<std::size_t>(&v[0]) % dtl::alignment_of<int>::value) == 0); in test_alignment()
|