Lines Matching refs:EscapedInput
684 std::string EscapedInput; in escape() local
687 EscapedInput += "\\\\"; in escape()
689 EscapedInput += "\\\""; in escape()
691 EscapedInput += "\\0"; in escape()
693 EscapedInput += "\\a"; in escape()
695 EscapedInput += "\\b"; in escape()
697 EscapedInput += "\\t"; in escape()
699 EscapedInput += "\\n"; in escape()
701 EscapedInput += "\\v"; in escape()
703 EscapedInput += "\\f"; in escape()
705 EscapedInput += "\\r"; in escape()
707 EscapedInput += "\\e"; in escape()
710 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
718 llvm::append_range(EscapedInput, Val); in escape()
720 return EscapedInput; in escape()
723 EscapedInput += "\\N"; in escape()
725 EscapedInput += "\\_"; in escape()
727 EscapedInput += "\\L"; in escape()
729 EscapedInput += "\\P"; in escape()
732 EscapedInput += StringRef(i, UnicodeScalarValue.second); in escape()
736 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
738 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; in escape()
740 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr; in escape()
744 EscapedInput.push_back(*i); in escape()
746 return EscapedInput; in escape()