| /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/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-logging/test/openpower-pels/ |
| H A D | pel_utils.cpp | 161 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/phosphor-objmgr/src/ |
| H A D | handler.cpp | 25 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/entity-manager/test/ |
| H A D | test_utils.cpp | 11 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/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-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-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-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/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()
|
| H A D | fallback.cpp | 79 activeSensor = std::find_if(sensors.begin(), sensors.end(), [](auto& s) { in monitor() 86 activeSensor = sensors.begin(); in monitor() 89 if (activeSensor != sensors.begin()) in monitor() 96 auto it = sensors.begin(); in monitor()
|
| /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 | 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()
|
| 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 | actions.hpp | 139 group.begin(), group.end(), 0, in set_floor_from_average_sensor_value() 158 auto it = std::find_if(val_to_speed.begin(), val_to_speed.end(), in set_floor_from_average_sensor_value() 197 group.begin(), group.end(), 0, in set_ceiling_from_average_sensor_value() 253 for (auto it = val_to_speed.begin(); in set_ceiling_from_average_sensor_value() 256 if (it == val_to_speed.begin() && in set_ceiling_from_average_sensor_value() 311 group.begin(), group.end(), in set_net_increase_speed() 431 group.begin(), group.end(), [&zone, &state](const auto& entry) { in use_alternate_events_on_state() 456 std::for_each(rmEvents->begin(), rmEvents->end(), in use_alternate_events_on_state() 459 std::for_each(initEvents->begin(), initEvents->end(), in use_alternate_events_on_state() 520 median = *std::max_element(validValues.begin(), in set_floor_from_median_sensor_value() [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-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/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/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-dbus-monitor/src/ |
| H A D | median.hpp | 77 median = *std::max_element(values.begin(), values.end()); in operator ()() 81 const auto oddIt = values.begin() + values.size() / 2; in operator ()() 82 std::nth_element(values.begin(), oddIt, values.end()); in operator ()() 88 const auto evenIt = values.begin() + values.size() / 2 - 1; in operator ()() 89 std::nth_element(values.begin(), evenIt, values.end()); in operator ()()
|
| /openbmc/entity-manager/src/entity_manager/ |
| H A D | utils.cpp | 108 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/phosphor-fan-presence/control/json/ |
| H A D | profile.cpp | 51 std::transform(method.begin(), method.end(), method.begin(), tolower); in setActive() 62 std::next(_methods.begin()), _methods.end(), in setActive() 63 _methods.begin()->first, [](auto list, auto method) { in setActive() 83 method["properties"].begin(), method["properties"].end(), in allOf()
|
| H A D | dbus_zone.cpp | 47 std::transform(value.begin(), value.end(), value.begin(), toupper); in current() 51 std::any_of(supported.begin(), supported.end(), [&value](auto& s) { in current() 52 std::transform(s.begin(), s.end(), s.begin(), toupper); in current()
|
| /openbmc/phosphor-net-ipmid/command/ |
| H A D | rakp34.cpp | 133 auto iter = input.begin(); in RAKP34() 136 std::copy(authAlgo->bmcRandomNum.begin(), authAlgo->bmcRandomNum.end(), in RAKP34() 191 iter = input.begin(); in RAKP34() 194 std::copy(authAlgo->rcRandomNum.begin(), authAlgo->rcRandomNum.end(), iter); in RAKP34() 198 std::copy(authAlgo->bmcRandomNum.begin(), authAlgo->bmcRandomNum.end(), in RAKP34() 217 authAlgo->sessionIntegrityKey.insert(authAlgo->sessionIntegrityKey.begin(), in RAKP34() 218 sikOutput.begin(), sikOutput.end()); in RAKP34() 235 iter = input.begin(); in RAKP34() 238 std::copy(authAlgo->rcRandomNum.begin(), authAlgo->rcRandomNum.end(), iter); in RAKP34() 261 outPayload.insert(outPayload.end(), icv.begin(), icv.end()); in RAKP34()
|