Home
last modified time | relevance | path

Searched refs:cend (Results 1 - 25 of 468) sorted by relevance

12345678910>>...19

/third_party/skia/third_party/externals/dawn/src/common/
H A 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()
[all...]
/base/notification/common_event_service/frameworks/native/src/
H A Dmatching_skills.cpp54 return std::find(entities_.cbegin(), entities_.cend(), entity) != entities_.cend(); in HasEntity()
59 auto it = std::find(entities_.cbegin(), entities_.cend(), entity); in RemoveEntity()
60 if (it != entities_.cend()) { in RemoveEntity()
72 auto it = std::find(events_.cbegin(), events_.cend(), event); in AddEvent()
73 if (it == events_.cend()) { in AddEvent()
99 auto it = std::find(events_.cbegin(), events_.cend(), event); in RemoveEvent()
100 if (it != events_.cend()) { in RemoveEvent()
107 return std::find(events_.cbegin(), events_.cend(), event) != events_.cend(); in HasEvent()
[all...]
/foundation/graphic/graphic_3d/lume/LumeEngine/src/threading/
H A Dparallel_task_queue.cpp91 CORE_ASSERT(std::find(tasks_.cbegin(), tasks_.cend(), taskIdentifier) == tasks_.cend()); in Submit()
98 CORE_ASSERT(std::find(tasks_.cbegin(), tasks_.cend(), taskIdentifier) == tasks_.cend()); in SubmitAfter()
115 afterIdentifiers.cbegin(), afterIdentifiers.cend(), [&tasks = tasks_](const uint64_t afterIdentifier) { in SubmitAfter()
116 return std::any_of(tasks.cbegin(), tasks.cend(), in SubmitAfter()
120 entry.dependencies.insert(entry.dependencies.cend(), afterIdentifiers.begin(), afterIdentifiers.end()); in SubmitAfter()
130 auto it = std::find(tasks_.cbegin(), tasks_.cend(), taskIdentifier); in Remove()
131 if (it != tasks_.cend()) { in Remove()
149 for (vector<size_t>::const_iterator it = waiting.cbegin(); it != waiting.cend();) { in QueueTasks()
[all...]
H A Dsequential_task_queue.cpp48 CORE_ASSERT(std::find(tasks_.cbegin(), tasks_.cend(), taskIdentifier) == tasks_.cend()); in Submit()
83 CORE_ASSERT(std::find(tasks_.cbegin(), tasks_.cend(), taskIdentifier) == tasks_.cend()); in SubmitBefore()
93 auto it = std::find(tasks_.cbegin(), tasks_.cend(), taskIdentifier); in Remove()
94 if (it != tasks_.cend()) { in Remove()
/third_party/json/tests/src/
H A Dunit-iterators1.cpp83 SECTION("json + cbegin/cend")
86 CHECK(it != j.cend());
91 CHECK(it == j.cend());
95 CHECK(it != j.cend());
100 CHECK(it == j.cend());
104 CHECK(it != j.cend());
108 SECTION("const json + cbegin/cend")
111 CHECK(it != j_const.cend());
116 CHECK(it == j_const.cend());
120 CHECK(it != j_const.cend());
[all...]
H A Dunit-class_const_iterator.cpp101 CHECK((it == j.cend()));
109 CHECK((it == j.cend()));
117 CHECK((it == j.cend()));
138 it = j.cend();
171 it = j.cend();
300 json::const_iterator it = j.cend();
307 json::const_iterator it = j.cend();
318 json::const_iterator it = j.cend();
327 json::const_iterator it = j.cend();
349 json::const_iterator it = j.cend();
[all...]
H A Dunit-element_access1.cpp299 json::const_iterator it2 = jarray.erase(jarray.cbegin(), jarray.cend());
301 CHECK(it2 == jarray.cend());
376 CHECK_THROWS_WITH_AS(jarray.erase(jarray.cbegin(), jarray2.cend()),
378 CHECK_THROWS_WITH_AS(jarray.erase(jarray2.cbegin(), jarray.cend()),
380 CHECK_THROWS_WITH_AS(jarray.erase(jarray2.cbegin(), jarray2.cend()),
644 CHECK_THROWS_WITH_AS(j.erase(j.cend()), "[json.exception.invalid_iterator.205] iterator out of range", json::invalid_iterator&);
656 CHECK_THROWS_WITH_AS(j.erase(j.cend()), "[json.exception.invalid_iterator.205] iterator out of range", json::invalid_iterator&);
668 CHECK_THROWS_WITH_AS(j.erase(j.cend()), "[json.exception.invalid_iterator.205] iterator out of range", json::invalid_iterator&);
680 CHECK_THROWS_WITH_AS(j.erase(j.cend()), "[json.exception.invalid_iterator.205] iterator out of range", json::invalid_iterator&);
692 CHECK_THROWS_WITH_AS(j.erase(j.cend()), "[jso
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A 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()
194 }) != mDevices.cend()); in supportsImages()
199 return (std::find_if(mDevices.cbegin(), mDevices.cend(), [](const DevicePtr &ptr) { in supportsIL()
201 }) != mDevices.cend()); in supportsIL()
206 return (std::find_if(mDevices.cbegin(), mDevices.cend(), [&](const DevicePtr &ptr) {
208 }) != mDevices.cend());
/base/msdp/device_status/tools/vdev/src/
H A Dvirtual_mouse_builder.cpp377 if (tIter != model.cend() && tIter->is_array()) { in ReadModel()
378 std::for_each(tIter->cbegin(), tIter->cend(), [](const auto &item) { ReadAction(item); }); in ReadModel()
395 if (it != model.cend() && it->is_string()) { in ReadAction()
404 if (actionItr != actions.cend()) { in ReadAction()
414 if (it != model.cend() && it->is_string()) { in HandleDown()
416 if (tIter != mouseBtns.cend()) { in HandleDown()
430 if (it != model.cend() && it->is_number_integer()) { in HandleMove()
434 if (it != model.cend() && it->is_number_integer()) { in HandleMove()
445 if (it != model.cend() && it->is_string()) { in HandleUp()
447 if (tIter != mouseBtns.cend()) { in HandleUp()
[all...]
H A Dvirtual_keyboard_builder.cpp254 if (tIter != model.cend() && tIter->is_array()) { in ReadModel()
255 std::for_each(tIter->cbegin(), tIter->cend(), [](const auto &item) { ReadAction(item); }); in ReadModel()
273 if (it != model.cend() && it->is_string()) { in ReadAction()
280 if (actionItr != actions.cend()) { in ReadAction()
290 if (it != model.cend() && it->is_number_integer()) { in HandleDown()
300 if (it != model.cend() && it->is_number_integer()) { in HandleUp()
310 if (it != model.cend() && it->is_number_integer()) { in HandleWait()
350 if (typeIter == model.cend() || !typeIter->is_string() || (std::string(typeIter.value()).compare("raw") != 0)) { in ReadRawModel()
355 if (actionIter != model.cend() && actionIter->is_array()) { in ReadRawModel()
356 std::for_each(actionIter->cbegin(), actionIter->cend(), [](cons in ReadRawModel()
[all...]
H A Dvirtual_touchscreen_builder.cpp401 if (it != model.cend() && it->is_array()) { in ReadModel()
402 std::for_each(it->cbegin(), it->cend(), [](const auto &item) { ReadAction(item); }); in ReadModel()
419 if (it != model.cend()) { in ReadAction()
428 if (actionItr != actions.cend()) { in ReadAction()
438 if (it != model.cend() && it->is_number_integer()) { in GetModelValue()
492 if (it != model.cend() && it->is_number_integer()) { in HandleWait()
515 if (it == model.cend() || !it->is_string() || (std::string(it.value()).compare("raw") != 0)) { in ReadRawModel()
520 if (it != model.cend() && it->is_array()) { in ReadRawModel()
521 std::for_each(it->cbegin(), it->cend(), [](const auto &item) { ReadRawData(item); }); in ReadRawModel()
538 if (typeIter == model.cend() || !typeIte in ReadRawData()
[all...]
/third_party/glslang/SPIRV/
H A DLogger.cpp57 for (auto it = tbdFeatures.cbegin(); it != tbdFeatures.cend(); ++it) in getAllMessages()
59 for (auto it = missingFeatures.cbegin(); it != missingFeatures.cend(); ++it) in getAllMessages()
61 for (auto it = warnings.cbegin(); it != warnings.cend(); ++it) in getAllMessages()
63 for (auto it = errors.cbegin(); it != errors.cend(); ++it) in getAllMessages()
/third_party/node/deps/v8/src/heap/cppgc/
H A Dheap-space.cc27 DCHECK_EQ(pages_.cend(), std::find(pages_.cbegin(), pages_.cend(), page)); in AddPage()
33 auto it = std::find(pages_.cbegin(), pages_.cend(), page); in RemovePage()
34 DCHECK_NE(pages_.cend(), it); in RemovePage()
/foundation/multimodalinput/input/service/subscriber/src/
H A Dkey_shortcut_manager.cpp391 if (auto iter = modifiers.cbegin(); iter != modifiers.cend()) { in FormatModifiers()
395 for (++iter; iter != modifiers.cend(); ++iter) { in FormatModifiers()
415 return (exceptSysKeys_.find(sysKey) != exceptSysKeys_.cend()); in IsExceptionalSystemKey()
420 return (modifiers_.find(keyCode) != modifiers_.cend()); in IsModifier()
434 }) != systemKeys_.cend()); in IsReservedSystemKey()
530 auto iter = std::find_if(shortcuts_.cbegin(), shortcuts_.cend(), in HaveRegisteredGlobalKey()
541 return (iter != shortcuts_.cend() ? (iter->second.session != key.session) : false); in HaveRegisteredGlobalKey()
550 if (auto iter = pressedKeys.cbegin(); iter != pressedKeys.cend()) { in FormatPressedKeys()
554 for (++iter; iter != pressedKeys.cend(); ++iter) { in FormatPressedKeys()
577 if (foregroundPids.find(shortcut.second.session) != foregroundPids.cend()) { in GetForegroundPids()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dbasic_block.h97 const_iterator end() const { return insts_.cend(); } in end()
99 const_iterator cend() const { return insts_.cend(); } in cend() function in spvtools::opt::BasicBlock
104 return const_reverse_iterator(cend()); in rbegin()
110 return const_reverse_iterator(cend()); in crbegin()
127 return --insts_.cend(); in ctail()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dbasic_block.h97 const_iterator end() const { return insts_.cend(); } in end()
99 const_iterator cend() const { return insts_.cend(); } in cend() function in spvtools::opt::BasicBlock
104 return const_reverse_iterator(cend()); in rbegin()
110 return const_reverse_iterator(cend()); in crbegin()
127 return --insts_.cend(); in ctail()
/third_party/spirv-tools/source/opt/
H A Dbasic_block.h97 const_iterator end() const { return insts_.cend(); } in end()
99 const_iterator cend() const { return insts_.cend(); } in cend() function in spvtools::opt::BasicBlock
104 return const_reverse_iterator(cend()); in rbegin()
110 return const_reverse_iterator(cend()); in crbegin()
127 return --insts_.cend(); in ctail()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/
H A Dplugin_registry.cpp111 return std::find_if(container.cbegin(), container.cend(), BASE_NS::forward<Predicate>(predicate)); in FindIf()
117 return std::none_of(container.cbegin(), container.cend(), BASE_NS::forward<Predicate>(predicate)); in NoneOf()
123 return std::all_of(container.cbegin(), container.cend(), BASE_NS::forward<Predicate>(predicate)); in AllOf()
424 if (const auto pos = typeInfos_.find(type.typeUid); pos != typeInfos_.cend()) { in RegisterTypeInfo()
441 if (const auto typeInfos = typeInfos_.find(type.typeUid); typeInfos != typeInfos_.cend()) { in UnregisterTypeInfo()
443 if (const auto info = std::find(infos.cbegin(), infos.cend(), &type); info != infos.cend()) { in UnregisterTypeInfo()
454 if (const auto typeInfos = typeInfos_.find(typeUid); typeInfos != typeInfos_.cend()) { in GetTypeInfos()
480 const auto pos = std::upper_bound(interfaceTypeInfos_.cbegin(), interfaceTypeInfos_.cend(), interfaceInfo.uid, in RegisterInterfaceType()
488 const auto pos = std::lower_bound(interfaceTypeInfos_.cbegin(), interfaceTypeInfos_.cend(), interfaceInf in UnregisterInterfaceType()
[all...]
/third_party/node/deps/v8/src/base/
H A Diterator.h47 const_iterator cend() const { return end_; } in cend() function in v8::base::iterator_range
49 bool empty() const { return cbegin() == cend(); } in empty()
53 difference_type size() const { return cend() - cbegin(); } in size()
/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/
H A Drender_data_store_manager.cpp109 if (const auto iter = stores_.find(nameHash); iter != stores_.cend()) { in GetRenderDataStore()
129 if (const auto iter = renderAccessStores_.find(nameHash); iter != renderAccessStores_.cend()) { in GetRenderTimeRenderDataStore()
149 if (auto const namedStoreIt = stores_.find(dataStoreNameHash); namedStoreIt != stores_.cend()) { in Create()
186 if (auto const storeIt = pointerToStoreHash_.find(instance); storeIt != pointerToStoreHash_.cend()) { in Destroy()
225 storeIt != pointerToStoreHash_.cend()) { in DeferredDestruction()
H A Drender_data_store_pod.cpp83 for (auto nameIter = tpIter->second.cbegin(); nameIter != tpIter->second.cend(); ++nameIter) { in DestroyPod()
100 if (iter != nameToDataOffset_.cend()) { in Set()
123 if (iter != nameToDataOffset_.cend()) { in Get()
139 if (iter != typeNameToPodNames_.cend()) { in GetPodNames()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ecs/
H A Decs.cpp399 const auto pos = std::lower_bound(removedEntities.cbegin(), removedEntities.cend(), entity, in ProcessComponentEvents()
401 return ((pos != removedEntities.cend()) && !(entity.id < pos->id)); in ProcessComponentEvents()
403 affectedEntities.cend()); in ProcessComponentEvents()
413 if (auto it = componentManagerListeners_.find(m.get()); it != componentManagerListeners_.cend()) { in ProcessComponentEvents()
447 allRemovedEntities.append(removed.cbegin(), removed.cend()); in ProcessEvents()
472 std::remove(entityListeners_.begin(), entityListeners_.end(), nullptr), entityListeners_.cend()); in ProcessEvents()
474 std::remove(componentListeners_.begin(), componentListeners_.end(), nullptr), componentListeners_.cend()); in ProcessEvents()
476 for (auto it = componentManagerListeners_.begin(); it != componentManagerListeners_.cend();) { in ProcessEvents()
478 listeners.erase(std::remove(listeners.begin(), listeners.end(), nullptr), listeners.cend()); in ProcessEvents()
592 container.cend()); in RemoveUid()
[all...]
/base/msdp/device_status/intention/ipc/socket/src/
H A Dsocket_session_manager.cpp59 std::for_each(sessions_.cbegin(), sessions_.cend(), [this](const auto &item) { in Disable()
141 auto iter = std::find_if(sessions_.cbegin(), sessions_.cend(), in FindSessionByPid()
145 return (iter != sessions_.cend() ? iter->second : nullptr); in FindSessionByPid()
224 auto iter = std::find_if(sessions_.cbegin(), sessions_.cend(), in DeleteCollaborationServiceByName()
243 auto iter = std::find_if(sessions_.cbegin(), sessions_.cend(), in ReleaseSessionByPid()
272 return (iter != sessions_.cend() ? iter->second : nullptr); in FindSession()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/driver/
H A Ddriver_installer.cpp87 if (std::find(DRIVER_PROPERTIES.cbegin(), DRIVER_PROPERTIES.cend(), meta.name) == in FilterDriverSoFile()
88 DRIVER_PROPERTIES.cend()) { in FilterDriverSoFile()
149 if (std::find(DRIVER_PROPERTIES.cbegin(), DRIVER_PROPERTIES.cend(), meta.name) == in RemoveDriverSoFile()
150 DRIVER_PROPERTIES.cend()) { in RemoveDriverSoFile()
205 if (std::find(DRIVER_PROPERTIES.cbegin(), DRIVER_PROPERTIES.cend(), meta.name) == in RenameDriverFile()
206 DRIVER_PROPERTIES.cend()) { in RenameDriverFile()
/third_party/node/test/cctest/
H A Dtest_per_process.cc23 ASSERT_TRUE(std::any_of(sources.cbegin(), sources.cend(), [](auto p) { in TEST_F()
27 ASSERT_TRUE(std::any_of(sources.cbegin(), sources.cend(), [](auto p) { in TEST_F()

Completed in 20 milliseconds

12345678910>>...19