Searched refs:tag_len (Results 1 – 8 of 8) sorted by relevance
/base/hiviewdfx/hilog/services/hilogd/include/ |
D | log_data.h | 33 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/ |
D | hilog_common.h | 61 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/ |
D | log_buffer.cpp | 85 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()
|
D | log_collector.cpp | 44 dropMsg->tag_len = tag.size(); in InsertDropInfo() 109 if (*(msg.tag + msg.tag_len - 1) != '\0') { in onDataRecv()
|
D | kmsg_parser.cpp | 131 msg.tag_len = tagLen + 1; in ParseKmsg()
|
D | service_controller.cpp | 137 rsp.tagLen = data.tag_len; /* include '\0' */ in WriteQueryResponse()
|
/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
D | hilog_input_socket_client.cpp | 40 header->tag_len = tagLen; in WriteLogMessage()
|
/base/hiviewdfx/hilog/frameworks/libhilog/base/ |
D | hilog_base.cpp | 213 logMsgInfo->header_->tag_len = logMsgInfo->tagLen_; in BuildHilogMessageForOh()
|