Home
last modified time | relevance | path

Searched refs:appendData (Results 1 – 7 of 7) sorted by relevance

/developtools/hdc/src/common/
Dusb.h33 virtual int UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize) in UsbToHdcProtocol() argument
37 int SendToHdcStream(HSession hSession, uv_stream_t *stream, uint8_t *appendData, int dataSize);
49 int CheckPacketOption(HSession hSession, uint8_t *appendData, int dataSize);
Dusb.cpp153 int HdcUSBBase::CheckPacketOption(HSession hSession, uint8_t *appendData, int dataSize) in CheckPacketOption() argument
157 USBHead *header = reinterpret_cast<USBHead *>(appendData); in CheckPacketOption()
180 int HdcUSBBase::SendToHdcStream(HSession hSession, uv_stream_t *stream, uint8_t *appendData, int da… in SendToHdcStream() argument
185 if (IsUsbPacketHeader(appendData, dataSize)) { in SendToHdcStream()
186 return CheckPacketOption(hSession, appendData, dataSize); in SendToHdcStream()
195 if ((childRet = UsbToHdcProtocol(stream, appendData, dataSize)) < 0) { in SendToHdcStream()
Duart.h201 virtual int UartToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize);
/developtools/hdc/src/daemon/
Ddaemon_usb.h56 int UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize) override;
Ddaemon_usb.cpp450 int HdcDaemonUSB::UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize) in UsbToHdcProtocol() argument
458 if (memcpy_s(data, dataSize, appendData, dataSize)) { in UsbToHdcProtocol()
/developtools/hdc/src/host/
Dhost_usb.h58 int UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize) override;
Dhost_usb.cpp461 int HdcHostUSB::UsbToHdcProtocol(uv_stream_t *stream, uint8_t *appendData, int dataSize) in UsbToHdcProtocol() argument
485 … childRet = send(fd, reinterpret_cast<const char *>(appendData) + index, dataSize - index, 0); in UsbToHdcProtocol()