Home
last modified time | relevance | path

Searched refs:escapeText (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatEscaper.java144 static String escapeText(final String input) {
DMessageLiteToString.java244 buffer.append(": \"").append(TextFormatEscaper.escapeText((String) object)).append('"'); in printField()
DTextFormat.java414 ? TextFormatEscaper.escapeText((String) value) in printFieldValue()
2161 static String escapeText(final String input) { in escapeText() method in TextFormat
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java635 TextFormat.escapeText("\0\001\007\b\f\n\r\t\013\\\'\"\177")); in testEscape()
642 assertEquals(ESCAPE_TEST_STRING_ESCAPED, TextFormat.escapeText(ESCAPE_TEST_STRING)); in testEscape()
647 assertEquals("hello", TextFormat.escapeText("hello")); in testEscape()
652 assertEquals("\\341\\210\\264", TextFormat.escapeText("\u1234")); in testEscape()