Searched refs:XS_CHECK_MSG (Results 1 – 3 of 3) sorted by relevance
60 XS_CHECK_MSG(m_pos + sizeof(T) <= m_size, "Invalid payload size"); in get()73 XS_CHECK_MSG(m_pos < m_size, "Unterminated string payload"); in getString()143 XS_CHECK_MSG(dataSize >= MESSAGE_HEADER_SIZE, "Incomplete header"); in parseHeader()151 XS_CHECK_MSG(bufSize >= MESSAGE_HEADER_SIZE, "Incomplete header"); in writeHeader()
87 #define XS_CHECK_MSG(X, MSG) do { if ((!deGetFalse() && (X)) ? DE_FALSE : DE_TRUE) throw xs::Error(… macro
92 …a, size_t dataSize) : Message((MessageType)MsgType) { DE_UNREF(data); XS_CHECK_MSG(dataSize == 0, … in SimpleMessage()