Searched refs:last_nondigit_pos (Results 1 – 1 of 1) sorted by relevance
540 size_t last_nondigit_pos = partition_name.find_last_not_of("0123456789"); in SplitPartitionName() local541 if (last_nondigit_pos == string::npos || in SplitPartitionName()542 (last_nondigit_pos + 1) == partition_name.size()) { in SplitPartitionName()550 size_t disk_name_len = last_nondigit_pos; in SplitPartitionName()551 if (partition_name[last_nondigit_pos] != 'p' || last_nondigit_pos == 0 || in SplitPartitionName()552 !isdigit(partition_name[last_nondigit_pos - 1])) { in SplitPartitionName()559 string partition_str = partition_name.substr(last_nondigit_pos + 1); in SplitPartitionName()