Lines Matching refs:EscapedInput
706 std::string EscapedInput; in escape() local
709 EscapedInput += "\\\\"; in escape()
711 EscapedInput += "\\\""; in escape()
713 EscapedInput += "\\0"; in escape()
715 EscapedInput += "\\a"; in escape()
717 EscapedInput += "\\b"; in escape()
719 EscapedInput += "\\t"; in escape()
721 EscapedInput += "\\n"; in escape()
723 EscapedInput += "\\v"; in escape()
725 EscapedInput += "\\f"; in escape()
727 EscapedInput += "\\r"; in escape()
729 EscapedInput += "\\e"; in escape()
732 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
740 llvm::append_range(EscapedInput, Val); in escape()
742 return EscapedInput; in escape()
745 EscapedInput += "\\N"; in escape()
747 EscapedInput += "\\_"; in escape()
749 EscapedInput += "\\L"; in escape()
751 EscapedInput += "\\P"; in escape()
754 EscapedInput += StringRef(i, UnicodeScalarValue.second); in escape()
758 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
760 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; in escape()
762 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr; in escape()
766 EscapedInput.push_back(*i); in escape()
768 return EscapedInput; in escape()