Lines Matching refs:substr
72 return std::stoi(match.str().substr(beginPos, endPos - beginPos));
80 return match.str().substr(1, match.str().size() - STR_LEGH);
92 return match.str().substr(beginPos, endPos - beginPos);
149 fakeLog = result.get() + fakeLog.substr(beginPos);
154 fakeLog = fakeLog.substr(0, pcommPos) + result.get() + fakeLog.substr(pPidPos);
159 fakeLog = fakeLog.substr(0, pPidPos) + result.get() + fakeLog.substr(pPrioPos);
167 fakeLog = fakeLog.substr(0, nCommPos) + result.get() + fakeLog.substr(nPidPos);
172 fakeLog = fakeLog.substr(0, nPidPos) + result.get() + fakeLog.substr(nPrioPos);
188 fakeLog = fakeLog.substr(0, commPos) + result.get() + fakeLog.substr(pidPos);
194 fakeLog = fakeLog.substr(0, pidPos) + result.get() + fakeLog.substr(prioPos);
208 fakeLog = fakeLog.substr(0, pidPos) + result.get() + fakeLog.substr(ioPos);
223 fakeLog = result.get() + fakeLog.substr(beginPos);
250 return stoi(context_[index].substr(beginPos, endPos - beginPos));
258 return context_[index].substr(beginPos, endPos - beginPos);
302 std::string res = context_[index].substr(0, endPos);
307 auto tid = stoi(context_[index].substr(beginPos, endPos - beginPos));
414 prio = stoi(context_[index].substr(beginPos, endPos - beginPos));
421 prio = stoi(context_[index].substr(beginPos));
434 label = line.substr(beginPos + 1, endPos - beginPos - 1);
442 label = line.substr(beginPos, endPos - beginPos);
450 label = line.substr(beginPos + 1, endPos - beginPos - 1);
458 label = line.substr(beginPos, endPos - beginPos);
484 if (beginPos == std::string::npos || !IsDigit(line.substr(beginPos + 1))) {
487 gid = stoll(line.substr(beginPos + 1));