Home
last modified time | relevance | path

Searched refs:npos (Results 1 – 25 of 183) sorted by relevance

12345678

/openbmc/phosphor-pid-control/sensors/
H A Dbuild_utils.cpp34 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 Darray.c94 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 Dserver-conf.cpp56 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 Dmutual_tls_meta.hpp27 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 Dutility.hpp37 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 Devent_log.cpp80 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 Dcleanfile30 my $npos = ($pos+$nsp+8) & ~7;
31 my $ntab = ($npos >> 3) - ($pos >> 3);
33 $pos = $npos;
H A Dcleanpatch30 my $npos = ($pos+$nsp+8) & ~7;
31 my $ntab = ($npos >> 3) - ($pos >> 3);
33 $pos = $npos;
/openbmc/openpower-pnor-code-mgmt/static/
H A Ditem_updater_static.cpp152 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 Dutil.cpp66 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 Dmake_id_name.cpp48 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 Ddbus_path_utils.hpp49 std::string::npos) && in isValidDbusPath()
56 std::string::npos) in verifyIdCharacters()
H A Ddbus_path_utils.cpp17 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 Ddevice_callouts.cpp491 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 Dsessionhelper.hpp38 if (ptrPosition != std::string::npos) in parseCloseSessionInputPayload()
45 if (pos != std::string::npos) in parseCloseSessionInputPayload()
/openbmc/u-boot/scripts/
H A Dcleanpatch28 my $npos = ($pos+$nsp+8) & ~7;
29 my $ntab = ($npos >> 3) - ($pos >> 3);
31 $pos = $npos;
/openbmc/phosphor-hwmon/
H A Dsysfs.cpp146 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 Dslp_service_info.hpp28 while (delimtrPos != std::string::npos) in operator >>()
35 if (delimtrPos == std::string::npos && in operator >>()
/openbmc/ibm-logging/
H A Dpolicy_find.cpp73 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 D0003-Fix-version-parsing-update-AUX-revision-info.patch65 + 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 Dversion.cpp139 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 Dvpd_specific_utility.hpp42 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 Dcpu.cpp185 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 Dredfish_util.hpp87 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 Dsettings.cpp69 if (path.find("one_time") != std::string::npos) in Objects()
86 if (path.find("one_time") != std::string::npos) in Objects()

12345678