Home
last modified time | relevance | path

Searched refs:rbegin (Results 1 – 25 of 711) sorted by relevance

12345678910>>...29

/third_party/boost/libs/detail/test/
Dis_sorted_test.cpp103 BOOST_TEST_EQ(IS_SORTED_UNTIL(a.rbegin(), a.rend(), gt).base(), a.rend().base()); in main()
104 BOOST_TEST_EQ(IS_SORTED_UNTIL(a.rbegin(), a.rend(), gte).base(), a.rend().base()); in main()
109 BOOST_TEST_EQ(IS_SORTED(a.rbegin(), a.rend(), gt), true); in main()
110 BOOST_TEST_EQ(IS_SORTED(a.rbegin(), a.rend(), gte), true); in main()
115 BOOST_TEST_EQ(IS_SORTED_UNTIL(b.rbegin(), b.rend(), gt).base(), b.rend().base()); in main()
116 BOOST_TEST_EQ(IS_SORTED_UNTIL(b.rbegin(), b.rend(), gte).base(), &b[2]); in main()
121 BOOST_TEST_EQ(IS_SORTED(b.rbegin(), b.rend(), gt), true); in main()
122 BOOST_TEST_EQ(IS_SORTED(b.rbegin(), b.rend(), gte), false); in main()
127 BOOST_TEST_EQ(IS_SORTED_UNTIL(c.rbegin(), c.rend(), gt).base(), &c[8]); in main()
128 BOOST_TEST_EQ(IS_SORTED_UNTIL(c.rbegin(), c.rend(), gte).base(), &c[8]); in main()
[all …]
/third_party/boost/libs/range/test/
Dreversible_range.cpp40 rev_pair_t rp = std::make_pair( boost::rbegin( p ), boost::rend( p ) ); in check_iterator()
43 BOOST_CHECK( boost::rbegin( vec ) == boost::range_reverse_iterator<vec_t>::type( vec.end() ) ); in check_iterator()
45 …BOOST_CHECK( std::distance( boost::rbegin( vec ), boost::rend( vec ) ) == std::distance( boost::be… in check_iterator()
47 BOOST_CHECK( boost::rbegin( p ) == boost::begin( rp ) ); in check_iterator()
49 …BOOST_CHECK( std::distance( boost::rbegin( p ), boost::rend( p ) ) == std::distance( boost::begin(… in check_iterator()
50 …:distance( boost::begin( p ), boost::end( p ) ) == std::distance( boost::rbegin( rp ), boost::rend… in check_iterator()
54 BOOST_CHECK_EQUAL( &*( boost::end( a ) - 1 ), &*boost::rbegin( a ) ); in check_iterator()
56 BOOST_CHECK_EQUAL( &*( boost::end( ca ) - 1 ), &*boost::rbegin( ca ) ); in check_iterator()
/third_party/boost/libs/interprocess/test/
Dunique_ptr_test.cpp84 assert(list.rbegin()->get() == ptr2); in main()
92 set.insert(boost::move(*list.rbegin())); in main()
96 assert(list.rbegin()->get()== 0); in main()
102 assert(set.rbegin()->get() == ptr2); in main()
105 assert(set.rbegin()->get() == ptr1); in main()
115 vector.insert(vector.end(), boost::move(*set.rbegin())); in main()
118 vector.insert(vector.begin(), boost::move(*set.rbegin())); in main()
126 assert(vector.rbegin()->get() == ptr2); in main()
132 assert(vector.rbegin()->get() == ptr2); in main()
/third_party/json/test/src/
Dunit-iterators2.cpp478 auto it1 = j.rbegin();
479 auto it2 = j.rbegin();
480 auto it3 = j.rbegin();
663 CHECK_THROWS_AS(j.rbegin() == k.rbegin(), json::invalid_iterator&);
665 …CHECK_THROWS_WITH(j.rbegin() == k.rbegin(), "[json.exception.invalid_iterator.212] cannot compare …
668 CHECK_THROWS_AS(j.rbegin() < k.rbegin(), json::invalid_iterator&);
670 …CHECK_THROWS_WITH(j.rbegin() < k.rbegin(), "[json.exception.invalid_iterator.212] cannot compare i…
689 auto it = j_object.rbegin();
699 auto it = j_object.rbegin();
709 auto it = j_object.rbegin();
[all …]
Dunit-capacity.cpp243 CHECK(std::distance(j.rbegin(), j.rend()) == j.size());
263 CHECK(std::distance(j.rbegin(), j.rend()) == j.size());
285 CHECK(std::distance(j.rbegin(), j.rend()) == j.size());
305 CHECK(std::distance(j.rbegin(), j.rend()) == j.size());
328 CHECK(std::distance(j.rbegin(), j.rend()) == j.size());
348 CHECK(std::distance(j.rbegin(), j.rend()) == j.size());
369 CHECK(std::distance(j.rbegin(), j.rend()) == j.size());
389 CHECK(std::distance(j.rbegin(), j.rend()) == j.size());
409 CHECK(std::distance(j.rbegin(), j.rend()) == j.size());
429 CHECK(std::distance(j.rbegin(), j.rend()) == j.size());
Dunit-iterators1.cpp157 json::reverse_iterator it = j.rbegin();
162 CHECK(it != j.rbegin());
166 CHECK(it == j.rbegin());
171 CHECK(it != j.rbegin());
175 CHECK(it == j.rbegin());
469 json::reverse_iterator it = j.rbegin();
474 CHECK(it != j.rbegin());
478 CHECK(it == j.rbegin());
483 CHECK(it != j.rbegin());
487 CHECK(it == j.rbegin());
[all …]
/third_party/boost/libs/gil/test/core/image_view/
Dreverse_iterator.cpp25 BOOST_TEST_EQ(*view.rbegin(), fixture::gray8_draw_pixel); in test_rbegin()
30 BOOST_TEST_EQ(*view.rbegin(), fixture::rgb8_draw_pixel); in test_rbegin()
39 BOOST_TEST(view.rbegin() == view.rend()); in test_rend()
44 BOOST_TEST(view.rbegin() == view.rend()); in test_rend()
/third_party/boost/libs/multi_index/test/
Dtest_iterators.cpp33 for(reverse_iterator rit=i.rbegin();rit!=i.rend();++rit){ in test_non_const_iterators()
42 for(reverse_iterator rit2=i.rend();rit2!=i.rbegin();){ in test_non_const_iterators()
58 BOOST_TEST(i.crbegin()==i.rbegin()); in test_const_iterators()
67 for(const_reverse_iterator rit=i.rbegin();rit!=i.rend();++rit){ in test_const_iterators()
76 for(const_reverse_iterator rit2=i.rend();rit2!=i.rbegin();){ in test_const_iterators()
144 reverse_iterator rmiddle=i.rbegin()+off; in test_non_const_rnd_iterators()
155 for(reverse_iterator rit=i.rbegin();rit!=rmiddle;++rit){ in test_non_const_rnd_iterators()
187 BOOST_TEST(i.crbegin()==i.rbegin()); in test_const_rnd_iterators()
192 const_reverse_iterator rmiddle=i.rbegin()+off; in test_const_rnd_iterators()
203 for(const_reverse_iterator rit=i.rbegin();rit!=rmiddle;++rit){ in test_const_rnd_iterators()
/third_party/boost/libs/iterator/test/
Dnext_prior_test.cpp88 BOOST_TEST(plus_one_test(x.rbegin(), x.rend(), y.begin())); in main()
89 BOOST_TEST(plus_n_test(x.rbegin(), x.rend(), y.begin())); in main()
90 BOOST_TEST(minus_one_test(x.rbegin(), x.rend(), y.end())); in main()
91 BOOST_TEST(minus_n_test(x.rbegin(), x.rend(), y.end())); in main()
92 BOOST_TEST(minus_n_unsigned_test(x.rbegin(), x.rend(), x.size())); in main()
93 BOOST_TEST(minus_n_unsigned_test(x.rbegin(), x.rend(), y.size())); in main()
/third_party/boost/boost/proto/functional/range/
Drbegin.hpp19 struct rbegin struct
39 return boost::rbegin(rng); in operator ()()
45 return boost::rbegin(rng); in operator ()()
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure2/
Dcompiler.cpp387 std::list<ast::operation>::const_iterator& rbegin, in compile_expression() argument
390 while ((rbegin != rend) && (precedence_of(rbegin->operator_) >= min_precedence)) in compile_expression()
392 token_ids::type op = rbegin->operator_; in compile_expression()
393 if (!boost::apply_visitor(*this, rbegin->operand_)) in compile_expression()
395 ++rbegin; in compile_expression()
397 while ((rbegin != rend) && (precedence_of(rbegin->operator_) > precedence_of(op))) in compile_expression()
399 token_ids::type next_op = rbegin->operator_; in compile_expression()
400 compile_expression(precedence_of(next_op), rbegin, rend); in compile_expression()
412 std::list<ast::operation>::const_iterator rbegin = x.rest.begin(); in operator ()() local
413 if (!compile_expression(0, rbegin, x.rest.end())) in operator ()()
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure1/
Dcompiler.cpp393 std::list<ast::operation>::const_iterator& rbegin, in compile_expression() argument
396 while ((rbegin != rend) && (precedence[rbegin->operator_] >= min_precedence)) in compile_expression()
398 ast::optoken op = rbegin->operator_; in compile_expression()
399 if (!boost::apply_visitor(*this, rbegin->operand_)) in compile_expression()
401 ++rbegin; in compile_expression()
403 while ((rbegin != rend) && (precedence[rbegin->operator_] > precedence[op])) in compile_expression()
405 ast::optoken next_op = rbegin->operator_; in compile_expression()
406 compile_expression(precedence[next_op], rbegin, rend); in compile_expression()
418 std::list<ast::operation>::const_iterator rbegin = x.rest.begin(); in operator ()() local
419 if (!compile_expression(0, rbegin, x.rest.end())) in operator ()()
/third_party/boost/boost/range/
Drbegin.hpp26 rbegin( C& c ) in rbegin() function
35 rbegin( const C& c ) in rbegin() function
46 return boost::rbegin( r ); in const_rbegin()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTrace.h90 reverse_iterator rbegin() { return BasicBlocks.rbegin(); } in rbegin() function
91 const_reverse_iterator rbegin() const { return BasicBlocks.rbegin(); } in rbegin() function
/third_party/gn/src/base/
Dvalue_iterators.cc146 dict_iterator_proxy::reverse_iterator dict_iterator_proxy::rbegin() { in rbegin() function in base::detail::dict_iterator_proxy
150 dict_iterator_proxy::const_reverse_iterator dict_iterator_proxy::rbegin() in rbegin() function in base::detail::dict_iterator_proxy
173 return const_reverse_iterator(rbegin()); in crbegin()
197 const_dict_iterator_proxy::rbegin() const { in rbegin() function in base::detail::const_dict_iterator_proxy
218 return const_reverse_iterator(rbegin()); in crbegin()
/third_party/skia/src/core/
DSkMarkerStack.cpp18 for (auto it = fStack.rbegin(); it != fStack.rend(); ++it) { in setMarker()
34 for (auto it = fStack.rbegin(); it != fStack.rend(); ++it) { in findMarker()
47 for (auto it = fStack.rbegin(); it != fStack.rend(); ++it) { in findMarkerInverse()
/third_party/boost/boost/numeric/ublas/
Dmatrix_vector.hpp158 reverse_iterator rbegin() { in rbegin() function in boost::numeric::ublas::matrix_row_vector
163 const_reverse_iterator rbegin() const { in rbegin() function in boost::numeric::ublas::matrix_row_vector
169 return rbegin(); in crbegin()
311 reverse_iterator rbegin() { in rbegin() function in boost::numeric::ublas::matrix_column_vector
316 const_reverse_iterator rbegin() const { in rbegin() function in boost::numeric::ublas::matrix_column_vector
322 return rbegin(); in crbegin()
/third_party/boost/boost/multi_array/
Dindex_gen.hpp50 *ranges_.rbegin() = r; in index_gen()
58 *tmp.ranges_.rbegin() = r; in operator []()
67 *tmp.ranges_.rbegin() = range(idx); in operator []()
/third_party/boost/libs/stacktrace/test/
Dtest.cpp158 BOOST_TEST(st.rbegin() == st.rbegin()); in test_iterators()
163 BOOST_TEST(st.rbegin() + 1 == st.rbegin() + 1); in test_iterators()
180 BOOST_TEST(st.size() == static_cast<std::size_t>(std::distance(st.rbegin(), st.rend()))); in test_iterators()
183 BOOST_TEST(st.size() == static_cast<std::size_t>(std::distance(st.rbegin(), st.crend()))); in test_iterators()
249 BOOST_TEST(st.rbegin() == st.rend()); in test_empty_basic_stacktrace()
252 BOOST_TEST(st.rbegin() == st.crend()); in test_empty_basic_stacktrace()
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/containers/
Dmru_cache.h180 Erase(rbegin()); in ShrinkToSize()
210 reverse_iterator rbegin() { return ordering_.rbegin(); } in rbegin() function
211 const_reverse_iterator rbegin() const { return ordering_.rbegin(); } in rbegin() function
/third_party/flutter/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/containers/
Dmru_cache.h180 Erase(rbegin()); in ShrinkToSize()
210 reverse_iterator rbegin() { return ordering_.rbegin(); } in rbegin() function
211 const_reverse_iterator rbegin() const { return ordering_.rbegin(); } in rbegin() function
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
DFunctionList.h62 std::rotate(v.rbegin() + from, v.rbegin() + from + 1, v.rbegin() + to + 1); in rotateEffectAt()
/third_party/mindspore/mindspore/core/utils/
Dordered_map.h61 reverse_iterator rbegin() { return sequential_data_.rbegin(); } in rbegin() function
63 const_reverse_iterator rbegin() const { return sequential_data_.rbegin(); } in rbegin() function
233 reverse_iterator rbegin() { return sequential_data_.rbegin(); } in rbegin() function
235 const_reverse_iterator rbegin() const { return sequential_data_.rbegin(); } in rbegin() function
/third_party/boost/boost/bimap/container_adaptor/
Dordered_associative_container_adaptor.hpp200 reverse_iterator rbegin() in rbegin() function in boost::bimaps::container_adaptor::ordered_associative_container_adaptor
204 >() ( this->base().rbegin() ); in rbegin()
215 const_reverse_iterator rbegin() const in rbegin() function in boost::bimaps::container_adaptor::ordered_associative_container_adaptor
219 >() ( this->base().rbegin() ); in rbegin()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DBasicBlock.h233 inline reverse_iterator rbegin() { return InstList.rbegin(); } in rbegin() function
234 inline const_reverse_iterator rbegin() const { return InstList.rbegin(); } in rbegin() function

12345678910>>...29