Home
last modified time | relevance | path

Searched full:begin (Results 1 – 25 of 1121) sorted by relevance

12345678910>>...45

/openbmc/telemetry/src/
H A Dsensor_cache.cpp4 SensorCache::SensorsContainer::iterator begin) in findExpiredSensor() argument
6 return std::find_if(begin, sensors.end(), [](const auto& item) { in findExpiredSensor()
13 auto begin = sensors.begin(); in cleanupExpiredSensors() local
15 for (auto it = findExpiredSensor(begin); it != sensors.end(); in cleanupExpiredSensors()
16 it = findExpiredSensor(begin)) in cleanupExpiredSensors()
18 begin = sensors.erase(it); in cleanupExpiredSensors()
/openbmc/phosphor-objmgr/src/
H A Dhandler.cpp25 objectMap.begin(), objectMap.end(), in addObjectMapResult()
46 std::sort(interfaces.begin(), interfaces.end()); in getAncestors()
83 interfaces.begin(), interfaces.end(), in getAncestors()
84 connectionInterfaces.second.begin(), in getAncestors()
86 output.begin()) != output.begin()) in getAncestors()
105 std::sort(interfaces.begin(), interfaces.end()); in getObject()
122 if (std::set_intersection(interfaces.begin(), interfaces.end(), in getObject()
123 connectionInterfaces.second.begin(), in getObject()
125 output.begin()) != output.begin()) in getObject()
150 std::sort(interfaces.begin(), interfaces.end()); in getSubTree()
[all …]
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__ranges.hpp26 using std::ranges::begin;
42 void begin();
46 concept __has_member_begin = requires(_Ty&& __v) { static_cast<_Ty &&>(__v).begin(); };
50 || requires(_Ty&& __v) { begin((static_cast<_Ty &&>(__v))); };
63 operator()(_Range&& __rng) const noexcept(noexcept((static_cast<_Range&&>(__rng)).begin())) in operator ()()
64 -> decltype((static_cast<_Range&&>(__rng)).begin()) { in operator ()()
65 return static_cast<_Range&&>(__rng).begin(); in operator ()()
71 operator()(_Range&& __rng) const noexcept(noexcept(begin((static_cast<_Range&&>(__rng))))) in operator ()()
72 -> decltype(begin((static_cast<_Range&&>(__rng)))) { in operator ()()
73 return begin((static_cast<_Range&&>(__rng))); in operator ()()
[all …]
/openbmc/phosphor-led-manager/test/
H A Dutest.cpp47 std::set_difference(ledsAssert.begin(), ledsAssert.end(), in TEST_F()
48 refAssert.begin(), refAssert.end(), in TEST_F()
49 std::inserter(temp, temp.begin())); in TEST_F()
79 std::set_difference(ledsAssert.begin(), ledsAssert.end(), in TEST_F()
80 refAssert.begin(), refAssert.end(), in TEST_F()
81 std::inserter(temp, temp.begin())); in TEST_F()
111 std::set_difference(ledsAssert.begin(), ledsAssert.end(), in TEST_F()
112 refAssert.begin(), refAssert.end(), in TEST_F()
113 std::inserter(temp, temp.begin())); in TEST_F()
161 std::set_difference(ledsAssert.begin(), ledsAssert.end(), in TEST_F()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-devtools/libcoap/libcoap/
H A DCVE-2024-0962.patch25 const char *begin = *start;
32 - end = memchr(begin, '\n', size);
33 + kend = end = memchr(begin, '\n', size);
39 if (begin[0] == '#' || (end - begin) == 0) {
41 - size -= end - begin + 1;
42 + size -= kend - begin + 1;
43 begin = *start;
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/
H A D0006-replace-sym_iterator-0-with-sym_iterator.patch10 | { lo = hi = 0; name = ""; begin = end = (sym_iterator)0;}
63 - { lo = hi = 0; name = ""; begin = end = (sym_iterator)0;}
64 + { lo = hi = 0; name = ""; begin = end = sym_iterator();}
72 - if (begin == (sym_iterator)0)
73 + if (begin == sym_iterator())
74 begin = b;
97 - if (begin == (sym_iterator)0)
98 + if (begin == sym_iterator())
101 for (sym_iterator it = begin; it != end; ++it)
106 - if (begin != (sym_iterator)0)
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/glm/glm/
H A D0001-Silence-clang-warnings.patch44 const float begin = -glm::pi<float>();
49 for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f)
54 for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f)
62 const float begin = -glm::pi<float>();
67 for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f)
72 for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f)
80 const float begin = -glm::pi<float>();
85 for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f)
90 for (float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f)
98 const float begin = -glm::pi<float>();
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/cpp-netlib/cpp-netlib/
H A Da53f123040998744602f190944464af0e159ea19.patch26 - u32_to_u8_iterator<u32_string::const_iterator> begin = val.begin(),
27 + boost::u32_to_u8_iterator<u32_string::const_iterator> begin = val.begin(),
29 for (; begin != end; ++begin) attr += *begin;
/openbmc/entity-manager/test/
H A Dtest_utils.cpp11 EXPECT_EQ(std::distance(helloWorld.begin(), match.begin()), 6); in TEST()
12 EXPECT_EQ(std::distance(helloWorld.begin(), match.end()), 11); in TEST()
19 EXPECT_EQ(std::distance(helloWorld.begin(), match.begin()), 6); in TEST()
20 EXPECT_EQ(std::distance(helloWorld.begin(), match.end()), 11); in TEST()
33 EXPECT_EQ(std::distance(helloWorld.begin(), match.begin()), 0); in TEST()
34 EXPECT_EQ(std::distance(helloWorld.begin(), match.end()), 5); in TEST()
41 EXPECT_EQ(std::distance(helloWorld.begin(), match.begin()), 9); in TEST()
42 EXPECT_EQ(std::distance(helloWorld.begin(), match.end()), 11); in TEST()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dpel_utils.cpp161 data.insert(data.end(), privateHeaderSection.begin(), in pelDataFactory()
163 data.insert(data.end(), userHeaderSection.begin(), in pelDataFactory()
165 data.insert(data.end(), srcSectionNoCallouts.begin(), in pelDataFactory()
167 data.insert(data.end(), failingMTMSSection.begin(), in pelDataFactory()
169 data.insert(data.end(), UserDataSection.begin(), in pelDataFactory()
171 data.insert(data.end(), ExtUserHeaderSection.begin(), in pelDataFactory()
173 data.insert(data.end(), extendedUserDataSection.begin(), in pelDataFactory()
178 data.insert(data.end(), privateHeaderSection.begin(), in pelDataFactory()
182 data.insert(data.end(), userHeaderSection.begin(), in pelDataFactory()
186 data.insert(data.end(), srcSectionNoCallouts.begin(), in pelDataFactory()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/apt/apt/
H A D0001-Remove-using-std-binary_function.patch61 - stable_sort(PkgList.begin(),PkgList.end(),PackageMap::ContentsCompare());
62 + stable_sort(PkgList.begin(),PkgList.end(),ContentsCompare);
70 - stable_sort(PkgList.begin(),PkgList.end(),PackageMap::DBCompare());
71 - stable_sort(PkgList.begin(),PkgList.end(),PackageMap::SrcDBCompare());
72 + stable_sort(PkgList.begin(),PkgList.end(),DBCompare);
73 + stable_sort(PkgList.begin(),PkgList.end(),SrcDBCompare);
81 - stable_sort(PkgList.begin(),PkgList.end(),PackageMap::DBCompare());
82 - stable_sort(PkgList.begin(),PkgList.end(),PackageMap::SrcDBCompare());
83 + stable_sort(PkgList.begin(),PkgList.end(),DBCompare);
84 + stable_sort(PkgList.begin(),PkgList.end(),SrcDBCompare);
/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A Dsqlalchemy.py138 async with self.engine.begin() as conn:
242 async with self.db.begin():
267 async with self.db.begin():
289 async with self.db.begin():
297 async with self.db.begin():
312 async with self.db.begin():
338 async with self.db.begin():
355 async with self.db.begin():
368 async with self.db.begin():
372 async with self.db.begin():
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/
H A Dlircd.conf8 begin remote
24 begin codes
72 begin remote
88 begin codes
143 begin remote
156 begin codes
219 begin remote
238 begin codes
/openbmc/phosphor-fan-presence/control/
H A Dutility.cpp21 const auto oddIt = values.begin() + values.size() / 2; in getMedian()
22 std::nth_element(values.begin(), oddIt, values.end()); in getMedian()
28 const auto evenIt = values.begin() + values.size() / 2 - 1; in getMedian()
29 std::nth_element(values.begin(), evenIt, values.end()); in getMedian()
H A Dzone.cpp135 _isActive = std::all_of(_active.begin(), _active.end(), actPred); in setActiveAllow()
144 auto it = std::find_if(sNames.begin(), sNames.end(), in removeService()
166 auto it = std::find_if(sNames.begin(), sNames.end(), in setServiceOwner()
189 for (auto it = group->begin(); it != group->end(); ++it) in setServices()
213 auto setFloor = std::all_of(_floorChange.begin(), _floorChange.end(), pred); in setFloor()
265 auto decAllowed = std::all_of(_decAllowed.begin(), _decAllowed.end(), pred); in decTimerExpired()
302 std::get<triggerPos>(event).begin(), std::get<triggerPos>(event).end(), in initEvent()
307 std::get<actionsPos>(event).begin(), in initEvent()
340 for (auto it = signals.begin(); it != signals.end(); ++it) in removeEvent()
359 for (auto it = eventTimers.begin(); it != eventTimers.end(); ++it) in findTimer()
[all …]
H A Dpreconditions.cpp26 std::all_of(pg.begin(), pg.end(), [&zone](const auto& entry) { in property_states_match()
48 std::for_each(sse.begin(), sse.end(), [&zone](const auto& entry) { in property_states_match()
58 std::for_each(sse.begin(), sse.end(), [&zone](const auto& entry) { in property_states_match()
75 std::any_of(services.begin(), services.end(), [](const auto& s) { in services_missing_owner()
82 std::for_each(sse.begin(), sse.end(), [&zone](const auto& entry) { in services_missing_owner()
89 std::for_each(sse.begin(), sse.end(), [&zone](const auto& entry) { in services_missing_owner()
/openbmc/u-boot/scripts/kconfig/
H A Dzconf.l92 BEGIN(COMMAND);
97 BEGIN(COMMAND);
104 BEGIN(PARAM);
117 BEGIN(INITIAL);
137 BEGIN(STRING);
139 \n BEGIN(INITIAL); return T_EOL;
155 BEGIN(INITIAL);
178 BEGIN(PARAM);
188 BEGIN(INITIAL);
192 BEGIN(INITIAL);
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/
H A D0001-Use-long-long-instead-of-int64_t.patch24 StringData stringValue((*partIt).begin(), (*partIt).end() - (*partIt).begin());
33 StringData stringValue((*partIt).begin(), (*partIt).end() - (*partIt).begin());
42 StringData stringValue((*partIt).begin(), (*partIt).end());
60 StringData stringValue((*partIt).begin(), (*partIt).end());
/openbmc/phosphor-virtual-sensor/src/
H A Dcalculate.cpp13 std::sort(values.begin(), values.end()); in calculateModifiedMedianValue()
37 auto maxIt = std::max_element(values.begin(), values.end()); in calculateMaximumValue()
47 auto maxIt = std::min_element(values.begin(), values.end()); in calculateMinimumValue()
61 return std::accumulate(values.begin(), values.end(), 0.0); in calculateSumValue()
70 return std::accumulate(values.begin(), values.end(), 0.0) / values.size(); in calculateAverageValue()
/openbmc/entity-manager/src/entity_manager/
H A Dutils.cpp108 strPtr->begin() + (findStart.end() - strPtr->begin()), in handleLeftOverTemplateVars()
124 templateVarEnd = findSpace.begin(); in handleLeftOverTemplateVars()
129 "VAR", std::string(findStart.begin(), templateVarEnd)); in handleLeftOverTemplateVars()
130 strPtr->erase(findStart.begin(), templateVarEnd); in handleLeftOverTemplateVars()
213 size_t start = find.begin() - strPtr->begin(); in templateCharReplace()
227 std::find(mathChars.begin(), mathChars.end(), in templateCharReplace()
260 auto exprBegin = splitResult.begin(); in templateCharReplace()
265 std::string replaced(find.begin(), find.end()); in templateCharReplace()
319 std::regex_replace(boardName.begin(), boardName.begin(), boardName.end(), in buildInventorySystemPath()
/openbmc/bmcweb/src/
H A Dwebserver_cli.cpp32 std::transform(input.begin(), input.end(), input.begin(), ::toupper); in validateLogLevel()
47 std::transform(level.begin(), level.end(), level.begin(), ::tolower); in helpMsg()
61 std::transform(loglevel.begin(), loglevel.end(), loglevel.begin(), in setLogLevel()
/openbmc/qemu/dump/
H A Ddump-hmp-cmds.c25 bool has_begin = qdict_haskey(qdict, "begin"); in hmp_dump_guest_memory()
28 int64_t begin = 0; in hmp_dump_guest_memory() local
69 begin = qdict_get_int(qdict, "begin"); in hmp_dump_guest_memory()
80 qmp_dump_guest_memory(paging, prot, true, detach, has_begin, begin, in hmp_dump_guest_memory()
/openbmc/phosphor-fan-presence/presence/
H A Danyof.cpp64 std::find_if(state.begin(), state.end(), [&sensor](const auto& s) { in stateChanged()
70 std::any_of(state.begin(), state.end(), in stateChanged()
76 std::any_of(state.begin(), state.end(), in stateChanged()
98 std::for_each(state.begin(), state.end(), [](auto& s) { in stateChanged()
118 auto present = std::any_of(state.begin(), state.end(), [](const auto& s) { in monitor()
140 if (std::any_of(state.begin(), state.end(), in checkSensorConflicts()
142 !std::all_of(state.begin(), state.end(), in checkSensorConflicts()
161 std::for_each(state.begin(), state.end(), [](auto& state) { in powerStateChanged()
/openbmc/u-boot/fs/cramfs/
H A Dcramfs.c52 static int cramfs_uncompress (unsigned long begin, unsigned long offset,
101 static char *cramfs_uncompress_link (unsigned long begin, unsigned long offset) in cramfs_uncompress_link() argument
103 struct cramfs_inode *inode = (struct cramfs_inode *)(begin + offset); in cramfs_uncompress_link()
107 if (!link || cramfs_uncompress (begin, offset, (unsigned long)link) != size) { in cramfs_uncompress_link()
116 static unsigned long cramfs_resolve (unsigned long begin, unsigned long offset, in cramfs_resolve() argument
127 inode = (struct cramfs_inode *) (begin + offset + in cramfs_resolve()
157 return cramfs_resolve (begin, in cramfs_resolve()
173 link = cramfs_uncompress_link (begin, in cramfs_resolve()
185 ret = cramfs_resolve (begin, in cramfs_resolve()
207 static int cramfs_uncompress (unsigned long begin, unsigned long offset, in cramfs_uncompress() argument
[all …]
/openbmc/phosphor-fan-presence/control/json/actions/
H A Dtimer_based_actions.cpp46 std::any_of(_groups.begin(), _groups.end(), [](const auto& group) { in TimerBasedActions()
60 if (std::any_of(_groups.begin(), _groups.end(), [](const auto& group) { in run()
63 members.begin(), members.end(), in run()
83 _groups.begin(), _groups.end(), [&mgr](const auto& group) { in run()
86 members.begin(), members.end(), in run()
129 std::for_each(_actions.begin(), _actions.end(), in stopTimer()
137 std::for_each(_actions.begin(), _actions.end(), in timerExpired()
148 std::for_each(_actions.begin(), _actions.end(), in setZones()

12345678910>>...45