Home
last modified time | relevance | path

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

12345678910>>...12

/external/cronet/third_party/protobuf/src/google/protobuf/
Dfield_access_listener.h64 static void OnSerialize(const MessageLite* msg) {} in OnSerialize()
65 static void OnDeserialize(const MessageLite* msg) {} in OnDeserialize()
66 static void OnByteSize(const MessageLite* msg) {} in OnByteSize()
67 static void OnMergeFrom(const MessageLite* to, const MessageLite* from) {} in OnMergeFrom()
89 static void OnAdd(const MessageLite* msg, const void* field) {} in OnAdd()
93 static void OnAddMutable(const MessageLite* msg, const void* field) {} in OnAddMutable()
97 static void OnGet(const MessageLite* msg, const void* field) {} in OnGet()
101 static void OnClear(const MessageLite* msg, const void* field) {} in OnClear()
105 static void OnHas(const MessageLite* msg, const void* field) {} in OnHas()
109 static void OnList(const MessageLite* msg, const void* field) {} in OnList()
[all …]
Dmessage_lite.cc62 std::string MessageLite::InitializationErrorString() const { in InitializationErrorString()
66 std::string MessageLite::DebugString() const { in DebugString()
82 const MessageLite& message) { in ByteSizeConsistencyError()
95 const MessageLite& message) { in InitializationErrorMessage()
121 const MessageLite& msg, in CheckFieldPresence()
122 MessageLite::ParseFlags parse_flags) { in CheckFieldPresence()
124 if (PROTOBUF_PREDICT_FALSE((parse_flags & MessageLite::kMergePartial) != 0)) { in CheckFieldPresence()
132 void MessageLite::LogInitializationErrorMessage() const { in LogInitializationErrorMessage()
139 bool MergeFromImpl(StringPiece input, MessageLite* msg, in MergeFromImpl()
140 MessageLite::ParseFlags parse_flags) { in MergeFromImpl()
[all …]
Dmessage_lite.h168 class PROTOBUF_EXPORT MessageLite {
170 constexpr MessageLite() {} in MessageLite() function
171 virtual ~MessageLite() = default;
180 MessageLite* New() const { return New(nullptr); } in New()
184 virtual MessageLite* New(Arena* arena) const = 0;
206 virtual void CheckTypeAndMergeFrom(const MessageLite& other) = 0;
429 inline explicit MessageLite(Arena* arena, bool is_message_owned = false)
493 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageLite);
499 bool MergeFromImpl(StringPiece input, MessageLite* msg,
500 MessageLite::ParseFlags parse_flags);
[all …]
Dimplicit_weak_message.h58 class PROTOBUF_EXPORT ImplicitWeakMessage : public MessageLite {
64 : MessageLite(arena), data_(new std::string) {} in ImplicitWeakMessage()
76 MessageLite* New(Arena* arena) const override { in New()
84 void CheckTypeAndMergeFrom(const MessageLite& other) override { in CheckTypeAndMergeFrom()
128 typedef MessageLite Type;
131 static inline MessageLite* NewFromPrototype(const MessageLite* prototype,
136 static inline void Delete(MessageLite* value, Arena* arena) { in Delete()
141 static inline Arena* GetArena(MessageLite* value) { in GetArena()
144 static inline void Clear(MessageLite* value) { value->Clear(); } in Clear()
145 static void Merge(const MessageLite& from, MessageLite* to) { in Merge()
[all …]
Dinlined_string_field.h134 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
139 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
142 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
145 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
150 uint32_t mask, MessageLite* msg);
153 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
156 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
159 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
163 MessageLite* msg);
168 uint32_t mask, MessageLite* msg);
[all …]
Dextension_set.h71 class MessageLite; // message_lite.h variable
107 constexpr ExtensionInfo(const MessageLite* extendee, int param_number, in ExtensionInfo()
118 const MessageLite* message = nullptr;
131 const MessageLite* prototype;
164 explicit GeneratedExtensionFinder(const MessageLite* extendee) in GeneratedExtensionFinder()
172 const MessageLite* extendee_;
201 static void RegisterExtension(const MessageLite* extendee, int number,
205 static void RegisterEnumExtension(const MessageLite* extendee, int number,
208 static void RegisterMessageExtension(const MessageLite* extendee, int number,
211 const MessageLite* prototype,
[all …]
/external/protobuf/src/google/protobuf/
Dfield_access_listener.h64 static void OnSerialize(const MessageLite* msg) {} in OnSerialize()
65 static void OnDeserialize(const MessageLite* msg) {} in OnDeserialize()
66 static void OnByteSize(const MessageLite* msg) {} in OnByteSize()
67 static void OnMergeFrom(const MessageLite* to, const MessageLite* from) {} in OnMergeFrom()
89 static void OnAdd(const MessageLite* msg, const void* field) {} in OnAdd()
93 static void OnAddMutable(const MessageLite* msg, const void* field) {} in OnAddMutable()
97 static void OnGet(const MessageLite* msg, const void* field) {} in OnGet()
101 static void OnClear(const MessageLite* msg, const void* field) {} in OnClear()
105 static void OnHas(const MessageLite* msg, const void* field) {} in OnHas()
109 static void OnList(const MessageLite* msg, const void* field) {} in OnList()
[all …]
Dmessage_lite.cc62 std::string MessageLite::InitializationErrorString() const { in InitializationErrorString()
66 std::string MessageLite::DebugString() const { in DebugString()
82 const MessageLite& message) { in ByteSizeConsistencyError()
95 const MessageLite& message) { in InitializationErrorMessage()
121 const MessageLite& msg, in CheckFieldPresence()
122 MessageLite::ParseFlags parse_flags) { in CheckFieldPresence()
124 if (PROTOBUF_PREDICT_FALSE((parse_flags & MessageLite::kMergePartial) != 0)) { in CheckFieldPresence()
132 void MessageLite::LogInitializationErrorMessage() const { in LogInitializationErrorMessage()
139 bool MergeFromImpl(StringPiece input, MessageLite* msg, in MergeFromImpl()
140 MessageLite::ParseFlags parse_flags) { in MergeFromImpl()
[all …]
Dmessage_lite.h168 class PROTOBUF_EXPORT MessageLite {
170 constexpr MessageLite() {} in MessageLite() function
171 virtual ~MessageLite() = default;
180 MessageLite* New() const { return New(nullptr); } in New()
184 virtual MessageLite* New(Arena* arena) const = 0;
205 virtual void CheckTypeAndMergeFrom(const MessageLite& other) = 0;
428 inline explicit MessageLite(Arena* arena, bool is_message_owned = false)
496 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageLite);
502 bool MergeFromImpl(StringPiece input, MessageLite* msg,
503 MessageLite::ParseFlags parse_flags);
[all …]
Dimplicit_weak_message.h58 class PROTOBUF_EXPORT ImplicitWeakMessage : public MessageLite {
64 : MessageLite(arena), data_(new std::string) {} in ImplicitWeakMessage()
76 MessageLite* New(Arena* arena) const override { in New()
84 void CheckTypeAndMergeFrom(const MessageLite& other) override { in CheckTypeAndMergeFrom()
128 typedef MessageLite Type;
131 static inline MessageLite* NewFromPrototype(const MessageLite* prototype,
136 static inline void Delete(MessageLite* value, Arena* arena) { in Delete()
141 static inline Arena* GetArena(MessageLite* value) { in GetArena()
144 static inline void Clear(MessageLite* value) { value->Clear(); } in Clear()
145 static void Merge(const MessageLite& from, MessageLite* to) { in Merge()
[all …]
Dinlined_string_field.h134 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
139 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
142 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
145 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
150 uint32_t mask, MessageLite* msg);
153 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
156 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
159 uint32_t* donating_states, uint32_t mask, MessageLite* msg);
163 MessageLite* msg);
168 uint32_t mask, MessageLite* msg);
[all …]
Dextension_set.h71 class MessageLite; // message_lite.h variable
107 constexpr ExtensionInfo(const MessageLite* extendee, int param_number, in ExtensionInfo()
118 const MessageLite* message = nullptr;
131 const MessageLite* prototype;
159 explicit GeneratedExtensionFinder(const MessageLite* extendee) in GeneratedExtensionFinder()
166 const MessageLite* extendee_;
195 static void RegisterExtension(const MessageLite* extendee, int number,
199 static void RegisterEnumExtension(const MessageLite* extendee, int number,
202 static void RegisterMessageExtension(const MessageLite* extendee, int number,
205 const MessageLite* prototype,
[all …]
/external/pigweed/pw_rpc/java/main/dev/pigweed/pw_rpc/
DMethodClient.java17 import com.google.protobuf.MessageLite;
37 private final StreamObserver<? extends MessageLite> defaultObserver;
40 Client client, int channelId, Method method, StreamObserver<MessageLite> defaultObserver) { in MethodClient()
59 public Call invokeUnary(MessageLite request) throws ChannelOutputException { in invokeUnary()
64 public Call invokeUnary(MessageLite request, StreamObserver<? extends MessageLite> observer) in invokeUnary()
71 public <ResponseT extends MessageLite> Call.UnaryFuture<ResponseT> invokeUnaryFuture( in invokeUnaryFuture()
72 MessageLite request) { in invokeUnaryFuture()
84 public Call openUnary(StreamObserver<? extends MessageLite> observer) { in openUnary()
90 public Call invokeServerStreaming(MessageLite request) throws ChannelOutputException { in invokeServerStreaming()
95 public Call invokeServerStreaming(MessageLite request, in invokeServerStreaming()
[all …]
DMethod.java21 import com.google.protobuf.MessageLite;
40 public abstract Class<? extends MessageLite> request(); in request()
42 public abstract Class<? extends MessageLite> response(); in response()
82 abstract Builder setRequest(Class<? extends MessageLite> value); in setRequest()
84 abstract Builder setResponse(Class<? extends MessageLite> value); in setResponse()
90 final MessageLite decodeResponsePayload(ByteString data) throws InvalidProtocolBufferException { in decodeResponsePayload()
96 static MessageLite decodeProtobuf(Class<? extends MessageLite> messageType, ByteString data) in decodeProtobuf()
99 Parser<? extends MessageLite> parser = in decodeProtobuf()
100 (Parser<? extends MessageLite>) messageType.getMethod("parser").invoke(null); in decodeProtobuf()
DService.java18 import com.google.protobuf.MessageLite;
59 String name, Class<? extends MessageLite> request, Class<? extends MessageLite> response) { in unaryMethod()
68 String name, Class<? extends MessageLite> request, Class<? extends MessageLite> response) { in serverStreamingMethod()
77 String name, Class<? extends MessageLite> request, Class<? extends MessageLite> response) { in clientStreamingMethod()
86 String name, Class<? extends MessageLite> request, Class<? extends MessageLite> response) { in bidirectionalStreamingMethod()
/external/pigweed/pw_rpc/java/test/dev/pigweed/pw_rpc/
DEndpointTest.java26 import com.google.protobuf.MessageLite;
55 @Mock private StreamObserver<MessageLite> callEvents;
60 private static byte[] request(MessageLite payload) { in request()
83 private AbstractCall<MessageLite, MessageLite> createCall(Endpoint endpoint, PendingRpc rpc) { in createCall()
89 AbstractCall<MessageLite, MessageLite> call = in start_succeeds_rpcIsPending()
108 AbstractCall<MessageLite, MessageLite> call = in abandon_rpcNoLongerPending()
117 AbstractCall<MessageLite, MessageLite> call = in abandon_sendsNoPackets()
127 AbstractCall<MessageLite, MessageLite> call = in cancel_rpcNoLongerPending()
136 AbstractCall<MessageLite, MessageLite> call = in cancel_sendsCancelPacket()
145 AbstractCall<MessageLite, MessageLite> call = in open_sendsNoPacketsButRpcIsPending()
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/util/
DSharedPreferencesUtil.java25 import com.google.protobuf.MessageLite;
45 public static <K extends MessageLite, V extends MessageLite> V readProto( in readProto()
57 public static <T extends MessageLite> T readProto( in readProto()
74 public static <T extends MessageLite> boolean writeProto( in writeProto()
85 public static <K extends MessageLite, T extends MessageLite> boolean writeProto( in writeProto()
95 public static <K extends MessageLite, T extends MessageLite> void writeProto( in writeProto()
103 public static <T extends MessageLite> void writeProto( in writeProto()
109 public static <K extends MessageLite> boolean removeProto( in removeProto()
115 public static <K extends MessageLite> void removeProto( in removeProto()
126 public static String serializeProto(MessageLite lite) { in serializeProto()
[all …]
/external/truth/extensions/liteproto/src/test/java/com/google/common/truth/extensions/proto/
DLiteProtoSubjectTest.java27 import com.google.protobuf.MessageLite;
48 abstract MessageLite nonEmptyMessage(); in nonEmptyMessage()
50 abstract MessageLite equivalentNonEmptyMessage(); in equivalentNonEmptyMessage()
52 abstract MessageLite nonEmptyMessageOfOtherValue(); in nonEmptyMessageOfOtherValue()
54 abstract MessageLite nonEmptyMessageOfOtherType(); in nonEmptyMessageOfOtherType()
56 abstract MessageLite defaultInstance(); in defaultInstance()
58 abstract MessageLite defaultInstanceOfOtherType(); in defaultInstanceOfOtherType()
60 abstract Optional<MessageLite> messageWithoutRequiredFields(); in messageWithoutRequiredFields()
68 abstract Builder setNonEmptyMessage(MessageLite messageLite); in setNonEmptyMessage()
70 abstract Builder setEquivalentNonEmptyMessage(MessageLite messageLite); in setEquivalentNonEmptyMessage()
[all …]
/external/cronet/third_party/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 …]
/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 …]
/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/cronet/third_party/protobuf/src/google/protobuf/util/
Ddelimited_message_util.h68 const MessageLite& message, int file_descriptor);
70 bool PROTOBUF_EXPORT SerializeDelimitedToOstream(const MessageLite& message,
86 MessageLite* message, io::ZeroCopyInputStream* input, bool* clean_eof);
88 bool PROTOBUF_EXPORT ParseDelimitedFromCodedStream(MessageLite* message,
98 const MessageLite& message, io::ZeroCopyOutputStream* output);
101 const MessageLite& message, io::CodedOutputStream* output);
/external/protobuf/src/google/protobuf/util/
Ddelimited_message_util.h68 const MessageLite& message, int file_descriptor);
70 bool PROTOBUF_EXPORT SerializeDelimitedToOstream(const MessageLite& message,
86 MessageLite* message, io::ZeroCopyInputStream* input, bool* clean_eof);
88 bool PROTOBUF_EXPORT ParseDelimitedFromCodedStream(MessageLite* message,
98 const MessageLite& message, io::ZeroCopyOutputStream* output);
101 const MessageLite& message, io::CodedOutputStream* output);
/external/truth/extensions/liteproto/src/main/java/com/google/common/truth/extensions/proto/
DLiteProtoSubject.java28 import com.google.protobuf.MessageLite;
46 static Factory<LiteProtoSubject, MessageLite> liteProtos() { in liteProtos()
65 private final MessageLite actual;
67 protected LiteProtoSubject(FailureMetadata failureMetadata, @Nullable MessageLite messageLite) { in LiteProtoSubject()
79 static String getTrimmedToString(@Nullable MessageLite messageLite) { in getTrimmedToString()
130 String theirString = getTrimmedToString((MessageLite) expected); in isEqualTo()
145 public void isEqualTo(MessageLite./*@Nullable*/ Builder builder) { in isEqualTo()
175 public void isNotEqualTo(MessageLite./*@Nullable*/ Builder builder) { in isNotEqualTo()
233 implements Factory<LiteProtoSubject, MessageLite> {
238 FailureMetadata failureMetadata, @Nullable MessageLite messageLite) { in createSubject()

12345678910>>...12