Home
last modified time | relevance | path

Searched refs:MessageLite (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmessage_lite.cc49 string MessageLite::InitializationErrorString() const { in InitializationErrorString()
64 const MessageLite& message) { in ByteSizeConsistencyError()
76 const MessageLite& message) { in InitializationErrorMessage()
104 io::CodedInputStream* input, MessageLite* message);
106 io::CodedInputStream* input, MessageLite* message);
108 io::CodedInputStream* input, MessageLite* message);
110 const void* data, int size, MessageLite* message);
112 const void* data, int size, MessageLite* message);
115 MessageLite* message) { in InlineMergeFromCodedStream()
125 MessageLite* message) { in InlineParseFromCodedStream()
[all …]
Dmessage_lite.h81 class LIBPROTOBUF_EXPORT MessageLite {
83 inline MessageLite() {} in MessageLite() function
84 virtual ~MessageLite() {} in ~MessageLite()
93 virtual MessageLite* New() const = 0;
97 virtual MessageLite* New(::google::protobuf::Arena* arena) const;
133 virtual void CheckTypeAndMergeFrom(const MessageLite& other) = 0;
290 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageLite);
Dextension_set.h60 class MessageLite; // message_lite.h variable
109 const MessageLite* message_prototype;
132 GeneratedExtensionFinder(const MessageLite* containing_type) in GeneratedExtensionFinder()
140 const MessageLite* containing_type_;
171 static void RegisterExtension(const MessageLite* containing_type,
174 static void RegisterEnumExtension(const MessageLite* containing_type,
178 static void RegisterMessageExtension(const MessageLite* containing_type,
181 const MessageLite* prototype);
238 const MessageLite& GetMessage(int number,
239 const MessageLite& default_value) const;
[all …]
Dwire_format_lite.h329 static inline bool ReadGroup (field_number, input, MessageLite* value);
330 static inline bool ReadMessage(input, MessageLite* value);
397 field_number, const MessageLite& value, output);
399 field_number, const MessageLite& value, output);
403 field_number, const MessageLite& value, output);
405 field_number, const MessageLite& value, output);
466 field_number, const MessageLite& value, bool deterministic, output);
468 field_number, const MessageLite& value, bool deterministic, output);
483 field_number, const MessageLite& value, output) { in WriteGroupToArray()
487 field_number, const MessageLite& value, output) { in WriteMessageToArray()
[all …]
Dextension_set_heavy.cc144 const MessageLite& ExtensionSet::GetMessage(int number, in GetMessage()
162 MessageLite* ExtensionSet::MutableMessage(const FieldDescriptor* descriptor, in MutableMessage()
170 const MessageLite* prototype = in MutableMessage()
188 MessageLite* ExtensionSet::ReleaseMessage(const FieldDescriptor* descriptor, in ReleaseMessage()
196 MessageLite* ret = NULL; in ReleaseMessage()
216 MessageLite* ExtensionSet::UnsafeArenaReleaseMessage( in UnsafeArenaReleaseMessage()
224 MessageLite* ret = NULL; in UnsafeArenaReleaseMessage()
246 ::google::protobuf::Arena::CreateMessage<RepeatedPtrField<MessageLite> >(arena_); in MaybeNewRepeatedExtension()
253 MessageLite* ExtensionSet::AddMessage(const FieldDescriptor* descriptor, in AddMessage()
259 MessageLite* result = extension->repeated_message_value in AddMessage()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DLazyFieldLite.java104 protected volatile MessageLite value;
132 public static LazyFieldLite fromValue(MessageLite value) { in fromValue()
154 MessageLite value1 = value; in equals()
155 MessageLite value2 = other.value; in equals()
223 public MessageLite getValue(MessageLite defaultInstance) { in getValue()
234 public MessageLite setValue(MessageLite value) { in setValue()
235 MessageLite originalValue = this.value; in setValue()
352 private static MessageLite mergeValueAndBytes( in mergeValueAndBytes()
353 MessageLite value, ByteString otherBytes, ExtensionRegistryLite extensionRegistry) { in mergeValueAndBytes()
421 protected void ensureInitialized(MessageLite defaultInstance) { in ensureInitialized()
[all …]
DMessageLite.java67 public interface MessageLite extends MessageLiteOrBuilder { interface
86 Parser<? extends MessageLite> getParserForType(); in getParserForType()
160 MessageLite build(); in build()
167 MessageLite buildPartial(); in buildPartial()
318 Builder mergeFrom(MessageLite other); in mergeFrom()
DLazyField.java52 private final MessageLite defaultInstance;
54 public LazyField(MessageLite defaultInstance, in LazyField()
66 public MessageLite getValue() { in getValue()
118 if (!(value instanceof MessageLite)) { in setValue()
123 return entry.getValue().setValue((MessageLite) value); in setValue()
DInvalidProtocolBufferException.java43 private MessageLite unfinishedMessage = null;
60 MessageLite unfinishedMessage) { in setUnfinishedMessage()
69 public MessageLite getUnfinishedMessage() { in getUnfinishedMessage()
DFieldSet.java67 MessageLite.Builder internalMergeFrom( in internalMergeFrom()
68 MessageLite.Builder to, MessageLite from); in internalMergeFrom()
410 (value instanceof MessageLite) || (value instanceof LazyField); in verifyType()
457 for (final MessageLite element: in isInitialized()
458 (List<MessageLite>) entry.getValue()) { in isInitialized()
465 if (value instanceof MessageLite) { in isInitialized()
466 if (!((MessageLite) value).isInitialized()) { in isInitialized()
545 ((MessageLite) value).toBuilder(), (MessageLite) otherValue) in mergeFromField()
624 (MessageLite) value); in writeMessageSetTo()
649 output.writeGroup(number, (MessageLite) value); in writeElement()
[all …]
DExtensionLite.java39 public abstract class ExtensionLite<ContainingType extends MessageLite, Type> {
57 public abstract MessageLite getMessageDefaultInstance(); in getMessageDefaultInstance()
DGeneratedMessageLite.java152 boolean equals(EqualsVisitor visitor, MessageLite other) { in equals()
477 protected <MessageType extends MessageLite> boolean parseUnknownField( in parseUnknownField()
542 MessageLite.Builder subBuilder = null; in parseUnknownField()
544 MessageLite existingValue = in parseUnknownField()
545 (MessageLite) extensions.getField(extension.descriptor); in parseUnknownField()
697 (MessageLite) next.getValue()); in writeUntil()
874 public static <ContainingType extends MessageLite, Type>
879 final MessageLite messageDefaultInstance, in newSingularGeneratedExtension()
895 public static <ContainingType extends MessageLite, Type>
899 final MessageLite messageDefaultInstance, in newRepeatedGeneratedExtension()
[all …]
DMessageLiteToString.java59 static String toString(MessageLite messageLite, String commentString) { in toString()
73 MessageLite messageLite, StringBuilder buffer, int indent) { in reflectivePrintWithIndent()
176 if (o instanceof MessageLite) { // Can happen in oneofs. in isDefaultValue()
177 return o == ((MessageLite) o).getDefaultInstanceForType(); in isDefaultValue()
DCodedOutputStream.java367 public abstract void writeMessage(final int fieldNumber, final MessageLite value) in writeMessage()
375 public abstract void writeMessageSetExtension(final int fieldNumber, final MessageLite value) in writeMessageSetExtension()
472 public abstract void writeMessageNoTag(final MessageLite value) throws IOException; in writeMessageNoTag()
655 public static int computeMessageSize(final int fieldNumber, final MessageLite value) { in computeMessageSize()
664 public static int computeMessageSetExtensionSize(final int fieldNumber, final MessageLite value) { in computeMessageSetExtensionSize()
902 public static int computeMessageSizeNoTag(final MessageLite value) { in computeMessageSizeNoTag()
1032 public final void writeGroup(final int fieldNumber, final MessageLite value) throws IOException { in writeGroup()
1044 public final void writeGroupNoTag(final MessageLite value) throws IOException { in writeGroupNoTag()
1055 public static int computeGroupSize(final int fieldNumber, final MessageLite value) { in computeGroupSize()
1064 public static int computeGroupSizeNoTag(final MessageLite value) { in computeGroupSizeNoTag()
[all …]
DAbstractMessageLite.java49 implements MessageLite {
134 implements MessageLite.Builder {
320 public BuilderType mergeFrom(final MessageLite other) { in mergeFrom()
341 newUninitializedMessageException(MessageLite message) { in newUninitializedMessageException()
DMessageLiteOrBuilder.java50 MessageLite getDefaultInstanceForType(); in getDefaultInstanceForType()
DMessage.java51 public interface Message extends MessageLite, MessageOrBuilder {
110 interface Builder extends MessageLite.Builder, MessageOrBuilder {
DExtension.java38 public abstract class Extension<ContainingType extends MessageLite, Type>
DUninitializedMessageException.java52 public UninitializedMessageException(final MessageLite message) { in UninitializedMessageException()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLazyFieldTest.java47 MessageLite message = TestUtil.getAllSet(); in testHashCode()
70 MessageLite message = TestUtil.getAllSet(); in testGetValue()
86 MessageLite message = TestUtil.getAllSet(); in testEqualsObject()
105 private LazyField createLazyFieldFromMessage(MessageLite message) { in createLazyFieldFromMessage()
114 MessageLite newMessage = builder.build(); in changeValue()
DLazyFieldLiteTest.java51 MessageLite message = TestUtil.getAllSet(); in testGetValue()
67 MessageLite message = TestUtil.getAllSet(); in testSetValue()
81 MessageLite value = lazyField.getValue(TestAllExtensions.getDefaultInstance()); in testSetValueEx()
87 MessageLite message = TestUtil.getAllSet(); in testGetSerializedSize()
103 MessageLite message = TestUtil.getAllSet(); in testGetByteString()
250 private LazyFieldLite createLazyFieldLiteFromMessage(MessageLite message) { in createLazyFieldLiteFromMessage()
255 ExtensionRegistryLite extensionRegistry, MessageLite message) { in createLazyFieldLiteFromMessage()
263 MessageLite newMessage = builder.build(); in changeValue()
DParserTest.java65 private void assertRoundTripEquals(MessageLite message, in assertRoundTripEquals()
72 Parser<? extends MessageLite> parser = message.getParserForType(); in assertRoundTripEquals()
86 private void assertRoundTripEquals(MessageLite message) throws Exception { in assertRoundTripEquals()
92 Parser<MessageLite> parser = in assertRoundTripEquals()
93 (Parser<MessageLite>) message.getParserForType(); in assertRoundTripEquals()
106 MessageLite expected, MessageLite actual) in assertMessageEquals()
130 private <T extends MessageLite> void assertParsePartial( in assertParsePartial()
/frameworks/base/cmds/incidentd/src/
Dproto_util.h30 using google::protobuf::MessageLite;
46 status_t write_section(int fd, int sectionId, const MessageLite& message);
Dproto_util.cpp62 status_t write_section(int fd, int sectionId, const MessageLite& message) { in write_section()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DParserTest.java64 private void assertRoundTripEquals(MessageLite message, in assertRoundTripEquals()
71 Parser<? extends MessageLite> parser = message.getParserForType(); in assertRoundTripEquals()
84 private void assertRoundTripEquals(MessageLite message) throws Exception { in assertRoundTripEquals()
89 Parser<? extends MessageLite> parser = message.getParserForType(); in assertRoundTripEquals()
101 private void assertMessageEquals(MessageLite expected, MessageLite actual) in assertMessageEquals()

123