Searched refs:valStr (Results 1 – 2 of 2) sorted by relevance
265 std::string valStr; in getSuspendStats() local266 if (!ReadFdToString(statFd.get(), &valStr)) { in getSuspendStats()271 valStr.erase(std::remove(valStr.begin(), valStr.end(), '\n'), valStr.end()); in getSuspendStats()274 stats.lastFailedDev = valStr; in getSuspendStats()276 stats.lastFailedStep = valStr; in getSuspendStats()278 int statVal = std::stoi(valStr); in getSuspendStats()
241 std::string valStr; in createKernelEntry() local242 if (!ReadFdToString(statFd.get(), &valStr)) { in createKernelEntry()248 valStr.erase(std::remove(valStr.begin(), valStr.end(), '\n'), valStr.end()); in createKernelEntry()251 info.name = valStr; in createKernelEntry()255 int64_t statVal = std::stoll(valStr); in createKernelEntry()