Searched refs:__test (Results 1 – 8 of 8) sorted by relevance
| /freebsd-11-stable/contrib/llvm-project/libcxx/include/ |
| HD | __functional_base | 39 template <class _Up> static __two __test(...); 40 template <class _Up> static char __test(typename _Up::result_type* = 0); 42 static const bool value = sizeof(__test<_Tp>(0)) == 1; 78 static __two __test(...); 81 __test(const volatile unary_function<_Ap, _Rp>*); 83 static const bool value = !is_same<decltype(__test((_Tp*)0)), __two>::value; 84 typedef decltype(__test((_Tp*)0)) type; 92 static __two __test(...); 95 __test(const volatile binary_function<_A1, _A2, _Rp>*); 97 static const bool value = !is_same<decltype(__test((_Tp*)0)), __two>::value; [all …]
|
| HD | type_traits | 883 template <class _Tp> char __test(int _Tp::*); 884 template <class _Tp> __two __test(...); 888 …: public integral_constant<bool, sizeof(__is_class_imp::__test<_Tp>(0)) == 1 && !is_union<_Tp>::va… 1063 template <class _Tp> static _Tp& __test(int); 1064 template <class _Tp> static __two __test(...); 1069 _IsNotSame<decltype(__is_referenceable_impl::__test<_Tp>(0)), __two>::value> {}; 1815 static void __test(...); 1816 static float __test(float); 1817 static double __test(char); 1818 static double __test(int); [all …]
|
| HD | iterator | 502 template <class _Up> static __two __test(...); 503 …template <class _Up> static char __test(typename std::__void_t<typename _Up::iterator_category>::t… 510 static const bool value = sizeof(__test<_Tp>(0,0,0,0,0)) == 1; 519 template <class _Up> static __two __test(...); 520 template <class _Up> static char __test(typename _Up::iterator_category* = 0); 522 static const bool value = sizeof(__test<_Tp>(0)) == 1;
|
| HD | memory | 840 template <class _Xp> static __two __test(...); 841 template <class _Xp> static char __test(typename _Xp::template rebind<_Up>* = 0); 843 static const bool value = sizeof(__test<_Tp>(0)) == 1; 1268 template <class _Xp> static __two __test(...); 1269 template <class _Xp> static char __test(typename _Xp::template rebind<_Up>::other* = 0); 1271 static const bool value = sizeof(__test<_Tp>(0)) == 1;
|
| /freebsd-11-stable/contrib/libstdc++/include/tr1/ |
| D | type_traits | 58 static __one __test(_Up(*)[1]); 60 static __two __test(...); 63 static const bool __value = sizeof(__test<_Tp>(0)) == 1; 243 static __one __test(int _Up::*); 245 static __two __test(...); 248 static const bool __value = sizeof(__test<_Tp>(0)) == 1; 447 static __one __test(_NoCv_Derived&, _Up); 448 static __two __test(_NoCv_Base&, int); 457 static const bool __value = sizeof(__test(_Conv(), 0)) == 1; 475 static __one __test(_To); [all …]
|
| D | functional | 68 static __one __test(_Wrap_type<typename _Up::result_type>*); 71 static __two __test(...); 74 static const bool value = sizeof(__test<_Tp>(0)) == 1; 155 static __one __test(const volatile unary_function<_T1, _Res>*); 159 static __two __test(...); 162 static const bool value = sizeof(__test((_Tp*)0)) == 1; 175 static __one __test(const volatile binary_function<_T1, _T2, _Res>*); 179 static __two __test(...); 182 static const bool value = sizeof(__test((_Tp*)0)) == 1;
|
| /freebsd-11-stable/contrib/libstdc++/include/ext/ |
| D | codecvt_specializations.h | 132 bool __test = _M_in_desc && _M_in_desc != __err; in _GLIBCXX_BEGIN_NAMESPACE() local 133 __test &= _M_out_desc && _M_out_desc != __err; in _GLIBCXX_BEGIN_NAMESPACE() 134 return __test; in _GLIBCXX_BEGIN_NAMESPACE()
|
| /freebsd-11-stable/contrib/libstdc++/include/bits/ |
| D | locale_facets.tcc | 2577 bool __test = true; in __verify_grouping() local 2582 for (size_t __j = 0; __j < __min && __test; --__i, ++__j) in __verify_grouping() 2583 __test = __grouping_tmp[__i] == __grouping[__j]; in __verify_grouping() 2584 for (; __i && __test; --__i) in __verify_grouping() 2585 __test = __grouping_tmp[__i] == __grouping[__min]; in __verify_grouping() 2590 __test &= __grouping_tmp[0] <= __grouping[__min]; in __verify_grouping() 2591 return __test; in __verify_grouping()
|