Home
last modified time | relevance | path

Searched refs:sizeWanted (Results 1 – 11 of 11) sorted by relevance

/developtools/hdc/src/common/
Dtcp.h33 static void AllocStreamUDP(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf);
Dtcp.cpp54 void HdcTCPBase::AllocStreamUDP(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) in AllocStreamUDP() argument
Dchannel.h25 static void AllocCallback(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf);
Dbase.cpp286 void ReallocBuf(uint8_t **origBuf, int *nOrigSize, size_t sizeWanted) in ReallocBuf() argument
290 if (sizeWanted <= 0 || sizeWanted >= HDC_BUF_MAX_BYTES) { in ReallocBuf()
291 WRITE_LOG(LOG_WARN, "ReallocBuf failed, sizeWanted:%d", sizeWanted); in ReallocBuf()
294 *origBuf = new uint8_t[sizeWanted]; in ReallocBuf()
297 *nOrigSize = sizeWanted; in ReallocBuf()
Dbase.h29 void ReallocBuf(uint8_t **origBuf, int *nOrigSize, size_t sizeWanted);
Dsession.h81 static void AllocCallback(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf);
Dchannel.cpp341 void HdcChannelBase::AllocCallback(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) in AllocCallback() argument
Dsession.cpp943 void HdcSessionBase::AllocCallback(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) in AllocCallback() argument
949 buf->len = std::min(size, static_cast<int>(sizeWanted)); in AllocCallback()
/developtools/hdc/src/host/
Dclient.h38 static void AllocStdbuf(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf);
Dclient.cpp277 void HdcClient::AllocStdbuf(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) in AllocStdbuf() argument
279 if (sizeWanted <= 0) { in AllocStdbuf()
Dserver_for_client.cpp61 … auto funcChannelHeaderAlloc = [](uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) -> void { in AcceptClient() argument
63 Base::ReallocBuf(&context->ioBuf, &context->bufSize, sizeWanted); // sizeWanted default 6k in AcceptClient()