Searched refs:toStringUtf8 (Results 1 – 16 of 16) sorted by relevance
117 String s = bs.toStringUtf8(); in get()124 String s = Internal.toStringUtf8(ba); in get()278 return ((ByteString) o).toStringUtf8(); in asString()280 return Internal.toStringUtf8((byte[]) o); in asString()
190 public static String toStringUtf8(byte[] bytes) { in toStringUtf8() method in Internal
819 public final String toStringUtf8() { in toStringUtf8() method
1265 return consumeByteString().toStringUtf8(); in consumeString()2428 return unescapeBytes(input).toStringUtf8(); in unescapeText()
59 assertTrue(message.getFieldBytes().getValue().toStringUtf8().equals("233")); in testOf()
142 assertThat(lengthDelimited.get(0).toStringUtf8()).isEqualTo("some data"); in testClone_lengthDelimited()143 assertThat(lengthDelimited.get(1).toStringUtf8()).isEqualTo("some more data"); in testClone_lengthDelimited()149 assertThat(lengthDelimited2.get(0).toStringUtf8()).isEqualTo("some data"); in testClone_lengthDelimited()150 assertThat(lengthDelimited2.get(1).toStringUtf8()).isEqualTo("some more data"); in testClone_lengthDelimited()
330 assertEquals("bar", raw.getItem(2).getMessage().toStringUtf8()); in testSerializeMessageSetWithFlag()386 assertEquals("bar", field.getLengthDelimitedList().get(0).toStringUtf8()); in testParseMessageSetWithFlag()
486 "copyToStringUtf8 must respect the charset", testString, byteString.toStringUtf8()); in testToStringUtf8()
325 assertEquals("bar", raw.getItem(2).getMessage().toStringUtf8()); in testSerializeMessageSetWithFlag()
3761 return readBytesFromFile(filePath).toStringUtf8(); in readTextFromFile()
319 assertEquals("bar", raw.getItem(2).getMessage().toStringUtf8()); in testSerializeMessageSetWithFlag()382 assertEquals("bar", field.getLengthDelimitedList().get(0).toStringUtf8()); in testParseMessageSetWithFlag()
368 testString, byteString.toStringUtf8()); in testToStringUtf8()
2969 return readBytesFromFile(filePath).toStringUtf8(); in readTextFromFile()
209 java.lang.String s = bs.toStringUtf8(); in getDefaultString()537 java.lang.String s = bs.toStringUtf8(); in getDefaultString()
153 IRubyObject wrapped = runtime.newString(((ByteString) value).toStringUtf8()); in wrapPrimaryValue()