Searched refs:messageLen (Results 1 – 2 of 2) sorted by relevance
33 size_t messageLen = strlen(message); in writeMessage() local34 if (messageLen == 0) return; in writeMessage()36 messageLen += 1; // Also count in the null terminator. in writeMessage()38 if (messageLen >= messageBufferSize) { in writeMessage()39 snprintf(buffer, sizeof(buffer), "!!! Message too long: %zu bytes !!!", messageLen); in writeMessage()41 messageLen = strlen(message); in writeMessage()45 if (wrappedWritePos + messageLen >= messageBufferSize) { in writeMessage()52 memcpy(messageBuffer + wrappedWritePos, message, messageLen); in writeMessage()53 lastWritePos += messageLen; in writeMessage()103 size_t messageLen = strlen(messageBufferCopy + (readPos % messageBufferSize)); in getRecentMessagesForJava() local[all …]
315 int messageLen = mBmsg.mBbodyLength - MSG_CONTAINER_LEN; in parseBody() local316 int offset = messageLen + CRLF_LEN; in parseBody()335 mBmsg.mMessage = new String(data, 0, messageLen, StandardCharsets.UTF_8); in parseBody()371 mBmsg.mMessage = remng.substring(0, messageLen); in parseBody()