Lines Matching defs:NewName
643 std::string NewName;
648 NewName = Name;
651 if (NewName.find_first_of("0123456789") == 0) {
652 NewName.insert(0, 1, 'n');
658 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) {
659 char old_c = NewName.at(pos);
662 NewName = NewName.replace(pos, 1, new_str);
665 return NewName;