Searched refs:end_pos (Results 1 – 4 of 4) sorted by relevance
55 auto end_pos = cmdline.find(' ', start_pos); in SetFatalRebootTarget() local58 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()
539 auto end_pos = used_sectors.insert_or_assign(end, false).first; in markUsed() local544 if (std::next(end_pos) != used_sectors.end() && !std::next(end_pos)->second) { in markUsed()545 end_pos++; in markUsed()547 if (start_pos->first < end_pos->first) { in markUsed()548 used_sectors.erase(start_pos, end_pos); in markUsed()
1511 end_pos = data.find(end_str, start_pos)1512 self.assertNotEqual(end_pos, -1)1513 json_data = data[start_pos:end_pos]