Home
last modified time | relevance | path

Searched refs:toStringUtf8 (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/java/src/main/java/com/google/protobuf/
DLazyStringArrayList.java93 String s = bs.toStringUtf8(); in get()
100 String s = Internal.toStringUtf8(ba); in get()
219 return ((ByteString) o).toStringUtf8(); in asString()
221 return Internal.toStringUtf8((byte[]) o); in asString()
DInternal.java204 public static String toStringUtf8(byte[] bytes) { in toStringUtf8() method in Internal
DByteString.java622 public String toStringUtf8() { in toStringUtf8() method in ByteString
DTextFormat.java963 return consumeByteString().toStringUtf8(); in consumeString()
1827 return unescapeBytes(input).toStringUtf8();
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DByteStringMicro.java166 public String toStringUtf8() { in toStringUtf8() method in ByteStringMicro
/external/protobuf/java/src/test/java/com/google/protobuf/
DMicroTest.java549 assertEquals("hello", msg.getOptionalBytes().toStringUtf8()); in testMicroOptionalBytes()
567 assertEquals("bye", newMsg.getOptionalBytes().toStringUtf8()); in testMicroOptionalBytes()
1566 assertEquals("hello", msg.getRepeatedBytes(0).toStringUtf8()); in testMicroRepeatedBytes()
1569 assertEquals("hello", msg.getRepeatedBytes(0).toStringUtf8()); in testMicroRepeatedBytes()
1570 assertEquals("bye", msg.getRepeatedBytes(1).toStringUtf8()); in testMicroRepeatedBytes()
1573 assertEquals("boo", msg.getRepeatedBytes(0).toStringUtf8()); in testMicroRepeatedBytes()
1574 assertEquals("bye", msg.getRepeatedBytes(1).toStringUtf8()); in testMicroRepeatedBytes()
1580 assertEquals("hello", msg.getRepeatedBytes(0).toStringUtf8()); in testMicroRepeatedBytes()
1588 assertEquals("", msg.getRepeatedBytes(0).toStringUtf8()); in testMicroRepeatedBytes()
1596 assertEquals("", newMsg.getRepeatedBytes(0).toStringUtf8()); in testMicroRepeatedBytes()
[all …]
DWireFormatTest.java385 assertEquals("bar", raw.getItem(2).getMessage().toStringUtf8()); in testSerializeMessageSetWithFlag()
448 assertEquals("bar", field.getLengthDelimitedList().get(0).toStringUtf8()); in testParseMessageSetWithFlag()
DByteStringTest.java406 testString, byteString.toStringUtf8()); in testToStringUtf8()
DTestUtil.java4029 return readBytesFromFile(filePath).toStringUtf8(); in readTextFromFile()