Home
last modified time | relevance | path

Searched refs:ends_with (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/phosphor-objmgr/src/
H A Dhandler.cpp46 if (reqPath.ends_with("/")) in getAncestors()
151 if (!reqPath.ends_with("/")) in getSubTree()
219 if (!reqPath.ends_with("/")) in getSubTreePaths()
350 if (!localObjectPath.ends_with("/")) in getSubTreePathsById()
371 if (thisPath == objectPathStripped || !thisPath.ends_with("/" + id)) in getSubTreePathsById()
/openbmc/telemetry/src/utils/
H A Dmake_id_name.cpp33 if (!idIn.empty() && !idIn.ends_with('/')) in generateId()
98 if (name.empty() && !id.ends_with('/')) in makeIdName()
H A Ddbus_path_utils.hpp50 !path.ends_with('/'); in isValidDbusPath()
/openbmc/bmcweb/redfish-core/lib/
H A Dmemory.hpp338 if (allowedMemoryModes->ends_with(v)) in getPersistentMemoryProperties()
354 if (memoryMedia->ends_with(v)) in getPersistentMemoryProperties()
502 if (ecc->ends_with(v)) in assembleDimmProperties()
519 if (formFactor->ends_with(v)) in assembleDimmProperties()
565 else if (memoryType->ends_with("Logical")) in assembleDimmProperties()
H A Dmetadata.hpp96 if (!std::string_view(path).ends_with("_v1.xml")) in handleMetadataGet()
H A Dupdate_service.hpp181 if (state->ends_with("Invalid") || state->ends_with("Failed")) in handleCreateTask()
189 if (state->ends_with("Staged")) in handleCreateTask()
203 if (state->ends_with("Active")) in handleCreateTask()
H A Dmanager_diagnostic_data.hpp82 if (std::string_view(jPtr.back()).ends_with("KiB")) in setBytesProperty()
H A Dsensors.hpp623 if (status->ends_with("Full")) in populateFanRedundancy()
627 else if (status->ends_with("Degraded")) in populateFanRedundancy()
1360 if (state.ends_with("On")) in getInventoryLedData()
1364 else if (state.ends_with("Blink")) in getInventoryLedData()
1368 else if (state.ends_with("Off")) in getInventoryLedData()
H A Dprocessor.hpp773 if (!objectPath.ends_with(processorId)) in getProcessorObject()
1123 if (!object.ends_with(cpuName)) in requestRoutesOperatingConfigCollection()
1200 if (!objectPath.ends_with(expectedEnding) || in requestRoutesOperatingConfig()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/deqp-runner/deqp-runner/
H A D0001-deqp-runner-drop-zstd-support.patch168 - if line.ends_with(".txt") || line.ends_with(".txt.zst") {
169 + if line.ends_with(".txt") {
/openbmc/s2600wf-misc/hsbp-manager/include/
H A Dutils.hpp154 bool on = boost::ends_with( in setupPowerMatch()
189 boost::ends_with(std::get<std::string>(state), "Running"); in setupPowerMatch()
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dutils.cpp25 if (boost::algorithm::ends_with(uri, ":0")) in isValidLDAPURI()
/openbmc/fb-ipmi-oem/src/
H A Dcommandutils.cpp56 if (path.ends_with(suffix)) in getMbFruDevice()
/openbmc/dbus-sensors/src/
H A DUtils.cpp379 powerStatusOn = std::get<std::string>(state).ends_with(".Running"); in getPowerStatus()
449 std::get<std::string>(state).ends_with(chassis::sOn); in getChassisStatus()
482 .ends_with(".Running"); in setupPowerMatchCallback()
547 .ends_with(chassis::sOn); in setupPowerMatchCallback()
/openbmc/dbus-sensors/src/exit-air/
H A DExitAirTempSensor.cpp425 [&](const auto& item) { return item.first.ends_with(tachName); }); in calculate()
428 [&](const auto& item) { return item.first.ends_with(tachName); }); in calculate()
568 path.ends_with("Input_Power")) in setupMatches()
620 sensorName.ends_with("Input_Power")) in setupMatches()
/openbmc/entity-manager/src/
H A Dutils.cpp168 powerStatusOn = boost::ends_with( in setupPowerMatch()
181 boost::ends_with(std::get<std::string>(state), "Running"); in setupPowerMatch()
H A Dtopology.cpp38 else if (exposesType.ends_with("Port")) in addBoard()
/openbmc/phosphor-led-sysfs/
H A Dsysfs.cpp164 if (name.ends_with(":")) in getLedDescr()
/openbmc/linux/rust/macros/
H A Dhelpers.rs23 if string.starts_with('\"') && string.ends_with('\"') { in try_string()
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSensorMain.cpp66 std::get<std::string>(findStatus->second).ends_with(".Running"); in reinitSensors()
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempMain.cpp121 if (pathStr.ends_with("_raw")) in getSensorParameters()
409 if (it->ends_with(findSensor->second->name)) in createSensors()
/openbmc/bmcweb/include/
H A Dopenbmc_dbus_rest.hpp839 else if (argCode.starts_with("(") && argCode.ends_with(")")) in convertJsonToDbus()
865 else if (argCode.starts_with("{") && argCode.ends_with("}")) in convertJsonToDbus()
1024 bool dict = containedType.starts_with("{") && containedType.ends_with("}"); in readArrayFromMessage()
1268 else if (typeCode.starts_with("(") && typeCode.ends_with(")")) in convertDBusToJSON()
2088 if (objectPath.ends_with("/enumerate")) in handleDBusUrl()
2094 else if (objectPath.ends_with("/list")) in handleDBusUrl()
2103 if (objectPath.ends_with("/")) in handleDBusUrl()
H A Dauthentication.hpp221 if (url.ends_with('/') && url != "/") in isOnAllowlist()
/openbmc/bmcweb/redfish-core/include/
H A Dredfish_aggregator.hpp191 if (propertyName.ends_with("uri") || propertyName.ends_with("Uri") || in isPropertyUri()
192 propertyName.ends_with("URI")) in isPropertyUri()
/openbmc/dbus-sensors/src/external/
H A DExternalSensorMain.cpp291 if (suffixIt.ends_with(suffixName)) in createSensors()

12