/external/libmojo/mojo/public/cpp/bindings/lib/ |
message_internal.h | 17 struct MessageHeader : internal::StructHeader { 28 static_assert(sizeof(MessageHeader) == 24, "Bad sizeof(MessageHeader)"); 30 struct MessageHeaderWithRequestID : MessageHeader {
|
message_builder.cc | 23 InitializeMessage(sizeof(MessageHeader) + payload_size); 25 MessageHeader* header;
|
message_header_validator.cc | 14 bool IsValidMessageHeader(const internal::MessageHeader* header, 21 if (header->num_bytes != sizeof(internal::MessageHeader)) {
|
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
ServiceMessage.java | 11 * Represents a {@link Message} which contains a {@link MessageHeader}. Deals with parsing the 12 * {@link MessageHeader} for a message. 16 private final MessageHeader mHeader; 23 public ServiceMessage(Message baseMessage, MessageHeader header) { 25 assert header.equals(new org.chromium.mojo.bindings.MessageHeader(baseMessage)); 34 this(baseMessage, new org.chromium.mojo.bindings.MessageHeader(baseMessage)); 49 public MessageHeader getHeader() {
|
InterfaceControlMessagesHelper.java | 47 core, new MessageHeader(InterfaceControlMessagesConstants.RUN_MESSAGE_ID, 48 MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG, 0)); 58 new MessageHeader(InterfaceControlMessagesConstants.RUN_OR_CLOSE_PIPE_MESSAGE_ID)); 74 core, new MessageHeader(InterfaceControlMessagesConstants.RUN_MESSAGE_ID, 75 MessageHeader.MESSAGE_IS_RESPONSE_FLAG,
|
MessageHeader.java | 12 public class MessageHeader { 52 public MessageHeader(int type) { 62 public MessageHeader(int type, int flags, long requestId) { 74 MessageHeader(Message message) { 198 MessageHeader other = (MessageHeader) object;
|
RouterImpl.java | 171 assert messageWithHeader.getHeader().hasFlag(MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG); 222 MessageHeader header = message.asServiceMessage().getHeader(); 223 if (header.hasFlag(MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG)) { 231 } else if (header.hasFlag(MessageHeader.MESSAGE_IS_RESPONSE_FLAG)) {
|
Struct.java | 58 public ServiceMessage serializeWithHeader(Core core, MessageHeader header) {
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
MessageHeaderTest.java | 29 ServiceMessage message = p.serializeWithHeader(null, new MessageHeader(type)); 31 MessageHeader header = message.getHeader(); 55 new MessageHeader(type, MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG, 0)); 58 MessageHeader header = message.getHeader(); 59 assertTrue(header.validateHeader(type, MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG)); 61 assertEquals(MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG, header.getFlags());
|
RouterTest.java | 62 MessageHeader header = new MessageHeader(requestMessageType, 63 MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG, 0); 72 MessageHeader receivedHeader = new Message( 80 MessageHeader responseHeader = new MessageHeader(responseMessageType, 81 MessageHeader.MESSAGE_IS_RESPONSE_FLAG, receivedHeader.getRequestId()); 91 assertEquals(MessageHeader.MESSAGE_IS_RESPONSE_FLAG, 105 MessageHeader header = new MessageHeader( [all...] |
ValidationTest.java | 147 MessageHeader header = message.asServiceMessage().getHeader(); 148 if (header.hasFlag(MessageHeader.MESSAGE_IS_RESPONSE_FLAG)) {
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
message.c | 38 return ((uint8_t *)msg) + sizeof(MessageHeader); 42 MessageHeader* self = (MessageHeader *)_self; 58 MessageHeader* msg = (MessageHeader*)ALLOC_N( 59 uint8_t, sizeof(MessageHeader) + desc->layout->size); 75 static VALUE which_oneof_field(MessageHeader* self, const upb_oneofdef* o) { 127 MessageHeader* self; 135 TypedData_Get_Struct(_self, MessageHeader, &Message_type, self); 182 MessageHeader* self [all...] |
encode_decode.c | 109 MessageHeader* msg = closure; 157 MessageHeader* msg = closure; 169 MessageHeader* msg = closure; 192 MessageHeader* submsg; 197 TypedData_Get_Struct(submsg_rb, MessageHeader, &Message_type, submsg); 203 MessageHeader* msg = closure; 209 MessageHeader* submsg; 217 TypedData_Get_Struct(submsg_rb, MessageHeader, &Message_type, submsg); 248 MessageHeader* msg = closure; 340 MessageHeader* msg = closure [all...] |
protobuf.h | 47 struct MessageHeader; 59 typedef struct MessageHeader MessageHeader; 477 struct MessageHeader {
|
/external/libmojo/mojo/edk/system/ |
message_for_transit.h | 30 struct MessageHeader { 101 const MessageForTransit::MessageHeader* header() const { 103 return static_cast<const MessageForTransit::MessageHeader*>(
|
message_for_transit.cc | 16 static_assert(sizeof(MessageForTransit::MessageHeader) % 8 == 0, 17 "Invalid MessageHeader size."); 41 size_t header_size = sizeof(MessageHeader) + 65 // The front of the message is always a MessageHeader followed by a 67 MessageHeader* header = 68 static_cast<MessageHeader*>(msg->mutable_payload_bytes());
|
message_pipe_dispatcher.cc | 26 using MessageHeader = MessageForTransit::MessageHeader; 196 if (message.num_payload_bytes() < sizeof(MessageHeader)) { 201 const MessageHeader* header = 202 static_cast<const MessageHeader*>(message.payload_bytes()); 272 const MessageHeader* header = 273 static_cast<const MessageHeader*>(msg->payload_bytes()); 284 size_t data_payload_index = sizeof(MessageHeader) +
|
/libcore/ojluni/src/main/java/sun/net/www/ |
URLConnection.java | 44 protected MessageHeader properties; 53 properties = new MessageHeader(); 59 public MessageHeader getProperties() { 64 public void setProperties(MessageHeader properties) { 120 MessageHeader props = properties; 135 MessageHeader props = properties;
|
MessageHeader.java | 44 class MessageHeader { 49 public MessageHeader () { 53 public MessageHeader (InputStream is) throws java.io.IOException {
|
/external/libmojo/mojo/public/cpp/bindings/ |
message.h | 57 const internal::MessageHeader* header() const { 58 return static_cast<const internal::MessageHeader*>(buffer_->data()); 61 internal::MessageHeader* header() { 62 return const_cast<internal::MessageHeader*>(
|
/external/libchrome/base/test/ |
multiprocess_test_android.cc | 43 struct MessageHeader { 49 MessageHeader header = 57 MessageHeader header = 64 MessageHeader header = 72 MessageHeader header = 110 void Send(int fd, const MessageHeader* msg, const std::vector<int>& fds); 163 int fd, const MessageHeader* msg, const std::vector<int>& fds) { 183 const MessageHeader* header = reinterpret_cast<const MessageHeader*>(buf); 220 const MessageHeader* header [all...] |
/external/protobuf/php/ext/google/protobuf/ |
message.c | 40 return ((uint8_t *)msg) + sizeof(MessageHeader); 47 MessageHeader* self = zend_object_store_get_object(object TSRMLS_CC); 59 MessageHeader* self = 60 (MessageHeader*)zend_object_store_get_object(object TSRMLS_CC); 221 MessageHeader* msg = (MessageHeader*)ALLOC_N( 222 uint8_t, sizeof(MessageHeader) + desc->layout->size);
|
protobuf.h | 18 struct MessageHeader; 29 typedef struct MessageHeader MessageHeader; 156 struct MessageHeader {
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
FtpURLConnection.java | 52 import sun.net.www.MessageHeader; 443 MessageHeader msgh = new MessageHeader();
|
/libcore/ojluni/src/main/java/java/net/ |
URLConnection.java | 41 import sun.net.www.MessageHeader; 284 private MessageHeader requests; [all...] |