/openbmc/telemetry/src/ |
H A D | sensor_cache.cpp | 4 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 D | handler.cpp | 24 objectMap.begin(), objectMap.end(), in addObjectMapResult() 45 std::sort(interfaces.begin(), interfaces.end()); in getAncestors() 82 interfaces.begin(), interfaces.end(), in getAncestors() 83 connectionInterfaces.second.begin(), in getAncestors() 85 output.begin()) != output.begin()) in getAncestors() 104 std::sort(interfaces.begin(), interfaces.end()); in getObject() 121 if (std::set_intersection(interfaces.begin(), interfaces.end(), in getObject() 122 connectionInterfaces.second.begin(), in getObject() 124 output.begin()) != output.begin()) in getObject() 149 std::sort(interfaces.begin(), interfaces.end()); in getSubTree() [all …]
|
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/ |
H A D | __ranges.hpp | 26 using std::ranges::begin; 44 void begin(); 49 requires(_Ty&& __v) { static_cast<_Ty&&>(__v).begin(); }; 54 requires(_Ty&& __v) { begin((static_cast<_Ty&&>(__v))); }; 70 noexcept(noexcept((static_cast<_Range&&>(__rng)).begin())) in operator ()() 71 -> decltype((static_cast<_Range&&>(__rng)).begin()) in operator ()() 73 return static_cast<_Range&&>(__rng).begin(); in operator ()() 79 noexcept(noexcept(begin((static_cast<_Range&&>(__rng))))) in operator ()() 80 -> decltype(begin((static_cast<_Range&&>(__rng)))) in operator ()() 82 return begin((static_cas in operator ()() 108 inline constexpr __detail::__begin_t begin{}; global() variable [all...] |
/openbmc/phosphor-led-manager/test/ |
H A D | utest.cpp | 47 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 D | CVE-2024-0962.patch | 25 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 D | 0006-replace-sym_iterator-0-with-sym_iterator.patch | 10 | { 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-support/cpp-netlib/cpp-netlib/ |
H A D | a53f123040998744602f190944464af0e159ea19.patch | 26 - 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/openbmc/meta-openembedded/meta-oe/recipes-graphics/glm/glm/ |
H A D | 0001-Silence-clang-warnings.patch | 44 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/poky/meta/recipes-devtools/apt/apt/ |
H A D | 0001-Remove-using-std-binary_function.patch | 61 - 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/phosphor-logging/test/openpower-pels/ |
H A D | pel_utils.cpp | 173 data.insert(data.end(), privateHeaderSection.begin(), in pelDataFactory() 175 data.insert(data.end(), userHeaderSection.begin(), in pelDataFactory() 177 data.insert(data.end(), srcSectionNoCallouts.begin(), in pelDataFactory() 179 data.insert(data.end(), failingMTMSSection.begin(), in pelDataFactory() 181 data.insert(data.end(), UserDataSection.begin(), in pelDataFactory() 183 data.insert(data.end(), ExtUserHeaderSection.begin(), in pelDataFactory() 185 data.insert(data.end(), extendedUserDataSection.begin(), in pelDataFactory() 190 data.insert(data.end(), privateHeaderSection.begin(), in pelDataFactory() 194 data.insert(data.end(), userHeaderSection.begin(), in pelDataFactory() 198 data.insert(data.end(), srcSectionNoCallouts.begin(), in pelDataFactory() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/hashserv/ |
H A D | sqlalchemy.py | 138 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/entity-manager/src/entity_manager/ |
H A D | utils.cpp | 79 for (auto nextLayer = keyPair.value().begin(); in handleLeftOverTemplateVars() 105 strPtr->begin() + (findStart.end() - strPtr->begin()), in handleLeftOverTemplateVars() 121 templateVarEnd = findSpace.begin(); in handleLeftOverTemplateVars() 126 "VAR", std::string(findStart.begin(), templateVarEnd)); in handleLeftOverTemplateVars() 127 strPtr->erase(findStart.begin(), templateVarEnd); in handleLeftOverTemplateVars() 163 for (auto nextLayer = keyPair.value().begin(); in templateCharReplace() 194 size_t start = find.begin() - strPtr->begin(); in templateCharReplace() 208 std::find(mathChars.begin(), mathChars.end(), in templateCharReplace() 242 auto exprBegin = split.begin(); in templateCharReplace() 247 std::string replaced(find.begin(), find.end()); in templateCharReplace() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/ |
H A D | lircd.conf | 8 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 D | utility.cpp | 21 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 D | zone.cpp | 135 _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 D | preconditions.cpp | 26 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 D | zconf.l | 92 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 D | 0001-Use-long-long-instead-of-int64_t.patch | 24 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 D | calculate.cpp | 13 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/bmcweb/src/ |
H A D | webserver_cli.cpp | 32 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 D | dump-hmp-cmds.c | 25 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 D | anyof.cpp | 64 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 D | cramfs.c | 52 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 D | timer_based_actions.cpp | 46 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()
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_bios_table_test.cpp | 41 ASSERT_EQ(true, std::equal(table.begin(), table.end(), out.begin())); in TEST_F() 57 ASSERT_EQ(true, std::equal(table.begin(), table.end(), out.begin() + 2)); in TEST_F()
|