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.java127 static String escapeText(final String input) {
DMessageLiteToString.java212 buffer.append(": \"").append(TextFormatEscaper.escapeText((String) object)).append('"'); in printField()
DTextFormat.java428 ? TextFormatEscaper.escapeText((String) value) in printFieldValue()
1897 static String escapeText(final String input) { in escapeText() method in TextFormat
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java563 TextFormat.escapeText("\0\001\007\b\f\n\r\t\013\\\'\"\177")); in testEscape()
569 TextFormat.escapeText(kEscapeTestString)); in testEscape()
577 TextFormat.escapeText("hello")); in testEscape()
584 assertEquals("\\341\\210\\264", TextFormat.escapeText("\u1234")); in testEscape()