Searched refs:last_nondigit_pos (Results 1 – 1 of 1) sorted by relevance
482 size_t last_nondigit_pos = partition_name.find_last_not_of("0123456789"); in SplitPartitionName() local483 if (last_nondigit_pos == string::npos || in SplitPartitionName()484 (last_nondigit_pos + 1) == partition_name.size()) { in SplitPartitionName()490 if (partition_name[last_nondigit_pos] == '_') { in SplitPartitionName()494 partition_name.find_last_not_of("0123456789", last_nondigit_pos - 1); in SplitPartitionName()496 (prev_nondigit_pos + 1) == last_nondigit_pos) { in SplitPartitionName()501 partition_name_len = last_nondigit_pos - prev_nondigit_pos; in SplitPartitionName()502 last_nondigit_pos = prev_nondigit_pos; in SplitPartitionName()508 size_t disk_name_len = last_nondigit_pos; in SplitPartitionName()509 if (partition_name[last_nondigit_pos] != 'p' || in SplitPartitionName()[all …]