Home
last modified time | relevance | path

Searched refs:cbegin (Results 1 – 25 of 210) sorted by relevance

123456789

/third_party/json/test/src/
Dunit-iterators1.cpp106 json::const_iterator it = j.cbegin();
111 CHECK(it != j.cbegin());
115 CHECK(it == j.cbegin());
120 CHECK(it != j.cbegin());
124 CHECK(it == j.cbegin());
131 json::const_iterator it = j_const.cbegin();
136 CHECK(it != j_const.cbegin());
140 CHECK(it == j_const.cbegin());
145 CHECK(it != j_const.cbegin());
149 CHECK(it == j_const.cbegin());
[all …]
Dunit-element_access1.cpp335 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 …]
Dunit-iterators2.cpp49 auto it1_c = j.cbegin();
50 auto it2_c = j.cbegin();
51 auto it3_c = j.cbegin();
273 CHECK_THROWS_AS(j.cbegin() == k.cbegin(), json::invalid_iterator&);
275 CHECK_THROWS_AS(j.cbegin() < k.cbegin(), json::invalid_iterator&);
280 …CHECK_THROWS_WITH(j.cbegin() == k.cbegin(), "[json.exception.invalid_iterator.212] cannot compare …
282 …CHECK_THROWS_WITH(j.cbegin() < k.cbegin(), "[json.exception.invalid_iterator.212] cannot compare i…
306 auto it = j_object.cbegin();
316 auto it = j_object.cbegin();
326 auto it = j_object.cbegin();
[all …]
Dunit-class_const_iterator.cpp95 CHECK((it == j.cbegin()));
103 CHECK((it == j.cbegin()));
111 CHECK((it == j.cbegin()));
150 json::const_iterator it = j.cbegin();
158 json::const_iterator it = j.cbegin();
168 json::const_iterator it = j.cbegin();
175 json::const_iterator it = j.cbegin();
185 json::const_iterator it = j.cbegin();
193 json::const_iterator it = j.cbegin();
203 json::const_iterator it = j.cbegin();
[all …]
Dunit-constructor1.cpp1312 json j_new(jobject.cbegin(), jobject.cend());
1326 json j_new(jobject.cbegin(), jobject.cbegin());
1351 … CHECK_THROWS_AS(json(jobject.cbegin(), jobject2.cend()), json::invalid_iterator&);
1352 … CHECK_THROWS_AS(json(jobject2.cbegin(), jobject.cend()), json::invalid_iterator&);
1353 …CHECK_THROWS_WITH(json(jobject.cbegin(), jobject2.cend()), "[json.exception.invalid_iterator.201] …
1354 …CHECK_THROWS_WITH(json(jobject2.cbegin(), jobject.cend()), "[json.exception.invalid_iterator.201] …
1370 json j_new(jarray.cbegin(), jarray.cend());
1384 json j_new(jarray.cbegin(), jarray.cbegin());
1398 json j_new(jarray.cbegin() + 1, jarray.cbegin() + 3);
1416 CHECK_THROWS_AS(json(jarray.cbegin(), jarray2.cend()), json::invalid_iterator&);
[all …]
Dunit-ordered_json.cpp84 j1.insert( j2.cbegin(), j2.cend() );
90 oj1.insert( oj2.cbegin(), oj2.cend() );
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Dinstruction_test.cpp37 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/json/doc/mkdocs/docs/api/basic_json/
Dcbegin.md1 # basic_json::cbegin
4 const_iterator cbegin() const noexcept;
27 The following code shows an example for `cbegin()`.
30 --8<-- "examples/cbegin.cpp"
36 --8<-- "examples/cbegin.output"
/third_party/skia/third_party/externals/dawn/src/common/
DGPUInfo.cpp95 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/
DLogger.cpp59 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()
DSpvPostProcess.cpp351 for (auto fi = module.getFunctions().cbegin(); fi != module.getFunctions().cend(); fi++) { in postProcessCFG()
361 for (auto bi = f->getBlocks().cbegin(); bi != f->getBlocks().cend(); bi++) { in postProcessCFG()
364 auto ii = b->getInstructions().cbegin(); in postProcessCFG()
370 … for (auto ii = b->getInstructions().cbegin(); ii != b->getInstructions().cend(); ++ii) in postProcessCFG()
422 for (auto fi = module.getFunctions().cbegin(); fi != module.getFunctions().cend(); fi++) { in postProcessFeatures()
424 for (auto bi = f->getBlocks().cbegin(); bi != f->getBlocks().cend(); bi++) { in postProcessFeatures()
426 for (auto ii = b->getInstructions().cbegin(); ii != b->getInstructions().cend(); ii++) in postProcessFeatures()
432 … for (auto vi = b->getLocalVariables().cbegin(); vi != b->getLocalVariables().cend(); vi++) { in postProcessFeatures()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dbasic_block.h96 const_iterator begin() const { return insts_.cbegin(); } in begin()
98 const_iterator cbegin() const { return insts_.cbegin(); } in cbegin() function
107 return const_reverse_iterator(cbegin()); in rend()
113 return const_reverse_iterator(cbegin()); in crend()
Ddominator_tree.h52 const_iterator begin() const { return cbegin(); } in begin()
54 const_iterator cbegin() const { return children_.begin(); } in cbegin() function
115 const_iterator begin() const { return cbegin(); } in begin()
117 const_iterator cbegin() const { return ++const_iterator(GetRoot()); } in cbegin() function
/third_party/spirv-tools/source/opt/
Dbasic_block.h96 const_iterator begin() const { return insts_.cbegin(); } in begin()
98 const_iterator cbegin() const { return insts_.cbegin(); } in cbegin() function
107 return const_reverse_iterator(cbegin()); in rend()
113 return const_reverse_iterator(cbegin()); in crend()
Ddominator_tree.h52 const_iterator begin() const { return cbegin(); } in begin()
54 const_iterator cbegin() const { return children_.begin(); } in cbegin() function
115 const_iterator begin() const { return cbegin(); } in begin()
117 const_iterator cbegin() const { return ++const_iterator(GetRoot()); } in cbegin() function
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dbasic_block.h96 const_iterator begin() const { return insts_.cbegin(); } in begin()
98 const_iterator cbegin() const { return insts_.cbegin(); } in cbegin() function
107 return const_reverse_iterator(cbegin()); in rend()
113 return const_reverse_iterator(cbegin()); in crend()
Ddominator_tree.h52 const_iterator begin() const { return cbegin(); } in begin()
54 const_iterator cbegin() const { return children_.begin(); } in cbegin() function
115 const_iterator begin() const { return cbegin(); } in begin()
117 const_iterator cbegin() const { return ++const_iterator(GetRoot()); } in cbegin() function
/third_party/mesa3d/src/amd/compiler/
Daco_util.h93 constexpr const_iterator cbegin() const noexcept { return begin(); } in cbegin() function
139 return const_reverse_iterator(cbegin()); in crend()
195 return *cbegin(); in front()
310 Iterator cbegin() const in cbegin() function
333 Iterator begin() const { return cbegin(); } in begin()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLContext.h181 return std::find(mDevices.cbegin(), mDevices.cend(), device) != mDevices.cend(); in hasDevice()
192 return (std::find_if(mDevices.cbegin(), mDevices.cend(), [](const DevicePtr &ptr) { in supportsImages()
199 return (std::find_if(mDevices.cbegin(), mDevices.cend(), [](const DevicePtr &ptr) { in supportsIL()
206 return (std::find_if(mDevices.cbegin(), mDevices.cend(), [&](const DevicePtr &ptr) { in supportsBuiltInKernel()
/third_party/vk-gl-cts/framework/common/
DtcuWaiverUtil.cpp441 return tcu::matchWildcards(vendor.cbegin(), in matchVendor()
443 m_currentVendor.cbegin(), in matchVendor()
453 return tcu::matchWildcards(device.cbegin(), in matchDevice()
455 m_currentRenderer.cbegin(), in matchDevice()
521 std::string::const_iterator componentStart = casePath.cbegin() + firstDotPos + 1; in isOnWaiverList()
540 bool matchFound = tcu::matchWildcards(c->name.cbegin(), in isOnWaiverList()
/third_party/node/test/cctest/
Dtest_per_process.cc24 std::any_of(sources.cbegin(), sources.cend(), in TEST_F()
29 std::any_of(sources.cbegin(), sources.cend(), in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
DGraph.h219 const_iterator cbegin() const { in cbegin() function
226 const_iterator begin() const { return cbegin(); } in begin()
286 const_iterator cbegin() const { return G.Vertices.cbegin(); } in cbegin() function
323 const_iterator cbegin() const { return G.Edges.cbegin(); } in cbegin() function
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DDawnHelpers.cpp48 const uint32_t* resultBegin = result.cbegin(); in CreateShaderModuleFromResult()
56 descriptor.code = result.cbegin(); in CreateShaderModuleFromResult()
78 size_t sizeAsm = (resultAsm.cend() - resultAsm.cbegin()); in CreateShaderModule()
81 memcpy(buffer, resultAsm.cbegin(), sizeAsm); in CreateShaderModule()
91 printf("%#010x", result.cbegin()[i]); in CreateShaderModule()
/third_party/gn/src/base/containers/
Dspan.h331 constexpr const_iterator cbegin() const noexcept { return begin(); }
345 return const_reverse_iterator(cbegin());
362 return std::equal(lhs.cbegin(), lhs.cend(), rhs.cbegin(), rhs.cend());
372 return std::lexicographical_compare(lhs.cbegin(), lhs.cend(), rhs.cbegin(),
/third_party/flutter/engine/flutter/fml/
Dcommand_line_unittest.cc84 auto first = argv.cbegin(); in TEST()
120 argv.cbegin(), argv.cend(), &sub_first); in TEST()
129 argv.cbegin(), argv.cend(), &sub_first); in TEST()
130 EXPECT_EQ(argv.cbegin() + 1, sub_first); in TEST()
138 argv.cbegin(), argv.cend(), &sub_first); in TEST()
139 EXPECT_EQ(argv.cbegin() + 2, sub_first); in TEST()

123456789