Searched refs:last_nondigit_pos (Results 1 – 1 of 1) sorted by relevance
475 size_t last_nondigit_pos = partition_name.find_last_not_of("0123456789"); in SplitPartitionName() local476 if (last_nondigit_pos == string::npos || in SplitPartitionName()477 (last_nondigit_pos + 1) == partition_name.size()) { in SplitPartitionName()483 if (partition_name[last_nondigit_pos] == '_') { in SplitPartitionName()487 partition_name.find_last_not_of("0123456789", last_nondigit_pos - 1); in SplitPartitionName()489 (prev_nondigit_pos + 1) == last_nondigit_pos) { in SplitPartitionName()494 partition_name_len = last_nondigit_pos - prev_nondigit_pos; in SplitPartitionName()495 last_nondigit_pos = prev_nondigit_pos; in SplitPartitionName()501 size_t disk_name_len = last_nondigit_pos; in SplitPartitionName()502 if (partition_name[last_nondigit_pos] != 'p' || in SplitPartitionName()[all …]