/openbmc/phosphor-pid-control/sensors/ |
H A D | build_utils.cpp | 34 if (path.find(sysfs) != std::string::npos) in getWriteInterfaceType() 40 if (path.find(openbmc_sensor) != std::string::npos) in getWriteInterfaceType() 55 if (path.find(external_sensor) != std::string::npos) in getReadInterfaceType() 60 if (path.find(openbmc_sensor) != std::string::npos) in getReadInterfaceType() 65 if (path.find(sysfs) != std::string::npos) in getReadInterfaceType()
|
/openbmc/linux/tools/lib/api/fd/ |
H A D | array.c | 94 int npos; in fdarray__dup_entry_from() local 101 npos = fdarray__add(fda, entry->fd, entry->events, from->priv[pos].flags); in fdarray__dup_entry_from() 102 if (npos >= 0) in fdarray__dup_entry_from() 103 fda->priv[npos] = from->priv[pos]; in fdarray__dup_entry_from() 105 return npos; in fdarray__dup_entry_from()
|
/openbmc/phosphor-logging/phosphor-rsyslog-config/ |
H A D | server-conf.cpp | 56 if (start == std::string::npos) in parseConfig() 74 if (posColonLeft != std::string::npos || in parseConfig() 75 posColonRight != std::string::npos) in parseConfig() 78 if (posColonLeft == std::string::npos || in parseConfig() 79 posColonRight == std::string::npos) in parseConfig() 97 if (pos == std::string::npos) in parseConfig()
|
/openbmc/bmcweb/http/ |
H A D | mutual_tls_meta.hpp | 27 if (colonIndex == std::string_view::npos) in mtlsMetaParseSslUser() 47 if (slashIndex == std::string_view::npos) in mtlsMetaParseSslUser() 59 "abcdefghijklmnopqrstuvwxyz0123456789_-.") != std::string::npos) in mtlsMetaParseSslUser()
|
H A D | utility.hpp | 37 size_t urlSegmentIndex = std::string_view::npos; in getParameterTag() 44 if (urlSegmentIndex != std::string_view::npos) in getParameterTag() 52 if (urlSegmentIndex == std::string_view::npos) in getParameterTag() 67 urlSegmentIndex = std::string_view::npos; in getParameterTag() 70 if (urlSegmentIndex != std::string_view::npos) in getParameterTag()
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | event_log.cpp | 80 if (space == std::string::npos) in getEventLogParams() 89 if (entryStart == std::string::npos) in getEventLogParams() 155 if (dot != std::string::npos && plus != std::string::npos) in formatEventLogEntry()
|
/openbmc/linux/scripts/ |
H A D | cleanfile | 30 my $npos = ($pos+$nsp+8) & ~7; 31 my $ntab = ($npos >> 3) - ($pos >> 3); 33 $pos = $npos;
|
H A D | cleanpatch | 30 my $npos = ($pos+$nsp+8) & ~7; 31 my $ntab = ($npos >> 3) - ($pos >> 3); 33 $pos = $npos;
|
/openbmc/openpower-pnor-code-mgmt/static/ |
H A D | item_updater_static.cpp | 152 if (pos == std::string::npos) in getPartsToClear() 157 if (flags.find('F') != std::string::npos) in getPartsToClear() 161 if (pos == std::string::npos) in getPartsToClear() 168 if (pos == std::string::npos) in getPartsToClear() 175 if (pos == std::string::npos) in getPartsToClear() 181 bool ecc = flags.find('E') != std::string::npos; in getPartsToClear()
|
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/ |
H A D | util.cpp | 66 if (line.find(grepStr) != std::string::npos) in readFileThenGrepIntoString() 79 if (p == std::string::npos) in isNumericPath() 208 if (p != std::string::npos) in parseMeminfoValue() 212 if (p != std::string::npos) in parseMeminfoValue() 332 if (cpuinfo.find("NPCM7XX") != std::string::npos) in getBootTimesMonotonic()
|
/openbmc/telemetry/src/utils/ |
H A D | make_id_name.cpp | 48 std::string::npos) in generateId() 58 std::string_view::npos; in generateId() 102 if (auto pos = name.find_last_of("/"); pos != std::string::npos) in makeIdName()
|
H A D | dbus_path_utils.hpp | 49 std::string::npos) && in isValidDbusPath() 56 std::string::npos) in verifyIdCharacters()
|
H A D | dbus_path_utils.cpp | 17 while ((pos_end = appended.find('/', pos_start)) != std::string::npos) in pathAppend() 50 while ((pos_end = id.find('/', pos_start)) != std::string::npos) in verifyIdPrefixes()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | device_callouts.cpp | 491 if ((devPath.find("fsi-master") != std::string::npos) && in getCalloutType() 492 (devPath.find("i2c-") != std::string::npos)) in getCalloutType() 497 if ((devPath.find("fsi-master") != std::string::npos) && in getCalloutType() 498 (devPath.find("spi") != std::string::npos)) in getCalloutType() 504 if (devPath.find("fsi-master") != std::string::npos) in getCalloutType() 509 if (devPath.find("i2c-") != std::string::npos) in getCalloutType()
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | sessionhelper.hpp | 38 if (ptrPosition != std::string::npos) in parseCloseSessionInputPayload() 45 if (pos != std::string::npos) in parseCloseSessionInputPayload()
|
/openbmc/u-boot/scripts/ |
H A D | cleanpatch | 28 my $npos = ($pos+$nsp+8) & ~7; 29 my $ntab = ($npos >> 3) - ($pos >> 3); 31 $pos = $npos;
|
/openbmc/phosphor-hwmon/ |
H A D | sysfs.cpp | 146 if (n != std::string::npos) in findCalloutPath() 217 while ((pos = path.find("--")) != std::string::npos) in findHwmonFromDevPath() 226 std::string::npos); in findHwmonFromDevPath()
|
/openbmc/slpd-lite/ |
H A D | slp_service_info.hpp | 28 while (delimtrPos != std::string::npos) in operator >>() 35 if (delimtrPos == std::string::npos && in operator >>()
|
/openbmc/ibm-logging/ |
H A D | policy_find.cpp | 73 if (item.find(name + "=") != std::string::npos) in getAdditionalDataItem() 260 if ((*mod).find("i2c") != std::string::npos) in getSearchModifier() 264 else if ((*mod).find("fsi") != std::string::npos) in getSearchModifier()
|
/openbmc/openbmc/meta-yadro/recipes-phosphor/ipmi/phosphor-ipmi-host/ |
H A D | 0003-Fix-version-parsing-update-AUX-revision-info.patch | 65 + if (k == std::string::npos) 181 if (location != std::string::npos) 188 - if (location != std::string::npos) 191 + if (s.find("dirty") != std::string::npos) 205 - if (location != std::string::npos) 254 - if (location != std::string::npos) 274 - if (location != std::string::npos) 286 - if (location != std::string::npos)
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | version.cpp | 139 std::string::npos) in getBMCMachine() 167 .find(extendedVersionKey) != std::string::npos) in getBMCExtendedVersion() 192 std::string::npos) in getBMCVersion()
|
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/ |
H A D | vpd_specific_utility.hpp | 42 if (i_vpdFilePath.find("i2c") != std::string::npos) in generateBadVPDFileName() 52 else if (i_vpdFilePath.find("spi") != std::string::npos) in generateBadVPDFileName() 307 if (pos != std::string::npos) in getExpandedLocationCode() 316 if (pos != std::string::npos) in getExpandedLocationCode() 396 if (unexpandedLocationCode.find("fcs") != std::string::npos) in getExpandedLocationCode() 597 std::string::npos) || in resetDataUnderPIM()
|
/openbmc/smbios-mdr/src/ |
H A D | cpu.cpp | 185 if ((familyStr.find(" Xeon ") != std::string::npos) || in infoUpdate() 186 (familyStr.find(" Intel ") != std::string::npos) || in infoUpdate() 187 (familyStr.find(" Zen ") != std::string::npos)) in infoUpdate()
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | redfish_util.hpp | 87 if (idPos == std::string::npos || in getMainChassisId() 128 if (lastCharPos == std::string::npos) in getPortStatusAndPath() 142 atCharPos != std::string::npos) in getPortStatusAndPath()
|
/openbmc/phosphor-state-manager/ |
H A D | settings.cpp | 69 if (path.find("one_time") != std::string::npos) in Objects() 86 if (path.find("one_time") != std::string::npos) in Objects()
|