Home
last modified time | relevance | path

Searched refs:mtag (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hilog/services/hilogd/
Dkmsg_parser.cpp143 std::vector<char> mtag(MAX_TAG_LEN, '\0'); in ParseKmsg() local
155 if (strncpy_s(mtag.data(), MAX_TAG_LEN - 1, tagStr.c_str(), tagStr.size()) != 0) { in ParseKmsg()
161 if (strncpy_s(mtag.data(), MAX_TAG_LEN - 1, defaultTag.data(), defaultTag.size()) != 0) { in ParseKmsg()
181 if (strncpy_s(msg.tag, tagLen + 1, mtag.data(), tagLen) != 0) { in ParseKmsg()
/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_data.h42 void init(const char *mtag, uint16_t mtagLen, const char *mfmt, size_t mfmtLen) in init()
55 if (strncpy_s(tag, mtagLen + 1, mtag, mtagLen - 1)) { in init()