Searched refs:end_pos (Results 1 – 3 of 3) sorted by relevance
49 auto end_pos = cmdline.find(' ', start_pos); in SetFatalRebootTarget() local52 auto size = end_pos == std::string::npos ? -1 : end_pos - start_pos; in SetFatalRebootTarget()
120 size_t end_pos = content.find('\n', start_pos); in GetTaskGroup() local121 if (end_pos == std::string::npos) { in GetTaskGroup()124 *group = content.substr(start_pos, end_pos - start_pos); in GetTaskGroup()
501 auto end_pos = used_sectors.insert_or_assign(end, false).first; in markUsed() local506 if (std::next(end_pos) != used_sectors.end() && !std::next(end_pos)->second) { in markUsed()507 end_pos++; in markUsed()509 if (start_pos->first < end_pos->first) { in markUsed()510 used_sectors.erase(start_pos, end_pos); in markUsed()