Searched refs:last_nondigit_pos (Results 1 – 1 of 1) sorted by relevance
427 size_t last_nondigit_pos = partition_name.find_last_not_of("0123456789"); in SplitPartitionName() local428 if (last_nondigit_pos == string::npos || in SplitPartitionName()429 (last_nondigit_pos + 1) == partition_name.size()) { in SplitPartitionName()437 size_t disk_name_len = last_nondigit_pos; in SplitPartitionName()438 if (partition_name[last_nondigit_pos] != 'p' || last_nondigit_pos == 0 || in SplitPartitionName()439 !isdigit(partition_name[last_nondigit_pos - 1])) { in SplitPartitionName()446 string partition_str = partition_name.substr(last_nondigit_pos + 1); in SplitPartitionName()