Home
last modified time | relevance | path

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

/system/core/init/
Dreboot_utils.cpp55 auto end_pos = cmdline.find(' ', start_pos); in SetFatalRebootTarget() local
58 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/vold/
DCheckpoint.cpp539 auto end_pos = used_sectors.insert_or_assign(end, false).first; in markUsed() local
544 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()
/system/extras/simpleperf/scripts/
Dtest.py1511 end_pos = data.find(end_str, start_pos)
1512 self.assertNotEqual(end_pos, -1)
1513 json_data = data[start_pos:end_pos]