Home
last modified time | relevance | path

Searched refs:MAX_TAG_LEN (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/base/event_store/utility/reader/
H A Dcontent_reader_version_1.cpp44 char tag[MAX_TAG_LEN] = {0};
95 if (memcpy_s(header.tag, MAX_TAG_LEN, docHeaderV1.tag, MAX_TAG_LEN) != EOK) { in ReadDocDetails()
H A Dcontent_reader_version_2.cpp44 char tag[MAX_TAG_LEN] = {0};
98 if (memcpy_s(header.tag, MAX_TAG_LEN, docHeaderV2.tag, MAX_TAG_LEN) != EOK) { in ReadDocDetails()
/ohos5.0/base/hiviewdfx/hiview/base/event_store/include/
H A Dbase_def.h40 #define MAX_TAG_LEN 17 macro
87 char tag[MAX_TAG_LEN] = {0};
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/include/
H A Dhilog_base.h26 #define MAX_TAG_LEN 32 /* log tag size, include '\0' */ macro
H A Dhilog_cmd.h83 char tags[MAX_TAGS][MAX_TAG_LEN];
206 char tag[MAX_TAG_LEN];
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/include/
H A Dlog_filter.h35 char tags[MAX_TAGS][MAX_TAG_LEN];
H A Dlog_data.h45 … if (unlikely(mtagLen > MAX_TAG_LEN || mtagLen == 0 || mfmtLen > MAX_LOG_LEN || mfmtLen <= 0)) { in Init()
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/base/
H A Dhilog_base.c86 size_t tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogBasePrintArgs()
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/
H A Dservice_controller.cpp419 if (strncpy_s(tagStats.tag, MAX_TAG_LEN, itt.first.c_str(), MAX_TAG_LEN - 1) != 0) { in SendTagStats()
473 (void)strncpy_s(filter.tags[i], MAX_TAG_LEN, rqst.tags[i], MAX_TAG_LEN - 1); in LogFilterFromOutputRqst()
H A Dlog_buffer.cpp91 if (unlikely(msg.tagLen > MAX_TAG_LEN || msg.tagLen == 0 || elemSize > MAX_LOG_LEN || in Insert()
/ohos5.0/base/hiviewdfx/hiview/base/event_store/utility/writer/
H A Dsys_event_doc_writer.cpp157 …if (!sysEvent->GetTag().empty() && strcpy_s(header.tag, MAX_TAG_LEN, sysEvent->GetTag().c_str()) !… in WriteHeader()
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/
H A Dhilog_printf.cpp302 auto tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogPrintArgs()
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/utils/
H A Dlog_utils.cpp129 {ERR_TAG_STR_TOO_LONG, ("Tag string too long, max length is " + to_string(MAX_TAG_LEN - 1))},
/ohos5.0/base/hiviewdfx/hilog/services/hilogtool/
H A Dmain.cpp353 (void)strncpy_s(rqst.tags[i], MAX_TAG_LEN, tags[i].c_str(), tags[i].length()); in ToOutputRqst()
791 if (t.length() >= MAX_TAG_LEN) { in TagHandler()