Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DTextFormatEscaper.java52 static String escapeBytes(final ByteSequence input) { in escapeBytes() method in TextFormatEscaper
93 static String escapeBytes(final ByteString input) { in escapeBytes() method in TextFormatEscaper
94 return escapeBytes(new ByteSequence() { in escapeBytes()
109 static String escapeBytes(final byte[] input) {
110 return escapeBytes(new ByteSequence() {
128 return escapeBytes(ByteString.copyFromUtf8(input));
DTextFormat.java276 generator.print(escapeBytes((ByteString) value)); in printUnknownFieldValue()
437 generator.print(escapeBytes((ByteString) value)); in printFieldValue()
439 generator.print(escapeBytes((byte[]) value)); in printFieldValue()
1812 public static String escapeBytes(ByteString input) { in escapeBytes() method in TextFormat
1813 return TextFormatEscaper.escapeBytes(input); in escapeBytes()
1819 public static String escapeBytes(byte[] input) { in escapeBytes() method in TextFormat
1820 return TextFormatEscaper.escapeBytes(input); in escapeBytes()
1927 return escapeBytes(ByteString.copyFromUtf8(input)); in escapeText()
DMessageLiteToString.java214 buffer.append(": \"").append(TextFormatEscaper.escapeBytes((ByteString) object)).append('"'); in printField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java562 TextFormat.escapeBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"\177"))); in testEscape()
576 TextFormat.escapeBytes(bytes("hello"))); in testEscape()
587 TextFormat.escapeBytes(bytes(0xe1, 0x88, 0xb4))); in testEscape()