Lines Matching refs:EscapedInput
705 std::string EscapedInput; in escape() local
708 EscapedInput += "\\\\"; in escape()
710 EscapedInput += "\\\""; in escape()
712 EscapedInput += "\\0"; in escape()
714 EscapedInput += "\\a"; in escape()
716 EscapedInput += "\\b"; in escape()
718 EscapedInput += "\\t"; in escape()
720 EscapedInput += "\\n"; in escape()
722 EscapedInput += "\\v"; in escape()
724 EscapedInput += "\\f"; in escape()
726 EscapedInput += "\\r"; in escape()
728 EscapedInput += "\\e"; in escape()
731 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
739 llvm::append_range(EscapedInput, Val); in escape()
741 return EscapedInput; in escape()
744 EscapedInput += "\\N"; in escape()
746 EscapedInput += "\\_"; in escape()
748 EscapedInput += "\\L"; in escape()
750 EscapedInput += "\\P"; in escape()
753 EscapedInput += StringRef(i, UnicodeScalarValue.second); in escape()
757 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
759 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; in escape()
761 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr; in escape()
765 EscapedInput.push_back(*i); in escape()
768 return EscapedInput; in escape()