Home
last modified time | relevance | path

Searched refs:message_header (Results 1 – 12 of 12) sorted by relevance

/haiku/src/kits/app/
H A DLinkSender.cpp71 if (minSize > kMaxBufferSize - sizeof(message_header)) { in StartMessage()
76 minSize += sizeof(message_header); in StartMessage()
92 message_header *header = (message_header *)(fBuffer + fCurrentStart); in StartMessage()
101 fCurrentEnd += sizeof(message_header); in StartMessage()
113 message_header *header = (message_header *)(fBuffer + fCurrentStart); in EndMessage()
H A DLinkReceiver.cpp84 message_header *header; in GetNextMessage()
90 header = (message_header *)fRecvBuffer; in GetNextMessage()
94 header = (message_header *)(fRecvBuffer + fRecvStart); in GetNextMessage()
98 if (remaining < (int32)sizeof(message_header)) { in GetNextMessage()
106 if (fReplySize > remaining || fReplySize < (int32)sizeof(message_header)) { in GetNextMessage()
113 fRecvPosition += sizeof(message_header); in GetNextMessage()
136 message_header *header = (message_header *)(fRecvBuffer + fRecvStart); in NeedsReply()
147 message_header *header = (message_header *)(fRecvBuffer + fRecvStart); in Code()
H A Dlink_message.h21 struct message_header { struct
H A DMessage.cpp197 fHeader = (message_header*)malloc(sizeof(message_header)); in operator =()
204 memcpy(fHeader, other.fHeader, sizeof(message_header)); in operator =()
374 fHeader = (message_header*)malloc(sizeof(message_header)); in _InitHeader()
379 memset(fHeader, 0, sizeof(message_header) - sizeof(fHeader->hash_table)); in _InitHeader()
1031 return sizeof(message_header) + fHeader->field_count * sizeof(field_header) in FlattenedSize()
1052 memcpy(buffer, fHeader, sizeof(message_header)); in Flatten()
1053 buffer += sizeof(message_header); in Flatten()
1078 ssize_t result1 = stream->Write(fHeader, sizeof(message_header)); in Flatten()
1079 if (result1 != sizeof(message_header)) in Flatten()
1134 BMessage::_FlattenToArea(message_header** _header) const in _FlattenToArea()
[all …]
H A DMessageAdapter.cpp249 BMessage::message_header* header = fromPrivate.GetMessageHeader(); in ConvertToKMessage()
345 BMessage::message_header* header = messagePrivate.GetMessageHeader(); in _R5FlattenedSize()
409 BMessage::message_header *header = messagePrivate.GetMessageHeader(); in _FlattenR5Message()
554 BMessage::message_header *header = messagePrivate.GetMessageHeader(); in _UnflattenR5Message()
/haiku/headers/private/app/
H A DMessagePrivate.h56 struct BMessage::message_header { struct
155 BMessage::message_header*
174 FlattenToArea(message_header **header) const in FlattenToArea()
/haiku/headers/build/private/app/
H A DMessagePrivate.h56 struct BMessage::message_header { struct
155 BMessage::message_header*
/haiku/src/build/libbe/app/
H A DMessage.cpp145 fHeader = (message_header *)malloc(sizeof(message_header)); in operator =()
149 memcpy(fHeader, other.fHeader, sizeof(message_header)); in operator =()
302 fHeader = (message_header *)malloc(sizeof(message_header)); in _InitHeader()
307 memset(fHeader, 0, sizeof(message_header) - sizeof(fHeader->hash_table)); in _InitHeader()
761 return sizeof(message_header) + fHeader->field_count * sizeof(field_header) in FlattenedSize()
779 memcpy(buffer, fHeader, min_c(sizeof(message_header), (size_t)size)); in Flatten()
780 buffer += sizeof(message_header); in Flatten()
781 size -= sizeof(message_header); in Flatten()
809 ssize_t result1 = stream->Write(fHeader, sizeof(message_header)); in Flatten()
810 if (result1 != sizeof(message_header)) in Flatten()
[all …]
/haiku/src/kits/debugger/value/value_nodes/
H A DBMessageValueNode.cpp178 + sizeof(BMessage::message_header)); in ResolvedLocationAndValue()
248 fHeader = new(std::nothrow) BMessage::message_header(); in ResolvedLocationAndValue()
252 BMessage::message_header), fHeader); in ResolvedLocationAndValue()
275 size_t totalSize = sizeof(BMessage::message_header) + fieldsSize in ResolvedLocationAndValue()
284 memcpy(messageBuffer, fHeader, sizeof(BMessage::message_header)); in ResolvedLocationAndValue()
285 uint8* tempBuffer = messageBuffer + sizeof(BMessage::message_header); in ResolvedLocationAndValue()
/haiku/headers/private/debugger/value/value_nodes/
H A DBMessageValueNode.h67 BMessage::message_header*
/haiku/headers/build/os/app/
H A DMessage.h271 struct message_header;
296 message_header* fHeader;
/haiku/headers/os/app/
H A DMessage.h529 struct message_header;
540 status_t _FlattenToArea(message_header** _header) const;
586 message_header* fHeader;