Home
last modified time | relevance | path

Searched refs:substr (Results 1 – 25 of 226) sorted by relevance

12345678910

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/upm/upm/
H A D0001-Use-stdint-types.patch25 if(tok.substr(0, 20) == "setInterruptEnable0:") {
30 if(tok.substr(0, 20) == "setInterruptEnable1:") {
40 if(tok.substr(0, 17) == "setInterruptMap0:") {
45 if(tok.substr(0, 17) == "setInterruptMap1:") {
50 if(tok.substr(0, 17) == "setInterruptMap2:") {
55 if(tok.substr(0, 16) == "setInterruptSrc:") {
78 if(tok.substr(0, 17) == "setInterruptMap0:") {
83 if(tok.substr(0, 17) == "setInterruptMap1:") {
88 if(tok.substr(0, 16) == "setInterruptSrc:") {
134 if(tok.substr(0, 16) == "setRepetitionsZ:") {
[all …]
/openbmc/phosphor-psu-code-mgmt/src/
H A Dversion.cpp54 ret.emplace(key, line.substr(keySize)); in getValues()
85 std::string substr; in getExtVersionInfo() local
86 getline(ss, substr, ','); in getExtVersionInfo()
87 auto pos = substr.find('='); in getExtVersionInfo()
90 std::string key = substr.substr(0, pos); in getExtVersionInfo()
91 std::string value = substr.substr(pos + 1); in getExtVersionInfo()
/openbmc/phosphor-bmc-code-mgmt/
H A Dversion.cpp80 values.push_back(line.substr(keySize)); in getRepeatedValues()
139 if (line.substr(0, machineKey.size()).find(machineKey) != in getBMCMachine()
143 machine = line.substr(pos, line.find_last_of('"') - pos); in getBMCMachine()
167 if (line.substr(0, extendedVersionKey.size()) in getBMCExtendedVersion()
170 extendedVersionValue = line.substr(extendedVersionKey.size()); in getBMCExtendedVersion()
172 extendedVersion = extendedVersionValue.substr( in getBMCExtendedVersion()
192 if (line.substr(0, versionKey.size()).find(versionKey) != in getBMCVersion()
197 versionValue = line.substr(versionKey.size()); in getBMCVersion()
211 version = versionValue.substr(pos, in getBMCVersion()
H A Dserialize.cpp97 devicePath = "/dev/" + device.substr(0, device.find(':')); in restorePriority()
115 auto var = envVars.substr(varPosition); in restorePriority()
116 priority = std::stoi(var.substr(versionVar.length())); in restorePriority()
/openbmc/linux/tools/perf/arch/x86/tests/
H A Dgen-insn-x86-dat.awk30 useful_line = substr($0, colon_pos + 1)
32 useful_line = substr(useful_line, first_pos)
56 useful_line = substr($0, expecting_pos + expecting_len)
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dsessionhelper.hpp42 std::string sessionIdString = objectPath.substr(ptrPosition + 1); in parseCloseSessionInputPayload()
48 std::string sessionHandleString = sessionIdString.substr(pos + 1); in parseCloseSessionInputPayload()
50 sessionIdString = sessionIdString.substr(0, pos); in parseCloseSessionInputPayload()
/openbmc/openpower-vpd-parser/vpd-manager/
H A Dreader_impl.cpp141 std::string firstKeyword = locationCode.substr(1, 4); in getCollapsedLocationCode()
147 if (fc.substr(0, 4) == in getCollapsedLocationCode()
171 nodeNummber = std::stoi(locationCode.substr( in getCollapsedLocationCode()
180 locationCode.substr(nodeEndPos + 1 + SE_KWD_LENGTH, in getCollapsedLocationCode()
197 if (tm.substr(0, 4) == in getCollapsedLocationCode()
/openbmc/telemetry/src/utils/
H A Dmake_id_name.cpp61 strippedId.substr(0, constants::maxIdNameLength); in generateId()
76 strippedId.substr(0, constants::maxIdNameLength - digitsInIdx) + in generateId()
102 name = name.substr(pos + 1); in makeIdName()
105 name = name.substr(0, constants::maxIdNameLength); in makeIdName()
/openbmc/openbmc-tools/dbus-vis/
H A Dboost_handler_timeline_vis.js27 const d1 = desc.substr(idx0 + 2);
35 return desc.substr(0, idx0) + d1.substr(idx1)
57 const handler_id = parseInt(action.substr(idx + 1));
68 handler_id = parseInt(action.substr(1));
75 handler_id = parseInt(action.substr(1));
H A Dipmi_parse.js8 let line1 = line.substr(i0);
13 let line2 = line1.substr(5, i1 - 5);
24 let line1 = line.substr(i0);
29 let line2 = line1.substr(N, i1 - N);
50 return [parseInt(l.substr(idx + 4), 10), i + 1];
61 let the_ch = l.substr(idx + 16, 1);
363 let l = g_ipmi_parse_buf.substr(0, idx);
365 g_ipmi_parse_buf = g_ipmi_parse_buf.substr(idx + 1);
/openbmc/linux/scripts/
H A Dcheck-sysctl-docs42 value = substr(value, 1, length(value) - 1)
73 if (!inbrackets && substr($i, 1, 1) == "(") {
83 if (inbrackets && substr($i, length($i), 1) == ")") {
H A Ddecodecode128 substr=""
132 substr+="$opc"
134 opcode="$substr"
146 substr+=" "
/openbmc/bmcweb/redfish-core/include/
H A Dgzfile.hpp100 std::string logEntry = bufferStr.substr(initialPos, in hostLogEntryParser()
133 delimiters = bufferStr.substr(pos - 1, 2); in hostLogEntryParser()
138 delimiters = lastDelimiter + bufferStr.substr(0, 1); in hostLogEntryParser()
164 newLastMessage = bufferStr.substr(initialPos); in hostLogEntryParser()
/openbmc/linux/Documentation/arch/arm/samsung/
H A Dclksrc-change-registers.awk14 return substr(s, eqat+2, (comat-eqat)-2)
19 return substr(b, 2, length(b)-2)
56 return substr(s, id+2)
/openbmc/phosphor-networkd/src/
H A Dconfig_parser.cpp171 for (auto c : line.substr(cpos + 1)) in pumpSection()
182 auto s = line.substr(0, cpos); in pumpSection()
201 auto k = line.substr(0, epos); in pumpKV()
216 auto v = line.substr(epos + 1); in pumpKV()
240 return pumpSection(line.substr(i + 1)); in pump()
244 return pumpKV(line.substr(i)); in pump()
/openbmc/phosphor-pid-control/sysfs/
H A Dutil.cpp44 std::string base = original.substr(0, n); in FixupPath()
46 std::string f = original.substr(n + 2, original.size() - (n + 2)); in FixupPath()
/openbmc/phosphor-logging/
H A Dutil.cpp42 if (line.substr(0, keyPattern.size()).find(keyPattern) != in getOSReleaseValue()
48 auto value = line.substr(keyPattern.size()); in getOSReleaseValue()
50 return value.substr(pos, value.find_last_of('"') - pos); in getOSReleaseValue()
/openbmc/sdbusplus/src/message/
H A Dnative_types.cpp63 auto filename = strv.substr(firstIndex + 1); in filename()
109 return str.substr(0, index); in parent_path()
135 for (auto c : extId.substr(1)) in operator /=()
/openbmc/bmcweb/include/
H A Dauthentication.hpp46 std::string_view param = authHeader.substr(strlen("Basic ")); in performBasicAuth()
59 std::string user = authData.substr(0, separator); in performBasicAuth()
65 std::string pass = authData.substr(separator); in performBasicAuth()
97 std::string_view token = authHeader.substr(strlen("Token ")); in performTokenAuth()
144 std::string_view authKey = cookieValue.substr(startIndex, in performCookieAuth()
/openbmc/openbmc/poky/meta/recipes-core/busybox/files/
H A Dmdev-mount.sh17 DEVBASE=`expr substr $MDEV 1 3`
19 DEVBASE=`expr substr $MDEV 1 7`
/openbmc/bmcweb/http/
H A Dmutual_tls_meta.hpp31 std::string_view entityType = sslUser.substr(0, colonIndex); in mtlsMetaParseSslUser()
52 entity = sslUser.substr(0, slashIndex); in mtlsMetaParseSslUser()
/openbmc/openbmc/meta-yadro/recipes-phosphor/ipmi/phosphor-ipmi-host/
H A D0003-Fix-version-parsing-update-AUX-revision-info.patch67 + results.push_back(str.substr(j, k-j));
194 - static_cast<char>(std::stoi(s.substr(0, location), 0, 10));
195 - token = s.substr(location + 1);
221 - std::stoi(token.substr(0, location), 0, 10));
222 - token = token.substr(location + 1);
249 - commits = std::stoi(token.substr(0, location), 0, 16);
258 - token = token.substr(location + 1);
264 + hashstr = tokens[i].substr(1, AUX_HASH_LEN);
276 - token = token.substr(location + 1);
288 - token = token.substr(location + 1);
/openbmc/phosphor-logging/phosphor-rsyslog-config/
H A Dserver-conf.cpp90 serverAddress = line.substr(posColonLeft + 1, in parseConfig()
92 serverPort = line.substr(posColonRight + 2); in parseConfig()
102 serverAddress = line.substr(start, pos - start); in parseConfig()
103 serverPort = line.substr(pos + 1); in parseConfig()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dadditional_data.hpp51 _data[item.substr(0, pos)] = std::move(item.substr(pos + 1)); in AdditionalData()
/openbmc/phosphor-logging/extensions/openpower-pels/tools/
H A Dpeltool.cpp78 std::string token = fileName.substr(0, fileName.find("_")); in fileNameToTimestamp()
86 auto tmp = std::stoul(token.substr(i, 2), 0, 16); in fileNameToTimestamp()
96 auto tmp = std::stoul(token.substr(i, 2), 0, 16); in fileNameToTimestamp()
106 auto tmp = std::stoul(token.substr(i, 2), 0, 16); in fileNameToTimestamp()
116 auto tmp = std::stoul(token.substr(i, 2), 0, 16); in fileNameToTimestamp()
126 auto tmp = std::stoul(token.substr(i, 2), 0, 16); in fileNameToTimestamp()
136 auto tmp = std::stoul(token.substr(i, 2), 0, 16); in fileNameToTimestamp()
146 auto tmp = std::stoul(token.substr(i, 2), 0, 16); in fileNameToTimestamp()
156 auto tmp = std::stoul(token.substr(i, 2), 0, 16); in fileNameToTimestamp()
177 num = std::stoul(fileName.substr(fileName.find("_") + 1), 0, 16); in fileNameToPELId()
[all …]

12345678910