Home
last modified time | relevance | path

Searched refs:__test (Results 1 – 8 of 8) sorted by relevance

/freebsd-12.1/contrib/libc++/include/
H A D__functional_base40 template <class _Up> static __two __test(...);
41 template <class _Up> static char __test(typename _Up::result_type* = 0);
43 static const bool value = sizeof(__test<_Tp>(0)) == 1;
79 static __two __test(...);
82 __test(const volatile unary_function<_Ap, _Rp>*);
85 typedef decltype(__test((_Tp*)0)) type;
93 static __two __test(...);
96 __test(const volatile binary_function<_A1, _A2, _Rp>*);
99 typedef decltype(__test((_Tp*)0)) type;
577 template <class _Up> static __two __test(...);
[all …]
H A Dtype_traits1834 static void __test(...);
1835 static float __test(float);
1836 static double __test(char);
1837 static double __test(int);
1838 static double __test(unsigned);
1839 static double __test(long);
1843 static double __test(double);
2246 static char __test (
2251 static __two __test (...);
4729 static auto __test(int)
[all …]
H A Diterator445 template <class _Up> static __two __test(...);
446 …template <class _Up> static char __test(typename std::__void_t<typename _Up::iterator_category>::t…
453 static const bool value = sizeof(__test<_Tp>(0,0,0,0,0)) == 1;
462 template <class _Up> static __two __test(...);
463 template <class _Up> static char __test(typename _Up::iterator_category* = 0);
465 static const bool value = sizeof(__test<_Tp>(0)) == 1;
H A Dmemory842 template <class _Xp> static __two __test(...);
843 template <class _Xp> static char __test(typename _Xp::template rebind<_Up>* = 0);
845 static const bool value = sizeof(__test<_Tp>(0)) == 1;
1259 template <class _Xp> static __two __test(...);
1260 template <class _Xp> static char __test(typename _Xp::template rebind<_Up>::other* = 0);
1262 static const bool value = sizeof(__test<_Tp>(0)) == 1;
/freebsd-12.1/contrib/libstdc++/include/tr1/
H A Dtype_traits58 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 …]
H A Dfunctional68 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-12.1/contrib/libstdc++/include/ext/
H A Dcodecvt_specializations.h132 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-12.1/contrib/libstdc++/include/bits/
H A Dlocale_facets.tcc2577 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()