Home
last modified time | relevance | path

Searched refs:dataByteCnt (Results 1 - 2 of 2) sorted by relevance

/base/hiviewdfx/hiview/plugins/sysevent_source/test/fuzztest/common/eventserver_fuzzer/
H A Deventserver_fuzzer.cpp41 int32_t dataByteCnt = *(reinterpret_cast<int32_t*>(buffer)); in SysEventServerFuzzTest() local
42 if (dataByteCnt != static_cast<int32_t>(size)) { in SysEventServerFuzzTest()
/base/hiviewdfx/hiview/plugins/sysevent_source/
H A Devent_server.cpp215 int32_t dataByteCnt = *(reinterpret_cast<int32_t*>(msg)); in IsValidMsg() local
216 if (dataByteCnt != len) { in IsValidMsg()
217 HIVIEW_LOGW("the data byte count=%{public}d are not equal to read length %{public}d", dataByteCnt, len); in IsValidMsg()
305 int32_t dataByteCnt = *(reinterpret_cast<int32_t*>(msg)); in IsValidMsg() local
306 if ((hasBbox_ && dataByteCnt != len) || in IsValidMsg()
307 (!hasBbox_ && dataByteCnt != (len - sizeof(struct Header) - 1))) { // extra bytes in kernel write in IsValidMsg()

Completed in 2 milliseconds