Home
last modified time | relevance | path

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

123456

/external/protobuf/src/google/protobuf/
Dmessage_lite.cc63 std::string MessageLite::InitializationErrorString() const { in InitializationErrorString()
67 std::string MessageLite::DebugString() const { in DebugString()
83 const MessageLite& message) { in ByteSizeConsistencyError()
96 const MessageLite& message) { in InitializationErrorMessage()
122 void MessageLite::LogInitializationErrorMessage() const { in LogInitializationErrorMessage()
131 bool MergePartialFromImpl(StringPiece input, MessageLite* msg) { in MergePartialFromImpl()
141 bool MergePartialFromImpl(io::ZeroCopyInputStream* input, MessageLite* msg) { in MergePartialFromImpl()
151 bool MergePartialFromImpl(BoundedZCIS input, MessageLite* msg) { in MergePartialFromImpl()
164 MessageLite* message,
171 bool MergePartialFromImpl(StringPiece input, MessageLite* msg) {
[all …]
Dimplicit_weak_message.h55 class PROTOBUF_EXPORT ImplicitWeakMessage : public MessageLite {
64 MessageLite* New() const override { return new ImplicitWeakMessage; } in New()
65 MessageLite* New(Arena* arena) const override { in New()
75 void CheckTypeAndMergeFrom(const MessageLite& other) override { in CheckTypeAndMergeFrom()
106 typedef MessageLite WeakType;
114 static inline MessageLite* NewFromPrototype(const MessageLite* prototype,
119 static inline void Delete(MessageLite* value, Arena* arena) { in Delete()
124 static inline Arena* GetArena(MessageLite* value) { in GetArena()
127 static inline void* GetMaybeArenaPointer(MessageLite* value) { in GetMaybeArenaPointer()
130 static inline void Clear(MessageLite* value) { value->Clear(); } in Clear()
[all …]
Dmessage_lite.h183 class PROTOBUF_EXPORT MessageLite {
185 inline MessageLite() {} in MessageLite() function
186 virtual ~MessageLite() {} in ~MessageLite()
195 virtual MessageLite* New() const = 0;
199 virtual MessageLite* New(Arena* arena) const;
236 virtual void CheckTypeAndMergeFrom(const MessageLite& other) = 0;
501 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageLite);
507 bool MergePartialFromImpl(StringPiece input, MessageLite* msg);
509 MessageLite* msg);
511 MessageLite* msg);
[all …]
Dgenerated_message_table_driven_lite.h75 inline Type* Raw(MessageLite* msg, int64 offset) { in Raw()
80 inline const Type* Raw(const MessageLite* msg, int64 offset) { in Raw()
86 inline Arena* GetArena(MessageLite* msg, int64 arena_offset) { in GetArena()
94 inline ExtensionSet* GetExtensionSet(MessageLite* msg, int64 extension_offset) { in GetExtensionSet()
103 inline Type* AddField(MessageLite* msg, int64 offset) { in AddField()
113 inline std::string* AddField<std::string>(MessageLite* msg, int64 offset) {
121 inline void AddField(MessageLite* msg, int64 offset, Type value) { in AddField()
135 inline Type* MutableField(MessageLite* msg, uint32* has_bits, in MutableField()
142 inline void SetField(MessageLite* msg, uint32* has_bits, uint32 has_bit_index, in SetField()
150 inline void SetOneofField(MessageLite* msg, uint32* oneof_case, in SetOneofField()
[all …]
Dextension_set.h68 class MessageLite; // message_lite.h variable
123 const MessageLite* prototype;
151 GeneratedExtensionFinder(const MessageLite* containing_type) in GeneratedExtensionFinder()
159 const MessageLite* containing_type_;
190 static void RegisterExtension(const MessageLite* containing_type, int number,
193 static void RegisterEnumExtension(const MessageLite* containing_type,
197 static void RegisterMessageExtension(const MessageLite* containing_type,
200 const MessageLite* prototype);
258 const MessageLite& GetMessage(int number,
259 const MessageLite& default_value) const;
[all …]
Dgenerated_message_table_driven_lite.cc46 std::string* MutableUnknownFields(MessageLite* msg, int64 arena_offset) { in MutableUnknownFields()
56 static bool Skip(MessageLite* msg, const ParseTable& table, in Skip()
67 static void Varint(MessageLite* msg, const ParseTable& table, int tag, in Varint()
78 static bool ParseExtension(MessageLite* msg, const ParseTable& table, in ParseExtension()
85 const MessageLite* prototype = table.default_instance(); in ParseExtension()
98 bool MergePartialFromCodedStreamLite(MessageLite* msg, const ParseTable& table, in MergePartialFromCodedStreamLite()
Dgenerated_message_util.h144 PROTOBUF_EXPORT MessageLite* DuplicateIfNonNullInternal(MessageLite* message);
145 PROTOBUF_EXPORT MessageLite* GetOwnedMessageInternal(Arena* message_arena,
146 MessageLite* submessage,
148 PROTOBUF_EXPORT void GenericSwap(MessageLite* m1, MessageLite* m2);
155 DuplicateIfNonNullInternal(reinterpret_cast<MessageLite*>(message))); in DuplicateIfNonNull()
164 message_arena, reinterpret_cast<MessageLite*>(submessage), in GetOwnedMessage()
Dgenerated_message_table_driven.cc49 UnknownFieldSet* MutableUnknownFields(MessageLite* msg, int64 arena_offset) { in MutableUnknownFields()
59 static bool Skip(MessageLite* msg, const ParseTable& table, in Skip()
67 static void Varint(MessageLite* msg, const ParseTable& table, int tag, in Varint()
75 static bool ParseExtension(MessageLite* msg, const ParseTable& table, in ParseExtension()
96 bool MergePartialFromCodedStream(MessageLite* msg, const ParseTable& table, in MergePartialFromCodedStream()
Dgenerated_message_util.cc66 static_cast<const MessageLite*>(message)->~MessageLite(); in DestroyMessage()
296 void SerializeMessageNoTable(const MessageLite* msg, in SerializeMessageNoTable()
301 void SerializeMessageNoTable(const MessageLite* msg, ArrayOutput* output) { in SerializeMessageNoTable()
314 void SerializeMessageDispatch(const MessageLite& msg, in SerializeMessageDispatch()
333 void SerializeMessageDispatch(const MessageLite& msg, in SerializeMessageDispatch()
344 void SerializeMessageTo(const MessageLite* msg, const void* table_ptr, in SerializeMessageTo()
365 void SerializeGroupTo(const MessageLite* msg, const void* table_ptr, in SerializeGroupTo()
410 SerializeGroupTo(Get<const MessageLite*>(field), in Serialize()
421 SerializeMessageTo(Get<const MessageLite*>(field), in Serialize()
484 static_cast<const MessageLite*>(AccessorHelper::Get(array, i)), in Serialize()
[all …]
Dgenerated_message_table_driven.h155 const MessageLite* default_message() const { in default_message()
156 return static_cast<const MessageLite*>(default_message_void); in default_message()
199 const MessageLite* default_instance() const { in default_instance()
200 return static_cast<const MessageLite*>(default_instance_void); in default_instance()
218 bool MergePartialFromCodedStream(MessageLite* msg, const ParseTable& table,
220 bool MergePartialFromCodedStreamLite(MessageLite* msg, const ParseTable& table,
244 inline void TableSerialize(const MessageLite& msg, in TableSerialize()
263 inline uint8* TableSerializeToArray(const MessageLite& msg, in TableSerializeToArray()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DLazyFieldLite.java108 protected volatile MessageLite value;
131 public static LazyFieldLite fromValue(MessageLite value) { in fromValue()
153 MessageLite value1 = value; in equals()
154 MessageLite value2 = other.value; in equals()
222 public MessageLite getValue(MessageLite defaultInstance) { in getValue()
233 public MessageLite setValue(MessageLite value) { in setValue()
234 MessageLite originalValue = this.value; in setValue()
330 private static MessageLite mergeValueAndBytes( in mergeValueAndBytes()
331 MessageLite value, ByteString otherBytes, ExtensionRegistryLite extensionRegistry) { in mergeValueAndBytes()
405 protected void ensureInitialized(MessageLite defaultInstance) { in ensureInitialized()
[all …]
DMessageLite.java65 public interface MessageLite extends MessageLiteOrBuilder { interface
80 Parser<? extends MessageLite> getParserForType(); in getParserForType()
145 MessageLite build(); in build()
152 MessageLite buildPartial(); in buildPartial()
282 Builder mergeFrom(MessageLite other); in mergeFrom()
DLazyField.java52 private final MessageLite defaultInstance;
55 MessageLite defaultInstance, ExtensionRegistryLite extensionRegistry, ByteString bytes) { 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.java72 MessageLite.Builder internalMergeFrom(MessageLite.Builder to, MessageLite from); in internalMergeFrom()
408 isValid = (value instanceof MessageLite) || (value instanceof LazyField); in verifyType()
452 for (final MessageLite element : (List<MessageLite>) entry.getValue()) { in isInitialized()
459 if (value instanceof MessageLite) { in isInitialized()
460 if (!((MessageLite) value).isInitialized()) { in isInitialized()
533 .internalMergeFrom(((MessageLite) value).toBuilder(), (MessageLite) otherValue) in mergeFromField()
599 output.writeMessageSetExtension(entry.getKey().getNumber(), (MessageLite) value); in writeMessageSetTo()
623 output.writeGroup(number, (MessageLite) value); in writeElement()
667 output.writeGroupNoTag((MessageLite) value); in writeElementNoTag()
670 output.writeMessageNoTag((MessageLite) value); in writeElementNoTag()
[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.cc32 explicit DeterministicSerializer(const protobuf::MessageLite& msg) in DeterministicSerializer()
35 DeterministicSerializer(const protobuf::MessageLite& msg, size_t size) in DeterministicSerializer()
59 bool SerializeToStringDeterministic(const protobuf::MessageLite& msg, in SerializeToStringDeterministic()
68 bool SerializeToBufferDeterministic(const protobuf::MessageLite& msg, in SerializeToBufferDeterministic()
79 bool AreSerializedProtosEqual(const protobuf::MessageLite& x, in AreSerializedProtosEqual()
80 const protobuf::MessageLite& y) { in AreSerializedProtosEqual()
89 uint64 DeterministicProtoHash64(const protobuf::MessageLite& proto, in DeterministicProtoHash64()
95 uint64 DeterministicProtoHash64(const protobuf::MessageLite& proto) { in DeterministicProtoHash64()
/external/protobuf/src/google/protobuf/util/
Ddelimited_message_util.h66 const MessageLite& message, int file_descriptor);
68 bool PROTOBUF_EXPORT SerializeDelimitedToOstream(const MessageLite& message,
84 MessageLite* message, io::ZeroCopyInputStream* input, bool* clean_eof);
86 bool PROTOBUF_EXPORT ParseDelimitedFromCodedStream(MessageLite* message,
96 const MessageLite& message, io::ZeroCopyOutputStream* output);
99 const MessageLite& message, io::CodedOutputStream* output);
Ddelimited_message_util.cc41 bool SerializeDelimitedToFileDescriptor(const MessageLite& message, in SerializeDelimitedToFileDescriptor()
47 bool SerializeDelimitedToOstream(const MessageLite& message, in SerializeDelimitedToOstream()
57 bool ParseDelimitedFromZeroCopyStream(MessageLite* message, in ParseDelimitedFromZeroCopyStream()
64 bool ParseDelimitedFromCodedStream(MessageLite* message, in ParseDelimitedFromCodedStream()
90 bool SerializeDelimitedToZeroCopyStream(const MessageLite& message, in SerializeDelimitedToZeroCopyStream()
96 bool SerializeDelimitedToCodedStream(const MessageLite& message, in SerializeDelimitedToCodedStream()
/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/tensorflow/tensorflow/core/platform/
Dprotobuf.h57 bool ParseProtoUnlimited(protobuf::MessageLite* proto,
59 bool ParseProtoUnlimited(protobuf::MessageLite* proto, const void* serialized,
61 inline bool ParseProtoUnlimited(protobuf::MessageLite* proto, in ParseProtoUnlimited()
90 inline bool SerializeToTString(const protobuf::MessageLite& proto, in SerializeToTString()
99 protobuf::MessageLite* proto) { in ParseFromTString()
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dproto_utils.h45 Status GenericSerialize(const grpc::protobuf::MessageLite& msg, ByteBuffer* bb, in GenericSerialize()
72 grpc::protobuf::MessageLite* msg) { in GenericDeserialize()
103 std::is_base_of<grpc::protobuf::MessageLite, T>::value>::type> {
105 static Status Serialize(const grpc::protobuf::MessageLite& msg, in Serialize()
111 grpc::protobuf::MessageLite* msg) { in Deserialize()
Dconfig_protobuf.h27 #define GRPC_CUSTOM_MESSAGE ::google::protobuf::MessageLite
28 #define GRPC_CUSTOM_MESSAGELITE ::google::protobuf::MessageLite
32 #define GRPC_CUSTOM_MESSAGELITE ::google::protobuf::MessageLite
77 typedef GRPC_CUSTOM_MESSAGELITE MessageLite; typedef
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dproto_utils.h45 Status GenericSerialize(const grpc::protobuf::MessageLite& msg, ByteBuffer* bb, in GenericSerialize()
72 grpc::protobuf::MessageLite* msg) { in GenericDeserialize()
103 std::is_base_of<grpc::protobuf::MessageLite, T>::value>::type> {
105 static Status Serialize(const grpc::protobuf::MessageLite& msg, in Serialize()
111 grpc::protobuf::MessageLite* msg) { in Deserialize()
Dconfig_protobuf.h27 #define GRPC_CUSTOM_MESSAGE ::google::protobuf::MessageLite
28 #define GRPC_CUSTOM_MESSAGELITE ::google::protobuf::MessageLite
32 #define GRPC_CUSTOM_MESSAGELITE ::google::protobuf::MessageLite
77 typedef GRPC_CUSTOM_MESSAGELITE MessageLite; typedef
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyFieldTest.java44 MessageLite message = TestUtil.getAllSet(); in testHashCode()
66 MessageLite message = TestUtil.getAllSet(); in testGetValue()
82 MessageLite message = TestUtil.getAllSet(); in testEqualsObject()
102 private LazyField createLazyFieldFromMessage(MessageLite message) { in createLazyFieldFromMessage()
111 MessageLite newMessage = builder.build(); in changeValue()

123456