Searched refs:pDynBuf (Results 1 – 3 of 3) sorted by relevance
/developtools/hdc/src/test/jdwp/ |
D | HdcJdwpSimulator.cpp | 48 uint8_t *pDynBuf = new uint8_t[bufLen]; in SendToStream() local 49 if (!pDynBuf) { in SendToStream() 53 if (memcpy_s(pDynBuf, bufLen, buf, bufLen)) { in SendToStream() 54 delete[] pDynBuf; in SendToStream() 62 delete[] pDynBuf; in SendToStream() 67 reqWrite->data = static_cast<void *>(pDynBuf); in SendToStream() 68 bfr.base = reinterpret_cast<char *>(pDynBuf); in SendToStream() 72 delete[] pDynBuf; in SendToStream() 76 HiLog::Info(LABEL, "SendToStream buf:%{public}s", pDynBuf); in SendToStream()
|
/developtools/hdc/src/common/ |
D | forward.cpp | 694 auto pDynBuf = new(std::nothrow) uint8_t[size]; in SendForwardBuf() local 695 if (!pDynBuf) { in SendForwardBuf() 698 (void)memcpy_s(pDynBuf, size, bufPtr, size); in SendForwardBuf() 700 nRet = ctx->fdClass->WriteWithMem(pDynBuf, size); in SendForwardBuf() 704 delete[] pDynBuf; in SendForwardBuf() 708 ctxIO->bufIO = pDynBuf; in SendForwardBuf() 710 nRet = Base::SendToStreamEx((uv_stream_t *)&ctx->tcp, pDynBuf, size, nullptr, in SendForwardBuf() 714 nRet = Base::SendToStreamEx((uv_stream_t *)&ctx->pipe, pDynBuf, size, nullptr, in SendForwardBuf()
|
D | base.cpp | 415 uint8_t *pDynBuf = new uint8_t[bufLen]; in SendToStream() local 416 if (!pDynBuf) { in SendToStream() 420 if (memcpy_s(pDynBuf, bufLen, buf, bufLen)) { in SendToStream() 422 delete[] pDynBuf; in SendToStream() 425 return SendToStreamEx(handleStream, pDynBuf, bufLen, nullptr, in SendToStream() 426 … reinterpret_cast<void *>(SendCallback), reinterpret_cast<void *>(pDynBuf)); in SendToStream() 479 uint8_t *pDynBuf = new uint8_t[bufLen]; in SendToPollFd() local 480 if (!pDynBuf) { in SendToPollFd() 484 if (memcpy_s(pDynBuf, bufLen, buf, bufLen)) { in SendToPollFd() 486 delete[] pDynBuf; in SendToPollFd() [all …]
|