Home
last modified time | relevance | path

Searched refs:protect (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/third_party/boost/libs/bind/test/
Dprotect_test.cpp41 BOOST_TEST(boost::protect(boost::bind(f, 1))() == 1); in main()
45 BOOST_TEST(&boost::protect(boost::bind(g, _1))(i[0]) == &i[0]); in main()
47 BOOST_TEST(&boost::protect(boost::bind(g, _1))(i[0], i[1]) == &i[0]); in main()
48 BOOST_TEST(&boost::protect(boost::bind(g, _2))(i[0], i[1]) == &i[1]); in main()
50 BOOST_TEST(&boost::protect(boost::bind(g, _1))(i[0], i[1], i[2]) == &i[0]); in main()
51 BOOST_TEST(&boost::protect(boost::bind(g, _2))(i[0], i[1], i[2]) == &i[1]); in main()
52 BOOST_TEST(&boost::protect(boost::bind(g, _3))(i[0], i[1], i[2]) == &i[2]); in main()
54 BOOST_TEST(&boost::protect(boost::bind(g, _1))(i[0], i[1], i[2], i[3]) == &i[0]); in main()
55 BOOST_TEST(&boost::protect(boost::bind(g, _2))(i[0], i[1], i[2], i[3]) == &i[1]); in main()
56 BOOST_TEST(&boost::protect(boost::bind(g, _3))(i[0], i[1], i[2], i[3]) == &i[2]); in main()
[all …]
/third_party/boost/libs/hof/test/
Dprotect.cpp38 BOOST_HOF_TEST_CHECK(boost::hof::protect(boost::hof::lazy(f)(1))() == 1); in BOOST_HOF_TEST_CASE()
42 …BOOST_HOF_TEST_CHECK(&boost::hof::protect(boost::hof::lazy(g)(std::placeholders::_1))(i[0]) == &i[… in BOOST_HOF_TEST_CASE()
44 …BOOST_HOF_TEST_CHECK(&boost::hof::protect(boost::hof::lazy(g)(std::placeholders::_1))(i[0], i[1]) … in BOOST_HOF_TEST_CASE()
45 …BOOST_HOF_TEST_CHECK(&boost::hof::protect(boost::hof::lazy(g)(std::placeholders::_2))(i[0], i[1]) … in BOOST_HOF_TEST_CASE()
47 …BOOST_HOF_TEST_CHECK(&boost::hof::protect(boost::hof::lazy(g)(std::placeholders::_1))(i[0], i[1], … in BOOST_HOF_TEST_CASE()
48 …BOOST_HOF_TEST_CHECK(&boost::hof::protect(boost::hof::lazy(g)(std::placeholders::_2))(i[0], i[1], … in BOOST_HOF_TEST_CASE()
49 …BOOST_HOF_TEST_CHECK(&boost::hof::protect(boost::hof::lazy(g)(std::placeholders::_3))(i[0], i[1], … in BOOST_HOF_TEST_CASE()
51 …BOOST_HOF_TEST_CHECK(&boost::hof::protect(boost::hof::lazy(g)(std::placeholders::_1))(i[0], i[1], … in BOOST_HOF_TEST_CASE()
52 …BOOST_HOF_TEST_CHECK(&boost::hof::protect(boost::hof::lazy(g)(std::placeholders::_2))(i[0], i[1], … in BOOST_HOF_TEST_CASE()
53 …BOOST_HOF_TEST_CHECK(&boost::hof::protect(boost::hof::lazy(g)(std::placeholders::_3))(i[0], i[1], … in BOOST_HOF_TEST_CASE()
[all …]
/third_party/boost/libs/proto/test/
Dprotect.cpp23 : proto::make< proto::protect<_> >
27 : proto::make< identity<proto::protect<_> > >
31 : proto::make< identity<proto::protect<int> > >
35 : proto::make< identity<proto::protect<identity<_> > > >
39 : proto::make< identity<proto::protect<identity<int> > > >
43 : proto::make< identity<proto::protect<identity<identity<int> > > > >
63 : proto::when<_, identity<proto::protect<_> >() >
67 : proto::when<_, identity<proto::protect<int> >() >
71 : proto::when<_, identity<proto::protect<identity<_> > >() >
75 : proto::when<_, identity<proto::protect<identity<int> > >() >
[all …]
/third_party/boost/boost/mpl/
Dprotect.hpp29 struct protect : T struct
32 typedef mpl::protect type; argument
34 typedef protect type;
41 struct arity< protect<T>, N >
48 BOOST_MPL_AUX_NA_SPEC_MAIN(1, protect)
50 BOOST_MPL_AUX_NA_SPEC_TEMPLATE_ARITY(1, 1, protect)
/third_party/python/Doc/distutils/
Dcommandref.rst9 .. % \section{Building modules: the \protect\command{build} command family}
11 .. % \subsubsection{\protect\command{build}}
13 .. % \subsubsection{\protect\command{build\_py}}
15 .. % \subsubsection{\protect\command{build\_ext}}
17 .. % \subsubsection{\protect\command{build\_clib}}
30 .. % \subsubsection{\protect\command{install\_lib}}
49 .. % \subsection{Cleaning up: the \protect\command{clean} command}
98 .. % \protect\command{bdist} command family}
101 .. % \subsection{\protect\command{bdist}}
102 .. % \subsection{\protect\command{bdist\_dumb}}
[all …]
/third_party/boost/libs/hof/doc/html/_sources/include/boost/hof/
Dprotect.hpp.txt3 protect.h
11 /// protect
17 /// The `protect` function adaptor can be used to make a bind expression be
20 /// The `protect` adaptor masks the type so `bind` or
28 /// constexpr protect_adaptor<F> protect(F f);
33 /// assert(lazy(f)(protect(lazy(g)(_1)))() == f(lazy(g)(_1)))
52 /// auto lazy_apply = lazy(apply)(protect(lazy_id), _1);
77 BOOST_HOF_DECLARE_STATIC_VAR(protect, detail::make<protect_adaptor>);
/third_party/boost/libs/mpl/doc/src/refmanual/
Dprotect.rst1 .. Metafunctions/Composition and Argument Binding//protect |60
3 protect title
14 struct protect
25 ``protect`` is an identity wrapper for a |Metafunction Class| that prevents
34 #include <boost/mpl/protect.hpp>
55 typedef protect<f> g;
93 typedef bind< quote\ ``3``\<if\_>,_1,_2,protect< bind<f,_1,_2> > > b2;
99 BOOST_MPL_ASSERT(( is_same<r2,protect< bind<f,_1,_2> > > ));
/third_party/iowow/src/platform/win32/mman/
Dmman.c23 DWORD protect = 0; in __map_mmap_prot_page() local
25 return protect; in __map_mmap_prot_page()
28 protect = ((prot & PROT_WRITE)) ? PAGE_EXECUTE_READWRITE : PAGE_EXECUTE_READ; in __map_mmap_prot_page()
30 protect = ((prot & PROT_WRITE) && !(flags & MAP_PRIVATE)) ? PAGE_READWRITE : PAGE_READONLY; in __map_mmap_prot_page()
32 return protect; in __map_mmap_prot_page()
68 const DWORD protect = __map_mmap_prot_page(prot, flags); in mmap() local
89 fm = CreateFileMapping(fh, NULL, protect, dwMaxSizeHigh, dwMaxSizeLow, NULL); in mmap()
/third_party/libnl/lib/route/link/
Dmacsec.c61 uint8_t send_sci, end_station, scb, replay_protect, protect, encrypt; member
138 info->protect = nla_get_u8(tb[IFLA_MACSEC_PROTECT]); in macsec_parse()
232 PRINT_FLAG(tmp, info, protect, 'P'); in flags_str()
274 …ntohll(info->sci), values_on_off[info->protect], info->encoding_sa, values_on_off[info->encrypt], … in macsec_dump_details()
330 NLA_PUT_U8(msg, IFLA_MACSEC_PROTECT, info->protect); in macsec_put_attrs()
383 diff |= MACSEC_DIFF(PROTECT, a->protect != b->protect); in macsec_compare()
581 int rtnl_link_macsec_set_protect(struct rtnl_link *link, uint8_t protect) in rtnl_link_macsec_set_protect() argument
587 if (protect > 1) in rtnl_link_macsec_set_protect()
590 info->protect = protect; in rtnl_link_macsec_set_protect()
596 int rtnl_link_macsec_get_protect(struct rtnl_link *link, uint8_t *protect) in rtnl_link_macsec_get_protect() argument
[all …]
/third_party/boost/libs/lambda/test/
Dbind_tests_advanced.cpp199 bind(ll::for_each(), _1, _1 + 5, protect(_1 = ++var(i)))); in test_protect()
214 protect(sum += _1)) in test_protect()
222 sum += 1 + protect(_1)) // add element count in test_protect()
226 (1 + protect(_1))(sum); in test_protect()
229 ((k += constant(1)) += protect(constant(2)))(); in test_protect()
233 ((k += constant(1)) += protect(constant(2)))()(); in test_protect()
262 (protect(std::cout << _1), (std::cout << _1, 0))(x)(y); in test_protect()
/third_party/boost/boost/mpl/aux_/preprocessed/dmc/
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>, Tag >
511 typedef mpl::protect<T> result_;
Dlambda_no_ctps.hpp57 , if_< Protect, mpl::protect<bind_>, bind_ >
87 , if_< Protect, mpl::protect<bind_>, bind_ >
119 , if_< Protect, mpl::protect<bind_>, bind_ >
154 , if_< Protect, mpl::protect<bind_>, bind_ >
191 , if_< Protect, mpl::protect<bind_>, bind_ >
/third_party/boost/boost/mpl/aux_/preprocessed/plain/
Dlambda_no_ctps.hpp57 , if_< Protect, mpl::protect<bind_>, bind_ >
87 , if_< Protect, mpl::protect<bind_>, bind_ >
119 , if_< Protect, mpl::protect<bind_>, bind_ >
154 , if_< Protect, mpl::protect<bind_>, bind_ >
191 , if_< Protect, mpl::protect<bind_>, bind_ >
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>, Tag >
511 typedef mpl::protect<T> result_;
/third_party/boost/boost/mpl/aux_/preprocessed/msvc70/
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>, Tag >
511 typedef mpl::protect<T> result_;
/third_party/boost/boost/mpl/aux_/preprocessed/no_ttp/
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>, Tag >
511 typedef mpl::protect<T> result_;
/third_party/boost/boost/mpl/aux_/preprocessed/bcc_pre590/
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>,Tag, int_<1> >
511 typedef mpl::protect<T> result_;
/third_party/boost/boost/mpl/aux_/preprocessed/msvc60/
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>, Tag >
511 typedef mpl::protect<T> result_;
Dlambda_no_ctps.hpp57 , if_< Protect, mpl::protect<bind_>, bind_ >
87 , if_< Protect, mpl::protect<bind_>, bind_ >
119 , if_< Protect, mpl::protect<bind_>, bind_ >
154 , if_< Protect, mpl::protect<bind_>, bind_ >
191 , if_< Protect, mpl::protect<bind_>, bind_ >
/third_party/boost/boost/mpl/aux_/preprocessed/bcc551/
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>,Tag, int_<1> >
511 typedef mpl::protect<T> result_;
/third_party/boost/boost/mpl/aux_/preprocessed/no_ctps/
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>, Tag >
511 typedef mpl::protect<T> result_;
Dlambda_no_ctps.hpp57 , if_< Protect, mpl::protect<bind_>, bind_ >
87 , if_< Protect, mpl::protect<bind_>, bind_ >
119 , if_< Protect, mpl::protect<bind_>, bind_ >
154 , if_< Protect, mpl::protect<bind_>, bind_ >
191 , if_< Protect, mpl::protect<bind_>, bind_ >
/third_party/boost/boost/mpl/aux_/preprocessed/bcc/
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>,Tag, int_<1> >
511 typedef mpl::protect<T> result_;
/third_party/boost/boost/mpl/aux_/preprocessed/gcc/
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>,Tag, int_<1> >
511 typedef mpl::protect<T> result_;
/third_party/boost/boost/mpl/aux_/preprocessed/mwcw/
Dfull_lambda.hpp58 typedef mpl::protect<result_> type;
107 typedef mpl::protect<result_> type;
184 typedef mpl::protect<result_> type;
266 typedef mpl::protect<result_> type;
352 typedef mpl::protect<result_> type;
440 typedef mpl::protect<result_> type;
508 struct lambda< mpl::protect<T>, Tag >
511 typedef mpl::protect<T> result_;

12345678910>>...15