Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Dmessage_lite.cc46 MessageLite::~MessageLite() {} in ~MessageLite()
48 string MessageLite::InitializationErrorString() const { in InitializationErrorString()
73 const MessageLite& message) { in InitializationErrorMessage()
104 MessageLite* message)
107 MessageLite* message)
110 MessageLite* message)
113 MessageLite* message)
116 MessageLite* message)
120 MessageLite* message) { in InlineMergeFromCodedStream()
130 MessageLite* message) { in InlineParseFromCodedStream()
[all …]
Dextension_set.h57 class MessageLite; // message_lite.h variable
106 const MessageLite* message_prototype;
129 GeneratedExtensionFinder(const MessageLite* containing_type) in GeneratedExtensionFinder()
137 const MessageLite* containing_type_;
167 static void RegisterExtension(const MessageLite* containing_type,
170 static void RegisterEnumExtension(const MessageLite* containing_type,
174 static void RegisterMessageExtension(const MessageLite* containing_type,
177 const MessageLite* prototype);
234 const MessageLite& GetMessage(int number,
235 const MessageLite& default_value) const;
[all …]
Dmessage_lite.h77 class LIBPROTOBUF_EXPORT MessageLite {
79 inline MessageLite() {} in MessageLite() function
80 virtual ~MessageLite();
89 virtual MessageLite* New() const = 0;
108 virtual void CheckTypeAndMergeFrom(const MessageLite& other) = 0;
241 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageLite);
Dextension_set.cc77 typedef hash_map<pair<const MessageLite*, int>,
94 void Register(const MessageLite* containing_type, in Register()
107 const MessageLite* containing_type, int number) { in FindRegisteredExtension()
127 void ExtensionSet::RegisterExtension(const MessageLite* containing_type, in RegisterExtension()
150 void ExtensionSet::RegisterEnumExtension(const MessageLite* containing_type, in RegisterEnumExtension()
162 void ExtensionSet::RegisterMessageExtension(const MessageLite* containing_type, in RegisterMessageExtension()
165 const MessageLite* prototype) { in RegisterMessageExtension()
375 extension->repeated_message_value = new RepeatedPtrField<MessageLite>(); in MutableRawRepeatedField()
517 const MessageLite& ExtensionSet::GetMessage( in GetMessage()
518 int number, const MessageLite& default_value) const { in GetMessage()
[all …]
Dwire_format_lite.h303 static inline bool ReadGroup (field_number, input, MessageLite* value);
304 static inline bool ReadMessage(input, MessageLite* value);
360 field_number, const MessageLite& value, output);
362 field_number, const MessageLite& value, output);
366 field_number, const MessageLite& value, output);
368 field_number, const MessageLite& value, output);
438 field_number, const MessageLite& value, output) INL;
440 field_number, const MessageLite& value, output) INL;
482 static inline int GroupSize (const MessageLite& value);
483 static inline int MessageSize(const MessageLite& value);
Dextension_set_heavy.cc143 const MessageLite& ExtensionSet::GetMessage(int number, in GetMessage()
161 MessageLite* ExtensionSet::MutableMessage(const FieldDescriptor* descriptor, in MutableMessage()
169 const MessageLite* prototype = in MutableMessage()
187 MessageLite* ExtensionSet::ReleaseMessage(const FieldDescriptor* descriptor, in ReleaseMessage()
195 MessageLite* ret = NULL; in ReleaseMessage()
208 MessageLite* ExtensionSet::AddMessage(const FieldDescriptor* descriptor, in AddMessage()
216 new RepeatedPtrField<MessageLite>(); in AddMessage()
223 MessageLite* result = extension->repeated_message_value in AddMessage()
224 ->AddFromCleared<GenericTypeHandler<MessageLite> >(); in AddMessage()
226 const MessageLite* prototype; in AddMessage()
[all …]
Dwire_format_lite.cc408 const MessageLite& value, in WriteGroup()
416 const MessageLite& value, in WriteMessage()
425 const MessageLite& value, in WriteGroupMaybeToArray()
440 const MessageLite& value, in WriteMessageMaybeToArray()
/external/protobuf/java/src/main/java/com/google/protobuf/
DLazyFieldLite.java51 protected volatile MessageLite value;
61 public static LazyFieldLite fromValue(MessageLite value) { in fromValue()
85 public MessageLite getValue(MessageLite defaultInstance) { in getValue()
94 public MessageLite setValue(MessageLite value) { in setValue()
95 MessageLite originalValue = this.value; in setValue()
155 protected void ensureInitialized(MessageLite defaultInstance) { in ensureInitialized()
DGeneratedMessageLite.java59 public Parser<? extends MessageLite> getParserForType() { in getParserForType()
294 (MessageLite) next.getValue()); in writeUntil()
506 private static <MessageType extends MessageLite>
573 MessageLite.Builder subBuilder = null; in parseUnknownField()
575 MessageLite existingValue = in parseUnknownField()
576 (MessageLite) extensions.getField(extension.descriptor); in parseUnknownField()
629 public static <ContainingType extends MessageLite, Type>
634 final MessageLite messageDefaultInstance, in newSingularGeneratedExtension()
650 public static <ContainingType extends MessageLite, Type>
654 final MessageLite messageDefaultInstance, in newRepeatedGeneratedExtension()
[all …]
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()
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()
DFieldSet.java67 MessageLite.Builder internalMergeFrom( in internalMergeFrom()
68 MessageLite.Builder to, MessageLite from); in internalMergeFrom()
391 (value instanceof MessageLite) || (value instanceof LazyField); in verifyType()
438 for (final MessageLite element: in isInitialized()
439 (List<MessageLite>) entry.getValue()) { in isInitialized()
446 if (value instanceof MessageLite) { in isInitialized()
447 if (!((MessageLite) value).isInitialized()) { in isInitialized()
526 ((MessageLite) value).toBuilder(), (MessageLite) otherValue) in mergeFromField()
634 (MessageLite) value); in writeMessageSetTo()
658 output.writeGroup(number, (MessageLite) value); in writeElement()
[all …]
DCodedOutputStream.java231 public void writeGroup(final int fieldNumber, final MessageLite value) in writeGroup()
247 final MessageLite value) in writeUnknownGroup()
253 public void writeMessage(final int fieldNumber, final MessageLite value) in writeMessage()
350 final MessageLite value) in writeMessageSetExtension()
429 public void writeGroupNoTag(final MessageLite value) throws IOException { in writeGroupNoTag()
441 public void writeUnknownGroupNoTag(final MessageLite value) in writeUnknownGroupNoTag()
447 public void writeMessageNoTag(final MessageLite value) throws IOException { in writeMessageNoTag()
604 final MessageLite value) { in computeGroupSize()
618 final MessageLite value) { in computeUnknownGroupSize()
627 final MessageLite value) { in computeMessageSize()
[all …]
DInvalidProtocolBufferException.java43 private MessageLite unfinishedMessage = null;
56 MessageLite unfinishedMessage) { in setUnfinishedMessage()
65 public MessageLite getUnfinishedMessage() { in getUnfinishedMessage()
DExtension.java38 public abstract class Extension<ContainingType extends MessageLite, Type> {
58 public abstract MessageLite getMessageDefaultInstance(); in getMessageDefaultInstance()
DMessage.java51 public interface Message extends MessageLite, MessageOrBuilder {
106 interface Builder extends MessageLite.Builder, MessageOrBuilder {
DAbstractMessageLite.java46 public abstract class AbstractMessageLite implements MessageLite {
119 implements MessageLite.Builder {
315 newUninitializedMessageException(MessageLite message) { in newUninitializedMessageException()
DMessageLiteOrBuilder.java50 MessageLite getDefaultInstanceForType(); in getDefaultInstanceForType()
DCodedInputStream.java417 final MessageLite.Builder builder, in readGroup()
432 public <T extends MessageLite> T readGroup( in readGroup()
457 final MessageLite.Builder builder) in readUnknownGroup()
468 public void readMessage(final MessageLite.Builder builder, in readMessage()
485 public <T extends MessageLite> T readMessage( in readMessage()
/external/protobuf/java/src/test/java/com/google/protobuf/
DLazyFieldLiteTest.java47 MessageLite message = TestUtil.getAllSet(); in testGetValue()
63 MessageLite message = TestUtil.getAllSet(); in testSetValue()
77 MessageLite value = lazyField.getValue(TestAllExtensions.getDefaultInstance()); in testSetValueEx()
83 MessageLite message = TestUtil.getAllSet(); in testGetSerializedSize()
99 MessageLite message = TestUtil.getAllSet(); in testGetByteString()
117 private LazyFieldLite createLazyFieldLiteFromMessage(MessageLite message) { in createLazyFieldLiteFromMessage()
125 MessageLite newMessage = builder.build(); in changeValue()
DLazyFieldTest.java46 MessageLite message = TestUtil.getAllSet(); in testHashCode()
69 MessageLite message = TestUtil.getAllSet(); in testGetValue()
85 MessageLite message = TestUtil.getAllSet(); in testEqualsObject()
104 private LazyField createLazyFieldFromMessage(MessageLite message) { in createLazyFieldFromMessage()
113 MessageLite newMessage = builder.build(); in changeValue()
DParserTest.java66 private void assertRoundTripEquals(MessageLite message, in assertRoundTripEquals()
73 Parser<? extends MessageLite> parser = message.getParserForType(); in assertRoundTripEquals()
87 private void assertRoundTripEquals(MessageLite message) throws Exception { in assertRoundTripEquals()
93 Parser<MessageLite> parser = in assertRoundTripEquals()
94 (Parser<MessageLite>) message.getParserForType(); in assertRoundTripEquals()
107 MessageLite expected, MessageLite actual) in assertMessageEquals()
132 private <T extends MessageLite> void assertParsePartial( in assertParsePartial()
/external/libchrome/dbus/
Dmessage.h23 class MessageLite; variable
331 bool AppendProtoAsArrayOfBytes(const google::protobuf::MessageLite& protobuf);
442 bool PopArrayOfBytesAsProto(google::protobuf::MessageLite* protobuf);
/external/webrtc/webrtc/modules/audio_processing/test/
Dprotobuf_utils.h28 bool ReadMessageFromFile(FILE* file, ::google::protobuf::MessageLite* msg);
Dprotobuf_utils.cc32 bool ReadMessageFromFile(FILE* file, ::google::protobuf::MessageLite* msg) { in ReadMessageFromFile()

12