Home
last modified time | relevance | path

Searched refs:pDynBuf (Results 1 – 3 of 3) sorted by relevance

/developtools/hdc/src/test/jdwp/
DHdcJdwpSimulator.cpp48 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/
Dforward.cpp691 auto pDynBuf = new(std::nothrow) uint8_t[size]; in SendForwardBuf() local
692 if (!pDynBuf) { in SendForwardBuf()
695 (void)memcpy_s(pDynBuf, size, bufPtr, size); in SendForwardBuf()
697 nRet = ctx->fdClass->WriteWithMem(pDynBuf, size); in SendForwardBuf()
701 delete[] pDynBuf; in SendForwardBuf()
705 ctxIO->bufIO = pDynBuf; in SendForwardBuf()
707 nRet = Base::SendToStreamEx((uv_stream_t *)&ctx->tcp, pDynBuf, size, nullptr, in SendForwardBuf()
711 nRet = Base::SendToStreamEx((uv_stream_t *)&ctx->pipe, pDynBuf, size, nullptr, in SendForwardBuf()
Dbase.cpp390 uint8_t *pDynBuf = new uint8_t[bufLen]; in SendToStream() local
391 if (!pDynBuf) { in SendToStream()
395 if (memcpy_s(pDynBuf, bufLen, buf, bufLen)) { in SendToStream()
397 delete[] pDynBuf; in SendToStream()
400 …return SendToStreamEx(handleStream, pDynBuf, bufLen, nullptr, (void *)SendCallback, (void *)pDynBu… in SendToStream()