Home
last modified time | relevance | path

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

/system/core/init/
Dreboot_utils.cpp49 auto end_pos = cmdline.find(' ', start_pos); in SetFatalRebootTarget() local
52 auto size = end_pos == std::string::npos ? -1 : end_pos - start_pos; in SetFatalRebootTarget()
/system/core/libprocessgroup/
Dcgroup_map.cpp120 size_t end_pos = content.find('\n', start_pos); in GetTaskGroup() local
121 if (end_pos == std::string::npos) { in GetTaskGroup()
124 *group = content.substr(start_pos, end_pos - start_pos); in GetTaskGroup()
/system/vold/
DCheckpoint.cpp501 auto end_pos = used_sectors.insert_or_assign(end, false).first; in markUsed() local
506 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()