Home
last modified time | relevance | path

Searched refs:flatSize (Results 1 – 4 of 4) sorted by relevance

/haiku/src/apps/cortex/Persistence/Wrappers/
H A DFlatMessageIO.cpp113 ssize_t flatSize = m_message->FlattenedSize(); in xmlExportContent() local
114 ASSERT(flatSize); in xmlExportContent()
115 char* flatData = new char[flatSize]; in xmlExportContent()
116 status_t err = m_message->Flatten(flatData, flatSize); in xmlExportContent()
120 ssize_t base64Size = ((flatSize * 3) / 2); in xmlExportContent()
122 ssize_t base64Used = encode_base64(base64Data, flatData, flatSize); in xmlExportContent()
/haiku/src/kits/network/libnetapi/
H A DSocketMessenger.cpp306 ssize_t flatSize = message.FlattenedSize(); in _SendMessage() local
307 ssize_t totalSize = flatSize + sizeof(ssize_t); in _SendMessage()
314 *(ssize_t*)buffer = flatSize; in _SendMessage()
316 status_t error = message.Flatten(messageBuffer, flatSize); in _SendMessage()
/haiku/src/tests/kits/app/bmessage/
H A DMessageFlattenableItemTest.h169 ssize_t flatSize = flat.FlattenedSize(); in Size() local
170 return size == (size_t)flatSize; in Size()
H A DMessageItemTest.h530 ssize_t flatSize = msg.FlattenedSize(); in MessageItemTest11() local
531 char* buf = new char[flatSize]; in MessageItemTest11()
534 CPPUNIT_ASSERT(msg.Flatten(buf, flatSize) == B_OK); in MessageItemTest11()
566 ssize_t flatSize = msg.FlattenedSize(); in MessageItemTest12() local
567 char* buf = new char[flatSize]; in MessageItemTest12()
570 CPPUNIT_ASSERT(msg.Flatten(buf, flatSize) == B_OK); in MessageItemTest12()