/third_party/json/test/src/ |
D | unit-iterators1.cpp | 107 json::const_iterator it = j.cbegin(); 112 CHECK(it != j.cbegin()); 116 CHECK(it == j.cbegin()); 121 CHECK(it != j.cbegin()); 125 CHECK(it == j.cbegin()); 132 json::const_iterator it = j_const.cbegin(); 137 CHECK(it != j_const.cbegin()); 141 CHECK(it == j_const.cbegin()); 146 CHECK(it != j_const.cbegin()); 150 CHECK(it == j_const.cbegin()); [all …]
|
D | unit-element_access1.cpp | 335 json::const_iterator it2 = jarray.erase(jarray.cbegin()); 351 json::const_iterator it2 = jarray.erase(jarray.cbegin(), jarray.cend()); 367 json::const_iterator it2 = jarray.erase(jarray.cbegin(), jarray.cbegin()); 384 json::const_iterator it = jarray.cbegin() + 4; 401 … json::const_iterator it2 = jarray.erase(jarray.cbegin() + 3, jarray.cbegin() + 6); 429 CHECK_THROWS_AS(jarray.erase(jarray2.cbegin()), json::invalid_iterator&); 430 … CHECK_THROWS_AS(jarray.erase(jarray.cbegin(), jarray2.cend()), json::invalid_iterator&); 431 … CHECK_THROWS_AS(jarray.erase(jarray2.cbegin(), jarray.cend()), json::invalid_iterator&); 432 … CHECK_THROWS_AS(jarray.erase(jarray2.cbegin(), jarray2.cend()), json::invalid_iterator&); 434 CHECK_THROWS_WITH(jarray.erase(jarray2.cbegin()), [all …]
|
D | unit-iterators2.cpp | 49 auto it1_c = j.cbegin(); 50 auto it2_c = j.cbegin(); 51 auto it3_c = j.cbegin(); 229 CHECK_THROWS_AS(j.cbegin() == k.cbegin(), json::invalid_iterator&); 231 …CHECK_THROWS_WITH(j.cbegin() == k.cbegin(), "[json.exception.invalid_iterator.212] cannot compare … 234 CHECK_THROWS_AS(j.cbegin() < k.cbegin(), json::invalid_iterator&); 236 …CHECK_THROWS_WITH(j.cbegin() < k.cbegin(), "[json.exception.invalid_iterator.212] cannot compare i… 259 auto it = j_object.cbegin(); 269 auto it = j_object.cbegin(); 279 auto it = j_object.cbegin(); [all …]
|
D | unit-class_const_iterator.cpp | 96 CHECK((it == j.cbegin())); 104 CHECK((it == j.cbegin())); 112 CHECK((it == j.cbegin())); 151 json::const_iterator it = j.cbegin(); 159 json::const_iterator it = j.cbegin(); 169 json::const_iterator it = j.cbegin(); 176 json::const_iterator it = j.cbegin(); 186 json::const_iterator it = j.cbegin(); 194 json::const_iterator it = j.cbegin(); 204 json::const_iterator it = j.cbegin(); [all …]
|
D | unit-constructor1.cpp | 1280 json j_new(jobject.cbegin(), jobject.cend()); 1294 json j_new(jobject.cbegin(), jobject.cbegin()); 1319 … CHECK_THROWS_AS(json(jobject.cbegin(), jobject2.cend()), json::invalid_iterator&); 1320 … CHECK_THROWS_AS(json(jobject2.cbegin(), jobject.cend()), json::invalid_iterator&); 1321 …CHECK_THROWS_WITH(json(jobject.cbegin(), jobject2.cend()), "[json.exception.invalid_iterator.201] … 1322 …CHECK_THROWS_WITH(json(jobject2.cbegin(), jobject.cend()), "[json.exception.invalid_iterator.201] … 1338 json j_new(jarray.cbegin(), jarray.cend()); 1352 json j_new(jarray.cbegin(), jarray.cbegin()); 1366 json j_new(jarray.cbegin() + 1, jarray.cbegin() + 3); 1384 CHECK_THROWS_AS(json(jarray.cbegin(), jarray2.cend()), json::invalid_iterator&); [all …]
|
/third_party/boost/libs/unordered/test/unordered/ |
D | insert_hint_tests.cpp | 23 x.insert(x.cbegin(), 10); in UNORDERED_AUTO_TEST() 32 x.emplace_hint(x.cbegin(), "hello", 50); in UNORDERED_AUTO_TEST() 43 x.insert(x.cbegin(), "equal"); in UNORDERED_AUTO_TEST() 53 x.emplace_hint(x.cbegin(), 10, "two"); in UNORDERED_AUTO_TEST() 80 container::const_iterator position = x.cbegin(); in UNORDERED_AUTO_TEST() 97 x.insert(x.cbegin(), 10); in UNORDERED_AUTO_TEST() 108 x.insert(x.cbegin(), 10); in UNORDERED_AUTO_TEST() 113 x.insert(x.cbegin(), 20); in UNORDERED_AUTO_TEST()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/ |
D | instruction_test.cpp | 37 EXPECT_EQ(empty.cend(), empty.cbegin()); in TEST() 49 EXPECT_EQ(inst.cend(), inst.cbegin()); in TEST() 147 auto cbegin = inst.cbegin(); in TEST() local 149 EXPECT_NE(cend, inst.cbegin()); in TEST() 151 auto citer = inst.cbegin(); in TEST() 162 EXPECT_EQ(cbegin, inst.cbegin()); in TEST() 166 const Operand& operand2 = *(inst.cbegin() + 2); in TEST() 197 EXPECT_EQ(SPV_OPERAND_TYPE_TYPE_ID, (*(inst.cbegin() + 2)).type); in TEST()
|
/third_party/boost/libs/poly_collection/test/ |
D | test_erasure.cpp | 27 auto it=p.erase(p.template cbegin<Type>()+i); in test_local_erase() 41 auto first=p.template cbegin<Type>()+i, in test_local_range_erase() 42 last=p.template cbegin<Type>()+j; in test_local_range_erase() 75 auto it=p.erase(std::next(p.cbegin(),i)); in test_erasure() 84 auto it=p.erase(p.cbegin(info)+i); in test_erasure() 96 auto first=std::next(p.cbegin(),i), in test_erasure() 97 last=std::next(p.cbegin(),j); in test_erasure() 109 auto first=p.cbegin(info)+i, in test_erasure() 110 last=p.cbegin(info)+j; in test_erasure()
|
D | test_iterators.cpp | 84 BOOST_TEST(clbfirst==cp.cbegin(typeid(Type))); in test_iterators() 86 BOOST_TEST(clfirst==cp.template cbegin<Type>()); in test_iterators() 91 BOOST_TEST(clbfirst==bi.cbegin()); in test_iterators() 98 BOOST_TEST(clfirst==i.cbegin()); in test_iterators() 148 cs.template cbegin<Type>()== in test_iterators() 149 static_cast<const_local_iterator>(cs.cbegin())); in test_iterators() 228 BOOST_TEST(cfirst==cp.cbegin()); in test_iterators() 249 BOOST_TEST(cfirst==cp.segment_traversal().cbegin()); in test_iterators() 259 BOOST_TEST(clbfirst==cfirst->cbegin()); in test_iterators() 265 BOOST_TEST(clbfirst==cp.cbegin(first->type_info())); in test_iterators() [all …]
|
D | test_insertion.cpp | 63 [&]{p.insert(p.cend(),*p2.cbegin());}, in test_insertion() 114 p.cbegin(), in test_insertion() 119 p.cbegin(), in test_insertion() 127 p.cbegin(typeid(Types)), in test_insertion() 135 p.template cbegin<Types>(), in test_insertion() 158 p.insert(p2.cbegin(),p2.cend()); in test_insertion() 167 p.insert(s.cbegin(),s.cend()); in test_insertion() 187 p.insert(p2.template cbegin<Types>(),p2.template cend<Types>()), in test_insertion() 227 p.insert(p.begin(),p2.cbegin(),p2.cend()); in test_insertion() 237 for(auto s:p2.segment_traversal())p.insert(p.begin(),s.cbegin(),s.cend()); in test_insertion() [all …]
|
D | test_registration.cpp | 36 [&]{(void)p.cbegin(typeid(Type));}, in test_registration() 42 [&]{(void)p.template cbegin<Type>();}, in test_registration() 74 (void)p.cbegin(typeid(Type)); in test_registration() 80 (void)cp.template cbegin<Type>(); in test_registration()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | GPUInfo.cpp | 95 return std::find(Skylake.cbegin(), Skylake.cend(), deviceId) != Skylake.cend(); in IsSkylake() 98 return std::find(Kabylake.cbegin(), Kabylake.cend(), deviceId) != Kabylake.cend(); in IsKabylake() 101 return (std::find(Coffeelake.cbegin(), Coffeelake.cend(), deviceId) != Coffeelake.cend()) || in IsCoffeelake() 102 (std::find(Whiskylake.cbegin(), Whiskylake.cend(), deviceId) != Whiskylake.cend()) || in IsCoffeelake() 103 (std::find(Cometlake.cbegin(), Cometlake.cend(), deviceId) != Cometlake.cend()); in IsCoffeelake()
|
/third_party/glslang/SPIRV/ |
D | Logger.cpp | 59 for (auto it = tbdFeatures.cbegin(); it != tbdFeatures.cend(); ++it) in getAllMessages() 61 for (auto it = missingFeatures.cbegin(); it != missingFeatures.cend(); ++it) in getAllMessages() 63 for (auto it = warnings.cbegin(); it != warnings.cend(); ++it) in getAllMessages() 65 for (auto it = errors.cbegin(); it != errors.cend(); ++it) in getAllMessages()
|
/third_party/grpc/include/grpcpp/impl/codegen/ |
D | string_ref.h | 69 const_iterator cbegin() const { return data_; } in cbegin() function 114 auto it = std::search(cbegin(), cend(), s.cbegin(), s.cend()); in find() 115 return it == cend() ? npos : std::distance(cbegin(), it); in find() 119 auto it = std::find(cbegin(), cend(), c); in find() 120 return it == cend() ? npos : std::distance(cbegin(), it); in find()
|
/third_party/boost/libs/array/test/ |
D | array0.cpp | 43 BOOST_TEST ( test_case.cbegin() == test_case.cend()); in RunTests() 45 BOOST_TEST ( const_test_case.cbegin() == const_test_case.cend()); in RunTests() 56 std::for_each( test_case.cbegin(), test_case.cend(), BadValue< T > ); in RunTests() 59 std::for_each( const_test_case.cbegin(), const_test_case.cend(), BadValue< T > ); in RunTests()
|
/third_party/boost/libs/stacktrace/test/ |
D | test.cpp | 156 BOOST_TEST(st.cbegin() == st.cbegin()); in test_iterators() 161 BOOST_TEST(st.cbegin() + 1 == st.cbegin() + 1); in test_iterators() 171 BOOST_TEST(st.end() > st.cbegin()); in test_iterators() 172 BOOST_TEST(st.cend() > st.cbegin()); in test_iterators() 176 BOOST_TEST(st.size() == static_cast<std::size_t>(st.end() - st.cbegin())); in test_iterators() 177 BOOST_TEST(st.size() == static_cast<std::size_t>(st.cend() - st.cbegin())); in test_iterators() 245 BOOST_TEST(st.cbegin() == st.end()); in test_empty_basic_stacktrace() 246 BOOST_TEST(st.cbegin() == st.cend()); in test_empty_basic_stacktrace()
|
/third_party/boost/boost/beast/_experimental/unit_test/detail/ |
D | const_container.hpp | 67 return m_cont.cbegin(); in begin() 71 cbegin() const in cbegin() function in boost::beast::unit_test::detail::const_container 73 return m_cont.cbegin(); in cbegin()
|
/third_party/boost/libs/beast/include/boost/beast/_experimental/unit_test/detail/ |
D | const_container.hpp | 67 return m_cont.cbegin(); in begin() 71 cbegin() const in cbegin() function in boost::beast::unit_test::detail::const_container 73 return m_cont.cbegin(); in cbegin()
|
/third_party/boost/boost/math/tools/ |
D | norms.hpp | 70 return total_variation(v.cbegin(), v.cend()); in total_variation() 106 return sup_norm(v.cbegin(), v.cend()); in sup_norm() 148 return l1_norm(v.cbegin(), v.cend()); in l1_norm() 223 return l2_norm(v.cbegin(), v.cend()); in l2_norm() 244 return l0_pseudo_norm(v.cbegin(), v.cend()); in l0_pseudo_norm() 266 return hamming_distance(v.cbegin(), v.cend(), w.cbegin()); in hamming_distance() 351 return lp_norm(v.cbegin(), v.cend(), p); in lp_norm() 407 return lp_distance(v.cbegin(), v.cend(), w.cbegin(), p); in lp_distance() 480 return l1_distance(v.cbegin(), v.cend(), w.begin()); in l1_distance() 553 return l2_distance(v.cbegin(), v.cend(), w.begin()); in l2_distance() [all …]
|
/third_party/boost/boost/utility/ |
D | string_ref.hpp | 120 BOOST_CONSTEXPR const_iterator cbegin() const { return ptr_; } in cbegin() function in boost::basic_string_ref 187 const_iterator iter = std::search ( this->cbegin (), this->cend (), in find() 188 s.cbegin (), s.cend (), traits::eq ); in find() 189 return iter == this->cend () ? npos : std::distance ( this->cbegin (), iter ); in find() 193 const_iterator iter = std::find_if ( this->cbegin (), this->cend (), in find() 195 return iter == this->cend () ? npos : std::distance ( this->cbegin (), iter ); in find() 216 ( this->cbegin (), this->cend (), s.cbegin (), s.cend (), traits::eq ); in find_first_of() 217 return iter == this->cend () ? npos : std::distance ( this->cbegin (), iter ); in find_first_of() 222 ( this->crbegin (), this->crend (), s.cbegin (), s.cend (), traits::eq ); in find_last_of() 227 const_iterator iter = find_not_of ( this->cbegin (), this->cend (), s ); in find_first_not_of() [all …]
|
/third_party/boost/libs/process/test/ |
D | environment.cpp | 196 BOOST_CHECK_EQUAL(std::distance(env.cbegin(), env.cend()), sz + 3); 205 BOOST_CHECK_EQUAL(std::distance(env.cbegin(), env.cend()), sz + 2); 214 BOOST_CHECK_EQUAL(std::distance(env.cbegin(), env.cend()), sz + 1); 221 BOOST_CHECK_LE(std::distance(env.cbegin(), env.cend()), sz); 241 BOOST_CHECK_EQUAL(std::distance(env.cbegin(), env.cend()), 3u); 250 BOOST_CHECK_EQUAL(std::distance(env.cbegin(), env.cend()), 2u); 259 BOOST_CHECK_EQUAL(std::distance(env.cbegin(), env.cend()), 1u); 266 BOOST_CHECK_EQUAL(std::distance(env.cbegin(), env.cend()), 0u);
|
/third_party/flatbuffers/src/ |
D | idl_gen_json_schema.cpp | 30 for (auto ns = name_spaces.cbegin(); ns != name_spaces.cend(); ++ns) { in GenFullName() 118 for (auto ut = union_types.cbegin(); ut < union_types.cend(); ++ut) { in GenType() 177 for (auto e = parser_.enums_.vec.cbegin(); e != parser_.enums_.vec.cend(); in generate() 191 for (auto s = parser_.structs_.vec.cbegin(); in generate() 198 for (auto comment_line = comment_lines.cbegin(); in generate() 214 for (auto prop = properties.cbegin(); prop != properties.cend(); ++prop) { in generate() 245 for (auto req_prop = requiredProperties.cbegin(); in generate()
|
/third_party/boost/libs/beast/include/boost/beast/http/ |
D | rfc7230.hpp | 95 const_iterator cbegin() const; 181 const_iterator cbegin() const; 269 const_iterator cbegin() const;
|
/third_party/boost/boost/beast/http/ |
D | rfc7230.hpp | 95 const_iterator cbegin() const; 181 const_iterator cbegin() const; 269 const_iterator cbegin() const;
|
/third_party/boost/libs/contract/example/mitchell02/observer/ |
D | subject.hpp | 50 return std::find(observers_.cbegin(), observers_.cend(), ob) != in attached() 86 for(std::vector<observer*>::const_iterator i = observers_.cbegin(); in observers() 118 for(std::vector<observer const*>::const_iterator i = obs.cbegin(); in all_observers_valid() 152 for(std::vector<observer const*>::const_iterator i = obs.cbegin(); in all_observers_updated()
|