Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hiview/base/event_raw/decoded/
H A Draw_data_decoder.cpp28 uint64_t valByteCnt = 0; // default 0 in FloatingNumberDecoded() local
32 if ((pos + valByteCnt) > maxLen) { in FloatingNumberDecoded()
35 if (valByteCnt == sizeof(float)) { in FloatingNumberDecoded()
37 … if (memcpy_s(reinterpret_cast<uint8_t*>(&tmpf), valByteCnt, rawData + pos, valByteCnt) != EOK) { in FloatingNumberDecoded()
41 } else if (valByteCnt == sizeof(double)) { in FloatingNumberDecoded()
43 … if (memcpy_s(reinterpret_cast<uint8_t*>(&tmpd), valByteCnt, rawData + pos, valByteCnt) != EOK) { in FloatingNumberDecoded()
50 pos += valByteCnt; in FloatingNumberDecoded()
73 uint64_t valByteCnt = 0; // default 0 in StringValueDecoded() local
76 ((pos + valByteCnt) > maxLen)) { in StringValueDecoded()
79 if (valByteCnt == 0) { // no need to copy in StringValueDecoded()
[all …]