Home
last modified time | relevance | path

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

1234

/external/protobuf/src/google/protobuf/
Dmessage_lite.cc49 MessageLite::~MessageLite() {} in ~MessageLite()
51 string MessageLite::InitializationErrorString() const { in InitializationErrorString()
66 const MessageLite& message) { in ByteSizeConsistencyError()
78 const MessageLite& message) { in InitializationErrorMessage()
106 io::CodedInputStream* input, MessageLite* message);
108 io::CodedInputStream* input, MessageLite* message);
110 io::CodedInputStream* input, MessageLite* message);
112 const void* data, int size, MessageLite* message);
114 const void* data, int size, MessageLite* message);
117 MessageLite* message) { in InlineMergeFromCodedStream()
[all …]
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 …]
Dmessage_lite.h78 class LIBPROTOBUF_EXPORT MessageLite {
80 inline MessageLite() {} in MessageLite() function
81 virtual ~MessageLite();
90 virtual MessageLite* New() const = 0;
94 virtual MessageLite* New(::google::protobuf::Arena* arena) const;
130 virtual void CheckTypeAndMergeFrom(const MessageLite& other) = 0;
271 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageLite);
Dextension_set.cc79 typedef hash_map<pair<const MessageLite*, int>,
96 void Register(const MessageLite* containing_type, in Register()
109 const MessageLite* containing_type, int number) { in FindRegisteredExtension()
130 void ExtensionSet::RegisterExtension(const MessageLite* containing_type, in RegisterExtension()
153 void ExtensionSet::RegisterEnumExtension(const MessageLite* containing_type, in RegisterEnumExtension()
165 void ExtensionSet::RegisterMessageExtension(const MessageLite* containing_type, in RegisterMessageExtension()
168 const MessageLite* prototype) { in RegisterMessageExtension()
398 Arena::CreateMessage<RepeatedPtrField<MessageLite> >(arena_); in MutableRawRepeatedField()
542 const MessageLite& ExtensionSet::GetMessage( in GetMessage()
543 int number, const MessageLite& default_value) const { in GetMessage()
[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()
223 ::google::protobuf::Arena::CreateMessage<RepeatedPtrField<MessageLite> >(arena_); in MaybeNewRepeatedExtension()
230 MessageLite* ExtensionSet::AddMessage(const FieldDescriptor* descriptor, in AddMessage()
236 MessageLite* result = extension->repeated_message_value in AddMessage()
237 ->AddFromCleared<GenericTypeHandler<MessageLite> >(); in AddMessage()
239 const MessageLite* prototype; in AddMessage()
[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);
461 field_number, const MessageLite& value, output);
463 field_number, const MessageLite& value, output);
505 static inline int GroupSize (const MessageLite& value);
506 static inline int MessageSize(const MessageLite& value);
/external/protobuf/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()
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()
648 output.writeGroup(number, (MessageLite) value); in writeElement()
[all …]
DInvalidProtocolBufferException.java43 private MessageLite unfinishedMessage = null;
60 MessageLite unfinishedMessage) { in setUnfinishedMessage()
69 public MessageLite getUnfinishedMessage() { in getUnfinishedMessage()
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 …]
DExtensionLite.java39 public abstract class ExtensionLite<ContainingType extends MessageLite, Type> {
57 public abstract MessageLite getMessageDefaultInstance(); in getMessageDefaultInstance()
DCodedOutputStream.java333 public abstract void writeMessage(final int fieldNumber, final MessageLite value) in writeMessage()
341 public abstract void writeMessageSetExtension(final int fieldNumber, final MessageLite value) in writeMessageSetExtension()
438 public abstract void writeMessageNoTag(final MessageLite value) throws IOException; in writeMessageNoTag()
621 public static int computeMessageSize(final int fieldNumber, final MessageLite value) { in computeMessageSize()
630 public static int computeMessageSetExtensionSize(final int fieldNumber, final MessageLite value) { in computeMessageSetExtensionSize()
868 public static int computeMessageSizeNoTag(final MessageLite value) { in computeMessageSizeNoTag()
994 public final void writeGroup(final int fieldNumber, final MessageLite value) throws IOException { in writeGroup()
1006 public final void writeGroupNoTag(final MessageLite value) throws IOException { in writeGroupNoTag()
1017 public static int computeGroupSize(final int fieldNumber, final MessageLite value) { in computeGroupSize()
1026 public static int computeGroupSizeNoTag(final MessageLite value) { in computeGroupSizeNoTag()
[all …]
/external/tensorflow/tensorflow/core/lib/strings/
Dproto_serialization.h28 bool SerializeToStringDeterministic(const protobuf::MessageLite& msg,
33 bool SerializeToBufferDeterministic(const protobuf::MessageLite& msg,
38 bool AreSerializedProtosEqual(const protobuf::MessageLite& x,
39 const protobuf::MessageLite& y);
42 uint64 DeterministicProtoHash64(const protobuf::MessageLite& proto);
43 uint64 DeterministicProtoHash64(const protobuf::MessageLite& proto,
Dproto_serialization.cc30 bool SerializeToStringDeterministic(const protobuf::MessageLite& msg, in SerializeToStringDeterministic()
39 bool SerializeToBufferDeterministic(const protobuf::MessageLite& msg, in SerializeToBufferDeterministic()
49 bool AreSerializedProtosEqual(const protobuf::MessageLite& x, in AreSerializedProtosEqual()
50 const protobuf::MessageLite& y) { in AreSerializedProtosEqual()
63 uint64 DeterministicProtoHash64(const protobuf::MessageLite& proto, in DeterministicProtoHash64()
71 uint64 DeterministicProtoHash64(const protobuf::MessageLite& proto) { in DeterministicProtoHash64()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DUtil.java19 import com.google.protobuf.MessageLite;
40 public static void assertEquals(MessageLite expected, MessageLite actual) { in assertEquals()
55 public static void assertEquals(List<? extends MessageLite> expected, in assertEquals()
56 List<? extends MessageLite> actual) { in assertEquals()
/external/protobuf/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()
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptor.java6 import com.google.protobuf.MessageLite;
44 private final MessageLite request;
46 public Key(String fullMethodName, MessageLite request) { in Key()
68 private final MessageLite response;
71 public Value(MessageLite response, Deadline maxAgeDeadline) { in Value()
230 Value value = new Value((MessageLite) message, deadline);
268 requestKey = new Key(fullMethodName, (MessageLite) message);
/external/grpc-grpc-java/protobuf-lite/src/main/java/io/grpc/protobuf/lite/
DProtoInputStream.java20 import com.google.protobuf.MessageLite;
38 @Nullable private MessageLite message;
42 ProtoInputStream(MessageLite message, Parser<?> parser) { in ProtoInputStream()
115 MessageLite message() { in message()
DProtoLiteUtils.java25 import com.google.protobuf.MessageLite;
82 public static <T extends MessageLite> Marshaller<T> marshaller(T defaultInstance) { in marshaller()
92 public static <T extends MessageLite> Metadata.BinaryMarshaller<T> metadataMarshaller( in metadataMarshaller()
118 private static final class MessageMarshaller<T extends MessageLite>
234 private static final class MetadataMarshaller<T extends MessageLite>
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DBinaryLogSink.java19 import com.google.protobuf.MessageLite;
31 void write(MessageLite message); in write()
/external/tensorflow/tensorflow/core/platform/
Dprotobuf_util.cc20 bool ParseProtoUnlimited(protobuf::MessageLite* proto, in ParseProtoUnlimited()
25 bool ParseProtoUnlimited(protobuf::MessageLite* proto, const void* serialized, in ParseProtoUnlimited()

1234