Searched refs:MessageNano (Results 1 – 17 of 17) sorted by relevance
/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/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/ |
D | ProtobufWireAdapter.java | 37 import com.google.protobuf.nano.MessageNano; 148 private MessageNano readNextInnerMessage() in readNextInnerMessage() 204 private OuterMessage wrapInnerMessage(MessageNano message) in wrapInnerMessage() 230 outerMessage.payload = MessageNano.toByteArray(message); in wrapInnerMessage() 253 MessageNano pb = poloMessageToProto(message); in sendMessage() 282 private MessageNano poloMessageToProto(PoloMessage poloMessage) { in poloMessageToProto() 450 private PoloMessage protoToPoloMessage(MessageNano protoMessage) { in protoToPoloMessage()
|
/external/protobuf/javanano/ |
D | README.md | 102 MessageNano.
|
/external/protobuf/util/ |
D | Makefile.am | 360 javanano/src/main/java/com/google/protobuf/nano/MessageNano.java \
|
D | CHANGES.txt | 481 MessageNano.
|
/external/protobuf/ |
D | Makefile.am | 360 javanano/src/main/java/com/google/protobuf/nano/MessageNano.java \
|
D | CHANGES.txt | 481 MessageNano.
|