Home
last modified time | relevance | path

Searched refs:end_pos (Results 1 – 4 of 4) sorted by relevance

/system/core/init/
Dreboot_utils.cpp81 auto end_pos = cmdline.find(' ', start_pos); in SetFatalRebootTarget() local
84 auto size = end_pos == std::string::npos ? -1 : end_pos - start_pos; in SetFatalRebootTarget()
/system/core/libprocessgroup/
Dcgroup_map.cpp131 size_t end_pos = content.find('\n', start_pos); in GetTaskGroup() local
132 if (end_pos == std::string::npos) { in GetTaskGroup()
135 *group = content.substr(start_pos, end_pos - start_pos); in GetTaskGroup()
/system/extras/simpleperf/scripts/test/
Dreport_html_test.py98 end_pos = data.find(end_str, start_pos)
99 self.assertNotEqual(end_pos, -1)
100 json_data = data[start_pos:end_pos]
/system/vold/
DCheckpoint.cpp538 auto end_pos = used_sectors.insert_or_assign(end, false).first; in markUsed() local
543 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()