Searched refs:dataTmp (Results 1 – 3 of 3) sorted by relevance
/drivers/external_device_manager/frameworks/ddk/usb/ |
D | usb_ddk_api.cpp | 163 std::vector<uint8_t> dataTmp; in OH_Usb_SendControlReadRequest() local 164 int32_t ret = g_ddk->SendControlReadRequest(interfaceHandle, *tmpSetUp, timeout, dataTmp); in OH_Usb_SendControlReadRequest() 170 if (*dataLen < dataTmp.size()) { in OH_Usb_SendControlReadRequest() 175 if (memcpy_s(data, *dataLen, dataTmp.data(), dataTmp.size()) != 0) { in OH_Usb_SendControlReadRequest() 179 *dataLen = dataTmp.size(); in OH_Usb_SendControlReadRequest() 197 std::vector<uint8_t> dataTmp(data, data + dataLen); in OH_Usb_SendControlWriteRequest() local 198 return g_ddk->SendControlWriteRequest(interfaceHandle, *tmpSetUp, timeout, dataTmp); in OH_Usb_SendControlWriteRequest()
|
/drivers/peripheral/usb/ddk/host/src/ |
D | ddk_pnp_listener_mgr.c | 81 struct HdfSBuf *dataTmp = NULL; in DdkListenerMgrNotifyOne() local 88 dataTmp = data; in DdkListenerMgrNotifyOne() 91 if (listener->callBack(listener->priv, handlePriv->cmd, dataTmp) != HDF_SUCCESS) { in DdkListenerMgrNotifyOne()
|
/drivers/peripheral/display/hdi_service/device/include/util/ |
D | display_device_common.h | 212 T *dataTmp = (T *)parcel->ReadUnpadBuffer(retValueLen); variable 213 if (dataTmp == nullptr) { 217 if (memcpy_s(data, num * sizeof(T), dataTmp, retValueLen) != EOK) {
|