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 D | content_reader_version_1.cpp | 44 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 D | content_reader_version_2.cpp | 44 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 D | base_def.h | 40 #define MAX_TAG_LEN 17 macro 87 char tag[MAX_TAG_LEN] = {0};
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/include/ |
H A D | hilog_base.h | 26 #define MAX_TAG_LEN 32 /* log tag size, include '\0' */ macro
|
H A D | hilog_cmd.h | 83 char tags[MAX_TAGS][MAX_TAG_LEN]; 206 char tag[MAX_TAG_LEN];
|
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/include/ |
H A D | log_filter.h | 35 char tags[MAX_TAGS][MAX_TAG_LEN];
|
H A D | log_data.h | 45 … 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 D | hilog_base.c | 86 size_t tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogBasePrintArgs()
|
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/ |
H A D | service_controller.cpp | 419 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 D | log_buffer.cpp | 91 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 D | sys_event_doc_writer.cpp | 157 …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 D | hilog_printf.cpp | 302 auto tagLen = strnlen(tag, MAX_TAG_LEN - 1); in HiLogPrintArgs()
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/utils/ |
H A D | log_utils.cpp | 129 {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 D | main.cpp | 353 (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()
|