Searched refs:ioBuf (Results 1 – 12 of 12) sorted by relevance
/developtools/hdc/src/common/ |
D | channel.cpp | 141 size = ntohl(*reinterpret_cast<uint32_t *>(hChannel->ioBuf + indexBuf)); // big endian in ReadStream() 150 childRet = thisClass->ReadChannel(hChannel, reinterpret_cast<uint8_t *>(hChannel->ioBuf) + in ReadStream() 165 …if (memmove_s(hChannel->ioBuf, hChannel->bufSize, hChannel->ioBuf + indexBuf, hChannel->availTailI… in ReadStream() 361 Base::ReallocBuf(&context->ioBuf, &context->bufSize, Base::GetMaxBufSize() * 4); in AllocCallback() 362 buf->base = (char *)context->ioBuf + context->availTailIndex; in AllocCallback() 438 if (hChannel->ioBuf) { in FreeChannelContinue() 439 delete[] hChannel->ioBuf; in FreeChannelContinue() 440 hChannel->ioBuf = nullptr; in FreeChannelContinue()
|
D | usb.cpp | 34 if (hSessionBase->FetchIOBuf(hSession, hSession->ioBuf, nread) < 0) { in ReadUSB() 111 bool HdcUSBBase::IsUsbPacketHeader(uint8_t *ioBuf, int ioBytes) in IsUsbPacketHeader() argument 114 USBHead *usbPayloadHeader = reinterpret_cast<struct USBHead *>(ioBuf); in IsUsbPacketHeader()
|
D | usb.h | 39 bool IsUsbPacketHeader(uint8_t *ioBuf, int ioBytes);
|
D | define_plus.h | 400 uint8_t *ioBuf; member 455 ioBuf = nullptr; in HdcSession() 510 uint8_t *ioBuf; member
|
D | session.cpp | 580 if (hSession->ioBuf) { in FreeSessionContinue() 581 delete[] hSession->ioBuf; in FreeSessionContinue() 582 hSession->ioBuf = nullptr; in FreeSessionContinue() 931 int HdcSessionBase::FetchIOBuf(HSession hSession, uint8_t *ioBuf, int read) in FetchIOBuf() argument 946 childRet = ptrConnect->OnRead(hSession, ioBuf + indexBuf, hSession->availTailIndex); in FetchIOBuf() 962 …if (memmove_s(hSession->ioBuf, hSession->bufSize, hSession->ioBuf + indexBuf, hSession->availTailI… in FetchIOBuf() 966 … uint8_t *bufToZero = reinterpret_cast<uint8_t *>(hSession->ioBuf + hSession->availTailIndex); in FetchIOBuf() 975 Base::ReallocBuf(&context->ioBuf, &context->bufSize, HDC_SOCKETPAIR_SIZE); in AllocCallback() 976 buf->base = (char *)context->ioBuf + context->availTailIndex; in AllocCallback()
|
D | tcp.cpp | 89 if (hSessionBase->FetchIOBuf(hSession, hSession->ioBuf, nread) < 0) { in ReadStream()
|
D | session.h | 96 virtual int FetchIOBuf(HSession hSession, uint8_t *ioBuf, int read);
|
D | uart.cpp | 965 if (hSessionBase->FetchIOBuf(hSession, hSession->ioBuf, nread) < 0) { in ReadDataFromUARTStream()
|
/developtools/hdc/src/daemon/ |
D | daemon_usb.h | 45 int AvailablePacket(uint8_t *ioBuf, int ioBytes, uint32_t *sessionId);
|
D | daemon_usb.cpp | 232 int HdcDaemonUSB::AvailablePacket(uint8_t *ioBuf, int ioBytes, uint32_t *sessionId) in AvailablePacket() argument 236 if (!IsUsbPacketHeader(ioBuf, ioBytes)) { in AvailablePacket() 240 USBHead *usbPayloadHeader = reinterpret_cast<struct USBHead *>(ioBuf); in AvailablePacket()
|
/developtools/hdc/src/host/ |
D | server_for_client.cpp | 69 Base::ReallocBuf(&context->ioBuf, &context->bufSize, sizeWanted); // sizeWanted default 6k in AcceptClient() 70 buf->base = (char *)context->ioBuf + context->availTailIndex; in AcceptClient()
|
/developtools/hdc/test/unittest/common/ |
D | uart_test.cpp | 462 hdcSession.ioBuf = dummPtr;
|