Home
last modified time | relevance | path

Searched refs:tag_len (Results 1 – 8 of 8) sorted by relevance

/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_data.h33 uint16_t tag_len : 6; /* include '\0' */ member
70 : len(0), version(msg.version), type(msg.type), level(msg.level), tag_len(msg.tag_len), in HilogData()
74 init(msg.tag, msg.tag_len, CONTENT_PTR((&msg)), CONTENT_LEN((&msg))); in HilogData()
88 content = tag + tag_len; in HilogData()
/base/hiviewdfx/hilog/frameworks/libhilog/include/
Dhilog_common.h61 uint16_t tag_len : 6; /* include '\0' */ member
77 #define CONTENT_LEN(pMsg) ((pMsg)->len - sizeof(HilogMsg) - (pMsg)->tag_len) /* include '\0' */
78 #define CONTENT_PTR(pMsg) ((pMsg)->tag + (pMsg)->tag_len)
/base/hiviewdfx/hilog/services/hilogd/
Dlog_buffer.cpp85 if (unlikely(msg.tag_len > MAX_TAG_LEN || msg.tag_len == 0 || elemSize > MAX_LOG_LEN || in Insert()
106 size_t cLen = it->len - it->tag_len; in Insert()
284 size_t cLen = it->len - it->tag_len; in Delete()
414 hilogMsg.tag_len = tag.length() + 1; in GenerateHilogMsgInside()
415 if (memcpy_s(hilogMsg.tag, contentLen, tag.c_str(), hilogMsg.tag_len) != 0) { in GenerateHilogMsgInside()
418 …if (memcpy_s(hilogMsg.tag + hilogMsg.tag_len, contentLen - hilogMsg.tag_len, msg.c_str(), msg.leng… in GenerateHilogMsgInside()
Dlog_collector.cpp44 dropMsg->tag_len = tag.size(); in InsertDropInfo()
109 if (*(msg.tag + msg.tag_len - 1) != '\0') { in onDataRecv()
Dkmsg_parser.cpp131 msg.tag_len = tagLen + 1; in ParseKmsg()
Dservice_controller.cpp137 rsp.tagLen = data.tag_len; /* include '\0' */ in WriteQueryResponse()
/base/hiviewdfx/hilog/frameworks/libhilog/socket/
Dhilog_input_socket_client.cpp40 header->tag_len = tagLen; in WriteLogMessage()
/base/hiviewdfx/hilog/frameworks/libhilog/base/
Dhilog_base.cpp213 logMsgInfo->header_->tag_len = logMsgInfo->tagLen_; in BuildHilogMessageForOh()