/drivers/peripheral/clearplay/hdi_service/common/ |
H A D | data_parser.cpp | 39 uint32_t expectedSize = initData.size(); in ParsePssh() local 40 expectedSize = htonl(expectedSize); in ParsePssh() 41 if (memcmp(&initData[readPosition], &expectedSize, sizeof(expectedSize)) != 0) { in ParsePssh() 42 HDF_LOGD("%{public}s: memcmp(&initData[readPosition], &expectedSize, sizeof(expectedSize)) != 0", __func__); in ParsePssh() 44 readPosition += sizeof(expectedSize); in ParsePssh()
|
/drivers/peripheral/display/hdi_service/gralloc/include/ |
H A D | parcel_utils.h | 39 pAllocInfo->expectedSize = data.ReadUint32();
in UnpackAllocInfo() 64 if (!data.WriteUint32(pAllocInfo->expectedSize)) {
in PackAllocInfo()
|
/drivers/peripheral/usb/net/src/ |
H A D | usb_net_host.c | 356 struct UsbnetHost *usbNet, unsigned int currentSize, unsigned int expectedSize) in UsbnetHostNotificationBufferProcess() 358 if (usbNet->nbSize < expectedSize) { in UsbnetHostNotificationBufferProcess() 363 unsigned int allocSize = expectedSize; in UsbnetHostNotificationBufferProcess() 370 unsigned int copySize = MIN(currentSize, expectedSize - usbNet->nbIndex); in UsbnetHostNotificationBufferProcess() 418 unsigned int expectedSize = 0; in UsbnetHostReqCallback() local 429 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in UsbnetHostReqCallback() 435 if (currentSize < expectedSize) { in UsbnetHostReqCallback() 436 if (UsbnetHostNotificationBufferProcess(req, usbNet, currentSize, expectedSize) != HDF_SUCCESS) { in UsbnetHostReqCallback() 442 if (currentSize >= expectedSize) { in UsbnetHostReqCallback() 355 UsbnetHostNotificationBufferProcess(const struct UsbRawRequest *req, struct UsbnetHost *usbNet, unsigned int currentSize, unsigned int expectedSize) UsbnetHostNotificationBufferProcess() argument
|
H A D | cdc_ether.c | 748 unsigned int currentSize, uint32_t expectedSize) in EcmNotificationAndRequest() 750 if (currentSize >= expectedSize) { in EcmNotificationAndRequest() 779 uint32_t expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in EcmCtrlIrq() local 780 if (currentSize < expectedSize) { in EcmCtrlIrq() 781 if (ecm->nbSize < expectedSize) { in EcmCtrlIrq() 786 uint32_t allocSize = expectedSize; in EcmCtrlIrq() 793 uint32_t copySize = MIN(currentSize, expectedSize - ecm->nbIndex); in EcmCtrlIrq() 805 EcmNotificationAndRequest(req, ecm, dr, currentSize, expectedSize); in EcmCtrlIrq() 747 EcmNotificationAndRequest(struct UsbRequest *req, struct EcmDevice *ecm, struct UsbCdcNotification *dr, unsigned int currentSize, uint32_t expectedSize) EcmNotificationAndRequest() argument
|
/drivers/peripheral/usb/serial/src/ |
H A D | usb_serial_rawapi.c | 1038 const struct UsbRawRequest *req, struct AcmDevice *acm, unsigned int currentSize, unsigned int expectedSize) in AcmNotificationBufferProcess() 1040 if (acm->nbSize < expectedSize) { in AcmNotificationBufferProcess() 1045 unsigned int allocSize = expectedSize; in AcmNotificationBufferProcess() 1052 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotificationBufferProcess() 1080 unsigned int expectedSize = 0; in AcmNotifyReqCallback() local 1092 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmNotifyReqCallback() 1097 if (currentSize < expectedSize) { in AcmNotifyReqCallback() 1098 if (AcmNotificationBufferProcess(req, acm, currentSize, expectedSize) != HDF_SUCCESS) { in AcmNotifyReqCallback() 1103 if (currentSize >= expectedSize) { in AcmNotifyReqCallback() 1037 AcmNotificationBufferProcess( const struct UsbRawRequest *req, struct AcmDevice *acm, unsigned int currentSize, unsigned int expectedSize) AcmNotificationBufferProcess() argument
|
H A D | usb_serial.c | 1280 unsigned int expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmCtrlIrqCheckSize() local 1281 if (currentSize < expectedSize) { in AcmCtrlIrqCheckSize() 1282 if (acm->nbSize < expectedSize) { in AcmCtrlIrqCheckSize() 1287 unsigned int allocSize = expectedSize; in AcmCtrlIrqCheckSize() 1294 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrqCheckSize() 1305 if (currentSize >= expectedSize) { in AcmCtrlIrqCheckSize()
|
/drivers/peripheral/display/buffer/test/fuzztest/metadata_fuzzer/ |
H A D | metadata_fuzzer.cpp | 70 info.expectedSize = info.width * info.height; in GetAllocInfo()
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
H A D | usb_raw_sdk_if_test.cpp | 242 unsigned int expectedSize, copySize, allocSize; in AcmNotifyReqCallback() local 249 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmNotifyReqCallback() 250 if (currentSize < expectedSize) { in AcmNotifyReqCallback() 251 if (acm->nbSize < expectedSize) { in AcmNotifyReqCallback() 256 allocSize = expectedSize; in AcmNotifyReqCallback() 263 copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotifyReqCallback() 271 if (currentSize >= expectedSize) { in AcmNotifyReqCallback()
|
H A D | usb_host_sdk_if_test.cpp | 152 uint32_t expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in AcmCtrlIrq() local 153 if (currentSize < expectedSize) { in AcmCtrlIrq() 154 if (acm->nbSize < expectedSize) { in AcmCtrlIrq() 159 uint32_t allocSize = expectedSize; in AcmCtrlIrq() 166 uint32_t copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrq() 174 if (currentSize >= expectedSize) { in AcmCtrlIrq()
|
/drivers/peripheral/display/interfaces/include/ |
H A D | display_type.h | 477 uint32_t expectedSize; /**< Size assigned by memory requester */ member
|
/drivers/peripheral/display/composer/test/fuzztest/device_fuzzer/ |
H A D | device_fuzzer.cpp | 74 info.expectedSize = info.width * info.height; in GetAllocInfo()
|
/drivers/peripheral/display/composer/test/fuzztest/layer_fuzzer/ |
H A D | layer_fuzzer.cpp | 104 info.expectedSize = info.width * info.height; in GetAllocInfo()
|