/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | string_builder.cpp | 93 size_t writeSize = static_cast<size_t>(len); in AppendFormat() local 94 if (position_ + writeSize >= capacity_) { in AppendFormat() 95 if (!Grow(writeSize)) { in AppendFormat() 102 if (vsnprintf_s(buffer_ + position_, writeSize + 1, writeSize, format, argsCopy) < 0) { in AppendFormat() 107 position_ += writeSize; in AppendFormat()
|
/drivers/interface/display/composer/command_pack/ |
D | command_data_packer.h | 189 size_t writeSize = sizeof(T); in Write() local 190 size_t newSize = writePos_ + writeSize; in Write() 213 writePos_ += writeSize; in Write()
|
/drivers/hdf_core/framework/model/storage/src/mtd/ |
D | mtd_core.c | 49 if (mtdDevice->writeSize == 0) { in MtdDeviceCheckParms() 50 HDF_LOGE("MtdDeviceCheckParms: invalid write size:%zu!", mtdDevice->writeSize); in MtdDeviceCheckParms() 380 …if ((msg->addr % mtdDevice->writeSize) != 0 || (msg->len % (mtdDevice->writeSize + oobSize)) != 0)… in MtdDeviceCheckMsg() 403 (msg->len / (mtdDevice->writeSize + mtdDevice->oobSize)) * mtdDevice->writeSize : msg->len; in MtdDeviceWriteReadByPageUnlock() 422 mtdPage.dataLen = mtdDevice->writeSize - (addr & (mtdDevice->writeSize - 1)); in MtdDeviceWriteReadByPageUnlock()
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
D | usb_host_sdk_if_test_io.cpp | 81 wb->buf = (uint8_t *)OsalMemCalloc(acm->writeSize); in AcmWriteBufAlloc() 192 g_acm->writeSize = g_acm->dataOutPipe->maxPacketSize; in AcmGetRequest() 197 g_acm->wb[i].request = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->writeSize); in AcmGetRequest() 241 g_acm->writeSize = g_acm->dataOutPipe->maxPacketSize; in AcmFillWriteRequest() 242 size = (size > g_acm->writeSize) ? g_acm->writeSize : size; in AcmFillWriteRequest() 246 if ((g_acm->wb[i].buf == nullptr) || (g_acm->writeSize == 0)) { in AcmFillWriteRequest() 249 ret = memcpy_s(g_acm->wb[i].buf, g_acm->writeSize, sendData, size); in AcmFillWriteRequest()
|
D | usb_host_sdk_if_test.cpp | 101 wb->buf = (uint8_t *)OsalMemCalloc(acm->writeSize); in AcmWriteBufAlloc() 1127 g_acm->writeSize = g_acm->dataOutPipe->maxPacketSize; 1132 g_acm->wb[i].request = UsbAllocRequest(NULL, 0, g_acm->writeSize); 1149 g_acm->writeSize = g_acm->dataOutPipe->maxPacketSize; 1154 g_acm->wb[i].request = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->writeSize); 1287 g_acm->writeSize = g_acm->dataOutPipe->maxPacketSize; 1289 g_acm->wb[i].request = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->writeSize); 1356 g_acm->writeSize = g_acm->dataOutPipe->maxPacketSize; 1357 size = (size > g_acm->writeSize) ? g_acm->writeSize : size; 1361 ret = memcpy_s(g_acm->wb[i].buf, g_acm->writeSize, sendData, size); [all …]
|
D | usb_host_sdk_if_test.h | 114 uint32_t writeSize; member
|
/drivers/hdf_core/framework/model/storage/include/mtd/ |
D | mtd_core.h | 142 size_t writeSize; member 359 HDF_LOGI("%s: writeSize: %zu", __func__, (mtd)->writeSize); \ 370 return (((uint64_t)addr & (mtdDevice->writeSize - 1)) == 0); in MtdDeviceIsPageAligned()
|
/drivers/hdf_core/framework/utils/include/ |
D | hdf_sbuf_impl.h | 26 bool (*writeBuffer)(struct HdfSBufImpl *sbuf, const uint8_t *data, uint32_t writeSize); 27 bool (*writeUnpadBuffer)(struct HdfSBufImpl *sbuf, const uint8_t *data, uint32_t writeSize);
|
/drivers/hdf_core/adapter/uhdf2/ipc/src/ |
D | hdf_sbuf_impl_hipc.cpp | 52 … bool SbufMParcelImplWriteBuffer(struct HdfSBufImpl *sbuf, const uint8_t *data, uint32_t writeSize) in SbufMParcelImplWriteBuffer() argument 55 if (!parcel->WriteUint32(writeSize)) { in SbufMParcelImplWriteBuffer() 58 return parcel->WriteUnpadBuffer(static_cast<const void *>(data), writeSize); in SbufMParcelImplWriteBuffer() 61 … SbufMParcelImplWriteUnpadBuffer(struct HdfSBufImpl *sbuf, const uint8_t *data, uint32_t writeSize) in SbufMParcelImplWriteUnpadBuffer() argument 63 return MParcelCast(sbuf)->WriteUnpadBuffer(static_cast<const void *>(data), writeSize); in SbufMParcelImplWriteUnpadBuffer()
|
/drivers/hdf_core/interfaces/inner_api/utils/ |
D | hdf_sbuf.h | 67 bool HdfSbufWriteBuffer(struct HdfSBuf *sbuf, const void *data, uint32_t writeSize); 79 bool HdfSbufWriteUnpadBuffer(struct HdfSBuf *sbuf, const uint8_t *data, uint32_t writeSize);
|
/drivers/hdf_core/interfaces/inner_api/core/ |
D | hdf_io_service.h | 39 uint32_t writeSize; // bytes to write member
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
D | usb_test.c | 90 wb->buf = (uint8_t *)OsalMemCalloc(acm->writeSize); in AcmWriteBufAllocHandle() 871 g_acm->writeSize = g_acm->dataOutPipe->maxPacketSize; in CheckHostSdkIfAllocRequest003() 878 g_acm->wb[i].request = UsbAllocRequest(NULL, 0, g_acm->writeSize); in CheckHostSdkIfAllocRequest003() 890 g_acm->writeSize = g_acm->dataOutPipe->maxPacketSize; in CheckHostSdkIfAllocRequest004() 898 g_acm->wb[i].request = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->writeSize); in CheckHostSdkIfAllocRequest004() 1180 g_acm->writeSize = g_acm->dataOutPipe->maxPacketSize; in CheckHostSdkIfAllocRequest009() 1187 g_acm->wb[i].request = UsbAllocRequest(g_acm->data_devHandle, 0, g_acm->writeSize); in CheckHostSdkIfAllocRequest009() 1236 g_acm->writeSize = g_acm->dataOutPipe->maxPacketSize; in CheckHostSdkIfFillRequest002() 1237 size = (size > g_acm->writeSize) ? g_acm->writeSize : size; in CheckHostSdkIfFillRequest002() 1240 int32_t ret = memcpy_s(g_acm->wb[0].buf, g_acm->writeSize, sendData, size); in CheckHostSdkIfFillRequest002() [all …]
|
/drivers/peripheral/usb/net/include/ |
D | cdc_ether.h | 118 uint32_t writeSize; member
|
/drivers/peripheral/usb/sample/host/liteos_test/include/ |
D | usbhost_sdkapi_speed.h | 127 uint32_t writeSize; member
|
D | usbhost_nosdk_speed.h | 124 uint32_t writeSize; member
|
/drivers/peripheral/usb/sample/host/include/ |
D | usbhost_sdkapi_speed.h | 130 uint32_t writeSize; member
|
/drivers/hdf_core/framework/utils/src/ |
D | hdf_sbuf.c | 105 bool HdfSbufWriteBuffer(struct HdfSBuf *sbuf, const void *data, uint32_t writeSize) in HdfSbufWriteBuffer() argument 108 return sbuf->impl->writeBuffer(sbuf->impl, (const uint8_t *)data, writeSize); in HdfSbufWriteBuffer() 111 bool HdfSbufWriteUnpadBuffer(struct HdfSBuf *sbuf, const uint8_t *data, uint32_t writeSize) in HdfSbufWriteUnpadBuffer() argument 118 return sbuf->impl->writeUnpadBuffer(sbuf->impl, data, writeSize); in HdfSbufWriteUnpadBuffer()
|
D | hdf_sbuf_impl_raw.c | 289 …atic bool SbufRawImplWriteBuffer(struct HdfSBufImpl *impl, const uint8_t *data, uint32_t writeSize) in SbufRawImplWriteBuffer() argument 299 if (!SbufRawImplWriteInt32(impl, writeSize)) { in SbufRawImplWriteBuffer() 302 if (!SbufRawImplWrite(impl, data, writeSize)) { in SbufRawImplWriteBuffer()
|
/drivers/peripheral/usb/serial/include/ |
D | usb_serial.h | 134 uint32_t writeSize; member
|
/drivers/peripheral/usb/net/src/ |
D | cdc_ether.c | 153 wb->buf = OsalMemCalloc(ecm->writeSize); in EcmWriteBufAlloc() 454 if (size > ecm->writeSize) { in EcmWrite() 455 len = ecm->writeSize; in EcmWrite() 456 size -= ecm->writeSize; in EcmWrite() 462 ret = memcpy_s(wb->buf, ecm->writeSize, tmp, len); in EcmWrite() 664 ecm->writeSize = ecm->dataOutPipe->maxPacketSize; in EcmGetPipes() 839 …uest = UsbAllocRequest(InterfaceIdToHandle(ecm, ecm->dataOutPipe->interfaceId), 0, ecm->writeSize); in EcmAllocWriteReq()
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/ |
D | usb_test.h | 199 uint32_t writeSize; member
|
/drivers/peripheral/usb/serial/src/ |
D | usb_serial.c | 174 wb->buf = OsalMemCalloc(acm->writeSize); in AcmWriteBufAlloc() 843 size = (size > acm->writeSize) ? acm->writeSize : size; in SerialWriteSync() 844 ret = memcpy_s(wb->buf, (size_t)acm->writeSize, tmp, (size_t)size); in SerialWriteSync() 991 size = (size > acm->writeSize) ? acm->writeSize : size; in SerialWrite() 992 ret = memcpy_s(wb->buf, (size_t)acm->writeSize, tmp, (size_t)size); in SerialWrite() 1596 acm->writeSize = acm->dataOutPipe->maxPacketSize; in AcmGetPipes() 1631 … InterfaceIdToHandle((struct AcmDevice *)acm, acm->dataOutPipe->interfaceId), 0, acm->writeSize); in AcmAllocRequests()
|
/drivers/peripheral/usb/gadget/function/mtp/include/ |
D | usbfn_mtp_impl.h | 221 int32_t UsbMtpPortAllocReadWriteRequests(int32_t readSize, int32_t writeSize);
|
/drivers/hdf_core/adapter/khdf/liteos/model/storage/src/mtd/ |
D | mtd_legacy_lite.c | 350 nand_mtd->writesize = mtdDevice->writeSize; in MtdDeviceLegacyFillMtdInfo()
|
/drivers/hdf_core/framework/core/adapter/vnode/src/ |
D | hdf_vnode_adapter.c | 220 if (bwr.writeSize > MAX_RW_SIZE || bwr.readSize > MAX_RW_SIZE) { in HdfVNodeAdapterServCall() 224 data = HdfSbufCopyFromUser(bwr.writeBuffer, bwr.writeSize); in HdfVNodeAdapterServCall()
|