Lines Matching defs:msg
36 static int GenerateHilogMsgInside(HilogMsg& hilogMsg, const string& msg, uint16_t logType);
69 const string msg = "========Zeroth log of type: ";
78 string tmpStr = msg + typeStr;
88 size_t HilogBuffer::Insert(const HilogMsg& msg, bool& isFull)
90 size_t elemSize = CONTENT_LEN((&msg)); /* include '\0' */
91 if (unlikely(msg.tagLen > MAX_TAG_LEN || msg.tagLen == 0 || elemSize > MAX_LOG_LEN ||
92 elemSize == 0 || msg.type >= LOG_TYPE_MAX)) {
98 int bufferType = ConvertBufType(msg.type);
130 hilogDataList.emplace_back(msg);
250 const string msg = "========Slow reader missed log lines: ";
251 const string tmpStr = msg + to_string(reader->skipped);
414 static int GenerateHilogMsgInside(HilogMsg& hilogMsg, const string& msg, uint16_t logType)
417 size_t contentLen = tag.length() + 1 + msg.length() + 1;
438 if (memcpy_s(hilogMsg.tag + hilogMsg.tagLen, contentLen - hilogMsg.tagLen, msg.c_str(), msg.length() + 1) != 0) {