Searched refs:lastPos (Results 1 – 2 of 2) sorted by relevance
223 size_t lastPos = chassis.rfind('/'); in afterGetChassis() local224 if (lastPos == std::string::npos) in afterGetChassis()229 if (lastPos == chassis.size() - 1) in afterGetChassis()231 size_t end = lastPos; in afterGetChassis()232 lastPos = chassis.rfind('/', lastPos - 1); in afterGetChassis()233 if (lastPos == std::string::npos) in afterGetChassis()238 len = end - (lastPos + 1); in afterGetChassis()241 std::string interfaceChassisName = chassis.substr(lastPos + 1, len); in afterGetChassis()
435 std::size_t lastPos = dateTime.size(); in getDateTimeOffsetNow() local437 if (lastPos > len) in getDateTimeOffsetNow()439 timeOffset = dateTime.substr(lastPos - len); in getDateTimeOffsetNow()