Home
last modified time | relevance | path

Searched refs:starts_with (Results 1 – 25 of 69) sorted by relevance

123

/openbmc/phosphor-health-monitor/
H A Dhealth_metric_collection.cpp133 if (name.starts_with("MemAvailable")) in readMemory()
137 else if (name.starts_with("MemFree")) in readMemory()
141 else if (name.starts_with("Buffers") || name.starts_with("Cached")) in readMemory()
145 else if (name.starts_with("MemTotal")) in readMemory()
149 else if (name.starts_with("Shmem")) in readMemory()
/openbmc/phosphor-led-sysfs/
H A Dadd_led_action.cpp13 if (!path.starts_with(devPath)) in rootPathVerify()
30 while (led.starts_with("/")) in rootPathVerify()
/openbmc/phosphor-objmgr/src/
H A Dprocessing.cpp14 if (!request.starts_with(":")) in getWellKnown()
37 return processName.starts_with(prefix); in needToIntrospect()
49 if (oldOwner.starts_with(":")) in processNameChangeDelete()
H A Dhandler.cpp66 if (reqPath.starts_with(thisPath)) in getAncestors()
176 if (thisPath.starts_with(reqPath)) in getSubTree()
244 if (thisPath.starts_with(reqPath)) in getSubTreePaths()
376 if (thisPath.starts_with(objectPath)) in getSubTreePathsById()
H A Dmain.cpp30 if (newObject.starts_with(":")) in updateOwners()
367 return entry.first.starts_with(childPath) && in removeUnneededParents()
411 if (name.starts_with(':')) in main()
/openbmc/telemetry/src/utils/
H A Ddbus_path_utils.cpp8 if (appended.starts_with('/') || !isValidDbusPath(appended)) in pathAppend()
35 if (path.str.starts_with(constants::reportDirStr)) in reportPathToId()
/openbmc/s2600wf-misc/callback-manager/include/
H A Dcallback_manager.hpp75 if (!boost::starts_with(path, sensorPath)) in setSensorAssociations()
83 if (!boost::starts_with(path, sensorPath)) in setSensorAssociations()
/openbmc/linux/rust/macros/
H A Dhelpers.rs23 if string.starts_with('\"') && string.ends_with('\"') { in try_string()
29 } else if string.starts_with("r\"") { in try_string()
H A Dpaste.rs15 if value.starts_with("r#") { in concat()
/openbmc/intel-ipmi-oem/src/
H A Dbmccontrolservices.cpp142 if (boost::algorithm::starts_with(obj.first.filename(), in setBmcControlServices()
183 if (boost::algorithm::starts_with(obj.first.filename(), in getBmcControlServices()
/openbmc/bmcweb/include/
H A Dsecurity_headers.hpp27 if (contentType.starts_with("text/html")) in addSecurityHeaders()
H A Dwebassets.hpp188 if (webpath.filename().string().starts_with("index.")) in addFile()
250 if (dir.path().filename().string().starts_with(".") || in requestRoutes()
H A Dlogin_routes.hpp45 if (contentType.starts_with("application/json")) in handleLogin()
120 else if (contentType.starts_with("multipart/form-data")) in handleLogin()
H A Dauthentication.hpp43 if (!authHeader.starts_with("Basic ")) in performBasicAuth()
109 if (!authHeader.starts_with("Token ")) in performTokenAuth()
H A Dopenbmc_dbus_rest.hpp219 if (!interface.starts_with("org.freedesktop.DBus")) in findRemainingObjectsForEnumerate()
287 if (objectPath.first.str.starts_with(objectName)) in getManagedObjectsForEnumerate()
795 else if (argCode.starts_with("a")) in convertJsonToDbus()
815 else if (argCode.starts_with("v")) in convertJsonToDbus()
839 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()
1260 else if (typeCode.starts_with("a")) in convertDBusToJSON()
1268 else if (typeCode.starts_with("(") && typeCode.ends_with(")")) in convertDBusToJSON()
1276 else if (typeCode.starts_with("v")) in convertDBusToJSON()
H A Dpam_authenticate.hpp52 return prompt.starts_with(data.prompt); in makeResponse()
/openbmc/phosphor-ipmi-flash/tools/
H A Dupdater.cpp60 if (activeBlob.starts_with("/flash/active/")) in updaterMain()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c210 static inline bool starts_with(const char *str, const char *prefix) in starts_with() function
367 if (!starts_with(sh_orig_name, HYP_SECTION_PREFIX)) in emit_rela_section()
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempMain.cpp313 if (pathStr.starts_with("/sys/bus/iio/devices")) in createSensors()
441 if (pathStr.starts_with("/sys/bus/iio/devices")) in createSensors()
482 if (pathStr.starts_with("/sys/bus/iio/devices")) in createSensors()
/openbmc/entity-manager/src/
H A Dperform_scan.cpp129 if (!boost::algorithm::starts_with(iface, "org.freedesktop")) in processDbusObjects()
338 if (boost::starts_with(propertyName, "Bind")) in applyBindExposeAction()
375 bool isBind = boost::starts_with(keyPair.key(), "Bind"); in applyExposeActions()
/openbmc/bmcweb/http/
H A Drouting.hpp143 if (reqUrl.starts_with(fragment)) in findRouteIndexesHelper()
213 if (reqUrl.starts_with(fragment)) in findHelper()
249 if (!url.starts_with(str1)) in add()
/openbmc/bmcweb/redfish-core/lib/
H A Dmetadata.hpp61 if (std::string_view(ns).starts_with("RedfishExtensions")) in getMetadataPieceForFile()
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/
H A D0001-Fixes-for-yocto-build.patch115 if (name.starts_with("framebuffer:")) {
124 } else if (name.starts_with("usb:")) {
/openbmc/linux/scripts/
H A Dgenerate_rust_target.rs124 if line.starts_with('#') { in from_stdin()
/openbmc/bmcweb/test/redfish-core/include/
H A Devent_log_test.cpp31 ASSERT_TRUE(entryID.starts_with("946")); in TEST()

123