/openbmc/bmcweb/include/ |
H A D | multipart_parser.hpp | 70 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 D | dbus_path_utils.cpp | 37 auto id = path.str.substr(constants::reportDirStr.length()); in reportPathToId()
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | download_manager.cpp | 41 fileName = fileName.substr(fileName.find_first_not_of('.')); in downloadViaTFTP()
|
/openbmc/phosphor-host-ipmid/ |
H A D | selutility.cpp | 66 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 D | util.cpp | 210 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 D | commandutils.hpp | 38 host.push_back(s.substr(0, pos)); in instances()
|
/openbmc/phosphor-led-sysfs/ |
H A D | sysfs.cpp | 89 std::string rc = triggerLine.substr(start + 1, end - start - 1); in getTrigger()
|
H A D | controller.cpp | 117 auto name = path.substr(strlen(devParent)); in main()
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4idmap.c | 515 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 D | core_manager.cpp | 37 if ("core" == name.substr(0, name.find('.'))) in watchCallback()
|
/openbmc/dbus-sensors/src/ |
H A D | PSUEvent.cpp | 178 fanName = path.substr(fanPos); in PSUSubEvent() 182 fanName = fanName.substr(0, fanNamePos); in PSUSubEvent()
|
H A D | HwmonTempMain.cpp | 122 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 D | Utils.cpp | 217 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 D | test_intel_pt.sh | 179 $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 D | src.cpp | 474 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 D | ca_certs_manager_test.cpp | 110 id = entryPath.substr(pos + 1); in TEST_F()
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | registries.hpp | 72 ret += msg.substr(0, stringIndex); in fillMessageArgs()
|
/openbmc/phosphor-host-postd/ipmisnoop/ |
H A D | ipmisnoop.hpp | 79 std::string hostNumStr = objectName.substr(hostParseIdx); in IpmiPostReporter()
|
/openbmc/phosphor-inventory-manager/ |
H A D | utils.hpp | 221 return s.substr(strlen(prefix)); in relPath()
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | event_manager.cpp | 108 auto eventName = eventPath.substr(pos2, (pos1 - pos2)); in restore()
|
/openbmc/phosphor-objmgr/src/ |
H A D | handler.cpp | 156 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 D | test_progs.h | 326 #define ASSERT_HAS_SUBSTR(str, substr, name) ({ \ argument 329 const char *___substr = substr; \
|
/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | test_cpuset_prs.sh | 365 S=$(expr substr $CMD 1 1) 494 EVAL=$(expr substr $STATE 2 2)
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | json_utils.hpp | 524 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 D | journal.cpp | 142 value = dataString.substr(pos + 1); in getFieldValue()
|