LiteralByteString 47 third_party/protobuf/java/src/main/java/com/google/protobuf/BoundedByteString.java class BoundedByteString extends LiteralByteString { LiteralByteString 81 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static final ByteString EMPTY = new LiteralByteString(new byte[0]); LiteralByteString 194 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return new LiteralByteString(copy); LiteralByteString 218 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return new LiteralByteString(copy); LiteralByteString 243 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return new LiteralByteString(text.getBytes(charsetName)); LiteralByteString 255 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return new LiteralByteString(text.getBytes("UTF-8")); LiteralByteString 846 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java flushedBuffers.add(new LiteralByteString(buffer)); LiteralByteString 865 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java flushedBuffers.add(new LiteralByteString(bufferCopy)); LiteralByteString 870 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java flushedBuffers.add(new LiteralByteString(buffer)); LiteralByteString 917 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return new LiteralByteString(buffer); LiteralByteString 185 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java if (other instanceof LiteralByteString) { LiteralByteString 186 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java return equalsRange((LiteralByteString) other, 0, size()); LiteralByteString 205 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java boolean equalsRange(LiteralByteString other, int offset, int length) { LiteralByteString 212 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private static LiteralByteString concatenateBytes(ByteString left, LiteralByteString 219 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return new LiteralByteString(bytes); // Constructor wraps bytes LiteralByteString 392 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java LiteralByteString byteString = pieces.next(); LiteralByteString 480 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java Iterator<LiteralByteString> thisIter = new PieceIterator(this); LiteralByteString 481 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java LiteralByteString thisString = thisIter.next(); LiteralByteString 484 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java Iterator<LiteralByteString> thatIter = new PieceIterator(other); LiteralByteString 485 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java LiteralByteString thatString = thatIter.next(); LiteralByteString 702 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private static class PieceIterator implements Iterator<LiteralByteString> { LiteralByteString 706 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private LiteralByteString next; LiteralByteString 712 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private LiteralByteString getLeafByLeft(ByteString root) { LiteralByteString 719 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java return (LiteralByteString) pos; LiteralByteString 722 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private LiteralByteString getNextNonEmptyLeaf() { LiteralByteString 729 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java LiteralByteString result = getLeafByLeft(breadCrumbs.pop().right); LiteralByteString 746 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java public LiteralByteString next() { LiteralByteString 750 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java LiteralByteString result = next; LiteralByteString 809 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private LiteralByteString currentPiece; LiteralByteString 59 third_party/protobuf/java/src/test/java/com/google/protobuf/BoundedByteStringTest.java LiteralByteString unicode = new LiteralByteString(testString.getBytes(UTF_8)); LiteralByteString 656 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java duo.substring(i - 1, i) instanceof LiteralByteString); LiteralByteString 660 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java quintet.substring(i - 1, i) instanceof LiteralByteString); LiteralByteString 294 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java LiteralByteString unicode = new LiteralByteString(testString.getBytes(UTF_8)); LiteralByteString 305 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java new LiteralByteString(new byte[]{}), stringUnderTest.substring(55, 55)); LiteralByteString 307 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java stringUnderTest, new LiteralByteString(referenceBytes)); LiteralByteString 313 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java stringUnderTest.equals(new LiteralByteString(mungedBytes)));