Home
last modified time | relevance | path

Searched refs:substr (Results 76 – 100 of 226) sorted by relevance

12345678910

/openbmc/bmcweb/include/
H A Dmultipart_parser.hpp70 std::string_view ctBoundary = contentType.substr(boundaryFormat.size()); in parse()
343 mime_fields.rbegin()->content += lookbehind.substr(0, prevIndex); in processPartData()
/openbmc/telemetry/src/utils/
H A Ddbus_path_utils.cpp37 auto id = path.str.substr(constants::reportDirStr.length()); in reportPathToId()
/openbmc/phosphor-bmc-code-mgmt/
H A Ddownload_manager.cpp41 fileName = fileName.substr(fileName.find_first_not_of('.')); in downloadViaTFTP()
/openbmc/phosphor-host-ipmid/
H A Dselutility.cpp66 auto key = entry.substr(0, pos); in parseEntry()
67 auto val = entry.substr(pos + 1); in parseEntry()
98 static_cast<uint8_t>(convert(str.substr(i * 2, 2), 16))); in convertVec()
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/
H A Dutil.cpp210 std::string_view v = content.substr(p + keyword.size()); in parseMeminfoValue()
214 v = v.substr(0, p); in parseMeminfoValue()
/openbmc/fb-ipmi-oem/include/
H A Dcommandutils.hpp38 host.push_back(s.substr(0, pos)); in instances()
/openbmc/phosphor-led-sysfs/
H A Dsysfs.cpp89 std::string rc = triggerLine.substr(start + 1, end - start - 1); in getTrigger()
H A Dcontroller.cpp117 auto name = path.substr(strlen(devParent)); in main()
/openbmc/linux/fs/nfs/
H A Dnfs4idmap.c515 substring_t substr; in nfs_idmap_prepare_message() local
519 token = match_token(desc, nfs_idmap_tokens, &substr); in nfs_idmap_prepare_message()
527 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message()
535 ret = match_int(&substr, &im->im_id); in nfs_idmap_prepare_message()
/openbmc/phosphor-debug-collector/
H A Dcore_manager.cpp37 if ("core" == name.substr(0, name.find('.'))) in watchCallback()
/openbmc/dbus-sensors/src/
H A DPSUEvent.cpp178 fanName = path.substr(fanPos); in PSUSubEvent()
182 fanName = fanName.substr(0, fanNamePos); in PSUSubEvent()
H A DHwmonTempMain.cpp122 std::string pathOffsetStr = pathStr.substr(0, pathStr.size() - 4) + in getSensorParameters()
133 std::string pathScaleStr = pathStr.substr(0, pathStr.size() - 4) + in getSensorParameters()
369 sensorType = sensorType.substr(pos + 1); in createSensors()
H A DUtils.cpp217 token = matchString.substr(0, pos); in findFiles()
729 std::make_tuple(fileName.substr(0, numberPos), in splitFileName()
730 fileName.substr(numberPos, itemPos - numberPos), in splitFileName()
731 fileName.substr(itemPos + 1, fileName.size()))); in splitFileName()
/openbmc/linux/tools/perf/tests/shell/
H A Dtest_intel_pt.sh179 $0 = substr($0, RSTART, RLENGTH)
191 $0 = substr($0, RSTART, RLENGTH)
204 $0 = substr($0, RSTART, RLENGTH)
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsrc.cpp474 uint8_t errorType = strtoul(as.substr(0, 2).c_str(), nullptr, 16); in isBMCSRC()
486 uint8_t errorType = strtoul(as.substr(0, 2).c_str(), nullptr, 16); in isHostbootSRC()
500 auto entry = registry.lookup("0x" + asciiString().substr(4, 4), in getErrorDetails()
783 extRefcode = trimEnd(refcode.substr(nextPos)); in getJSON()
1140 *i2cBus = i2cBus->substr(9); in addDevicePathCallouts()
1565 auto progressCodeString = aString.get().substr(0, 8); in getProgressCode()
/openbmc/phosphor-certificate-manager/test/
H A Dca_certs_manager_test.cpp110 id = entryPath.substr(pos + 1); in TEST_F()
/openbmc/bmcweb/redfish-core/include/
H A Dregistries.hpp72 ret += msg.substr(0, stringIndex); in fillMessageArgs()
/openbmc/phosphor-host-postd/ipmisnoop/
H A Dipmisnoop.hpp79 std::string hostNumStr = objectName.substr(hostParseIdx); in IpmiPostReporter()
/openbmc/phosphor-inventory-manager/
H A Dutils.hpp221 return s.substr(strlen(prefix)); in relPath()
/openbmc/phosphor-dbus-monitor/src/
H A Devent_manager.cpp108 auto eventName = eventPath.substr(pos2, (pos1 - pos2)); in restore()
/openbmc/phosphor-objmgr/src/
H A Dhandler.cpp156 std::string_view(reqPath).substr(0, reqPath.size() - 1); in getSubTree()
224 std::string_view(reqPath).substr(0, reqPath.size() - 1); in getSubTreePaths()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_progs.h326 #define ASSERT_HAS_SUBSTR(str, substr, name) ({ \ argument
329 const char *___substr = substr; \
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh365 S=$(expr substr $CMD 1 1)
494 EVAL=$(expr substr $STATE 2 2)
/openbmc/bmcweb/redfish-core/include/utils/
H A Djson_utils.hpp524 leftover = key.substr(keysplitIndex + 1); in readJsonHelperObject()
525 key = key.substr(0, keysplitIndex); in readJsonHelperObject()
537 key = unpackSpec.key.substr(0, keysplitIndex + 1); in readJsonHelperObject()
554 std::string_view thisLeftover = p.key.substr(key.size()); in readJsonHelperObject()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Djournal.cpp142 value = dataString.substr(pos + 1); in getFieldValue()

12345678910