Home
last modified time | relevance | path

Searched refs:rit (Results 1 – 25 of 60) sorted by relevance

123

/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() local
34 m+=rit->id; in test_non_const_iterators()
67 for(const_reverse_iterator rit=i.rbegin();rit!=i.rend();++rit){ in test_const_iterators() local
68 m+=rit->id; in test_const_iterators()
155 for(reverse_iterator rit=i.rbegin();rit!=rmiddle;++rit){ in test_non_const_rnd_iterators() local
156 m+=rit->id; in test_non_const_rnd_iterators()
157 m+=(rit+off)->id; in test_non_const_rnd_iterators()
203 for(const_reverse_iterator rit=i.rbegin();rit!=rmiddle;++rit){ in test_const_rnd_iterators() local
204 m+=rit->id; in test_const_rnd_iterators()
205 m+=(rit+off)->id; in test_const_rnd_iterators()
/third_party/boost/libs/wave/samples/token_statistics/
Dcollect_token_statistics.hpp61 for(ids_type::reverse_iterator rit = ids.rbegin(); rit != rend; ++rit) in print() local
63 std::cout << boost::wave::get_token_name((*rit).second) << ": " in print()
64 << (*rit).first << std::endl; in print()
/third_party/boost/libs/intrusive/example/
Ddoc_any_hook.cpp58 std::vector<MyClass>::reverse_iterator rit(values.rbegin()), ritend(values.rend()); in main() local
61 for(; rit != ritend; ++rit, ++bit, ++mrit) in main()
62 if(&*bit != &*rit || &*mrit != &*rit) return 1; in main()
Ddoc_slist.cpp68 VectRit rit(values.rbegin()), ritend(values.rend()); in main() local
72 for(; rit != ritend; ++rit, ++bit) in main()
73 if(&*bit != &*rit) return 1; in main()
/third_party/boost/libs/histogram/test/
Dutility_axis.hpp23 auto rit = a.rbegin(); in test_axis_iterator() local
24 for (; rit != a.rend(); ++rit) { in test_axis_iterator()
26 BOOST_TEST_EQ(*rit, a.bin(begin)); in test_axis_iterator()
/third_party/boost/boost/graph/
Dtransitive_reduction.hpp102 typename std::vector< Vertex >::reverse_iterator rit in transitive_reduction() local
105 for (; rit != rend; ++rit) in transitive_reduction()
108 if (std::find(neighbors.begin(), neighbors.end(), *rit) in transitive_reduction()
111 size_type j = topo_number[*rit]; in transitive_reduction()
125 add_edge(g_to_tr_map[*it], g_to_tr_map[*rit], tr); in transitive_reduction()
/third_party/boost/boost/wave/util/
Dinterpret_pragma.hpp122 typename ContainerT::reverse_iterator rit = values.rbegin(); in interpret_pragma() local
123 values.erase((++rit).base()); in interpret_pragma()
184 typename ContainerT::reverse_iterator rit = values.rbegin(); in interpret_pragma() local
185 values.erase((++rit).base()); in interpret_pragma()
Dcpp_macromap_utils.hpp311 typename ContainerT::reverse_iterator rit = replacement_list.rbegin(); in trim_replacement_list() local
313 while (rit != rend && IS_CATEGORY(*rit, WhiteSpaceTokenType)) in trim_replacement_list()
314 ++rit; in trim_replacement_list()
317 typename ContainerT::iterator it = rit.base(); in trim_replacement_list()
/third_party/json/test/src/
Dunit-iterators1.cpp349 auto rit = j.rend(); variable
351 CHECK_THROWS_AS(rit.key(), json::invalid_iterator&);
352 CHECK_THROWS_AS(rit.value(), json::invalid_iterator&);
355 …CHECK_THROWS_WITH(rit.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-objec…
356 … CHECK_THROWS_WITH(rit.value(), "[json.exception.invalid_iterator.214] cannot get value");
553 auto rit = j.rend(); variable
555 CHECK_THROWS_AS(rit.key(), json::invalid_iterator&);
556 CHECK_THROWS_AS(rit.value(), json::invalid_iterator&);
559 …CHECK_THROWS_WITH(rit.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-objec…
560 … CHECK_THROWS_WITH(rit.value(), "[json.exception.invalid_iterator.214] cannot get value");
[all …]
Dunit-regression1.cpp305 json::reverse_iterator rit = a.rbegin(); variable
306 ++rit;
307 CHECK(*rit == json(2));
308 CHECK(rit.value() == json(2));
312 json::reverse_iterator rit = ++a.rbegin(); variable
313 CHECK(*rit == json(2));
314 CHECK(rit.value() == json(2));
318 json::reverse_iterator rit = a.rbegin(); variable
319 ++rit;
321 std::transform(rit, a.rend(), b.rbegin(), [](json el)
/third_party/boost/libs/intrusive/test/
Dany_test.cpp168 VectRit rit(values.rbegin()), ritend(values.rend()); in simple_slist_test() local
172 for(; rit != ritend; ++rit, ++bit) in simple_slist_test()
173 if(&*bit != &*rit) return false; in simple_slist_test()
/third_party/python/Lib/
Dprofile.py249 rpt, rit, ret, rfn, rframe, rcur = self.cur
252 self.cur = rpt, rit+t, ret, rfn, rframe, rcur
258 rpt, rit, ret, rfn, rframe, rcur = self.cur
297 rpt, rit, ret, rfn, frame, rcur = self.cur
298 rit = rit + t
299 frame_total = rit + ret
322 timings[rfn] = cc, ns - 1, tt + rit, ct, callers
/third_party/boost/libs/flyweight/example/
Dhtml.cpp193 for(html_context_data::reverse_iterator rit=context.rbegin(); in scan_html() local
194 rit!=context.rend();++rit){ in scan_html()
195 if(rit->get().name==res.tag.get().name){ in scan_html()
196 context.erase(rit.base()-1,context.end()); in scan_html()
/third_party/boost/boost/geometry/io/svg/
Dwrite.hpp169 rit = boost::begin(rings); rit != boost::end(rings); ++rit) in apply() local
173 it = boost::begin(*rit); it != boost::end(*rit); in apply()
/third_party/boost/boost/histogram/
Dhistogram.hpp449 auto rit = unsafe_access::storage(rhs).begin(); in operator +=() local
450 for (auto&& x : storage_) x += *rit++; in operator +=()
466 auto rit = unsafe_access::storage(rhs).begin(); in operator +=() local
467 for (auto&& x : storage_) x += *rit++; in operator +=()
500 auto rit = unsafe_access::storage(rhs).begin(); in operator -=() local
501 for (auto&& x : storage_) x -= *rit++; in operator -=()
520 auto rit = unsafe_access::storage(rhs).begin(); in operator *=() local
521 for (auto&& x : storage_) x *= *rit++; in operator *=()
540 auto rit = unsafe_access::storage(rhs).begin(); in operator /=() local
541 for (auto&& x : storage_) x /= *rit++; in operator /=()
/third_party/boost/boost/geometry/strategies/agnostic/
Dhull_graham_andrew.hpp326 rev_iterator rit = output.rbegin(); in add_to_hull() local
327 point_type const last = *rit++; in add_to_hull()
328 point_type const& last2 = *rit++; in add_to_hull()
330 if (Factor * side::apply(*rit, last, last2) <= 0) in add_to_hull()
/third_party/pixman/pixman/
Dpixman-region.c1586 region_info_t *rit; /* &ri[j] */ in validate() local
1655 for (j = num_ri, rit = ri; --j >= 0; rit++) in validate()
1657 reg = &rit->reg; in validate()
1687 COALESCE (reg, rit->prev_band, rit->cur_band); in validate()
1688 rit->cur_band = reg->data->numRects; in validate()
1712 rit = malloc (data_size); in validate()
1713 if (!rit) in validate()
1715 memcpy (rit, ri, num_ri * sizeof (region_info_t)); in validate()
1719 rit = (region_info_t *) realloc (ri, data_size); in validate()
1720 if (!rit) in validate()
[all …]
/third_party/grpc/test/cpp/util/
Dstring_ref_test.cc99 for (auto rit = s.crbegin(); rit != s.crend(); ++rit) { in TEST_F() local
101 EXPECT_EQ(val, *rit); in TEST_F()
/third_party/boost/boost/multi_array/
Dconcept_checks.hpp149 rit = a.rbegin(); in constraints()
150 rit = a.rend(); in constraints()
201 reverse_iterator rit; member
/third_party/boost/libs/ptr_container/test/
Dptr_map.cpp245 typename C::reverse_iterator rit = c.rbegin(), re = c.rend(); in ptr_map_test() local
246 for( ; rit != re; ++rit ) in ptr_map_test()
248 std::cout << "\n mapped value = " << *rit->second << " key = " << rit->first; in ptr_map_test()
/third_party/boost/boost/gil/concepts/
Dimage_view.hpp151 reverse_iterator rit; in constraints() local
164 rit = view.rbegin(); in constraints()
165 rit = view.rend(); in constraints()
/third_party/boost/boost/spirit/home/lex/lexer/lexertl/
Dgenerate_static.hpp121 for (iterator rit = reverse_state_map.begin(); rit != rend; ++last_id) in generate_cpp_state_info() local
123 for (/**/; last_id < (*rit).first; ++last_id) in generate_cpp_state_info()
129 << "\"" << (*rit).second << "\""; in generate_cpp_state_info()
130 if (++rit != rend) in generate_cpp_state_info()
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dsmall_vector.h169 auto rit = rhs.begin();
170 for (auto lit = lhs.begin(); lit != lhs.end(); ++lit, ++rit) {
171 if (*lit != *rit) {
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dsmall_vector.h169 auto rit = rhs.begin();
170 for (auto lit = lhs.begin(); lit != lhs.end(); ++lit, ++rit) {
171 if (*lit != *rit) {
/third_party/boost/boost/geometry/algorithms/detail/relate/
Dlinear_areal.hpp410 for ( turn_iterator rit = it ; rit != next ; ++rit ) in apply() local
413 if ( !analyser.apply(it, rit, next, eq_pp_strategy) ) in apply()

123