Searched refs:retValueLen (Results 1 - 2 of 2) sorted by relevance
/drivers/peripheral/display/hdi_service/device/src/util/ |
H A D | display_device_common.cpp | 60 uint32_t retValueLen = 0; in DisplayDeviceReadUint32() local 61 if (sizeof(uint32_t) != (retValueLen = parcel->ReadUint32())) { in DisplayDeviceReadUint32() 62 DISPLAY_LOG("error: wrong data length of proxy received: %{public}u, expected: %{public}zu", retValueLen, in DisplayDeviceReadUint32() 90 uint32_t retValueLen = 0; in DisplayDeviceReadInt32() local 91 if (sizeof(int32_t) != (retValueLen = parcel->ReadUint32())) { in DisplayDeviceReadInt32() 92 DISPLAY_LOG("error: wrong data length of proxy received: %{public}u, expected: %{public}zu", retValueLen, in DisplayDeviceReadInt32() 118 uint32_t retValueLen = 0; in DisplayDeviceReadBool() local 119 if (sizeof(bool) != (retValueLen = parcel->ReadUint32())) { in DisplayDeviceReadBool() 121 "error: wrong data length of proxy received: %{public}u, expected: %{public}zu", retValueLen, sizeof(bool)); in DisplayDeviceReadBool() 149 uint32_t retValueLen in DisplayDeviceReadUint64() local 179 uint32_t retValueLen = 0; DisplayDeviceReadPtr() local [all...] |
/drivers/peripheral/display/hdi_service/device/include/util/ |
H A D | display_device_common.h | 205 uint32_t retValueLen = 0; in DisplayDeviceReadData() local 206 if (sizeof(T) * num != (retValueLen = parcel->ReadUint32())) { in DisplayDeviceReadData() 208 "error: wrong data length of proxy received: %{public}u, expected: %{public}zu", retValueLen, sizeof(T)); in DisplayDeviceReadData() 212 T *dataTmp = (T *)parcel->ReadUnpadBuffer(retValueLen); in DisplayDeviceReadData() 217 if (memcpy_s(data, num * sizeof(T), dataTmp, retValueLen) != EOK) { in DisplayDeviceReadData()
|
Completed in 1 milliseconds