Searched refs:sizeWanted (Results 1 – 11 of 11) sorted by relevance
/developtools/hdc/src/common/ |
D | tcp.h | 33 static void AllocStreamUDP(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf);
|
D | tcp.cpp | 54 void HdcTCPBase::AllocStreamUDP(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) in AllocStreamUDP() argument
|
D | channel.h | 25 static void AllocCallback(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf);
|
D | base.cpp | 286 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()
|
D | base.h | 29 void ReallocBuf(uint8_t **origBuf, int *nOrigSize, size_t sizeWanted);
|
D | session.h | 81 static void AllocCallback(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf);
|
D | channel.cpp | 341 void HdcChannelBase::AllocCallback(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) in AllocCallback() argument
|
D | session.cpp | 943 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/ |
D | client.h | 38 static void AllocStdbuf(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf);
|
D | client.cpp | 277 void HdcClient::AllocStdbuf(uv_handle_t *handle, size_t sizeWanted, uv_buf_t *buf) in AllocStdbuf() argument 279 if (sizeWanted <= 0) { in AllocStdbuf()
|
D | server_for_client.cpp | 61 … 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()
|