Home
last modified time | relevance | path

Searched refs:F (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/
Dis_many.pass.cpp30 typedef std::ctype<wchar_t> F; in main() typedef
31 const F& f = std::use_facet<F>(l); in main()
33 std::vector<F::mask> m(in.size()); in main()
38 assert(!(m[0] & F::space)); in main()
39 assert( (m[0] & F::print)); in main()
40 assert(!(m[0] & F::cntrl)); in main()
41 assert( (m[0] & F::upper)); in main()
42 assert(!(m[0] & F::lower)); in main()
43 assert( (m[0] & F::alpha)); in main()
44 assert(!(m[0] & F::digit)); in main()
[all …]
Dis_1.pass.cpp27 typedef std::ctype<wchar_t> F; in main() typedef
28 const F& f = std::use_facet<F>(l); in main()
30 assert(f.is(F::space, L' ')); in main()
31 assert(!f.is(F::space, L'A')); in main()
33 assert(f.is(F::print, L' ')); in main()
34 assert(!f.is(F::print, L'\x07')); in main()
36 assert(f.is(F::cntrl, L'\x07')); in main()
37 assert(!f.is(F::cntrl, L' ')); in main()
39 assert(f.is(F::upper, L'A')); in main()
40 assert(!f.is(F::upper, L'a')); in main()
[all …]
Dscan_not.pass.cpp30 typedef std::ctype<wchar_t> F; in main() typedef
31 const F& f = std::use_facet<F>(l); in main()
33 std::vector<F::mask> m(in.size()); in main()
34 assert(f.scan_not(F::space, in.data(), in.data() + in.size()) - in.data() == 0); in main()
35 assert(f.scan_not(F::print, in.data(), in.data() + in.size()) - in.data() == 3); in main()
36 assert(f.scan_not(F::cntrl, in.data(), in.data() + in.size()) - in.data() == 0); in main()
37 assert(f.scan_not(F::upper, in.data(), in.data() + in.size()) - in.data() == 1); in main()
38 assert(f.scan_not(F::lower, in.data(), in.data() + in.size()) - in.data() == 0); in main()
39 assert(f.scan_not(F::alpha, in.data(), in.data() + in.size()) - in.data() == 1); in main()
40 assert(f.scan_not(F::digit, in.data(), in.data() + in.size()) - in.data() == 0); in main()
[all …]
Dscan_is.pass.cpp30 typedef std::ctype<wchar_t> F; in main() typedef
31 const F& f = std::use_facet<F>(l); in main()
33 std::vector<F::mask> m(in.size()); in main()
34 assert(f.scan_is(F::space, in.data(), in.data() + in.size()) - in.data() == 1); in main()
35 assert(f.scan_is(F::print, in.data(), in.data() + in.size()) - in.data() == 0); in main()
36 assert(f.scan_is(F::cntrl, in.data(), in.data() + in.size()) - in.data() == 3); in main()
37 assert(f.scan_is(F::upper, in.data(), in.data() + in.size()) - in.data() == 0); in main()
38 assert(f.scan_is(F::lower, in.data(), in.data() + in.size()) - in.data() == 5); in main()
39 assert(f.scan_is(F::alpha, in.data(), in.data() + in.size()) - in.data() == 0); in main()
40 assert(f.scan_is(F::digit, in.data(), in.data() + in.size()) - in.data() == 6); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/locale.ctype.members/
Dis_many.pass.cpp27 typedef std::ctype<wchar_t> F; in main() typedef
28 const F& f = std::use_facet<F>(l); in main()
30 std::vector<F::mask> m(in.size()); in main()
35 assert( (m[0] & F::space)); in main()
36 assert( (m[0] & F::print)); in main()
37 assert(!(m[0] & F::cntrl)); in main()
38 assert(!(m[0] & F::upper)); in main()
39 assert(!(m[0] & F::lower)); in main()
40 assert(!(m[0] & F::alpha)); in main()
41 assert(!(m[0] & F::digit)); in main()
[all …]
Dis_1.pass.cpp23 typedef std::ctype<wchar_t> F; in main() typedef
24 const F& f = std::use_facet<F>(l); in main()
26 assert(f.is(F::space, L' ')); in main()
27 assert(!f.is(F::space, L'A')); in main()
29 assert(f.is(F::print, L' ')); in main()
30 assert(!f.is(F::print, L'\x07')); in main()
32 assert(f.is(F::cntrl, L'\x07')); in main()
33 assert(!f.is(F::cntrl, L' ')); in main()
35 assert(f.is(F::upper, L'A')); in main()
36 assert(!f.is(F::upper, L'a')); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
Dis_many.pass.cpp27 typedef std::ctype<char> F; in main() typedef
28 const F& f = std::use_facet<F>(l); in main()
30 std::vector<F::mask> m(in.size()); in main()
35 assert( (m[0] & F::space)); in main()
36 assert( (m[0] & F::print)); in main()
37 assert(!(m[0] & F::cntrl)); in main()
38 assert(!(m[0] & F::upper)); in main()
39 assert(!(m[0] & F::lower)); in main()
40 assert(!(m[0] & F::alpha)); in main()
41 assert(!(m[0] & F::digit)); in main()
[all …]
Dis_1.pass.cpp23 typedef std::ctype<char> F; in main() typedef
24 const F& f = std::use_facet<F>(l); in main()
26 assert(f.is(F::space, ' ')); in main()
27 assert(!f.is(F::space, 'A')); in main()
29 assert(f.is(F::print, ' ')); in main()
30 assert(!f.is(F::print, '\x07')); in main()
32 assert(f.is(F::cntrl, '\x07')); in main()
33 assert(!f.is(F::cntrl, ' ')); in main()
35 assert(f.is(F::upper, 'A')); in main()
36 assert(!f.is(F::upper, 'a')); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.util/rand.util.canonical/
Dgenerate_canonical.pass.cpp22 typedef float F; in main() typedef
24 F f = std::generate_canonical<F, 0>(r); in main()
25 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1))); in main()
29 typedef float F; in main() typedef
31 F f = std::generate_canonical<F, 1>(r); in main()
32 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1))); in main()
36 typedef float F; in main() typedef
38 F f = std::generate_canonical<F, std::numeric_limits<F>::digits - 1>(r); in main()
39 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1))); in main()
43 typedef float F; in main() typedef
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.construct/
Diter_iter_flg.pass.cpp34 typedef forward_iterator<std::string::const_iterator> F; in main() typedef
40 test(F(s1.begin()), F(s1.end()), std::regex_constants::basic, 1); in main()
41 test(F(s2.begin()), F(s2.end()), std::regex_constants::basic, 1); in main()
42 test(F(s3.begin()), F(s3.end()), std::regex_constants::basic, 2); in main()
43 test(F(s4.begin()), F(s4.end()), std::regex_constants::basic, 0); in main()
45 test(F(s1.begin()), F(s1.end()), std::regex_constants::extended, 0); in main()
46 test(F(s2.begin()), F(s2.end()), std::regex_constants::extended, 0); in main()
47 test(F(s3.begin()), F(s3.end()), std::regex_constants::extended, 0); in main()
48 test(F(s4.begin()), F(s4.end()), std::regex_constants::extended, 2); in main()
50 test(F(s1.begin()), F(s1.end()), std::regex_constants::ECMAScript, 0); in main()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/preprocessed/gcc/
Dapply.hpp15 typename F
20 typename lambda<F>::type
27 , (F )
32 typename F
34 struct apply< F,na,na,na,na,na >
35 : apply0<F>
40 typename F, typename T1
45 typename lambda<F>::type
52 , (F, T1)
57 typename F, typename T1
[all …]
Dapply_wrap.hpp15 typename F
17 , typename has_apply_ = typename aux::has_apply<F>::type
22 : F::template apply< >
26 template< typename F >
27 struct apply_wrap0< F,true_ >
28 : F::apply
33 typename F, typename T1
38 : F::template apply<T1>
43 typename F, typename T1, typename T2
48 : F::template apply< T1,T2 >
[all …]
Dtemplate_arity.hpp31 template< typename P1 > class F
35 arity_helper(type_wrapper< F<T1> >, arity_tag<1>);
38 template< typename P1, typename P2 > class F
42 arity_helper(type_wrapper< F< T1,T2 > >, arity_tag<2>);
45 template< typename P1, typename P2, typename P3 > class F
49 arity_helper(type_wrapper< F< T1,T2,T3 > >, arity_tag<3>);
52 template< typename P1, typename P2, typename P3, typename P4 > class F
56 arity_helper(type_wrapper< F< T1,T2,T3,T4 > >, arity_tag<4>);
63 class F
67 arity_helper(type_wrapper< F< T1,T2,T3,T4,T5 > >, arity_tag<5>);
[all …]
Dfull_lambda.hpp62 typename F
66 bind0<F>
73 F
83 , template< typename P1 > class F
88 typedef F<
97 , template< typename P1 > class F
100 struct le_result1< true_,Tag,F,L1 >
103 quote1< F,Tag >
113 template< typename P1 > class F
118 F<T1>
[all …]
Dquote.hpp27 template< typename P1 > class F
35 F<U1>
36 , aux::has_type< F<U1> >::value
44 template< typename P1, typename P2 > class F
52 F< U1,U2 >
53 , aux::has_type< F< U1,U2 > >::value
61 template< typename P1, typename P2, typename P3 > class F
69 F< U1,U2,U3 >
70 , aux::has_type< F< U1,U2,U3 > >::value
78 template< typename P1, typename P2, typename P3, typename P4 > class F
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.traits/
Dtransform.pass.cpp28 typedef forward_iterator<const char*> F; in main() typedef
29 assert(t.transform(F(a), F(a+1)) > t.transform(F(B), F(B+1))); in main()
37 assert(t.transform(F(a), F(a+1)) < t.transform(F(B), F(B+1))); in main()
44 typedef forward_iterator<const wchar_t*> F; in main() typedef
45 assert(t.transform(F(a), F(a+1)) > t.transform(F(B), F(B+1))); in main()
53 assert(t.transform(F(a), F(a+1)) < t.transform(F(B), F(B+1))); in main()
Dtransform_primary.pass.cpp29 typedef forward_iterator<const char*> F; in main() typedef
30 assert(t.transform_primary(F(A), F(A+1)) != in main()
31 t.transform_primary(F(Aacute), F(Aacute+1))); in main()
39 assert(t.transform_primary(F(A), F(A+1)) == in main()
40 t.transform_primary(F(Aacute), F(Aacute+1))); in main()
47 typedef forward_iterator<const wchar_t*> F; in main() typedef
48 assert(t.transform_primary(F(A), F(A+1)) != in main()
49 t.transform_primary(F(Aacute), F(Aacute+1))); in main()
57 assert(t.transform_primary(F(A), F(A+1)) == in main()
58 t.transform_primary(F(Aacute), F(Aacute+1))); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/
Dresult_of.pass.cpp37 struct F {}; struct
61 test_result_of_imp<int (F::* (F &)) () &, int> (); in main()
62 test_result_of_imp<int (F::* (F &)) () const &, int> (); in main()
63 test_result_of_imp<int (F::* (F const &)) () const &, int> (); in main()
64 test_result_of_imp<int (F::* (F &&)) () &&, int> (); in main()
65 test_result_of_imp<int (F::* (F &&)) () const&&, int> (); in main()
66 test_result_of_imp<int (F::* (F const&&)) () const&&, int> (); in main()
88 …static_assert((std::is_same<std::result_of<int (F::* (F &)) () &>::type, int>::value),… in main()
89 …static_assert((std::is_same<std::result_of<int (F::* (F &)) () const &>::type, int>::value),… in main()
90 …static_assert((std::is_same<std::result_of<int (F::* (F const &)) () const &>::type, int>::value),… in main()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/
Dapply_wrap.hpp98 typename F BOOST_PP_COMMA_IF(i_) AUX778076_APPLY_WRAP_PARAMS(i_, typename T)
103 typedef typename BOOST_PP_CAT(msvc_apply,i_)<F>::template result_< in BOOST_PP_CAT()
112 int N, typename F BOOST_PP_COMMA_IF(i_) AUX778076_APPLY_WRAP_PARAMS(i_, typename T)
121 typename F BOOST_PP_COMMA_IF(i_) AUX778076_APPLY_WRAP_PARAMS(i_, typename T)
125 ::boost::mpl::aux::arity<F,i_>::value in BOOST_PP_CAT()
126 , F in BOOST_PP_CAT()
136 typename F BOOST_PP_COMMA_IF(i_) AUX778076_APPLY_WRAP_PARAMS(i_, typename T)
138 , typename has_apply_ = typename aux::has_apply<F>::type
144 : F::template apply< AUX778076_APPLY_WRAP_PARAMS(i_, T) >
148 typedef typename F::template apply<
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/bind/
Dbind.hpp58 template<class R, class F> struct result_traits
67 template<class F> struct result_traits<unspecified, F>
69 typedef typename F::result_type type;
72 template<class F> struct result_traits< unspecified, reference_wrapper<F> >
74 typedef typename F::result_type type;
103 template<class R, class F, class L> class bind_t;
105 template<class R, class F, class L> bool ref_compare( bind_t<R, F, L> const & a, bind_t<R, F, L> co… in ref_compare() argument
144 template<class F> struct unwrapper
146 static inline F & unwrap( F & f, long ) in unwrap()
176 …template<class R, class F, class L> typename result_traits<R, F>::type operator[] (bind_t<R, F, L>… in operator []() argument
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/
Dunwrap.hpp22 template< typename F >
24 F& unwrap(F& f, long) in unwrap()
29 template< typename F >
31 F&
32 unwrap(reference_wrapper<F>& f, int) in unwrap()
37 template< typename F >
39 F&
40 unwrap(reference_wrapper<F> const& f, int) in unwrap()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/
Dtypes_char.pass.cpp30 typedef std::codecvt<char, char, std::mbstate_t> F; in main() typedef
31 static_assert((std::is_base_of<std::locale::facet, F>::value), ""); in main()
32 static_assert((std::is_base_of<std::codecvt_base, F>::value), ""); in main()
33 static_assert((std::is_same<F::intern_type, char>::value), ""); in main()
34 static_assert((std::is_same<F::extern_type, char>::value), ""); in main()
35 static_assert((std::is_same<F::state_type, std::mbstate_t>::value), ""); in main()
37 assert(std::has_facet<F>(l)); in main()
38 const F& f = std::use_facet<F>(l); in main()
39 (void)F::id; in main()
Dtypes_char32_t.pass.cpp31 typedef std::codecvt<char32_t, char, std::mbstate_t> F; in main() typedef
32 static_assert((std::is_base_of<std::locale::facet, F>::value), ""); in main()
33 static_assert((std::is_base_of<std::codecvt_base, F>::value), ""); in main()
34 static_assert((std::is_same<F::intern_type, char32_t>::value), ""); in main()
35 static_assert((std::is_same<F::extern_type, char>::value), ""); in main()
36 static_assert((std::is_same<F::state_type, std::mbstate_t>::value), ""); in main()
38 assert(std::has_facet<F>(l)); in main()
39 const F& f = std::use_facet<F>(l); in main()
40 (void)F::id; in main()
Dtypes_wchar_t.pass.cpp30 typedef std::codecvt<wchar_t, char, std::mbstate_t> F; in main() typedef
31 static_assert((std::is_base_of<std::locale::facet, F>::value), ""); in main()
32 static_assert((std::is_base_of<std::codecvt_base, F>::value), ""); in main()
33 static_assert((std::is_same<F::intern_type, wchar_t>::value), ""); in main()
34 static_assert((std::is_same<F::extern_type, char>::value), ""); in main()
35 static_assert((std::is_same<F::state_type, std::mbstate_t>::value), ""); in main()
37 assert(std::has_facet<F>(l)); in main()
38 const F& f = std::use_facet<F>(l); in main()
39 (void)F::id; in main()
Dtypes_char16_t.pass.cpp31 typedef std::codecvt<char16_t, char, std::mbstate_t> F; in main() typedef
32 static_assert((std::is_base_of<std::locale::facet, F>::value), ""); in main()
33 static_assert((std::is_base_of<std::codecvt_base, F>::value), ""); in main()
34 static_assert((std::is_same<F::intern_type, char16_t>::value), ""); in main()
35 static_assert((std::is_same<F::extern_type, char>::value), ""); in main()
36 static_assert((std::is_same<F::state_type, std::mbstate_t>::value), ""); in main()
38 assert(std::has_facet<F>(l)); in main()
39 const F& f = std::use_facet<F>(l); in main()
40 (void)F::id; in main()

12345678910>>...12