Home
last modified time | relevance | path

Searched refs:MessageType (Results 1 – 25 of 70) sorted by relevance

123

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DParser.java46 public interface Parser<MessageType> {
62 public MessageType parseFrom(CodedInputStream input) in parseFrom()
71 public MessageType parseFrom(CodedInputStream input, in parseFrom()
80 public MessageType parsePartialFrom(CodedInputStream input) in parsePartialFrom()
88 public MessageType parsePartialFrom(CodedInputStream input, in parsePartialFrom()
99 public MessageType parseFrom(ByteString data) in parseFrom()
107 public MessageType parseFrom(ByteString data, in parseFrom()
116 public MessageType parsePartialFrom(ByteString data) in parsePartialFrom()
124 public MessageType parsePartialFrom(ByteString data, in parsePartialFrom()
132 public MessageType parseFrom(byte[] data, int off, int len) in parseFrom()
[all …]
DAbstractParser.java49 public abstract class AbstractParser<MessageType extends MessageLite>
50 implements Parser<MessageType> {
55 newUninitializedMessageException(MessageType message) { in newUninitializedMessageException()
68 private MessageType checkMessageInitialized(MessageType message) in checkMessageInitialized()
82 public MessageType parsePartialFrom(CodedInputStream input) in parsePartialFrom()
88 public MessageType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom()
95 public MessageType parseFrom(CodedInputStream input) throws InvalidProtocolBufferException { in parseFrom()
100 public MessageType parsePartialFrom(ByteString data, ExtensionRegistryLite extensionRegistry) in parsePartialFrom()
102 MessageType message; in parsePartialFrom()
118 public MessageType parsePartialFrom(ByteString data) throws InvalidProtocolBufferException { in parsePartialFrom()
[all …]
DGeneratedMessageLite.java61 MessageType extends GeneratedMessageLite<MessageType, BuilderType>,
62 BuilderType extends GeneratedMessageLite.Builder<MessageType, BuilderType>>
63 extends AbstractMessageLite<MessageType, BuilderType> {
73 public final Parser<MessageType> getParserForType() { in getParserForType()
74 return (Parser<MessageType>) dynamicMethod(MethodToInvoke.GET_PARSER); in getParserForType()
79 public final MessageType getDefaultInstanceForType() { in getDefaultInstanceForType()
80 return (MessageType) dynamicMethod(MethodToInvoke.GET_DEFAULT_INSTANCE); in getDefaultInstanceForType()
111 visit(visitor, (MessageType) this); in hashCode()
122 visit(visitor, (MessageType) this); in hashCode()
141 visit(EqualsVisitor.INSTANCE, (MessageType) other); in equals()
[all …]
DAbstractMessageLite.java47 MessageType extends AbstractMessageLite<MessageType, BuilderType>,
48 BuilderType extends AbstractMessageLite.Builder<MessageType, BuilderType>>
131 MessageType extends AbstractMessageLite<MessageType, BuilderType>,
132 BuilderType extends Builder<MessageType, BuilderType>>
333 return internalMergeFrom((MessageType) other); in mergeFrom()
336 protected abstract BuilderType internalMergeFrom(MessageType message); in internalMergeFrom()
DGeneratedMessage.java737 MessageType extends ExtendableMessage> extends MessageOrBuilder {
744 ExtensionLite<MessageType, Type> extension); in hasExtension() argument
748 ExtensionLite<MessageType, List<Type>> extension); in getExtensionCount() argument
752 ExtensionLite<MessageType, Type> extension); in getExtension() argument
756 ExtensionLite<MessageType, List<Type>> extension, in getExtension() argument
796 MessageType extends ExtendableMessage>
798 implements ExtendableMessageOrBuilder<MessageType> {
809 ExtendableBuilder<MessageType, ?> builder) { in ExtendableMessage() argument
815 final Extension<MessageType, ?> extension) { in verifyExtensionContainingType() argument
829 public final <Type> boolean hasExtension(final ExtensionLite<MessageType, Type> extensionLite) { in hasExtension() argument
[all …]
DExtension.java69 public enum MessageType { enum in Extension
78 public MessageType getMessageType() { in getMessageType()
79 return MessageType.PROTO2; in getMessageType()
/external/u-boot/drivers/usb/gadget/
Drndis.h77 __le32 MessageType; member
86 __le32 MessageType; member
102 __le32 MessageType; member
108 __le32 MessageType; member
118 __le32 MessageType; member
127 __le32 MessageType; member
137 __le32 MessageType; member
144 __le32 MessageType; member
150 __le32 MessageType; member
157 __le32 MessageType; member
[all …]
/external/perfetto/src/trace_processor/
Dproto_incremental_state.h41 template <typename MessageType>
71 template <typename MessageType>
73 proto_incremental_state_internal::StorageReferences<MessageType>;
76 template <typename MessageType>
80 typename MessageType::Decoder CreateDecoder() {
81 return typename MessageType::Decoder(message.data(), message.length());
90 base::Optional<StorageReferences<MessageType>> storage_refs;
93 template <typename MessageType>
95 std::unordered_map<uint32_t, InternedDataView<MessageType>>;
138 template <typename MessageType>
[all …]
/external/libchrome/mojo/core/
Dnode_channel.cc26 enum class MessageType : uint32_t { enum
47 MessageType type;
126 Channel::MessagePtr CreateMessage(MessageType type, in CreateMessage()
179 return CreateMessage(MessageType::EVENT_MESSAGE, payload_size, num_handles, in CreateEventMessage()
254 MessageType::ACCEPT_INVITEE, sizeof(AcceptInviteeData), 0, &data); in AcceptInvitee()
264 MessageType::ACCEPT_INVITATION, sizeof(AcceptInvitationData), 0, &data); in AcceptInvitation()
275 CreateMessage(MessageType::ACCEPT_PEER, sizeof(AcceptPeerData), 0, &data); in AcceptPeer()
290 CreateMessage(MessageType::ADD_BROKER_CLIENT, sizeof(AddBrokerClientData), in AddBrokerClient()
308 CreateMessage(MessageType::BROKER_CLIENT_ADDED, in BrokerClientAdded()
322 CreateMessage(MessageType::ACCEPT_BROKER_CLIENT, in AcceptBrokerClient()
[all …]
Dchannel.h41 enum class MessageType : uint16_t { enum
67 MessageType message_type;
81 MessageType message_type;
138 Message(size_t payload_size, size_t max_handles, MessageType message_type);
143 MessageType message_type);
348 virtual bool OnControlMessage(Message::MessageType message_type,
Dchannel.cc66 MessageType message_type) in Message()
73 : Message(capacity, payload_size, max_handles, MessageType::NORMAL_LEGACY) { in Message()
76 : Message(capacity, payload_size, max_handles, MessageType::NORMAL) {
83 MessageType message_type) in Message()
88 const bool is_legacy_message = (message_type == MessageType::NORMAL_LEGACY); in Message()
181 if (legacy_header->message_type == MessageType::NORMAL) in Deserialize()
362 return legacy_header()->message_type == MessageType::NORMAL_LEGACY; in is_legacy_message()
655 if (legacy_header->message_type != Message::MessageType::NORMAL_LEGACY) { in OnReadComplete()
703 if (legacy_header->message_type != Message::MessageType::NORMAL_LEGACY && in OnReadComplete()
704 legacy_header->message_type != Message::MessageType::NORMAL) { in OnReadComplete()
[all …]
/external/deqp/framework/qphelper/
DqpDebugOut.c37 } MessageType; typedef
39 static void printRaw (MessageType type, const char* msg);
40 static void printFmt (MessageType type, const char* fmt, va_list args);
82 static android_LogPriority getLogPriority (MessageType type) in getLogPriority()
92 void printRaw (MessageType type, const char* message) in printRaw()
97 void printFmt (MessageType type, const char* format, va_list args) in printFmt()
104 static FILE* getOutFile (MessageType type) in getOutFile()
112 void printRaw (MessageType type, const char* message) in printRaw()
128 void printFmt (MessageType type, const char* format, va_list args) in printFmt()
/external/protobuf/src/google/protobuf/
Dwire_format_lite.h335 template<typename MessageType>
337 MessageType* value);
338 template<typename MessageType>
339 static inline bool ReadMessageNoVirtual(input, MessageType* value);
344 template<typename MessageType>
346 MessageType* value);
348 template<typename MessageType>
350 MessageType* value);
410 template<typename MessageType>
412 field_number, const MessageType& value, output);
[all …]
/external/deqp/execserver/
DxsProtocol.hpp45 enum MessageType enum
70 MessageType type;
72 Message (MessageType type_) : type(type_) {} in Message()
77 …static void parseHeader (const deUint8* data, size_t dataSize, MessageType& type, size_t& messag…
78 static void writeHeader (MessageType type, size_t messageSize, deUint8* dst, size_t bufSize);
92 …SimpleMessage (const deUint8* data, size_t dataSize) : Message((MessageType)MsgType) { DE_UNREF(da… in SimpleMessage()
93 SimpleMessage (void) : Message((MessageType)MsgType) {} in SimpleMessage()
DxsExecutionServer.hpp74 MessageType getMessageType (void) const { return m_messageType; } in getMessageType()
81 MessageType m_messageType;
99 void processMessage (MessageType type, const deUint8* data, size_t dataSize);
DxsProtocol.cpp94 MessageWriter (MessageType msgType, std::vector<deUint8>& buf) in MessageWriter()
141 void Message::parseHeader (const deUint8* data, size_t dataSize, MessageType& type, size_t& size) in parseHeader()
145 size = (size_t)(MessageType)parser.get<int>(); in parseHeader()
146 type = (MessageType)parser.get<int>(); in parseHeader()
149 void Message::writeHeader (MessageType type, size_t messageSize, deUint8* dst, size_t bufSize) in writeHeader()
/external/deqp/framework/platform/android/
DtcuAndroidRenderActivity.hpp36 enum MessageType enum
59 MessageType type; //!< Message type.
72 explicit Message (MessageType type_) in Message()
80 Message (MessageType type_, ANativeWindow* window) in Message()
90 Message (MessageType type_, AInputQueue* inputQueue) in Message()
99 Message (MessageType type_, de::Semaphore* semaphore) in Message()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dunserialized_message_context.h30 template <typename MessageType> in COMPONENT_EXPORT()
31 MessageType* SafeCast() { in COMPONENT_EXPORT()
32 if (&MessageType::kMessageTag != tag_) in COMPONENT_EXPORT()
34 return static_cast<MessageType*>(this); in COMPONENT_EXPORT()
/external/scapy/scapy/contrib/
Dgsm_um.py169 class MessageType(Packet): class
187 b = MessageType(mesType=0x3B) # 00111011
221 b = MessageType(mesType=0x2e) # 101110
301 b = MessageType(mesType=0x29) # 00101001
311 b = MessageType(mesType=0x2F) # 00101111
322 b = MessageType(mesType=0x8) # 0001000
338 b = MessageType(mesType=0x17) # 00010111
351 b = MessageType(mesType=0xD) # 00001101
388 b = MessageType(mesType=0x35) # 00110101
401 b = MessageType(mesType=0x32) # 00110010
[all …]
/external/skqp/tools/sk_app/android/
Dsurface_glue_android.h22 enum MessageType { enum
35 MessageType fType = kUndefined;
45 Message(MessageType t) : fType(t) {} in Message()
/external/skia/tools/sk_app/android/
Dsurface_glue_android.h22 enum MessageType { enum
35 MessageType fType = kUndefined;
45 Message(MessageType t) : fType(t) {} in Message()
/external/autotest/client/cros/
Ddhcp_packet.py397 MessageType = collections.namedtuple('MessageType', 'name option_value') variable
399 MESSAGE_TYPE_UNKNOWN = MessageType('UNKNOWN', 0)
400 MESSAGE_TYPE_DISCOVERY = MessageType('DISCOVERY', 1)
401 MESSAGE_TYPE_OFFER = MessageType('OFFER', 2)
402 MESSAGE_TYPE_REQUEST = MessageType('REQUEST', 3)
403 MESSAGE_TYPE_DECLINE = MessageType('DECLINE', 4)
404 MESSAGE_TYPE_ACK = MessageType('ACK', 5)
405 MESSAGE_TYPE_NAK = MessageType('NAK', 6)
406 MESSAGE_TYPE_RELEASE = MessageType('RELEASE', 7)
407 MESSAGE_TYPE_INFORM = MessageType('INFORM', 8)
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DWebSocketRTCClient.java47 private enum MessageType { enum in WebSocketRTCClient
125 sendPostMessage(MessageType.LEAVE, leaveUrl, null); in disconnectFromRoomInternal()
196 sendPostMessage(MessageType.MESSAGE, messageUrl, json.toString()); in sendOfferSdp()
243 sendPostMessage(MessageType.MESSAGE, messageUrl, json.toString()); in sendLocalIceCandidate()
349 final MessageType messageType, final String url, final String message) { in sendPostMessage()
364 if (messageType == MessageType.MESSAGE) { in sendPostMessage()
/external/libchrome/mojo/public/cpp/bindings/
Dmessage.h205 template <typename MessageType> in COMPONENT_EXPORT()
206 std::unique_ptr<MessageType> TakeUnserializedContext() { in COMPONENT_EXPORT()
207 auto generic_context = TakeUnserializedContext(&MessageType::kMessageTag); in COMPONENT_EXPORT()
211 generic_context.release()->template SafeCast<MessageType>()); in COMPONENT_EXPORT()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py397 class MessageType(object): class
675 'DescriptorPoolTest1': MessageType({
677 'NestedMessage': MessageType({
679 'DeepNestedMessage': MessageType({
695 'DescriptorPoolTest2': MessageType({
697 'NestedMessage': MessageType({
699 'DeepNestedMessage': MessageType({
721 'DescriptorPoolTest3': MessageType({
723 'NestedMessage': MessageType({
725 'DeepNestedMessage': MessageType({

123