Searched refs:MAX_EVENT_NAME_LENGTH (Results 1 – 11 of 11) sorted by relevance
/base/hiviewdfx/hiview/base/event_raw/include/base/ |
D | raw_data_base_def.h | 28 constexpr unsigned int MAX_EVENT_NAME_LENGTH = 32; variable 51 char name[MAX_EVENT_NAME_LENGTH + 1];
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/ |
D | def.h | 56 static constexpr unsigned int MAX_EVENT_NAME_LENGTH = 32; variable
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/include/ |
D | raw_data_base_def.h | 49 char name[MAX_EVENT_NAME_LENGTH + 1];
|
/base/hiviewdfx/hiview/base/event_raw/decoded/ |
D | decoded_event.cpp | 100 char* name = new(std::nothrow) char[MAX_EVENT_NAME_LENGTH + 1]; in AppendBaseInfo() 104 if (memcpy_s(name, MAX_EVENT_NAME_LENGTH, header_.name, MAX_EVENT_NAME_LENGTH) != EOK) { in AppendBaseInfo() 108 name[MAX_EVENT_NAME_LENGTH] = '\0'; in AppendBaseInfo()
|
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/ |
D | hisysevent_operation.cpp | 75 if (!StringFilter::GetInstance().IsValidName(eventBase.eventName_, MAX_EVENT_NAME_LENGTH)) { in CombineBaseInfo()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/ |
D | raw_data_builder.cpp | 116 auto ret = memcpy_s(header_.name, MAX_EVENT_NAME_LENGTH, name.c_str(), name.length()); in AppendName() 120 auto resetPos = std::min(name.length(), static_cast<size_t>(MAX_EVENT_NAME_LENGTH)); in AppendName()
|
/base/hiviewdfx/hiview/base/event_raw/encoded/ |
D | raw_data_builder.cpp | 135 auto ret = memcpy_s(header_.name, MAX_EVENT_NAME_LENGTH, name.c_str(), name.length()); in AppendName() 139 auto resetPos = std::min(name.length(), static_cast<size_t>(MAX_EVENT_NAME_LENGTH)); in AppendName()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
D | hisysevent.cpp | 227 if (!StringFilter::GetInstance().IsValidName(eventBase.eventName_, MAX_EVENT_NAME_LENGTH)) { in WritebaseInfo()
|
D | inner_writer.cpp | 183 …gFilter::GetInstance().IsValidName(eventBase.GetEventBuilder().GetName(), MAX_EVENT_NAME_LENGTH)) { in WritebaseInfo()
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
D | hisysevent_c_test.cpp | 455 std::string name4(MAX_EVENT_NAME_LENGTH + 1, 'a');
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | napi_hisysevent_util.cpp | 465 return !StringFilter::GetInstance().IsValidName(name, MAX_EVENT_NAME_LENGTH); in IsQueryRuleValid()
|