Searched refs:end_pos (Results 1 – 4 of 4) sorted by relevance
81 auto end_pos = cmdline.find(' ', start_pos); in SetFatalRebootTarget() local84 auto size = end_pos == std::string::npos ? -1 : end_pos - start_pos; in SetFatalRebootTarget()
131 size_t end_pos = content.find('\n', start_pos); in GetTaskGroup() local132 if (end_pos == std::string::npos) { in GetTaskGroup()135 *group = content.substr(start_pos, end_pos - start_pos); in GetTaskGroup()
98 end_pos = data.find(end_str, start_pos)99 self.assertNotEqual(end_pos, -1)100 json_data = data[start_pos:end_pos]
538 auto end_pos = used_sectors.insert_or_assign(end, false).first; in markUsed() local543 if (std::next(end_pos) != used_sectors.end() && !std::next(end_pos)->second) { in markUsed()544 end_pos++; in markUsed()546 if (start_pos->first < end_pos->first) { in markUsed()547 used_sectors.erase(start_pos, end_pos); in markUsed()