Searched refs:flatSize (Results 1 – 4 of 4) sorted by relevance
113 ssize_t flatSize = m_message->FlattenedSize(); in xmlExportContent() local114 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()
306 ssize_t flatSize = message.FlattenedSize(); in _SendMessage() local307 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()
169 ssize_t flatSize = flat.FlattenedSize(); in Size() local170 return size == (size_t)flatSize; in Size()
530 ssize_t flatSize = msg.FlattenedSize(); in MessageItemTest11() local531 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() local567 char* buf = new char[flatSize]; in MessageItemTest12()570 CPPUNIT_ASSERT(msg.Flatten(buf, flatSize) == B_OK); in MessageItemTest12()