/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
D | MessageNano.java | 41 public abstract class MessageNano { class 93 public abstract MessageNano mergeFrom(CodedInputByteBufferNano input) throws IOException; in mergeFrom() 99 public static final byte[] toByteArray(MessageNano msg) { in toByteArray() 113 public static final void toByteArray(MessageNano msg, byte[] data, int offset, int length) { in toByteArray() 129 public static final <T extends MessageNano> T mergeFrom(T msg, final byte[] data) in mergeFrom() 138 public static final <T extends MessageNano> T mergeFrom(T msg, final byte[] data, in mergeFrom() 158 public static final boolean messageNanoEquals(MessageNano a, MessageNano b) { in messageNanoEquals() 195 public MessageNano clone() throws CloneNotSupportedException { in clone() 196 return (MessageNano) super.clone(); in clone()
|
D | FieldData.java | 206 } else if (value instanceof MessageNano) { in clone() 207 clone.value = ((MessageNano) value).clone(); in clone() 227 } else if (value instanceof MessageNano[]) { in clone() 228 MessageNano[] valueArray = (MessageNano[]) value; in clone() 229 MessageNano[] cloneArray = new MessageNano[valueArray.length]; in clone()
|
D | Extension.java | 85 public static <M extends ExtendableMessageNano<M>, T extends MessageNano> 101 public static <M extends ExtendableMessageNano<M>, T extends MessageNano> 112 public static <M extends ExtendableMessageNano<M>, T extends MessageNano> 226 MessageNano group = (MessageNano) messageType.newInstance(); in readData() 230 MessageNano message = (MessageNano) messageType.newInstance(); in readData() 266 MessageNano groupValue = (MessageNano) value; in writeSingularData() 273 MessageNano messageValue = (MessageNano) value; in writeSingularData() 322 MessageNano groupValue = (MessageNano) value; in computeSingularSerializedSize() 325 MessageNano messageValue = (MessageNano) value; in computeSingularSerializedSize()
|
D | CodedOutputByteBufferNano.java | 156 public void writeGroup(final int fieldNumber, final MessageNano value) in writeGroup() 164 public void writeMessage(final int fieldNumber, final MessageNano value) in writeMessage() 513 public void writeGroupNoTag(final MessageNano value) throws IOException { in writeGroupNoTag() 518 public void writeMessageNoTag(final MessageNano value) throws IOException { in writeMessageNoTag() 653 final MessageNano value) { in computeGroupSize() 662 final MessageNano value) { in computeMessageSize() 843 public static int computeGroupSizeNoTag(final MessageNano value) { in computeGroupSizeNoTag() 851 public static int computeMessageSizeNoTag(final MessageNano value) { in computeMessageSizeNoTag() 1158 return computeMessageSize(number, (MessageNano) object); in computeFieldSize() 1160 return computeGroupSize(number, (MessageNano) object); in computeFieldSize() [all …]
|
D | MessageNanoPrinter.java | 61 public static <T extends MessageNano> String print(T message) { in print() 97 } else if (object instanceof MessageNano) { // Nano proto message in print()
|
D | CodedInputByteBufferNano.java | 203 public void readGroup(final MessageNano msg, final int fieldNumber) in readGroup() 215 public void readMessage(final MessageNano msg) in readMessage()
|
D | ExtendableMessageNano.java | 40 extends MessageNano {
|
D | InternalNano.java | 413 input.readMessage((MessageNano) value); in mergeMapEntry()
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 87 byte [] result = MessageNano.toByteArray(msg); in testSimpleMessageNano() 126 byte [] result = MessageNano.toByteArray(msg); in testRecursiveMessageNano() 144 assertEquals(0, MessageNano.toByteArray(msg).length); in testMessageNoFields() 156 byte [] result = MessageNano.toByteArray(msg); in testNanoRequiredInt32() 176 byte [] result = MessageNano.toByteArray(msg); in testNanoOptionalInt32() 197 byte [] result = MessageNano.toByteArray(msg); in testNanoOptionalInt64() 218 byte [] result = MessageNano.toByteArray(msg); in testNanoOptionalUint32() 239 byte [] result = MessageNano.toByteArray(msg); in testNanoOptionalUint64() 260 byte [] result = MessageNano.toByteArray(msg); in testNanoOptionalSint32() 281 byte [] result = MessageNano.toByteArray(msg); in testNanoOptionalSint64() [all …]
|
/external/protobuf/javanano/src/device/main/java/com/google/protobuf/nano/android/ |
D | ParcelableMessageNanoCreator.java | 38 import com.google.protobuf.nano.MessageNano; 43 public final class ParcelableMessageNanoCreator<T extends MessageNano> 65 .asSubclass(MessageNano.class); in createFromParcel() 68 MessageNano.mergeFrom(proto, data); in createFromParcel() 92 static <T extends MessageNano> void writeToParcel(Class<T> clazz, MessageNano message, in writeToParcel() 95 out.writeByteArray(MessageNano.toByteArray(message)); in writeToParcel()
|
D | ParcelableMessageNano.java | 36 import com.google.protobuf.nano.MessageNano; 41 public abstract class ParcelableMessageNano extends MessageNano implements Parcelable {
|
/external/grpc-grpc-java/protobuf-nano/src/main/java/io/grpc/protobuf/nano/ |
D | NanoProtoInputStream.java | 20 import com.google.protobuf.nano.MessageNano; 35 @Nullable private MessageNano message; 38 NanoProtoInputStream(MessageNano message) { in NanoProtoInputStream() 44 partial = new ByteArrayInputStream(MessageNano.toByteArray(message)); in toPartial()
|
D | NanoUtils.java | 22 import com.google.protobuf.nano.MessageNano; 42 public static <T extends MessageNano> Marshaller<T> marshaller(MessageNanoFactory<T> factory) { in marshaller() 46 private static final class MessageMarshaller<T extends MessageNano> implements Marshaller<T> {
|
D | MessageNanoFactory.java | 19 import com.google.protobuf.nano.MessageNano; 28 public interface MessageNanoFactory<T extends MessageNano> {
|
/external/grpc-grpc-java/protobuf-nano/src/generated/test/javanano/io/grpc/protobuf/nano/ |
D | Messages.java | 9 com.google.protobuf.nano.MessageNano { 127 return com.google.protobuf.nano.MessageNano.mergeFrom(new Message(), data); in parseFrom()
|
/external/grpc-grpc-java/protobuf-nano/src/test/java/io/grpc/protobuf/nano/ |
D | NanoUtilsTest.java | 26 import com.google.protobuf.nano.MessageNano; 59 assertTrue(MessageNano.messageNanoEquals(m, m2)); in testRoundTrip()
|
/external/grpc-grpc-java/compiler/src/testNano/golden/ |
D | TestDeprecatedService.java.txt | 64 private static final class NanoFactory<T extends com.google.protobuf.nano.MessageNano>
|
D | TestService.java.txt | 203 private static final class NanoFactory<T extends com.google.protobuf.nano.MessageNano>
|
/external/protobuf/javanano/ |
D | README.md | 102 MessageNano.
|
/external/protobuf/ |
D | Makefile.am | 360 javanano/src/main/java/com/google/protobuf/nano/MessageNano.java \
|
D | CHANGES.txt | 481 MessageNano.
|