Home
last modified time | relevance | path

Searched refs:unescapeBytes (Results 1 – 3 of 3) sorted by relevance

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java849 TextFormat.unescapeBytes("\\000\\001\\a\\b\\f\\n\\r\\t\\v\\\\\\'\\\"")); in testEscape()
859 assertEquals(bytes("hello"), TextFormat.unescapeBytes("hello")); in testEscape()
866 assertEquals(bytes(0xe1, 0x88, 0xb4), TextFormat.unescapeBytes("\\341\\210\\264")); in testEscape()
868 assertEquals(bytes(0xe1, 0x88, 0xb4), TextFormat.unescapeBytes("\\xe1\\x88\\xb4")); in testEscape()
873 assertEquals(zhByteString, TextFormat.unescapeBytes(zh)); in testEscape()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java1308 final ByteString result = unescapeBytes(escaped); in consumeByteString()
2296 public static ByteString unescapeBytes(final CharSequence charString) in unescapeBytes() method in TextFormat
2428 return unescapeBytes(input).toStringUtf8(); in unescapeText()
DDescriptors.java1562 defaultValue = TextFormat.unescapeBytes(proto.getDefaultValue()); in crossLink()