ByteString 620 crypto/openpgp_symmetric_encryption.cc static ByteString Encrypt(base::StringPiece plaintext, ByteString 622 crypto/openpgp_symmetric_encryption.cc ByteString key; ByteString 623 crypto/openpgp_symmetric_encryption.cc ByteString ske = SerializeSymmetricKeyEncrypted(passphrase, &key); ByteString 625 crypto/openpgp_symmetric_encryption.cc ByteString literal_data = SerializeLiteralData(plaintext); ByteString 626 crypto/openpgp_symmetric_encryption.cc ByteString se = SerializeSymmetricallyEncrypted(literal_data, key); ByteString 633 crypto/openpgp_symmetric_encryption.cc static ByteString MakePacket(unsigned tag, const ByteString& contents) { ByteString 634 crypto/openpgp_symmetric_encryption.cc ByteString header; ByteString 659 crypto/openpgp_symmetric_encryption.cc static ByteString SerializeLiteralData(base::StringPiece contents) { ByteString 660 crypto/openpgp_symmetric_encryption.cc ByteString literal_data; ByteString 667 crypto/openpgp_symmetric_encryption.cc literal_data += ByteString(reinterpret_cast<const uint8*>(contents.data()), ByteString 675 crypto/openpgp_symmetric_encryption.cc static ByteString SerializeSymmetricKeyEncrypted(base::StringPiece passphrase, ByteString 676 crypto/openpgp_symmetric_encryption.cc ByteString *out_key) { ByteString 677 crypto/openpgp_symmetric_encryption.cc ByteString ske; ByteString 685 crypto/openpgp_symmetric_encryption.cc ByteString salt(sizeof(salt64), 0); ByteString 688 crypto/openpgp_symmetric_encryption.cc ske += ByteString(reinterpret_cast<uint8*>(&salt64), sizeof(salt64)); ByteString 696 crypto/openpgp_symmetric_encryption.cc *out_key = ByteString(key, sizeof(key)); ByteString 703 crypto/openpgp_symmetric_encryption.cc static ByteString SerializeSymmetricallyEncrypted(ByteString plaintext, ByteString 704 crypto/openpgp_symmetric_encryption.cc const ByteString& key) { ByteString 709 crypto/openpgp_symmetric_encryption.cc ByteString packet; ByteString 729 crypto/openpgp_symmetric_encryption.cc packet += ByteString(prefix, sizeof(prefix)); ByteString 731 crypto/openpgp_symmetric_encryption.cc ByteString plaintext_copy = plaintext; ByteString 745 crypto/openpgp_symmetric_encryption.cc plaintext_copy += ByteString(digest, sizeof(digest)); ByteString 790 crypto/openpgp_symmetric_encryption.cc Encrypter::ByteString b = ByteString 620 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java ByteString rawBytes = null; // If we encounter "message" before "typeId" ByteString 709 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java ByteString rawBytes, ByteString 859 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java public BuilderType mergeFrom(final ByteString data) ByteString 866 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final ByteString data, ByteString 47 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java public ByteString toByteString() { ByteString 49 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final ByteString.CodedBuilder out = ByteString 50 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java ByteString.newCodedBuilder(getSerializedSize()); ByteString 125 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java public BuilderType mergeFrom(final ByteString data) ByteString 142 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final ByteString data, ByteString 98 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parsePartialFrom(ByteString data, ByteString 120 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parsePartialFrom(ByteString data) ByteString 125 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parseFrom(ByteString data, ByteString 131 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parseFrom(ByteString data) ByteString 81 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static final ByteString EMPTY = new LiteralByteString(new byte[0]); ByteString 150 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public ByteString substring(int beginIndex) { ByteString 164 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public abstract ByteString substring(int beginIndex, int endIndex); ByteString 175 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public boolean startsWith(ByteString prefix) { ByteString 191 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(byte[] bytes, int offset, int size) { ByteString 203 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(byte[] bytes) { ByteString 215 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(ByteBuffer bytes, int size) { ByteString 228 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(ByteBuffer bytes) { ByteString 241 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(String text, String charsetName) ByteString 253 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFromUtf8(String text) { ByteString 285 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString readFrom(InputStream streamToDrain) ByteString 314 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString readFrom(InputStream streamToDrain, int chunkSize) ByteString 320 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString readFrom(InputStream streamToDrain, int minChunkSize, ByteString 322 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java Collection<ByteString> results = new ArrayList<ByteString>(); ByteString 328 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java ByteString chunk = readChunk(streamToDrain, chunkSize); ByteString 336 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return ByteString.copyFrom(results); ByteString 349 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java private static ByteString readChunk(InputStream in, final int chunkSize) ByteString 364 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return ByteString.copyFrom(buf, 0, bytesRead); ByteString 381 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public ByteString concat(ByteString other) { ByteString 404 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(Iterable<ByteString> byteStrings) { ByteString 405 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java Collection<ByteString> collection; ByteString 407 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java collection = new ArrayList<ByteString>(); ByteString 408 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java for (ByteString byteString : byteStrings) { ByteString 412 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java collection = (Collection<ByteString>) byteStrings; ByteString 414 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java ByteString result; ByteString 426 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java private static ByteString balancedConcat(Iterator<ByteString> iterator, ByteString 429 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java ByteString result; ByteString 434 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java ByteString left = balancedConcat(iterator, halfLength); ByteString 435 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java ByteString right = balancedConcat(iterator, length - halfLength); ByteString 717 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java private final ArrayList<ByteString> flushedBuffers; ByteString 736 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java this.flushedBuffers = new ArrayList<ByteString>(); ByteString 774 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public synchronized ByteString toByteString() { ByteString 776 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return ByteString.copyFrom(flushedBuffers); ByteString 796 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java ByteString[] cachedFlushBuffers; ByteString 803 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java flushedBuffers.toArray(new ByteString[flushedBuffers.size()]); ByteString 807 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java for (ByteString byteString : cachedFlushBuffers) { ByteString 911 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public ByteString build() { ByteString 317 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java public ByteString readBytes() throws IOException { ByteString 320 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java return ByteString.EMPTY; ByteString 324 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java final ByteString result = ByteString.copyFrom(buffer, bufferPos, size); ByteString 329 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java return ByteString.copyFrom(readRawBytes(size)); ByteString 226 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java public void writeBytes(final int fieldNumber, final ByteString value) ByteString 295 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java final ByteString value) ByteString 384 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java public void writeBytesNoTag(final ByteString value) throws IOException { ByteString 538 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java final ByteString value) { ByteString 620 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java final int fieldNumber, final ByteString value) { ByteString 766 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java public static int computeBytesSizeNoTag(final ByteString value) { ByteString 904 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java public void writeRawBytes(final ByteString value) throws IOException { ByteString 945 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java public void writeRawBytes(final ByteString value, int offset, int length) ByteString 896 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java BYTE_STRING(ByteString.EMPTY), ByteString 89 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public static DynamicMessage parseFrom(Descriptor type, ByteString data) ByteString 95 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public static DynamicMessage parseFrom(Descriptor type, ByteString data, ByteString 379 third_party/protobuf/java/src/main/java/com/google/protobuf/FieldSet.java case BYTE_STRING: isValid = value instanceof ByteString; break; ByteString 666 third_party/protobuf/java/src/main/java/com/google/protobuf/FieldSet.java case BYTES : output.writeBytesNoTag ((ByteString ) value); break; ByteString 811 third_party/protobuf/java/src/main/java/com/google/protobuf/FieldSet.java case BYTES : return CodedOutputStream.computeBytesSizeNoTag ((ByteString )value); ByteString 91 third_party/protobuf/java/src/main/java/com/google/protobuf/Internal.java public static ByteString bytesDefaultValue(String bytes) { ByteString 93 third_party/protobuf/java/src/main/java/com/google/protobuf/Internal.java return ByteString.copyFrom(bytes.getBytes("ISO-8859-1")); ByteString 130 third_party/protobuf/java/src/main/java/com/google/protobuf/Internal.java public static boolean isValidUtf8(ByteString byteString) { ByteString 55 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java private ByteString bytes; ByteString 60 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java ExtensionRegistryLite extensionRegistry, ByteString bytes) { ByteString 95 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java public ByteString toByteString() { ByteString 91 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java ByteString bs = (ByteString) o; ByteString 150 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java public void add(ByteString element) { ByteString 156 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java public ByteString getByteString(int index) { ByteString 159 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java ByteString b = ByteString.copyFromUtf8((String) o); ByteString 163 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java return (ByteString) o; ByteString 171 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java return ((ByteString) o).toStringUtf8(); ByteString 61 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringList.java ByteString getByteString(int index); ByteString 71 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringList.java void add(ByteString element); ByteString 52 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java class LiteralByteString extends ByteString { ByteString 83 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java public ByteString substring(int beginIndex, int endIndex) { ByteString 99 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java ByteString result; ByteString 101 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java result = ByteString.EMPTY; ByteString 174 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java if (!(other instanceof ByteString)) { ByteString 178 third_party/protobuf/java/src/main/java/com/google/protobuf/LiteralByteString.java if (size() != ((ByteString) other).size()) { ByteString 214 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; ByteString 215 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder mergeFrom(ByteString data, ByteString 96 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java ByteString toByteString(); ByteString 217 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Builder mergeFrom(ByteString data) throws InvalidProtocolBufferException; ByteString 226 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Builder mergeFrom(ByteString data, ByteString 86 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parseFrom(ByteString data) ByteString 94 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parseFrom(ByteString data, ByteString 103 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parsePartialFrom(ByteString data) ByteString 111 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parsePartialFrom(ByteString data, ByteString 70 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java class RopeByteString extends ByteString { ByteString 115 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private final ByteString left; ByteString 116 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private final ByteString right; ByteString 129 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private RopeByteString(ByteString left, ByteString right) { ByteString 151 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java static ByteString concatenate(ByteString left, ByteString right) { ByteString 152 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString result; ByteString 161 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java if (newLength < ByteString.CONCATENATE_BY_COPY_SIZE) { ByteString 177 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString newRight = concatenateBytes(leftRope.right, right); ByteString 187 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString newRight = new RopeByteString(leftRope.right, right); ByteString 212 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private static LiteralByteString concatenateBytes(ByteString left, ByteString 213 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString right) { ByteString 233 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java static RopeByteString newInstanceForTest(ByteString left, ByteString right) { ByteString 309 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java public ByteString substring(int beginIndex, int endIndex) { ByteString 325 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString result; ByteString 328 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java result = ByteString.EMPTY; ByteString 343 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString leftSub = left.substring(beginIndex); ByteString 344 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString rightSub = right.substring(0, endIndex - leftLength); ByteString 442 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java if (!(other instanceof ByteString)) { ByteString 446 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString otherByteString = (ByteString) other; ByteString 478 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private boolean equalsFragments(ByteString other) { ByteString 592 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private final Stack<ByteString> prefixesStack = new Stack<ByteString>(); ByteString 594 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private ByteString balance(ByteString left, ByteString right) { ByteString 599 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString partialString = prefixesStack.pop(); ByteString 601 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString newLeft = prefixesStack.pop(); ByteString 609 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private void doBalance(ByteString root) { ByteString 641 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private void insert(ByteString byteString) { ByteString 655 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString newTree = prefixesStack.pop(); ByteString 658 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString left = prefixesStack.pop(); ByteString 670 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString left = prefixesStack.pop(); ByteString 708 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private PieceIterator(ByteString root) { ByteString 712 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private LiteralByteString getLeafByLeft(ByteString root) { ByteString 713 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java ByteString pos = root; ByteString 768 third_party/protobuf/java/src/main/java/com/google/protobuf/RopeByteString.java private class RopeByteIterator implements ByteString.ByteIterator { ByteString 236 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java generator.print(escapeBytes((ByteString) value)); ByteString 394 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java generator.print(escapeBytes((ByteString) value)); ByteString 868 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java public ByteString consumeByteString() throws ParseException { ByteString 869 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java List<ByteString> list = new ArrayList<ByteString>(); ByteString 874 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return ByteString.copyFrom(list); ByteString 883 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private void consumeByteString(List<ByteString> list) throws ParseException { ByteString 898 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final ByteString result = unescapeBytes(escaped); ByteString 1257 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java static String escapeBytes(final ByteString input) { ByteString 1296 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java static ByteString unescapeBytes(final CharSequence charString) ByteString 1299 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java ByteString input = ByteString.copyFromUtf8(charString.toString()); ByteString 1372 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return ByteString.copyFrom(result, 0, pos); ByteString 1393 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return escapeBytes(ByteString.copyFromUtf8(input)); ByteString 148 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public ByteString toByteString() { ByteString 150 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java final ByteString.CodedBuilder out = ByteString 151 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java ByteString.newCodedBuilder(getSerializedSize()); ByteString 243 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public static UnknownFieldSet parseFrom(final ByteString data) ByteString 507 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public Builder mergeFrom(final ByteString data) ByteString 583 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java ByteString data, ByteString 688 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public List<ByteString> getLengthDelimitedList() { return lengthDelimited; } ByteString 742 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java for (final ByteString value : lengthDelimited) { ByteString 765 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java for (final ByteString value : lengthDelimited) { ByteString 782 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java for (final ByteString value : lengthDelimited) { ByteString 793 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java for (final ByteString value : lengthDelimited) { ByteString 803 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java private List<ByteString> lengthDelimited; ByteString 894 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java result.lengthDelimited = new ArrayList<ByteString>(); ByteString 935 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public Builder addLengthDelimited(final ByteString value) { ByteString 937 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java result.lengthDelimited = new ArrayList<ByteString>(); ByteString 65 third_party/protobuf/java/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java public ByteString getByteString(int index) { ByteString 70 third_party/protobuf/java/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java public void add(ByteString element) { ByteString 84 third_party/protobuf/java/src/main/java/com/google/protobuf/WireFormat.java BYTE_STRING(ByteString.EMPTY), ByteString 234 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java ByteString bytes = builder.buildPartial().toByteString(); ByteString 50 third_party/protobuf/java/src/test/java/com/google/protobuf/BoundedByteStringTest.java stringUnderTest = ByteString.copyFrom(sourceBytes).substring(from, to); ByteString 60 third_party/protobuf/java/src/test/java/com/google/protobuf/BoundedByteStringTest.java ByteString chopped = unicode.substring(2, unicode.size() - 6); ByteString 33 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java import com.google.protobuf.ByteString.Output; ByteString 91 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString substring = ByteString.copyFrom(bytes).substring(500); ByteString 98 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(bytes, 500, 200); ByteString 105 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(bytes); ByteString 115 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(byteBuffer, 200); ByteString 125 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(byteBuffer); ByteString 132 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(testString, UTF_16); ByteString 140 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFromUtf8(testString); ByteString 148 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java final List<ByteString> pieces = makeConcretePieces(testBytes); ByteString 150 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(pieces); ByteString 154 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteStringAlt = ByteString.copyFrom(new Iterable<ByteString>() { ByteString 155 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java public Iterator<ByteString> iterator() { ByteString 165 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(bytes); ByteString 173 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString 174 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.readFrom(new ByteArrayInputStream(new byte[0])); ByteString 176 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java + "byte string", ByteString.EMPTY, byteString); ByteString 186 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.readFrom(eis); ByteString 201 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFrom(getTestBytes(ByteString.CONCATENATE_BY_COPY_SIZE - 1)); ByteString 202 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFrom(getTestBytes(ByteString.CONCATENATE_BY_COPY_SIZE)); ByteString 203 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertReadFrom(getTestBytes(ByteString.CONCATENATE_BY_COPY_SIZE + 1)); ByteString 222 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java final int min = ByteString.MIN_READ_FROM_CHUNK_SIZE; ByteString 223 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java final int max = ByteString.MAX_READ_FROM_CHUNK_SIZE; ByteString 253 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.readFrom(new FailStream()); ByteString 267 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.readFrom(new ReluctantStream(data)); ByteString 285 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString b = ByteString.readFrom(new ReluctantStream(bytes), chunkSize); ByteString 295 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.readFrom(new AvailableStream(data)); ByteString 302 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString 303 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.readFrom(new ByteArrayInputStream(bytes)); ByteString 403 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.copyFrom(testBytes); ByteString 410 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.Output output = ByteString.newOutput(bytes.length + 100); ByteString 412 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = output.toByteString(); ByteString 430 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.Output output = ByteString.newOutput(bufferSize); ByteString 434 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = output.toByteString(); ByteString 450 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.Output output = ByteString.newOutput(bufferSize); ByteString 454 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = output.toByteString(); ByteString 473 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.Output output = ByteString.newOutput(bufferSize); ByteString 489 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = output.toByteString(); ByteString 497 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = ByteString.newOutput().toByteString(); ByteString 498 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertEquals(ByteString.EMPTY, byteString); ByteString 502 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java Output os = ByteString.newOutput(5); ByteString 507 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = os.toByteString(); ByteString 517 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.CodedBuilder builder = ByteString.newCodedBuilder(bytes.length); ByteString 519 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString byteString = builder.build(); ByteString 528 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString concreteSubstring = ByteString.copyFrom(bigBytes).substring(start, end); ByteString 535 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString literalString = ByteString.copyFrom(bigBytes, start, end - start); ByteString 545 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java List<ByteString> pieces = makeConcretePieces(referenceBytes); ByteString 546 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString listString = ByteString.copyFrom(pieces); ByteString 550 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString compositeSubstring = listString.substring(from, to); ByteString 564 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString literalSubstring = ByteString.copyFrom(referenceBytes, from, to - from); ByteString 579 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString literalString = ByteString.copyFrom(referenceBytes); ByteString 581 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java List<ByteString> pieces = makeConcretePieces(referenceBytes); ByteString 582 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString listString = ByteString.copyFrom(pieces); ByteString 592 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString literalString = ByteString.copyFrom(referenceBytes); ByteString 594 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java List<ByteString> pieces = makeConcretePieces(referenceBytes); ByteString 596 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java Iterator<ByteString> iter = pieces.iterator(); ByteString 597 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString concatenatedString = iter.next(); ByteString 614 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString literalString = ByteString.copyFrom(referenceBytes); ByteString 616 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString duo = RopeByteString.newInstanceForTest(literalString, literalString); ByteString 617 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString temp = RopeByteString.newInstanceForTest( ByteString 618 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java RopeByteString.newInstanceForTest(literalString, ByteString.EMPTY), ByteString 619 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java RopeByteString.newInstanceForTest(ByteString.EMPTY, literalString)); ByteString 620 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString quintet = RopeByteString.newInstanceForTest(temp, ByteString.EMPTY); ByteString 627 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.ByteIterator duoIter = duo.iterator(); ByteString 628 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString.ByteIterator quintetIter = quintet.iterator(); ByteString 666 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString string = ByteString.copyFrom(bytes); ByteString 667 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString prefix = ByteString.copyFrom(bytes, 0, 500); ByteString 668 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java ByteString suffix = ByteString.copyFrom(bytes, 400, 600); ByteString 669 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertTrue(string.startsWith(ByteString.EMPTY)); ByteString 675 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertFalse(ByteString.EMPTY.startsWith(prefix)); ByteString 676 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java assertTrue(ByteString.EMPTY.startsWith(ByteString.EMPTY)); ByteString 679 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java static List<ByteString> makeConcretePieces(byte[] referenceBytes) { ByteString 680 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java List<ByteString> pieces = new ArrayList<ByteString>(); ByteString 688 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java pieces.add(ByteString.copyFrom(referenceBytes, start, length)); ByteString 359 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java builder.setOptionalBytes(ByteString.copyFrom(blob)); ByteString 378 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java ByteString.Output rawOutput = ByteString.newOutput(); ByteString 418 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java ByteString data64 = makeRecursiveMessage(64).toByteString(); ByteString 419 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java ByteString data65 = makeRecursiveMessage(65).toByteString(); ByteString 487 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java ByteString.Output rawOutput = ByteString.newOutput(); ByteString 284 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java ByteString.copyFrom( ByteString 168 third_party/protobuf/java/src/test/java/com/google/protobuf/DynamicMessageTest.java ByteString rawBytes = message.toByteString(); ByteString 182 third_party/protobuf/java/src/test/java/com/google/protobuf/DynamicMessageTest.java ByteString rawBytes = message.toByteString(); ByteString 194 third_party/protobuf/java/src/test/java/com/google/protobuf/DynamicMessageTest.java ByteString rawBytes = TestUtil.getAllExtensionsSet().toByteString(); ByteString 212 third_party/protobuf/java/src/test/java/com/google/protobuf/DynamicMessageTest.java ByteString rawBytes = message.toByteString(); ByteString 226 third_party/protobuf/java/src/test/java/com/google/protobuf/DynamicMessageTest.java ByteString rawBytes = message.toByteString(); ByteString 135 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java private ByteString toByteString(int... bytes) { ByteString 136 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java return ByteString.copyFrom(toByteArray(bytes)); ByteString 143 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java ByteString lit = ByteString.copyFrom(realBytes); ByteString 144 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java ByteString sub = lit.substring(0, bytes.length); ByteString 147 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java ByteString[] ropes = { ByteString 148 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java RopeByteString.newInstanceForTest(ByteString.EMPTY, lit), ByteString 149 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java RopeByteString.newInstanceForTest(ByteString.EMPTY, sub), ByteString 150 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java RopeByteString.newInstanceForTest(lit, ByteString.EMPTY), ByteString 151 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java RopeByteString.newInstanceForTest(sub, ByteString.EMPTY), ByteString 154 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java for (ByteString rope : ropes) { ByteString 167 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java private static ByteString asBytes(String s) { ByteString 168 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java return ByteString.copyFromUtf8(s); ByteString 221 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java ByteString bs = ByteString.copyFrom(bytes); ByteString 253 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java ByteString rope = RopeByteString.newInstanceForTest( ByteString 260 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java ByteString[] byteStrings = { bs, bs.substring(0, numBytes), rope }; ByteString 261 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java for (ByteString x : byteStrings) { ByteString 283 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java ByteString ropeADope = ByteString 351 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java boolean isRoundTrippable = ByteString.copyFrom(bytes).isValidUtf8(); ByteString 49 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java private static ByteString BYTE_STRING_A = ByteString.copyFromUtf8("A"); ByteString 50 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java private static ByteString BYTE_STRING_B = ByteString.copyFromUtf8("B"); ByteString 51 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java private static ByteString BYTE_STRING_C = ByteString.copyFromUtf8("C"); ByteString 111 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java ByteString aPrimeByteString = list.getByteString(0); ByteString 113 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringArrayListTest.java ByteString bPrimeByteString = list.getByteString(1); ByteString 48 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java private static ByteString TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8 = ByteString 49 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java ByteString.copyFrom(new byte[] { ByteString 53 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java private ByteString encodedTestAllTypes; ByteString 73 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java ByteString bytes = tV2.toByteString(); ByteString 90 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java ByteString.copyFrom(sink)); ByteString 132 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java ByteString optional = proto.getOptionalStringBytes(); ByteString 136 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java ByteString repeated0 = proto.getRepeatedStringBytes(0); ByteString 137 third_party/protobuf/java/src/test/java/com/google/protobuf/LazyStringEndToEndTest.java ByteString repeated1 = proto.getRepeatedStringBytes(1); ByteString 78 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteTest.java ByteString data = message.toByteString(); ByteString 57 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java protected ByteString stringUnderTest; ByteString 64 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java stringUnderTest = ByteString.copyFrom(referenceBytes); ByteString 89 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java ByteString.ByteIterator iter = stringUnderTest.iterator(); ByteString 272 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java ByteString.Output output = ByteString.newOutput(); ByteString 288 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java ByteString.EMPTY, output.toByteString()); ByteString 303 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java stringUnderTest.equals(ByteString.EMPTY)); ByteString 392 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java stringUnderTest.concat(ByteString.EMPTY), stringUnderTest); ByteString 394 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java ByteString.EMPTY.concat(stringUnderTest), stringUnderTest); ByteString 255 third_party/protobuf/java/src/test/java/com/google/protobuf/MessageTest.java TestRequired.parseFrom(ByteString.EMPTY); ByteString 263 third_party/protobuf/java/src/test/java/com/google/protobuf/MessageTest.java ByteString data = ByteString 309 third_party/protobuf/java/src/test/java/com/google/protobuf/MessageTest.java DynamicMessage.parseFrom(descriptor, ByteString.EMPTY); ByteString 282 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java ByteString data = TestParsingMerge.RepeatedFieldsGenerator.newBuilder() ByteString 345 third_party/protobuf/java/src/test/java/com/google/protobuf/ParserTest.java ByteString data = TestParsingMergeLite.RepeatedFieldsGenerator.newBuilder() ByteString 48 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java Iterator<ByteString> iter = ByteStringTest.makeConcretePieces(sourceBytes).iterator(); ByteString 49 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java ByteString sourceString = iter.next(); ByteString 71 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); ByteString 76 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java ByteString unicode = ByteString.EMPTY; ByteString 92 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java ByteString flatString = ByteString.copyFromUtf8(testString); ByteString 52 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringTest.java Iterator<ByteString> iter = ByteStringTest.makeConcretePieces(referenceBytes).iterator(); ByteString 72 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringTest.java ByteString concatenated = ByteString.EMPTY; ByteString 74 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringTest.java concatenated = concatenated.concat(ByteString.copyFrom(testBytes, i * pieceSize, pieceSize)); ByteString 81 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringTest.java ByteString testString = ByteString.copyFrom(testBytes); ByteString 93 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringTest.java ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); ByteString 98 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringTest.java ByteString unicode = ByteString.EMPTY; ByteString 110 third_party/protobuf/java/src/test/java/com/google/protobuf/RopeByteStringTest.java ByteString flatString = ByteString.copyFromUtf8(testString); ByteString 267 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java static ByteString toBytes(String str) { ByteString 269 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java return ByteString.copyFrom(str.getBytes("UTF-8")); ByteString 774 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java Assert.assertEquals(ByteString.EMPTY, message.getOptionalBytes()); ByteString 1170 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java private static void assertEqualsExactType(ByteString a, ByteString b) { ByteString 1678 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java assertEqualsExactType(ByteString.EMPTY, message.getExtension(optionalBytesExtension)); ByteString 2457 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java assertEqualsExactType(ByteString.EMPTY, message.getExtension(optionalBytesExtensionLite)); ByteString 3429 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java Assert.assertEquals(ByteString.EMPTY, message.getField(f("optional_bytes"))); ByteString 3889 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java public static ByteString readBytesFromFile(String filename) { ByteString 3895 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java return ByteString.copyFrom(content); ByteString 3911 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java public static ByteString getGoldenMessage() { ByteString 3917 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java private static ByteString goldenMessage = null; ByteString 3927 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java public static ByteString getGoldenPackedFieldsMessage() { ByteString 3934 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java private static ByteString goldenPackedFieldsMessage = null; ByteString 156 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java .addLengthDelimited(ByteString.copyFromUtf8("4")) ByteString 226 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java private ByteString bytes(String str) throws Exception { ByteString 227 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java return ByteString.copyFrom(str.getBytes("ISO-8859-1")); ByteString 235 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java private ByteString bytes(int... bytesAsInts) { ByteString 240 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java return ByteString.copyFrom(bytes); ByteString 509 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java ByteString zhByteString = ByteString.copyFromUtf8(zh); ByteString 734 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java ByteString.copyFrom(new byte[] {1, 2, 3}), "repeated_bytes"); ByteString 67 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString getBizarroData() throws Exception { ByteString 91 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString allFieldsData; ByteString 150 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString data = emptyMessage.toByteString(); ByteString 217 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString data = fields.toByteString(); ByteString 233 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString bizarroData = getBizarroData(); ByteString 258 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString bizarroData = getBizarroData(); ByteString 277 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString data = ByteString 331 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java ByteString data = ByteString 360 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java .addLengthDelimited(ByteString.EMPTY) ByteString 49 third_party/protobuf/java/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java private static ByteString BYTE_STRING_A = ByteString.copyFromUtf8("A"); ByteString 50 third_party/protobuf/java/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java private static ByteString BYTE_STRING_B = ByteString.copyFromUtf8("B"); ByteString 51 third_party/protobuf/java/src/test/java/com/google/protobuf/UnmodifiableLazyStringListTest.java private static ByteString BYTE_STRING_C = ByteString.copyFromUtf8("C"); ByteString 61 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes = message.toByteString(); ByteString 72 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes = message.toByteString(); ByteString 86 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes = message.toByteString(); ByteString 98 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes = message.toByteString(); ByteString 101 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes2 = message2.toByteString(); ByteString 134 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes = message.toByteString(); ByteString 146 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes = message.toByteString(); ByteString 149 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes2 = message2.toByteString(); ByteString 160 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes = message.toByteString(); ByteString 173 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes = message.toByteString(); ByteString 189 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes = message.toByteString(); ByteString 210 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString rawBytes = message.toByteString(); ByteString 244 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java private void assertFieldsInOrder(ByteString data) throws Exception { ByteString 263 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = ByteString 274 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString dynamic_data = ByteString 356 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java .addLengthDelimited(ByteString.copyFromUtf8("bar")) ByteString 361 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = messageSet.toByteString(); ByteString 423 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java .setMessage(ByteString.copyFromUtf8("bar")) ByteString 427 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = raw.toByteString(); ByteString 479 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = raw.toByteString(); ByteString 518 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = raw.toByteString(); ByteString 561 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString.CodedBuilder out = ByteString.newCodedBuilder( ByteString 572 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java ByteString data = out.build();