Home
last modified time | relevance | path

Searched refs:is_ (Results 1 – 25 of 51) sorted by relevance

123

/third_party/boost/libs/algorithm/test/
Done_of_test.cpp21 struct is_ { struct
22 BOOST_CXX14_CONSTEXPR is_ ( T v ) : val_ ( v ) {} in is_() argument
25 is_ (); // need a value argument
43 BOOST_CHECK (!ba::one_of ( vi, is_<int> ( 1 ))); in test_one() argument
45 BOOST_CHECK (!ba::one_of ( vi.begin(), vi.end(), is_<int> ( 1 ))); in test_one()
48 BOOST_CHECK (!ba::one_of ( vi, is_<int> ( 0 ))); in test_one()
50 BOOST_CHECK (!ba::one_of ( vi.begin(), vi.end(), is_<int> ( 0 ))); in test_one()
53 BOOST_CHECK ( ba::one_of ( vi, is_<int> ( 2 ))); in test_one()
55 BOOST_CHECK ( ba::one_of ( vi.begin(), vi.end(), is_<int> ( 2 ))); in test_one()
59 BOOST_CHECK ( ba::one_of ( vi, is_<int> ( 5 ))); in test_one()
[all …]
Dany_of_test.cpp21 struct is_ { struct
22 BOOST_CXX14_CONSTEXPR is_ ( T v ) : val_ ( v ) {} in is_() function
25 is_ (); // need a value argument
43 BOOST_CHECK ( ba::any_of ( vi, is_<int> ( 1 ))); in test_any() argument
45 BOOST_CHECK ( ba::any_of ( vi.begin(), vi.end(), is_<int> ( 1 ))); in test_any()
48 BOOST_CHECK (!ba::any_of ( vi, is_<int> ( 9 ))); in test_any()
50 BOOST_CHECK (!ba::any_of ( vi.begin(), vi.end(), is_<int> ( 9 ))); in test_any()
53 BOOST_CHECK ( ba::any_of ( vi, is_<int> ( 10 ))); in test_any()
55 BOOST_CHECK (!ba::any_of ( vi, is_<int> ( 4 ))); in test_any()
58 BOOST_CHECK (!ba::any_of ( vi.end(), vi.end(), is_<int> ( 0 ))); in test_any()
[all …]
Dnone_of_test.cpp21 struct is_ { struct
22 BOOST_CXX14_CONSTEXPR is_ ( T v ) : val_ ( v ) {} in is_() argument
25 is_ (); // need a value argument
43 BOOST_CHECK ( ba::none_of ( vi, is_<int> ( 100 ))); in test_none() argument
45 BOOST_CHECK ( ba::none_of ( vi.begin(), vi.end(), is_<int> ( 100 ))); in test_none()
48 BOOST_CHECK (!ba::none_of ( vi, is_<int> ( 1 ))); in test_none()
50 BOOST_CHECK (!ba::none_of ( vi.begin(), vi.end(), is_<int> ( 1 ))); in test_none()
53 BOOST_CHECK ( ba::none_of ( vi.end(), vi.end(), is_<int> ( 0 ))); in test_none()
57 BOOST_CHECK ( ba::none_of ( vi.begin() + 2, vi.end(), is_<int> ( 5 ))); in test_none()
59 BOOST_CHECK (!ba::none_of ( vi.begin() + 2, vi.end(), is_<int> ( 1 ))); in test_none()
[all …]
Dall_of_test.cpp21 struct is_ { struct
22 BOOST_CXX14_CONSTEXPR is_ ( T v ) : val_ ( v ) {} in is_() argument
25 is_ (); // need a value argument
44 BOOST_CHECK (!ba::all_of ( vi, is_<int> ( 1 ))); in test_all() argument
46 BOOST_CHECK (!ba::all_of ( vi.begin(), vi.end(), is_<int> ( 1 ))); in test_all()
49 BOOST_CHECK (!ba::all_of ( vi, is_<int> ( 0 ))); in test_all()
51 BOOST_CHECK (!ba::all_of ( vi.begin(), vi.end(), is_<int> ( 0 ))); in test_all()
54 BOOST_CHECK ( ba::all_of ( vi.end(), vi.end(), is_<int> ( 0 ))); in test_all()
57 BOOST_CHECK ( ba::all_of ( vi.begin(), vi.begin () + 3, is_<int> ( 1 ))); in test_all()
60 BOOST_CHECK ( ba::all_of ( vc.begin() + 1, vc.begin() + 2, is_<char> ( 'q' ))); in test_all()
[all …]
/third_party/boost/boost/archive/impl/
Dbasic_text_iprimitive.ipp110 IStream &is_,
113 is(is_),
114 flags_saver(is_),
115 precision_saver(is_),
122 is_.sync();
123 is_.imbue(archive_locale);
125 is_ >> std::noboolalpha;
Dxml_wiarchive_impl.ipp153 std::wistream &is_,
157 is_,
165 is_.getloc(),
169 is_.sync();
170 is_.imbue(archive_locale);
Dxml_iarchive_impl.ipp175 std::istream &is_,
179 is_,
/third_party/littlefs/scripts/
Dreadmdir.py101 def is_(self, type): member in Tag
118 if self.is_('crc') and getattr(self, 'crc', 0xffffffff) != 0xffffffff:
188 if tag.is_('crc'):
197 if tag.is_('crc'):
216 if tag.is_('crc') or tag.is_('splice'):
257 if (gmask.id != 0 and tag.is_('splice') and
259 if tag.is_('create') and tag.id == gtag.id - gdiff:
Dreadtree.py70 if mdir.tail is None or not mdir.tail.is_('hardtail'):
78 hard = mdir.tail.is_('hardtail')
90 if tag.is_('dir'):
/third_party/boost/boost/detail/
Dis_xxx.hpp14 struct is_##name : boost::false_type \
19 struct is_##name< \
/third_party/boost/boost/spirit/home/support/char_encoding/
Dunicode.hpp143 is_##name(char_type ch) \
162 is_##name(char_type ch) \
210 is_##name(char_type ch) \
212 return ucd::is_##name(ch); \
229 is_##name(char_type ch) \
/third_party/boost/boost/math/policies/
Dpolicy.hpp126 template <class T> struct is_##name##_imp\
133 …template <class T> struct is_##name : public boost::integral_constant<bool, ::boost::math::policie…
141 template <class T> struct is_##name##_imp\
148 …template <class T> struct is_##name : public boost::integral_constant<bool, ::boost::math::policie…
156 template <class T> struct is_##name##_tester\
161 template <class T> struct is_##name##_imp\
164 …BOOST_STATIC_CONSTANT(bool, value = sizeof( ::boost::math::policies::detail::is_##name##_tester<T>…
167 …template <class T> struct is_##name : public boost::integral_constant<bool, ::boost::math::policie…
169 template <class U> struct apply{ typedef is_##name<U> type; };\
178 template <class T> struct is_##name##_tester\
[all …]
/third_party/boost/libs/coroutine2/example/
Dparser.cpp47 Parser(std::istream& is_,std::function<void(char)> cb_) : in Parser() argument
48 next(), is(is_), cb(cb_) in Parser()
/third_party/boost/libs/context/example/callcc/
Dparser.cpp43 Parser(std::istream& is_,std::function<void(char)> cb_) : in Parser() argument
44 next(), is(is_), cb(cb_) in Parser()
/third_party/boost/libs/context/example/fiber/
Dparser.cpp43 Parser(std::istream& is_,std::function<void(char)> cb_) : in Parser() argument
44 next(), is(is_), cb(cb_) in Parser()
/third_party/boost/boost/archive/
Dtext_iarchive.hpp115 text_iarchive(std::istream & is_, unsigned int flags = 0) : in text_iarchive() argument
117 text_iarchive_impl<text_iarchive>(is_, flags) in text_iarchive()
/third_party/boost/libs/process/test/
Dbind_stdin.cpp97 bp::ipstream &is_; member
99 write_handler(bp::ipstream &is) : is_(is) {} in write_handler()
105 is_ >> s; in operator ()()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Diostream_state_saver.h139 : is_(is), flags_(is.flags(flags)) {}
141 ~istream_state_saver() { is_.flags(flags_); }
144 istream_type& is_;
/third_party/abseil-cpp/absl/random/internal/
Diostream_state_saver.h139 : is_(is), flags_(is.flags(flags)) {}
141 ~istream_state_saver() { is_.flags(flags_); }
144 istream_type& is_;
/third_party/boost/boost/python/detail/
Dvalue_is_xxx.hpp22 BOOST_STATIC_CONSTANT(bool, value = is_##name< \
/third_party/mindspore/mindspore/_extends/parse/
Dresources.py105 T.is_: F.is_,
Dtrope.py24 not_, and_, or_, xor, lshift, rshift, invert, is_, is_not, contains,
/third_party/boost/boost/mpl/aux_/
Dcount_args.hpp61 BOOST_PP_CAT(is_,BOOST_PP_CAT(AUX778076_COUNT_ARGS_PREFIX,_arg)) \
/third_party/boost/boost/spirit/home/support/detail/lexer/
Dfile_input.hpp135 std::basic_ifstream<CharT> *is_, in basic_file_input() argument
139 _stream (is_), in basic_file_input()
/third_party/mesa3d/src/compiler/glsl/
Ds_expression.h32 #define SX_AS_(t,x) ((x) && ((s_expression*) x)->is_##t()) ? ((s_##t*) (x)) \

123