Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java641 TextFormat.unescapeText("\\000\\001\\a\\b\\f\\n\\r\\t\\v\\\\\\'\\\"")); in testEscape()
643 assertEquals(ESCAPE_TEST_STRING, TextFormat.unescapeText(ESCAPE_TEST_STRING_ESCAPED)); in testEscape()
649 assertEquals("hello", TextFormat.unescapeText("hello")); in testEscape()
654 assertEquals("\u1234", TextFormat.unescapeText("\\341\\210\\264")); in testEscape()
656 assertEquals("\u1234", TextFormat.unescapeText("\\xe1\\x88\\xb4")); in testEscape()
666 TextFormat.unescapeText("\\x"); in testEscape()
673 TextFormat.unescapeText("\\z"); in testEscape()
680 TextFormat.unescapeText("\\"); in testEscape()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java2174 static String unescapeText(final String input) throws InvalidEscapeSequenceException { in unescapeText() method in TextFormat