Searched refs:escapeBytes (Results 1 – 4 of 4) sorted by relevance
52 static String escapeBytes(final ByteSequence input) { in escapeBytes() method in TextFormatEscaper93 static String escapeBytes(final ByteString input) { in escapeBytes() method in TextFormatEscaper94 return escapeBytes(new ByteSequence() { in escapeBytes()109 static String escapeBytes(final byte[] input) {110 return escapeBytes(new ByteSequence() {128 return escapeBytes(ByteString.copyFromUtf8(input));
276 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 TextFormat1813 return TextFormatEscaper.escapeBytes(input); in escapeBytes()1819 public static String escapeBytes(byte[] input) { in escapeBytes() method in TextFormat1820 return TextFormatEscaper.escapeBytes(input); in escapeBytes()1927 return escapeBytes(ByteString.copyFromUtf8(input)); in escapeText()
214 buffer.append(": \"").append(TextFormatEscaper.escapeBytes((ByteString) object)).append('"'); in printField()
562 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()