/openbmc/phosphor-health-monitor/ |
H A D | health_metric_collection.cpp | 133 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 D | add_led_action.cpp | 13 if (!path.starts_with(devPath)) in rootPathVerify() 30 while (led.starts_with("/")) in rootPathVerify()
|
/openbmc/phosphor-objmgr/src/ |
H A D | processing.cpp | 14 if (!request.starts_with(":")) in getWellKnown() 37 return processName.starts_with(prefix); in needToIntrospect() 49 if (oldOwner.starts_with(":")) in processNameChangeDelete()
|
H A D | handler.cpp | 66 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 D | main.cpp | 30 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 D | dbus_path_utils.cpp | 8 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 D | callback_manager.hpp | 75 if (!boost::starts_with(path, sensorPath)) in setSensorAssociations() 83 if (!boost::starts_with(path, sensorPath)) in setSensorAssociations()
|
/openbmc/linux/rust/macros/ |
H A D | helpers.rs | 23 if string.starts_with('\"') && string.ends_with('\"') { in try_string() 29 } else if string.starts_with("r\"") { in try_string()
|
H A D | paste.rs | 15 if value.starts_with("r#") { in concat()
|
/openbmc/intel-ipmi-oem/src/ |
H A D | bmccontrolservices.cpp | 142 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 D | security_headers.hpp | 27 if (contentType.starts_with("text/html")) in addSecurityHeaders()
|
H A D | webassets.hpp | 188 if (webpath.filename().string().starts_with("index.")) in addFile() 250 if (dir.path().filename().string().starts_with(".") || in requestRoutes()
|
H A D | login_routes.hpp | 45 if (contentType.starts_with("application/json")) in handleLogin() 120 else if (contentType.starts_with("multipart/form-data")) in handleLogin()
|
H A D | authentication.hpp | 43 if (!authHeader.starts_with("Basic ")) in performBasicAuth() 109 if (!authHeader.starts_with("Token ")) in performTokenAuth()
|
H A D | openbmc_dbus_rest.hpp | 219 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 D | pam_authenticate.hpp | 52 return prompt.starts_with(data.prompt); in makeResponse()
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | updater.cpp | 60 if (activeBlob.starts_with("/flash/active/")) in updaterMain()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | gen-hyprel.c | 210 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 D | HwmonTempMain.cpp | 313 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 D | perform_scan.cpp | 129 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 D | routing.hpp | 143 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 D | metadata.hpp | 61 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 D | 0001-Fixes-for-yocto-build.patch | 115 if (name.starts_with("framebuffer:")) { 124 } else if (name.starts_with("usb:")) {
|
/openbmc/linux/scripts/ |
H A D | generate_rust_target.rs | 124 if line.starts_with('#') { in from_stdin()
|
/openbmc/bmcweb/test/redfish-core/include/ |
H A D | event_log_test.cpp | 31 ASSERT_TRUE(entryID.starts_with("946")); in TEST()
|