Home
last modified time | relevance | path

Searched refs:cit (Results 1 – 25 of 69) sorted by relevance

123

/third_party/boost/libs/container/test/
Dcontainer_common_tests.hpp30 typename Container::const_iterator cit; in test_nth_index_of() local
35 cit = (as_const)(c).nth(0); in test_nth_index_of()
36 csz = (as_const)(c).index_of(cit); in test_nth_index_of()
40 if(cit != c.cbegin()) in test_nth_index_of()
51 cit = (as_const)(c).nth(sz_div_2); in test_nth_index_of()
52 csz = (as_const)(c).index_of(cit); in test_nth_index_of()
56 if(cit != (c.cbegin()+sz_div_2)) in test_nth_index_of()
66 cit = (as_const)(c).nth(c.size()); in test_nth_index_of()
67 csz = (as_const)(c).index_of(cit); in test_nth_index_of()
71 if(cit != c.cend()) in test_nth_index_of()
/third_party/boost/libs/wave/samples/hannibal/
Dhannibal.cpp185 for (vector<string>::const_iterator cit = paths.begin(); in main() local
186 cit != end; ++cit) in main()
188 ctx.add_include_path((*cit).c_str()); in main()
197 for (vector<string>::const_iterator cit = syspaths.begin(); in main() local
198 cit != end; ++cit) in main()
200 ctx.add_sysinclude_path((*cit).c_str()); in main()
208 for (vector<string>::const_iterator cit = macros.begin(); in main() local
209 cit != end; ++cit) in main()
211 ctx.add_macro_definition(*cit); in main()
220 for (vector<string>::const_iterator cit = predefmacros.begin(); in main() local
[all …]
/third_party/boost/libs/wave/samples/waveidl/
Didl.cpp273 for (vector<string>::const_iterator cit = syspaths.begin(); in do_actual_work() local
274 cit != end; ++cit) in do_actual_work()
276 ctx.add_sysinclude_path((*cit).c_str()); in do_actual_work()
286 for (vector<string>::const_iterator cit = ip.paths.begin(); in do_actual_work() local
287 cit != end; ++cit) in do_actual_work()
289 ctx.add_include_path((*cit).c_str()); in do_actual_work()
309 for (vector<string>::const_iterator cit = macros.begin(); in do_actual_work() local
310 cit != end; ++cit) in do_actual_work()
312 ctx.add_macro_definition(*cit); in do_actual_work()
321 for (vector<string>::const_iterator cit = predefmacros.begin(); in do_actual_work() local
[all …]
/third_party/boost/libs/spirit/test/qi/
Dmatch_manip.hpp61 std::list<char>::const_iterator cit = l.begin(); in is_list_ok() local
62 if (cit == l.end() || *cit != 'a') in is_list_ok()
64 if (++cit == l.end() || *cit != 'b') in is_list_ok()
67 return ++cit != l.end() && *cit == 'c'; in is_list_ok()
/third_party/boost/libs/geometry/test/iterators/
Dtest_iterator_common.hpp118 for (CombinedIterator cit = first; cit != beyond; ++cit, ++it) in test_equality() local
120 BOOST_CHECK( *cit == *it ); in test_equality()
127 CombinedIterator cit = beyond; in test_equality() local
128 for (--cit, --it; cit != first; --cit, --it) in test_equality()
130 BOOST_CHECK( *cit == *it ); in test_equality()
132 BOOST_CHECK( cit == first && it == combined.begin() ); in test_equality()
133 BOOST_CHECK( *cit == *it ); in test_equality()
Dclosing_iterator.cpp150 for (normal_iterator cit = boost::begin(copy); cit != boost::end(copy); ++cit) in test_geometry() local
152 out << " " << bg::get<0>(*cit) << bg::get<1>(*cit); in test_geometry()
Dpoint_iterator.cpp236 static inline void apply(Iterator it, ConstIterator cit, in apply()
244 std::cout << "*cit : " << bg::wkt(*cit) << std::endl; in apply()
249 BOOST_CHECK(bg::equals(*cit, value1)); in apply()
250 BOOST_CHECK(! bg::equals(*cit, value2)); in apply()
255 BOOST_CHECK(bg::equals(*cit, value2)); in apply()
256 BOOST_CHECK(! bg::equals(*cit, value1)); in apply()
263 std::cout << "*cit : " << bg::wkt(*cit) << std::endl; in apply()
269 BOOST_CHECK(bg::equals(*cit, value1)); in apply()
270 BOOST_CHECK(! bg::equals(*cit, value2)); in apply()
277 std::cout << "*cit : " << bg::wkt(*cit) << std::endl; in apply()
/third_party/boost/boost/wave/util/
Dunput_queue_iterator.hpp240 typename iterator_type::container_type::iterator cit = queue.begin(); in peek() local
244 for (++cit; cit != cend; ++cit) { in peek()
245 if (!IS_CATEGORY(*cit, WhiteSpaceTokenType) && in peek()
246 T_NEWLINE != token_id(*cit)) in peek()
253 ++cit; // we have at least to look ahead in peek()
255 if (cit != cend) in peek()
256 return token_id(*cit); in peek()
Dmacro_definition.hpp95 const_parameter_iterator_t cit = macroparameters.begin(); in replace_parameters() local
97 cit != cend; ++cit, ++i) in replace_parameters()
99 if ((*it).get_value() == (*cit).get_value()) { in replace_parameters()
105 T_ELLIPSIS == token_id(*cit) && in replace_parameters()
114 T_ELLIPSIS == token_id(*cit) && in replace_parameters()
Dcpp_macromap.hpp535 typename defined_macros_type::iterator cit; in is_defined() local
544 return is_defined(name, cit, 0); in is_defined()
553 typename defined_macros_type::iterator cit; in is_defined() local
554 return is_defined(str, cit, 0); in is_defined()
1088 typename macro_definition_type::const_definition_iterator_t cit, in expand_replacement_list() argument
1104 for (;cit != cend; ++cit) in expand_replacement_list()
1107 token_id base_id = BASE_TOKEN(token_id(*cit)); in expand_replacement_list()
1121 ::peek(cit, cend)) in expand_replacement_list()
1126 adjacent_concat = IS_CATEGORY(*cit, WhiteSpaceTokenType); in expand_replacement_list()
1129 if (IS_CATEGORY((*cit), ParameterTokenType)) { in expand_replacement_list()
[all …]
/third_party/boost/libs/wave/samples/token_statistics/
Dtoken_statistics.cpp140 for (vector<string>::const_iterator cit = paths.begin(); in do_actual_work() local
141 cit != end; ++cit) in do_actual_work()
143 ctx.add_include_path((*cit).c_str()); in do_actual_work()
152 for (vector<string>::const_iterator cit = syspaths.begin(); in do_actual_work() local
153 cit != end; ++cit) in do_actual_work()
155 ctx.add_sysinclude_path((*cit).c_str()); in do_actual_work()
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dhandle_self_turns.hpp188 typename Clusters::const_iterator cit = clusters.find(cluster_id); in is_self_cluster() local
189 if (cit == clusters.end()) in is_self_cluster()
194 cluster_info const& cinfo = cit->second; in is_self_cluster()
215 for (typename Clusters::const_iterator cit = clusters.begin(); in discard_clusters() local
216 cit != clusters.end(); ++cit) in discard_clusters()
218 signed_size_type const cluster_id = cit->first; in discard_clusters()
222 if (! cit->second.turn_indices.empty() in discard_clusters()
225 cluster_info const& cinfo = cit->second; in discard_clusters()
Dhandle_colocations.hpp317 typename ClusterPerSegment::const_iterator cit = cluster_per_segment.find(seg_frac); in assign_cluster_to_turns() local
318 if (cit != cluster_per_segment.end()) in assign_cluster_to_turns()
322 && turn.cluster_id != cit->second) in assign_cluster_to_turns()
327 turn.cluster_id = cit->second; in assign_cluster_to_turns()
454 for (typename Clusters::iterator cit = clusters.begin(); in discard_interior_exterior_turns() local
455 cit != clusters.end(); ++cit) in discard_interior_exterior_turns()
457 cluster_info& cinfo = cit->second; in discard_interior_exterior_turns()
538 for (typename Clusters::const_iterator cit = clusters.begin(); in set_colocation() local
539 cit != clusters.end(); ++cit) in set_colocation()
541 cluster_info const& cinfo = cit->second; in set_colocation()
/third_party/boost/libs/range/test/algorithm_test/
Dadjacent_find.cpp66 const_iterator_t cit = boost::adjacent_find(cref_cont); in test_adjacent_find_impl() local
68 BOOST_CHECK( cit == cit_pred ); in test_adjacent_find_impl()
69 BOOST_CHECK( cit != cref_cont.end() ); in test_adjacent_find_impl()
70 BOOST_CHECK( cit == std::adjacent_find(cref_cont.begin(), cref_cont.end()) ); in test_adjacent_find_impl()
71 if (cit != cref_cont.end()) in test_adjacent_find_impl()
73 BOOST_CHECK( *cit == 5 ); in test_adjacent_find_impl()
Dsearch_n.cpp118 const_iterator1_t cit = boost::search_n(ccont1, n, value, pred); in test_search_n_pred_impl() local
119 … BOOST_CHECK( cit == boost::search_n(boost::make_iterator_range(ccont1), n, value, pred) ); in test_search_n_pred_impl()
120 BOOST_CHECK( cit == reference_search_n(ccont1.begin(), ccont1.end(), n, value, pred) ); in test_search_n_pred_impl()
138 const_iterator1_t cit = boost::search_n(ccont1, n, value); in test_search_n_impl() local
139 BOOST_CHECK( cit == boost::search_n(boost::make_iterator_range(ccont1), n, value) ); in test_search_n_impl()
140 BOOST_CHECK( cit == reference_search_n(ccont1.begin(), ccont1.end(), n, value) ); in test_search_n_impl()
Dsearch.cpp45 const_iterator1_t cit = boost::search(ccont1, cont2); in test_search_impl() local
46 BOOST_CHECK( cit == boost::search(boost::make_iterator_range(ccont1), cont2) ); in test_search_impl()
47 BOOST_CHECK( cit == boost::search(ccont1, boost::make_iterator_range(cont2)) ); in test_search_impl()
48 BOOST_CHECK( cit == boost::search(boost::make_iterator_range(ccont1), in test_search_impl()
58 … BOOST_CHECK( cit == std::search(ccont1.begin(), ccont1.end(), cont2.begin(), cont2.end()) ); in test_search_impl()
/third_party/boost/libs/wave/tool/
Dcpp.cpp1005 for (vector<std::string>::const_iterator cit = syspaths.begin(); in do_actual_work() local
1006 cit != end; ++cit) in do_actual_work()
1008 ctx.add_sysinclude_path(cmd_line_utils::trim_quotes(*cit).c_str()); in do_actual_work()
1018 for (vector<std::string>::const_iterator cit = ip.paths.begin(); in do_actual_work() local
1019 cit != end; ++cit) in do_actual_work()
1021 ctx.add_include_path(cmd_line_utils::trim_quotes(*cit).c_str()); in do_actual_work()
1041 for (vector<std::string>::const_iterator cit = macros.begin(); in do_actual_work() local
1042 cit != end; ++cit) in do_actual_work()
1044 ctx.add_macro_definition(*cit); in do_actual_work()
1053 for (vector<std::string>::const_iterator cit = predefmacros.begin(); in do_actual_work() local
[all …]
/third_party/boost/libs/wave/samples/list_includes/
Dlist_includes.cpp203 for (vector<string>::const_iterator cit = paths.begin(); in do_actual_work() local
204 cit != end; ++cit) in do_actual_work()
206 ctx.add_include_path((*cit).c_str()); in do_actual_work()
215 for (vector<string>::const_iterator cit = syspaths.begin(); in do_actual_work() local
216 cit != end; ++cit) in do_actual_work()
218 ctx.add_sysinclude_path((*cit).c_str()); in do_actual_work()
/third_party/boost/libs/wave/test/testwave/
Dtestwave_app.cpp1104 for (std::vector<std::string>::const_iterator cit = syspaths.begin(); in initialise_options() local
1105 cit != end; ++cit) in initialise_options()
1107 std::string full(*cit); in initialise_options()
1111 std::cerr << "initialise_options: option: -S" << *cit in initialise_options()
1124 for (std::vector<std::string>::const_iterator cit = ip.paths.begin(); in initialise_options() local
1125 cit != end; ++cit) in initialise_options()
1127 std::string full(*cit); in initialise_options()
1131 std::cerr << "initialise_options: option: -I" << *cit in initialise_options()
1163 for (std::vector<std::string>::const_iterator cit = macros.begin(); in initialise_options() local
1164 cit != end; ++cit) in initialise_options()
[all …]
Dtestwave.cpp144 for (std::vector<std::string>::const_iterator cit = cfg_files.begin(); in main() local
145 cit != end; ++cit) in main()
148 std::cerr << "reading config_file: " << *cit << std::endl; in main()
155 *cit, desc_hidden, cvm)) in main()
158 std::cerr << "failed to read config_file: " << *cit in main()
165 std::cerr << "succeeded to read config_file: " << *cit in main()
185 boost::wave::util::create_path(*cit), in main()
/third_party/boost/libs/multi_index/test/
Dtest_projection.cpp84 employee_set::const_iterator cit,citbis; in test_projection() local
116 cit= ces.find(employee(4,"John",57,1002)); in test_projection()
118 cit1= project<by_name>(ces,cit); in test_projection()
120 cit1= ces.project<by_name>(cit); in test_projection()
133 *cit==*cit1&&*cit1==*cit2&&*cit2==*cit3&&*cit3==*cit4&&*cit4==*cit5&& in test_projection()
134 citbis==cit); in test_projection()
/third_party/boost/boost/multi_array/
Dconcept_checks.hpp83 cit = a.begin(); in constraints()
84 cit = a.end(); in constraints()
111 const_iterator cit; member
171 cit = a.begin(); in const_constraints()
172 cit = a.end(); in const_constraints()
200 const_iterator cit; member
/third_party/json/test/src/
Dunit-iterators1.cpp46 json::const_iterator cit; variable
47 CHECK(cit.m_object == nullptr);
341 auto cit = j_const.cbegin(); variable
345 CHECK_THROWS_AS(cit.key(), json::invalid_iterator&);
346 …CHECK_THROWS_WITH(cit.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-objec…
347 CHECK(cit.value() == json(true));
545 auto cit = j_const.cbegin(); variable
549 CHECK_THROWS_AS(cit.key(), json::invalid_iterator&);
550 …CHECK_THROWS_WITH(cit.key(), "[json.exception.invalid_iterator.207] cannot use key() for non-objec…
551 CHECK(cit.value() == json("hello world"));
[all …]
/third_party/boost/boost/poly_collection/detail/
Dtype_info_map.hpp148 auto cit=cache.find(&key); in find() local
149 if(cit!=cache.end())return cit->second; in find()
157 auto cit=cache.find(&key); in find() local
158 if(cit!=cache.end())return cit->second; in find()
/third_party/flutter/skia/third_party/externals/sdl/src/video/pandora/
DSDL_pandora.c406 EGLint cit; in PND_gl_createcontext() local
558 for (cit = 0; cit < configs; cit++) { in PND_gl_createcontext()
568 wdata->gles_configs[cit], EGL_STENCIL_SIZE, in PND_gl_createcontext()
582 wdata->gles_configs[cit], EGL_DEPTH_SIZE, in PND_gl_createcontext()
600 if (cit == configs) { in PND_gl_createcontext()
601 cit = 0; in PND_gl_createcontext()
603 wdata->gles_config = cit; in PND_gl_createcontext()

123