Home
last modified time | relevance | path

Searched refs:unescapeText (Results 1 – 2 of 2) sorted by relevance

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java852 TextFormat.unescapeText("\\000\\001\\a\\b\\f\\n\\r\\t\\v\\\\\\'\\\"")); in testEscape()
854 assertEquals(ESCAPE_TEST_STRING, TextFormat.unescapeText(ESCAPE_TEST_STRING_ESCAPED)); in testEscape()
860 assertEquals("hello", TextFormat.unescapeText("hello")); in testEscape()
865 assertEquals("\u1234", TextFormat.unescapeText("\\341\\210\\264")); in testEscape()
867 assertEquals("\u1234", TextFormat.unescapeText("\\xe1\\x88\\xb4")); in testEscape()
877 TextFormat.unescapeText("\\x"); in testEscape()
884 TextFormat.unescapeText("\\z"); in testEscape()
891 TextFormat.unescapeText("\\"); in testEscape()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java2427 static String unescapeText(final String input) throws InvalidEscapeSequenceException { in unescapeText() method in TextFormat