/ohos5.0/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() 44 readPosition += sizeof(expectedSize); in ParsePssh()
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/display/ |
H A D | _alloc_info_v10.md | 24 | unsigned int [expectedSize](#expectedsize) | 申请内存大小 | 30 ### expectedSize subsection 33 unsigned int AllocInfo::expectedSize
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/ |
H A D | paste_data_record.cpp | 470 size_t expectedSize = 0; in Count() local 471 expectedSize += TLVObject::Count(mimeType_); in Count() 472 expectedSize += TLVObject::Count(htmlText_); in Count() 481 expectedSize += TLVObject::Count(udType_); in Count() 482 expectedSize += TLVObject::Count(details_); in Count() 486 expectedSize += TLVObject::Count(entries_); in Count() 487 expectedSize += TLVObject::Count(dataId_); in Count() 488 expectedSize += TLVObject::Count(recordId_); in Count() 489 expectedSize += TLVObject::Count(isDelay_); in Count() 490 expectedSize += TLVObject::Count(from_); in Count() [all …]
|
H A D | paste_data.cpp | 721 size_t expectedSize = 0; in Count() local 723 expectedSize += TLVObject::Count(mimeTypes); in Count() 724 expectedSize += TLVObject::Count(tag); in Count() 725 expectedSize += TLVObject::Count(localOnly); in Count() 726 expectedSize += TLVObject::Count(timestamp); in Count() 727 expectedSize += TLVObject::Count(shareOption); in Count() 728 expectedSize += TLVObject::Count(tokenId); in Count() 729 expectedSize += TLVObject::Count(isRemote); in Count() 730 expectedSize += TLVObject::Count(bundleName); in Count() 731 expectedSize += TLVObject::Count(setTime); in Count() [all …]
|
H A D | paste_data_entry.cpp | 184 size_t expectedSize = 0; in Count() local 185 expectedSize += TLVObject::Count(utdId_); in Count() 186 expectedSize += TLVObject::Count(mimeType_); in Count() 187 expectedSize += TLVObject::Count(value_); in Count() 188 return expectedSize; in Count()
|
/ohos5.0/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()
|
/ohos5.0/base/hiviewdfx/hilog/test/moduletest/common/ |
H A D | adapter_test.cpp | 121 static const std::array<size_t, 7> expectedSize = {0, size, size, size, size, size, 0}; variable 125 EXPECT_EQ(GetBufferSize(logType[i], false), expectedSize[i]);
|
/ohos5.0/drivers/peripheral/usb/net/src/ |
H A D | usb_net_host.c | 341 struct UsbnetHost *usbNet, unsigned int currentSize, unsigned int expectedSize) in UsbnetHostNotificationBufferProcess() argument 343 if (usbNet->nbSize < expectedSize) { in UsbnetHostNotificationBufferProcess() 348 unsigned int allocSize = expectedSize; in UsbnetHostNotificationBufferProcess() 355 unsigned int copySize = MIN(currentSize, expectedSize - usbNet->nbIndex); in UsbnetHostNotificationBufferProcess() 403 unsigned int expectedSize = 0; in UsbnetHostReqCallback() local 414 expectedSize = sizeof(struct UsbCdcNotification) + LE16_TO_CPU(dr->wLength); in UsbnetHostReqCallback() 420 if (currentSize < expectedSize) { in UsbnetHostReqCallback() 421 … if (UsbnetHostNotificationBufferProcess(req, usbNet, currentSize, expectedSize) != HDF_SUCCESS) { in UsbnetHostReqCallback() 427 if (currentSize >= expectedSize) { in UsbnetHostReqCallback()
|
H A D | cdc_ether.c | 748 unsigned int currentSize, uint32_t expectedSize) in EcmNotificationAndRequest() argument 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()
|
/ohos5.0/drivers/peripheral/usb/serial/src/ |
H A D | usb_serial_rawapi.c | 1038 …uct UsbRawRequest *req, struct AcmDevice *acm, unsigned int currentSize, unsigned int expectedSize) in AcmNotificationBufferProcess() argument 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()
|
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()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | file_metadata_stream.cpp | 87 ssize_t expectedSize) in HandleFileError() argument 95 operation.c_str(), fileDescriptor, buf.c_str(), result, expectedSize); in HandleFileError() 99 operation.c_str(), filePath.c_str(), buf.c_str(), result, expectedSize); in HandleFileError()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/encoderapi11_fuzzer/ |
H A D | videoenc_api11_sample.h | 76 uint32_t ReturnZeroIfEOS(uint32_t expectedSize);
|
H A D | videoenc_api11_sample.cpp | 338 uint32_t VEncAPI11FuzzSample::ReturnZeroIfEOS(uint32_t expectedSize) in ReturnZeroIfEOS() argument 340 if (inFile_->gcount() != (expectedSize)) { in ReturnZeroIfEOS()
|
/ohos5.0/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()
|
/ohos5.0/drivers/interface/display/buffer/v1_0/ |
H A D | DisplayBufferType.idl | 27 unsigned int expectedSize; /**< Size assigned by memory requester */
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/display_buffer_v1_0/dump_ast_target/ |
H A D | dump.txt | 44 unsigned int expectedSize;
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/display_buffer_v1_0/foo/display/buffer/v1_0/ |
H A D | DisplayBufferType.idl | 27 unsigned int expectedSize; /**< Size assigned by memory requester */
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/encoderconfigure_fuzzer/ |
H A D | videoenc_sample.h | 78 uint32_t ReturnZeroIfEOS(uint32_t expectedSize);
|
H A D | videoenc_sample.cpp | 286 uint32_t VEncFuzzSample::ReturnZeroIfEOS(uint32_t expectedSize) in ReturnZeroIfEOS() argument 288 if (inFile_->gcount() != (expectedSize)) { in ReturnZeroIfEOS()
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/display_buffer_v1_0/cpp_target/display/buffer/v1_0/ |
H A D | display_buffer_type.h.txt | 60 uint32_t expectedSize;
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/include/ |
H A D | videoenc_sample.h | 86 uint32_t ReturnZeroIfEOS(uint32_t expectedSize);
|
H A D | videoenc_api11_sample.h | 109 uint32_t ReturnZeroIfEOS(uint32_t expectedSize);
|
/ohos5.0/drivers/peripheral/display/buffer/test/fuzztest/metadata_fuzzer/ |
H A D | metadata_fuzzer.cpp | 70 info.expectedSize = info.width * info.height; in GetAllocInfo()
|