Home
last modified time | relevance | path

Searched refs:NioByteString (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DNioByteString.java48 final class NioByteString extends ByteString.LeafByteString { class
51 NioByteString(ByteBuffer buffer) { in NioByteString() method in NioByteString
98 return new NioByteString(slice); in substring()
200 if (other instanceof NioByteString) { in equals()
201 return buffer.equals(((NioByteString) other).buffer); in equals()
DUnsafeByteOperations.java61 return new NioByteString(buffer); in unsafeWrap()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DNioByteStringTest.java56 private static final ByteString EMPTY = new NioByteString(ByteBuffer.wrap(new byte[0]));
57 private static final String CLASSNAME = NioByteString.class.getSimpleName();
62 private final ByteString testString = new NioByteString(backingBuffer);
439 new NioByteString(ByteBuffer.wrap(new byte[0])).toString(UTF_8)); in testToString_returnsCanonicalEmptyString()
466 testString, new NioByteString(backingBuffer)); in testEquals()
470 testString.equals(new NioByteString(ByteBuffer.wrap(mungedBytes)))); in testEquals()
528 ByteString newString = new NioByteString(backingBuffer); in testPeekCachedHashCode()
618 return new NioByteString(ByteBuffer.wrap(str.getBytes(UTF_8))); in forString()
DIsValidUtf8TestUtil.java78 return new NioByteString(ByteBuffer.wrap(bytes));
103 return new NioByteString(buffer);
/external/protobuf/
DMakefile.am236 java/core/src/main/java/com/google/protobuf/NioByteString.java \
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...