Home
last modified time | relevance | path

Searched refs:LeafByteString (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java377 LeafByteString byteString = pieces.next(); in asReadOnlyByteBufferList()
483 Iterator<LeafByteString> thisIter = new PieceIterator(this); in equalsFragments()
484 LeafByteString thisString = thisIter.next(); in equalsFragments()
487 Iterator<LeafByteString> thatIter = new PieceIterator(other); in equalsFragments()
488 LeafByteString thatString = thatIter.next(); in equalsFragments()
678 private static class PieceIterator implements Iterator<LeafByteString> {
682 private LeafByteString next;
688 private LeafByteString getLeafByLeft(ByteString root) { in getLeafByLeft()
695 return (LeafByteString) pos; in getLeafByLeft()
698 private LeafByteString getNextNonEmptyLeaf() { in getNextNonEmptyLeaf()
[all …]
DNioByteString.java48 final class NioByteString extends ByteString.LeafByteString {
DByteString.java812 abstract static class LeafByteString extends ByteString { class
1241 private static class LiteralByteString extends ByteString.LeafByteString {
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java659 duo.substring(i - 1, i) instanceof ByteString.LeafByteString); in testConcat_empty()
663 quintet.substring(i - 1, i) instanceof ByteString.LeafByteString); in testConcat_empty()