Home
last modified time | relevance | path

Searched refs:MAX_EVENT_NAME_LENGTH (Results 1 – 11 of 11) sorted by relevance

/base/hiviewdfx/hiview/base/event_raw/include/base/
Draw_data_base_def.h28 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/
Ddef.h56 static constexpr unsigned int MAX_EVENT_NAME_LENGTH = 32; variable
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/include/
Draw_data_base_def.h49 char name[MAX_EVENT_NAME_LENGTH + 1];
/base/hiviewdfx/hiview/base/event_raw/decoded/
Ddecoded_event.cpp100 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/
Dhisysevent_operation.cpp75 if (!StringFilter::GetInstance().IsValidName(eventBase.eventName_, MAX_EVENT_NAME_LENGTH)) { in CombineBaseInfo()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/
Draw_data_builder.cpp116 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/
Draw_data_builder.cpp135 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/
Dhisysevent.cpp227 if (!StringFilter::GetInstance().IsValidName(eventBase.eventName_, MAX_EVENT_NAME_LENGTH)) { in WritebaseInfo()
Dinner_writer.cpp183 …gFilter::GetInstance().IsValidName(eventBase.GetEventBuilder().GetName(), MAX_EVENT_NAME_LENGTH)) { in WritebaseInfo()
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_c_test.cpp455 std::string name4(MAX_EVENT_NAME_LENGTH + 1, 'a');
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_util.cpp465 return !StringFilter::GetInstance().IsValidName(name, MAX_EVENT_NAME_LENGTH); in IsQueryRuleValid()