Lines Matching refs:EscapedInput
692 std::string EscapedInput; in escape() local
695 EscapedInput += "\\\\"; in escape()
697 EscapedInput += "\\\""; in escape()
699 EscapedInput += "\\0"; in escape()
701 EscapedInput += "\\a"; in escape()
703 EscapedInput += "\\b"; in escape()
705 EscapedInput += "\\t"; in escape()
707 EscapedInput += "\\n"; in escape()
709 EscapedInput += "\\v"; in escape()
711 EscapedInput += "\\f"; in escape()
713 EscapedInput += "\\r"; in escape()
715 EscapedInput += "\\e"; in escape()
718 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
726 EscapedInput.insert(EscapedInput.end(), Val.begin(), Val.end()); in escape()
728 return EscapedInput; in escape()
731 EscapedInput += "\\N"; in escape()
733 EscapedInput += "\\_"; in escape()
735 EscapedInput += "\\L"; in escape()
737 EscapedInput += "\\P"; in escape()
740 EscapedInput += StringRef(i, UnicodeScalarValue.second); in escape()
744 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
746 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; in escape()
748 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr; in escape()
752 EscapedInput.push_back(*i); in escape()
754 return EscapedInput; in escape()